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) }
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) }
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) }
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) }
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) }
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) }
OperationsClientAPI contains the set of methods on the OperationsClient type.
type OperationsClientAPI interface { List(ctx context.Context) (result metrics.OperationListResult, err error) }