Subscriptions interface
Interface representing a Subscriptions.
Methods
check |
Compares a subscriptions logical zone mapping |
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
checkZonePeers(string, CheckZonePeersRequest, SubscriptionsCheckZonePeersOptionalParams)
Compares a subscriptions logical zone mapping
function checkZonePeers(subscriptionId: string, parameters: CheckZonePeersRequest, options?: SubscriptionsCheckZonePeersOptionalParams): Promise<CheckZonePeersResult>
Parameters
- subscriptionId
-
string
The ID of the target subscription.
- parameters
- CheckZonePeersRequest
Parameters for checking zone peers.
The options parameters.
Returns
Promise<CheckZonePeersResult>
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.