Class SubscriptionManager
java.lang.Object
com.azure.resourcemanager.subscription.SubscriptionManager
Entry point to SubscriptionManager. The subscription client.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
The Configurable allowing configurations to be set. -
Method Summary
Modifier and TypeMethodDescriptionalias()
Gets the resource collection API of Alias.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.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.Gets a Configurable instance that can be used to create SubscriptionManager with optional configuration.Gets the resource collection API of Operations.Gets the resource collection API of SubscriptionOperations.Gets the resource collection API of Subscriptions.tenants()
Gets the resource collection API of Tenants.
-
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
- theHttpPipeline
configured with Azure authentication credential.profile
- the Azure profile for client.- Returns:
- the Subscription service API instance.
-
configure
Gets a Configurable instance that can be used to create SubscriptionManager with optional configuration.- Returns:
- the Configurable instance allowing configurations.
-
subscriptions
Gets the resource collection API of Subscriptions.- Returns:
- Resource collection API of Subscriptions.
-
tenants
Gets the resource collection API of Tenants.- Returns:
- Resource collection API of Tenants.
-
subscriptionOperations
Gets the resource collection API of SubscriptionOperations.- Returns:
- Resource collection API of SubscriptionOperations.
-
operations
Gets the resource collection API of Operations.- Returns:
- Resource collection API of Operations.
-
alias
Gets the resource collection API of Alias.- Returns:
- Resource collection API of Alias.
-
serviceClient
- Returns:
- Wrapped service client SubscriptionClient providing direct access to the underlying auto-generated API implementation, based on Azure REST API.
-