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()
Gets the entry point to subscription management API. |
abstract Tenants |
tenants()
Gets the entry point to tenant management API. |
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()
Gets the entry point to subscription management API.
Returns:
tenants
public abstract Tenants tenants()
Gets the entry point to tenant management API.
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: