Class AdvisorManager
java.lang.Object
com.azure.resourcemanager.advisor.AdvisorManager
Entry point to AdvisorManager. REST APIs for Azure Advisor.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
The Configurable allowing configurations to be set. -
Method Summary
Modifier and TypeMethodDescriptionstatic AdvisorManager
authenticate
(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile) Creates an instance of Advisor service API entry point.static AdvisorManager
authenticate
(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Creates an instance of Advisor service API entry point.Gets the resource collection API of Configurations.static AdvisorManager.Configurable
Gets a Configurable instance that can be used to create AdvisorManager with optional configuration.Gets the resource collection API of Operations.Gets the resource collection API of RecommendationMetadatas.Gets the resource collection API of Recommendations.Gets the resource collection API of Suppressions.
-
Method Details
-
authenticate
public static AdvisorManager authenticate(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile) Creates an instance of Advisor service API entry point.- Parameters:
credential
- the credential to use.profile
- the Azure profile for client.- Returns:
- the Advisor service API instance.
-
authenticate
public static AdvisorManager authenticate(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile) Creates an instance of Advisor service API entry point.- Parameters:
httpPipeline
- theHttpPipeline
configured with Azure authentication credential.profile
- the Azure profile for client.- Returns:
- the Advisor service API instance.
-
configure
Gets a Configurable instance that can be used to create AdvisorManager with optional configuration.- Returns:
- the Configurable instance allowing configurations.
-
recommendationMetadatas
Gets the resource collection API of RecommendationMetadatas.- Returns:
- Resource collection API of RecommendationMetadatas.
-
configurations
Gets the resource collection API of Configurations. It manages ConfigData.- Returns:
- Resource collection API of Configurations.
-
recommendations
Gets the resource collection API of Recommendations.- Returns:
- Resource collection API of Recommendations.
-
operations
Gets the resource collection API of Operations.- Returns:
- Resource collection API of Operations.
-
suppressions
Gets the resource collection API of Suppressions. It manages SuppressionContract.- Returns:
- Resource collection API of Suppressions.
-
serviceClient
- Returns:
- Wrapped service client AdvisorManagementClient providing direct access to the underlying auto-generated API implementation, based on Azure REST API.
-