Class SubscriptionManager

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

public final class SubscriptionManager extends Object
Entry point to SubscriptionManager. The subscription client.
  • Method Details

    • authenticate

      public static SubscriptionManager authenticate(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.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(com.azure.core.http.HttpPipeline httpPipeline, com.azure.core.management.profile.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.
    • 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.
    • subscriptionOperations

      public SubscriptionOperations subscriptionOperations()
      Gets the resource collection API of SubscriptionOperations.
      Returns:
      Resource collection API of SubscriptionOperations.
    • operations

      public Operations operations()
      Gets the resource collection API of Operations.
      Returns:
      Resource collection API of Operations.
    • alias

      public Alias alias()
      Gets the resource collection API of Alias.
      Returns:
      Resource collection API of Alias.
    • serviceClient

      public SubscriptionClient serviceClient()
      Returns:
      Wrapped service client SubscriptionClient providing direct access to the underlying auto-generated API implementation, based on Azure REST API.