SubscriptionManager Class

  • java.lang.Object
    • com.azure.resourcemanager.subscription.SubscriptionManager

public final class SubscriptionManager

Entry point to SubscriptionManager. The subscription client.

Method Summary

Modifier and Type Method and Description
Alias alias()

Gets the resource collection API of Alias.

static SubscriptionManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of Subscription service API entry point.

static SubscriptionManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of Subscription service API entry point.

static Configurable configure()

Gets a Configurable instance that can be used to create SubscriptionManager with optional configuration.

Operations operations()

Gets the resource collection API of Operations.

SubscriptionClient serviceClient()
SubscriptionOperations subscriptionOperations()

Gets the resource collection API of SubscriptionOperations.

Subscriptions subscriptions()

Gets the resource collection API of Subscriptions.

Tenants tenants()

Gets the resource collection API of Tenants.

Methods inherited from java.lang.Object

Method Details

alias

public Alias alias()

Gets the resource collection API of Alias.

Returns:

Resource collection API of Alias.

authenticate

public static SubscriptionManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of Subscription service API entry point.

Parameters:

credential - the credential to use.
profile - the Azure profile for client.

Returns:

the Subscription service API instance.

authenticate

public static SubscriptionManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of Subscription service API entry point.

Parameters:

httpPipeline - the HttpPipeline configured with Azure authentication credential.
profile - the Azure profile for client.

Returns:

the Subscription service API instance.

configure

public static SubscriptionManager.Configurable configure()

Gets a Configurable instance that can be used to create SubscriptionManager with optional configuration.

Returns:

the Configurable instance allowing configurations.

operations

public Operations operations()

Gets the resource collection API of Operations.

Returns:

Resource collection API of Operations.

serviceClient

public SubscriptionClient serviceClient()

Returns:

Wrapped service client SubscriptionClient providing direct access to the underlying auto-generated API implementation, based on Azure REST API.

subscriptionOperations

public SubscriptionOperations subscriptionOperations()

Gets the resource collection API of SubscriptionOperations.

Returns:

Resource collection API of SubscriptionOperations.

subscriptions

public Subscriptions subscriptions()

Gets the resource collection API of Subscriptions.

Returns:

Resource collection API of Subscriptions.

tenants

public Tenants tenants()

Gets the resource collection API of Tenants.

Returns:

Resource collection API of Tenants.

Applies to