Export (0) Print
Expand All

Get Subscription

Updated: April 3, 2014

The Get Subscription operation returns account and resource allocation information for the specified subscription.

The Get Subscription request may be specified as follows. Replace <subscription-id> with the subscription ID.

 

Method Request URI

GET

https://management.core.windows.net/<subscription-id>

You must make sure that the request that is made to the management service is secure. For additional details, see Authenticating Service Management Requests.

The following table describes the request headers.

 

Request Header Description

x-ms-version

Required. Specifies the version of the operation to use for this request. This header must be set to 2011-10-01 or higher. For more information about versioning headers, see Service Management Versioning.

The response includes an HTTP status code, a set of response headers, and a response body.

A successful operation returns status code 200 (OK). For information about status codes, see Service Management Status and Error Codes.

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.

 

Response Header Description

x-ms-request-id

A value that uniquely identifies a request made against the management service.

The format for the response body is as follows:


<Subscription xmlns=http://schemas.microsoft.com/windowsazure   xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <SubscriptionID>subscription-id</SubscriptionID>
  <SubscriptionName>name-of-the-subscription</SubscriptionName>
  <SubscriptionStatus>Active</SubscriptionStatus>
  <AccountAdminLiveEmailId>account-admin-live-id</AccountAdminLiveEmailId>
  <ServiceAdminLiveEmailId>service-admin-live-id</ServiceAdminLiveEmailId>
  <MaxCoreCount>maximum-cores-allocable</MaxCoreCount>
  <MaxStorageAccounts>maximum-storage-accounts-allocable</MaxStorageAccounts>
  <MaxHostedServices>maximum-hosted-services-allocable</MaxHostedServices>
  <CurrentCoreCount>currently-allocated-cores</CurrentCoreCount>
  <CurrentHostedServices>currently-allocated-hosted-services</CurrentHostedServices>
  <CurrentStorageAccounts>currently-allocated-storage-accounts</CurrentStorageAccounts>
  <MaxVirtualNetworkSites>maximum-virtual-network-sites-allocable</MaxVirtualNetworkSites>
  <CurrentVirtualNetworkSites>currently-allocated-virtual-network-sites</CurrentVirtualNetworkSites>
  <MaxLocalNetworkSites>maximum-local-virtual-network-sites-allocable</MaxLocalNetworkSites>
  <MaxDnsServers>maximum-dns-servers-allocable</MaxDnsServers>
  <AADTenantID>active-directory-tenant-identifier</AADTenant>
  <CreatedTime>creation-time-of-subscription</CreatedTime> 
</Subscription>

The following table describes the elements of the response body.

 

Element name Description

SubscriptionID

Specifies the identifier of the subscription.

SubscriptionName

Specifies the name of the subscription.

SubscriptionStatus

Specifies the status of the subscription.

Possible values are:

  • Active

  • Disabled

AccountAdminLiveEmailId

Specifies the live ID of the account administrator.

ServiceAdminLiveEmailId

Specifies the live ID of the subscription administrator.

MaxCoreCount

Specifies the maximum number of cores that can be allocated in the subscription.

MaxStorageAccounts

Specifies the maximum number of storage accounts that can be allocated in the subscription.

MaxHostedServices

Specifies the maximum number of cloud services that can be allocated in the subscription.

CurrentCoreCount

Specifies the number of currently allocated cores.

CurrentHostedServices

Specifies the number of currently allocated cloud services.

CurrentStorageAccounts

Specifies the number of currently allocated storage accounts.

MaxVirtualNetworkSites

Specifies the maximum number of virtual network sites that can be allocated in the subscription.

CurrentVirtualNetworkSites

Specifies the number of currently allocated virtual network sites.

MaxLocalNetworkSites

Specifies the maximum number of local virtual network sites that can be allocated in the subscription.

MaxDnsServers

Specifies he maximum number of DNS servers that can be allocated in the subscription.

AADTenantID

Specifies the Azure Active Directory tenant that is associated with the subscription. For more information, see What is a Microsoft Azure AD tenant?.

CreatedTime

Specifies the time that the subscription was created.

Show:
© 2014 Microsoft