ResourceManager Class

public final class ResourceManager
extends Manager<ResourceManagementClient>

Entry point to Azure resource management.

Method Summary

Modifier and Type Method and Description
static Authenticated authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of ResourceManager that exposes resource management API entry points.

static Authenticated authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of ResourceManager that exposes resource management API entry points.

static Configurable configure()

Get a Configurable instance that can be used to create ResourceManager with optional configuration.

Deployments deployments()
FeatureClient featureClient()
Features features()
GenericResources genericResources()
InternalRuntimeContext internalContext()
ManagementLockClient managementLockClient()
ManagementLocks managementLocks()
PolicyAssignments policyAssignments()
PolicyClient policyClient()
PolicyDefinitions policyDefinitions()
Providers providers()
ChangesManagementClient resourceChangeClient()
ResourceGroups resourceGroups()
SubscriptionClient subscriptionClient()
Subscriptions subscriptions()
TagOperations tagOperations()
Tenants tenants()

Methods inherited from Manager

Methods inherited from java.lang.Object

Method Details

authenticate

public static ResourceManager.Authenticated authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of ResourceManager that exposes resource management API entry points.

Parameters:

credential - the credential to use
profile - the profile used in resource management

Returns:

the ResourceManager instance

authenticate

public static ResourceManager.Authenticated authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of ResourceManager that exposes resource management API entry points.

Parameters:

httpPipeline - the HttpPipeline configured with Azure authentication credential.
profile - the profile used in resource management

Returns:

the interface exposing resource management API entry points that work across subscriptions

configure

public static ResourceManager.Configurable configure()

Get a Configurable instance that can be used to create ResourceManager with optional configuration.

Returns:

the instance allowing configurations

deployments

public Deployments deployments()

Returns:

the deployment management API entry point

featureClient

public FeatureClient featureClient()

Returns:

wrapped inner feature client providing direct access to auto-generated API implementation, based on Azure REST API.

features

public Features features()

Returns:

the feature management API entry point

genericResources

public GenericResources genericResources()

Returns:

the generic resource management API entry point

internalContext

public ResourceManagerUtils.InternalRuntimeContext internalContext()

Returns:

the ResourceManagerUtils.InternalRuntimeContext associated with this manager

managementLockClient

public ManagementLockClient managementLockClient()

Returns:

wrapped inner policy client providing direct access to auto-generated API implementation, based on Azure REST API.

managementLocks

public ManagementLocks managementLocks()

Returns:

the locks management API entry point

policyAssignments

public PolicyAssignments policyAssignments()

Returns:

the policy assignment management API entry point

policyClient

public PolicyClient policyClient()

Returns:

wrapped inner policy client providing direct access to auto-generated API implementation, based on Azure REST API.

policyDefinitions

public PolicyDefinitions policyDefinitions()

Returns:

the policy definition management API entry point

providers

public Providers providers()

Returns:

the resource provider management API entry point

resourceChangeClient

public ChangesManagementClient resourceChangeClient()

Returns:

wrapped inner resource change client providing direct access to auto-generated API implementation, based on Azure REST API.

resourceGroups

public ResourceGroups resourceGroups()

Returns:

the resource group management API entry point

subscriptionClient

public SubscriptionClient subscriptionClient()

Returns:

wrapped inner subscription client providing direct access to auto-generated API implementation, based on Azure REST API.

subscriptions

public Subscriptions subscriptions()

Returns:

the subscription management API entry point

tagOperations

public TagOperations tagOperations()

Returns:

the tag management API entry point

tenants

public Tenants tenants()

Returns:

the tenant management API entry point

Applies to