Azure.Authenticated.withDefaultSubscription 方法
定义
Selects the default subscription as the subscription for the APIs to work with.
The default subscription can be specified inside the authentication file using authenticate(File credentialsFile). If no default subscription has been previously provided, the first subscription as returned by subscriptions() will be selected.
public Azure withDefaultSubscription()
返回
an authenticated Azure client configured to work with the default subscription
例外
CloudException
exception thrown from Azure
IOException
exception thrown from serialization/deserialization