AdvisorExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class to add extension methods to Azure.ResourceManager.Advisor.
public static class AdvisorExtensions
type AdvisorExtensions = class
Public Module AdvisorExtensions
- Inheritance
-
AdvisorExtensions
Methods
CreateConfiguration(ResourceGroupResource, ConfigurationName, ConfigData, CancellationToken) |
Create/Overwrite Azure Advisor configuration.
|
CreateConfiguration(SubscriptionResource, ConfigurationName, ConfigData, CancellationToken) |
Create/Overwrite Azure Advisor configuration and also delete all configurations of contained resource groups.
|
CreateConfigurationAsync(ResourceGroupResource, ConfigurationName, ConfigData, CancellationToken) |
Create/Overwrite Azure Advisor configuration.
|
CreateConfigurationAsync(SubscriptionResource, ConfigurationName, ConfigData, CancellationToken) |
Create/Overwrite Azure Advisor configuration and also delete all configurations of contained resource groups.
|
GenerateRecommendation(SubscriptionResource, CancellationToken) |
Initiates the recommendation generation or computation process for a subscription. This operation is asynchronous. The generated recommendations are stored in a cache in the Advisor service.
|
GenerateRecommendationAsync(SubscriptionResource, CancellationToken) |
Initiates the recommendation generation or computation process for a subscription. This operation is asynchronous. The generated recommendations are stored in a cache in the Advisor service.
|
GetConfigurations(ResourceGroupResource, CancellationToken) |
Retrieve Azure Advisor configurations.
|
GetConfigurations(SubscriptionResource, CancellationToken) |
Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.
|
GetConfigurationsAsync(ResourceGroupResource, CancellationToken) |
Retrieve Azure Advisor configurations.
|
GetConfigurationsAsync(SubscriptionResource, CancellationToken) |
Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.
|
GetGenerateStatusRecommendation(SubscriptionResource, Guid, CancellationToken) |
Retrieves the status of the recommendation computation or generation process. Invoke this API after calling the generation recommendation. The URI of this API is returned in the Location field of the response header.
|
GetGenerateStatusRecommendationAsync(SubscriptionResource, Guid, CancellationToken) |
Retrieves the status of the recommendation computation or generation process. Invoke this API after calling the generation recommendation. The URI of this API is returned in the Location field of the response header.
|
GetMetadataEntities(TenantResource) |
Gets a collection of MetadataEntityResources in the TenantResource. MockingTo mock this method, please mock GetMetadataEntities() instead. |
GetMetadataEntity(TenantResource, String, CancellationToken) |
Gets the metadata entity.
|
GetMetadataEntityAsync(TenantResource, String, CancellationToken) |
Gets the metadata entity.
|
GetMetadataEntityResource(ArmClient, ResourceIdentifier) |
Gets an object representing a MetadataEntityResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a MetadataEntityResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMetadataEntityResource(ResourceIdentifier) instead. |
GetResourceRecommendationBase(ArmClient, ResourceIdentifier, String, CancellationToken) |
Obtains details of a cached recommendation.
|
GetResourceRecommendationBaseAsync(ArmClient, ResourceIdentifier, String, CancellationToken) |
Obtains details of a cached recommendation.
|
GetResourceRecommendationBaseResource(ArmClient, ResourceIdentifier) |
Gets an object representing a ResourceRecommendationBaseResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a ResourceRecommendationBaseResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetResourceRecommendationBaseResource(ResourceIdentifier) instead. |
GetResourceRecommendationBases(ArmClient, ResourceIdentifier) |
Gets a collection of ResourceRecommendationBaseResources in the ArmClient. MockingTo mock this method, please mock GetResourceRecommendationBases(ResourceIdentifier) instead. |
GetSuppressionContractResource(ArmClient, ResourceIdentifier) |
Gets an object representing a SuppressionContractResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a SuppressionContractResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSuppressionContractResource(ResourceIdentifier) instead. |
GetSuppressionContracts(SubscriptionResource, Nullable<Int32>, String, CancellationToken) |
Retrieves the list of snoozed or dismissed suppressions for a subscription. The snoozed or dismissed attribute of a recommendation is referred to as a suppression.
|
GetSuppressionContractsAsync(SubscriptionResource, Nullable<Int32>, String, CancellationToken) |
Retrieves the list of snoozed or dismissed suppressions for a subscription. The snoozed or dismissed attribute of a recommendation is referred to as a suppression.
|
Applies to
Azure SDK for .NET