你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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: