Share via


Advisor Class

Definition

Low-level API implementation for the Advisor service. REST APIs for Azure Advisor

public class Advisor
type Advisor = class
Public Class Advisor
Inheritance
Advisor

Constructors

Advisor()

Methods

ConfigurationsCreateInResourceGroup(String, String, IConfigData, Func<HttpResponseMessage,Task<IConfigData>,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Create/Overwrite Azure Advisor configuration.

ConfigurationsCreateInResourceGroupViaIdentity(String, IConfigData, Func<HttpResponseMessage,Task<IConfigData>,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Create/Overwrite Azure Advisor configuration.

ConfigurationsCreateInSubscription(String, IConfigData, Func<HttpResponseMessage, Task<IConfigData>,Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>, Task>, IEventListener, ISendAsync)

Create/Overwrite Azure Advisor configuration and also delete all configurations of contained resource groups.

ConfigurationsCreateInSubscriptionViaIdentity(String, IConfigData, Func<HttpResponseMessage,Task<IConfigData>,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Create/Overwrite Azure Advisor configuration and also delete all configurations of contained resource groups.

ConfigurationsListByResourceGroup(String, String, Func<HttpResponseMessage, Task<IConfigurationListResult>,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Retrieve Azure Advisor configurations.

ConfigurationsListByResourceGroupViaIdentity(String, Func<HttpResponseMessage, Task<IConfigurationListResult>,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Retrieve Azure Advisor configurations.

ConfigurationsListBySubscription(String, Func<HttpResponseMessage, Task<IConfigurationListResult>,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.

ConfigurationsListBySubscriptionViaIdentity(String, Func<HttpResponseMessage, Task<IConfigurationListResult>,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Retrieve Azure Advisor configurations and also retrieve configurations of contained resource groups.

OperationsList(Func<HttpResponseMessage,Task<IOperationEntityListResult>, Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Lists all the available Advisor REST API operations.

OperationsListViaIdentity(String, Func<HttpResponseMessage,Task<IOperationEntityListResult>, Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Lists all the available Advisor REST API operations.

RecommendationMetadataGet(String, Func<HttpResponseMessage,Task<IMetadataEntity>, Task>, Func<HttpResponseMessage,Task<IArmErrorResponseBody>,Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Gets the metadata entity.

RecommendationMetadataGetViaIdentity(String, Func<HttpResponseMessage, Task<IMetadataEntity>,Task>, Func<HttpResponseMessage,Task<IArmErrorResponseBody>, Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Gets the metadata entity.

RecommendationMetadataList(Func<HttpResponseMessage,Task<IMetadataEntityListResult>, Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Gets the list of metadata entities.

RecommendationMetadataListViaIdentity(String, Func<HttpResponseMessage, Task<IMetadataEntityListResult>,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Gets the list of metadata entities.

RecommendationsGenerate(String, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

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.

RecommendationsGenerateViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

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.

RecommendationsGet(String, String, Func<HttpResponseMessage,Task<IResourceRecommendationBase>, Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Obtains details of a cached recommendation.

RecommendationsGetGenerateStatus(String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

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.

RecommendationsGetGenerateStatusViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

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.

RecommendationsGetViaIdentity(String, Func<HttpResponseMessage, Task<IResourceRecommendationBase>,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Obtains details of a cached recommendation.

RecommendationsList(String, String, Nullable<Int32>, String, Func<HttpResponseMessage, Task<IResourceRecommendationBaseListResult>,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)
RecommendationsListViaIdentity(String, String, Nullable<Int32>, String, Func<HttpResponseMessage,Task<IResourceRecommendationBaseListResult>, Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)
SuppressionsCreate(String, String, String, ISuppressionContract, Func<HttpResponseMessage,Task<ISuppressionContract>,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>, Task>, IEventListener, ISendAsync)

Enables the snoozed or dismissed attribute of a recommendation. The snoozed or dismissed attribute is referred to as a suppression. Use this API to create or update the snoozed or dismissed status of a recommendation.

SuppressionsCreateViaIdentity(String, ISuppressionContract, Func<HttpResponseMessage, Task<ISuppressionContract>,Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>, Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Enables the snoozed or dismissed attribute of a recommendation. The snoozed or dismissed attribute is referred to as a suppression. Use this API to create or update the snoozed or dismissed status of a recommendation.

SuppressionsDelete(String, String, String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Enables the activation of a snoozed or dismissed recommendation. The snoozed or dismissed attribute of a recommendation is referred to as a suppression.

SuppressionsDeleteViaIdentity(String, Func<HttpResponseMessage, Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Enables the activation of a snoozed or dismissed recommendation. The snoozed or dismissed attribute of a recommendation is referred to as a suppression.

SuppressionsGet(String, String, String, Func<HttpResponseMessage, Task<ISuppressionContract>,Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>, Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Obtains the details of a suppression.

SuppressionsGetViaIdentity(String, Func<HttpResponseMessage,Task<ISuppressionContract>, Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, Func<HttpResponseMessage,Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

Obtains the details of a suppression.

SuppressionsList(String, Nullable<Int32>, String, Func<HttpResponseMessage, Task<ISuppressionContractListResult>,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

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.

SuppressionsListViaIdentity(String, Nullable<Int32>, String, Func<HttpResponseMessage, Task<ISuppressionContractListResult>,Task>, Func<HttpResponseMessage, Task<IArmErrorResponse>,Task>, IEventListener, ISendAsync)

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