다음을 통해 공유


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()

Gets the Azure environment the manager is working with.

HttpPipeline httpPipeline()

Gets the HttpPipeline associated with this manager.

ResourceManager resourceManager()

Gets the ResourceManager associated with this manager.

InnerT serviceClient()

Gets The wrapper around a service client.

String subscriptionId()

Gets the ID of the subscription the manager is working with.

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()

Gets the Azure environment the manager is working with.

Returns:

the Azure environment the manager is working with

httpPipeline

public HttpPipeline httpPipeline()

Gets the HttpPipeline associated with this manager.

Returns:

the HttpPipeline associated with this manager

resourceManager

public ResourceManager resourceManager()

Gets the ResourceManager associated with this manager.

Returns:

the ResourceManager associated with this manager

serviceClient

public InnerT serviceClient()

Gets The wrapper around a service client.

subscriptionId

public String subscriptionId()

Gets the ID of the subscription the manager is working with.

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