Subscription (Notification Endpoint Object)
Applies To: Windows Azure Pack
Represents a Subscription. It is used by the custom resource provider notification API to pass subscription information to a resource provider from the Service Management API. For example, when a subscription to a plan is created, the Subscription object is used to pass information about the new subscription in the Create a Subscription for a Notification REST API call from the Service Management REST API to the Resource Provider.
The following table describes the elements of the Subscription object.
Element | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SubscriptionId | The subscription identifier | ||||||||||||||
SubscriptionName | The subscription name | ||||||||||||||
State | The subscription state. Possible values are:
| ||||||||||||||
LifeCycleState | The state of the subscription life cycle. Required if the resource provider implements asynchronous protocols. Possible values are:
| ||||||||||||||
LastErrorMessage | The last error message. Required if the resource provider implements asynchronous protocols. | ||||||||||||||
QuotaSettings | A list of quota settings. For more information, see ServiceQuotaSettingList (Notification Endpoint Object). | ||||||||||||||
AdminId | The administrator identifier. | ||||||||||||||
CoAdmins | A list of co-administrators. |