Class Manager<InnerT>
java.lang.Object
com.azure.resourcemanager.resources.fluentcore.arm.Manager<InnerT>
- Type Parameters:
InnerT- inner management client implementation type
- All Implemented Interfaces:
HasServiceClient<InnerT>
- Direct Known Subclasses:
ResourceManager
Generic base class for Azure resource managers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.management.AzureEnvironmentcom.azure.core.http.HttpPipelineprotected final voidwithResourceManager(ResourceManager resourceManager) Configures the ResourceManager for this manager instance.
-
Constructor Details
-
Manager
protected Manager(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.AzureProfile profile, InnerT innerManagementClient) Creates a new instance ofManager.- Parameters:
httpPipeline- The HttpPipeline used by the manager.profile- The AzureProfile used by the manager.innerManagementClient- The inner management client.
-
-
Method Details
-
serviceClient
- Specified by:
serviceClientin interfaceHasServiceClient<InnerT>- Returns:
- wrapped service client providing direct access to the underlying auto-generated API implementation, based on Azure REST API
-
subscriptionId
- Returns:
- the ID of the subscription the manager is working with
-
environment
public com.azure.core.management.AzureEnvironment environment()- Returns:
- the Azure environment the manager is working with
-
withResourceManager
Configures the ResourceManager for this manager instance.- Parameters:
resourceManager- The ResourceManager to associate with this manager.
-
resourceManager
- Returns:
- the
ResourceManagerassociated with this manager
-
httpPipeline
public com.azure.core.http.HttpPipeline httpPipeline()- Returns:
- the
HttpPipelineassociated with this manager
-