Delen via


Manager<InnerT> Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.fluentcore.arm.Manager<InnerT>

Type Parameters

InnerT

inner management client implementation type

Implements

public abstract class Manager
implements HasServiceClient<InnerT>

Generic base class for Azure resource managers.

Constructor Summary

Modifier Constructor Description
protected Manager(HttpPipeline httpPipeline, AzureProfile profile, InnerT innerManagementClient)

Creates a new instance of Manager<InnerT>.

Method Summary

Modifier and Type Method and Description
AzureEnvironment environment()
HttpPipeline httpPipeline()
ResourceManager resourceManager()
InnerT serviceClient()
String subscriptionId()
protected final void withResourceManager(ResourceManager resourceManager)

Configures the ResourceManager for this manager instance.

Methods inherited from java.lang.Object

Constructor Details

Manager

protected Manager(HttpPipeline httpPipeline, AzureProfile profile, InnerT innerManagementClient)

Creates a new instance of Manager<InnerT>.

Parameters:

httpPipeline - The HttpPipeline used by the manager.
profile - The AzureProfile used by the manager.
innerManagementClient - The inner management client.

Method Details

environment

public AzureEnvironment environment()

Returns:

the Azure environment the manager is working with

httpPipeline

public HttpPipeline httpPipeline()

Returns:

the HttpPipeline associated with this manager

resourceManager

public ResourceManager resourceManager()

Returns:

the ResourceManager associated with this manager

serviceClient

public InnerT serviceClient()

subscriptionId

public String subscriptionId()

Returns:

the ID of the subscription the manager is working with

withResourceManager

protected final void withResourceManager(ResourceManager resourceManager)

Configures the ResourceManager for this manager instance.

Parameters:

resourceManager - The ResourceManager to associate with this manager.

Applies to