public static interface ResourceManager.Authenticated
| Modifier and Type | Method and Description |
|---|---|
Subscriptions |
subscriptions() |
Tenants |
tenants() |
ResourceManager |
withDefaultSubscription()
Specifies to use subscription from
AzureProfile. |
ResourceManager |
withSubscription(String subscriptionId)
Specifies a subscription to expose resource management API entry points that work in a subscription.
|
Tenants tenants()
Subscriptions subscriptions()
ResourceManager withSubscription(String subscriptionId)
subscriptionId - the subscription UUIDResourceManager withDefaultSubscription()
AzureProfile. If no subscription provided, we will
try to set the only subscription if applicable returned by ResourceManager.Authenticated.subscriptions().IllegalStateException - when no subscription or more than one subscription found in the tenant.Copyright © 2021 Microsoft Corporation. All rights reserved.