Documentation ¶
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.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertsClientAPI ¶
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) }
AlertsClientAPI contains the set of methods on the AlertsClient type.
type AlertsStatusClientAPI ¶
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) }
AlertsStatusClientAPI contains the set of methods on the AlertsStatusClient type.
type BaselinesClientAPI ¶
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)
}
BaselinesClientAPI contains the set of methods on the BaselinesClient type.
type ClientAPI ¶
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) }
ClientAPI contains the set of methods on the Client type.
type DefinitionsClientAPI ¶
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) }
DefinitionsClientAPI contains the set of methods on the DefinitionsClient type.
type NamespacesClientAPI ¶
type NamespacesClientAPI interface {
List(ctx context.Context, resourceURI string, startTime string) (result metrics.NamespaceCollection, err error)
}
NamespacesClientAPI contains the set of methods on the NamespacesClient type.
type OperationsClientAPI ¶
type OperationsClientAPI interface {
List(ctx context.Context) (result metrics.OperationListResult, err error)
}
OperationsClientAPI contains the set of methods on the OperationsClient type.