Documentation ¶
Overview ¶
Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/advisor/armadvisor(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/advisor/armadvisor). 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 ConfigurationsClientAPI ¶
type ConfigurationsClientAPI interface { CreateInResourceGroup(ctx context.Context, configContract advisor.ConfigData, resourceGroup string) (result advisor.ARMErrorResponseBody, err error) CreateInSubscription(ctx context.Context, configContract advisor.ConfigData) (result advisor.ARMErrorResponseBody, err error) ListByResourceGroup(ctx context.Context, resourceGroup string) (result advisor.ConfigurationListResult, err error) ListBySubscription(ctx context.Context) (result advisor.ConfigurationListResultPage, err error) ListBySubscriptionComplete(ctx context.Context) (result advisor.ConfigurationListResultIterator, err error) }
ConfigurationsClientAPI contains the set of methods on the ConfigurationsClient type.
type OperationsClientAPI ¶
type OperationsClientAPI interface { List(ctx context.Context) (result advisor.OperationEntityListResultPage, err error) ListComplete(ctx context.Context) (result advisor.OperationEntityListResultIterator, err error) }
OperationsClientAPI contains the set of methods on the OperationsClient type.
type RecommendationMetadataClientAPI ¶
type RecommendationMetadataClientAPI interface { Get(ctx context.Context, name string) (result advisor.SetObject, err error) List(ctx context.Context) (result advisor.MetadataEntityListResultPage, err error) ListComplete(ctx context.Context) (result advisor.MetadataEntityListResultIterator, err error) }
RecommendationMetadataClientAPI contains the set of methods on the RecommendationMetadataClient type.
type RecommendationsClientAPI ¶
type RecommendationsClientAPI interface { Generate(ctx context.Context) (result autorest.Response, err error) Get(ctx context.Context, resourceURI string, recommendationID string) (result advisor.ResourceRecommendationBase, err error) GetGenerateStatus(ctx context.Context, operationID uuid.UUID) (result autorest.Response, err error) List(ctx context.Context, filter string, top *int32, skipToken string) (result advisor.ResourceRecommendationBaseListResultPage, err error) ListComplete(ctx context.Context, filter string, top *int32, skipToken string) (result advisor.ResourceRecommendationBaseListResultIterator, err error) }
RecommendationsClientAPI contains the set of methods on the RecommendationsClient type.
type SuppressionsClientAPI ¶
type SuppressionsClientAPI interface { Create(ctx context.Context, resourceURI string, recommendationID string, name string, suppressionContract advisor.SuppressionContract) (result advisor.SuppressionContract, err error) Delete(ctx context.Context, resourceURI string, recommendationID string, name string) (result autorest.Response, err error) Get(ctx context.Context, resourceURI string, recommendationID string, name string) (result advisor.SuppressionContract, err error) List(ctx context.Context, top *int32, skipToken string) (result advisor.SuppressionContractListResultPage, err error) ListComplete(ctx context.Context, top *int32, skipToken string) (result advisor.SuppressionContractListResultIterator, err error) }
SuppressionsClientAPI contains the set of methods on the SuppressionsClient type.