Subscriptions interface
Interface representing a Subscriptions.
Methods
get(string, Subscriptions |
Gets details about a specified subscription. |
list(Subscriptions |
Gets all subscriptions for a tenant. |
list |
This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list. |
Method Details
get(string, SubscriptionsGetOptionalParams)
Gets details about a specified subscription.
function get(subscriptionId: string, options?: SubscriptionsGetOptionalParams): Promise<Subscription>
Parameters
- subscriptionId
-
string
The ID of the target subscription.
- options
- SubscriptionsGetOptionalParams
The options parameters.
Returns
Promise<Subscription>
list(SubscriptionsListOptionalParams)
Gets all subscriptions for a tenant.
function list(options?: SubscriptionsListOptionalParams): PagedAsyncIterableIterator<Subscription, Subscription[], PageSettings>
Parameters
- options
- SubscriptionsListOptionalParams
The options parameters.
Returns
listLocations(string, SubscriptionsListLocationsOptionalParams)
This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list.
function listLocations(subscriptionId: string, options?: SubscriptionsListLocationsOptionalParams): PagedAsyncIterableIterator<Location_2, Location_2[], PageSettings>
Parameters
- subscriptionId
-
string
The ID of the target subscription.
The options parameters.