...

Package metricsapi

import "github.com/Azure/azure-sdk-for-go/services/preview/monitor/mgmt/2021-05-01-preview/metrics/metricsapi"
Overview
Index

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

type AlertsClientAPI

AlertsClientAPI contains the set of methods on the AlertsClient type.

type AlertsClientAPI interface {
    CreateOrUpdate(ctx context.Context, resourceGroupName string, ruleName string, parameters metrics.AlertResource) (result metrics.AlertResource, err error)
    Delete(ctx context.Context, resourceGroupName string, ruleName string) (result autorest.Response, err error)
    Get(ctx context.Context, resourceGroupName string, ruleName string) (result metrics.AlertResource, err error)
    ListByResourceGroup(ctx context.Context, resourceGroupName string) (result metrics.AlertResourceCollection, err error)
    ListBySubscription(ctx context.Context) (result metrics.AlertResourceCollection, err error)
    Update(ctx context.Context, resourceGroupName string, ruleName string, parameters metrics.AlertResourcePatch) (result metrics.AlertResource, err error)
}

type AlertsStatusClientAPI

AlertsStatusClientAPI contains the set of methods on the AlertsStatusClient type.

type AlertsStatusClientAPI interface {
    List(ctx context.Context, resourceGroupName string, ruleName string) (result metrics.AlertStatusCollection, err error)
    ListByName(ctx context.Context, resourceGroupName string, ruleName string, statusName string) (result metrics.AlertStatusCollection, err error)
}

type BaselinesClientAPI

BaselinesClientAPI contains the set of methods on the BaselinesClient type.

type BaselinesClientAPI interface {
    List(ctx context.Context, resourceURI string, metricnames string, metricnamespace string, timespan string, interval *string, aggregation string, sensitivities string, filter string, resultType metrics.ResultType) (result metrics.BaselinesResponse, err error)
}

type ClientAPI

ClientAPI contains the set of methods on the Client type.

type ClientAPI interface {
    List(ctx context.Context, resourceURI string, timespan string, interval *string, metricnames string, aggregation string, top *int32, orderby string, filter string, resultType metrics.ResultType, metricnamespace string, autoAdjustTimegrain *bool, validateDimensions *bool) (result metrics.Response, err error)
    ListAtSubscriptionScope(ctx context.Context, region string, timespan string, interval *string, metricnames string, aggregation string, top *int32, orderby string, filter string, resultType metrics.MetricResultType, metricnamespace string, autoAdjustTimegrain *bool, validateDimensions *bool) (result metrics.SubscriptionScopeMetricResponse, err error)
    ListAtSubscriptionScopePost(ctx context.Context, region string, timespan string, interval *string, metricnames string, aggregation string, top *int32, orderby string, filter string, resultType metrics.MetricResultType, metricnamespace string, autoAdjustTimegrain *bool, validateDimensions *bool, body *metrics.SubscriptionScopeMetricsRequestBodyParameters) (result metrics.SubscriptionScopeMetricResponse, err error)
}

type DefinitionsClientAPI

DefinitionsClientAPI contains the set of methods on the DefinitionsClient type.

type DefinitionsClientAPI interface {
    List(ctx context.Context, resourceURI string, metricnamespace string) (result metrics.DefinitionCollection, err error)
    ListAtSubscriptionScope(ctx context.Context, region string, metricnamespace string) (result metrics.SubscriptionScopeMetricDefinitionCollection, err error)
}

type NamespacesClientAPI

NamespacesClientAPI contains the set of methods on the NamespacesClient type.

type NamespacesClientAPI interface {
    List(ctx context.Context, resourceURI string, startTime string) (result metrics.NamespaceCollection, err error)
}

type OperationsClientAPI

OperationsClientAPI contains the set of methods on the OperationsClient type.

type OperationsClientAPI interface {
    List(ctx context.Context) (result metrics.OperationListResult, err error)
}