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.AzureEnvironmentGets the Azure environment the manager is working with.com.azure.core.http.HttpPipelineGets the HttpPipeline associated with this manager.Gets the ResourceManager associated with this manager.Gets The wrapper around a service client.Gets the ID of the subscription the manager is working with.protected 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
Description copied from interface:HasServiceClientGets The wrapper around a service client.- 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
Gets the ID of the subscription the manager is working with.- Returns:
- the ID of the subscription the manager is working with
-
environment
public com.azure.core.management.AzureEnvironment environment()Gets the Azure environment the manager is working with.- 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
Gets the ResourceManager associated with this manager.- Returns:
- the
ResourceManagerassociated with this manager
-
httpPipeline
public com.azure.core.http.HttpPipeline httpPipeline()Gets the HttpPipeline associated with this manager.- Returns:
- the
HttpPipelineassociated with this manager
-