Share via


AdminSubscription (Administrator object)

 

Applies To: Windows Azure Pack

Represents a subscription.

Elements

The AdminSubscription object has the following elements:

Element

Description

SubscriptionID

The identifier of the subscription.

SubscriptionName

The name of the subscription.

AccountAdminLiveEmailId

The email address for the Microsoft account of the account administrator.

ServiceAdminLiveEmailId

The email address for the Microsoft account of the service administrator.

CoAdminNames

A list of co-administrators of the subscription.

AddOnReferences

A list of PlanAddonReference (Administrator object) objects for the subscription add-ons.

AddOns

A list of add-ons for the subscriptions.

State

The state of the subscription. Possible values are:

Value

Description

0

No state change during update. This value is internal to Windows Azure Pack and is not exposed to the Usage Service.

1

The Subscription is active. For the Usage Service, this indicates the subscription is valid and billable.

2

The Subscription is suspended. For Usage Service implications, see Handling Usage Event Data

3

The Subscription is being deleted. When is this state, only deletion operations are allowed. This property is internal to Windows Azure Pack and is not exposed to the Usage Service.

QuotaSyncState

The synchronization state of the subscription. Possible values are:

Value

Description

0

The subscription is synchronized.

1

Synchronization of the subscription is in progress.

2

The subscription is not synchronized.

ActivationSyncState

The synchronization state of the subscription. Possible values are:

Value

Description

0

The subscription is synchronized.

1

Synchronization of the subscription is in progress.

2

The subscription is not synchronized.

PlanId

The identifier of the subscription plan.

Services

A list of services the subscription subscribes to.

LastErrorMessage

The last error message.

Features

A list of subscription features.

OfferFriendlyName

The friendly name of the subscription offer.

OfferCategory

The category of the subscription offer.

Created

The DateTime the Subscription was created.

Permissions

This object is only available to administrators.

See Also

Administrator Subscription Interfaces