ResourceManager.Authenticated Interface
public static interface ResourceManager.Authenticated
The interface exposing resource management API entry points that work across subscriptions.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Subscriptions | subscriptions() |
abstract Tenants | tenants() |
abstract
Resource |
withDefaultSubscription()
Specifies to use subscription from AzureProfile. |
abstract
Resource |
withSubscription(String subscriptionId)
Specifies a subscription to expose resource management API entry points that work in a subscription. |
Method Details
subscriptions
public abstract Subscriptions subscriptions()
Returns:
tenants
public abstract Tenants tenants()
Returns:
withDefaultSubscription
public abstract ResourceManager withDefaultSubscription()
Specifies to use subscription from AzureProfile. If no subscription provided, we will try to set the only subscription if applicable returned by Authenticated#subscriptions().
Returns:
withSubscription
public abstract ResourceManager withSubscription(String subscriptionId)
Specifies a subscription to expose resource management API entry points that work in a subscription.
Parameters:
Returns:
Applies to
Azure SDK for Java