Share via


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.

Elements

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:

Value

Description

0

The subscription is active.

1

The subscription is suspended.

2

The subscription is being deleted or partially deleted. Only delete operations can be performed on subscriptions in this state.

LifeCycleState

The state of the subscription life cycle. Required if the resource provider implements asynchronous protocols. Possible values are:

Value

Description

0

The subscription is provisioned.

1

The subscription is being provisioned.

2

The subscription is being updated.

3

The subscription is being deleted.

4

The subscription is deleted.

5

The subscription is unsynchronized do to a previous operation error.

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.

See Also

Windows Azure Pack Custom Resource Provider Notification REST API Reference