Share via


SubscriptionModel Class

Definition

Subscription information.

public class SubscriptionModel
type SubscriptionModel = class
Public Class SubscriptionModel
Inheritance
SubscriptionModel

Constructors

SubscriptionModel()

Initializes a new instance of the SubscriptionModel class.

SubscriptionModel(String, String, String, Nullable<SubscriptionState>, SubscriptionPolicies, String)

Initializes a new instance of the SubscriptionModel class.

Properties

AuthorizationSource

Gets or sets the authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'.

DisplayName

Gets the subscription display name.

Id

Gets the fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000.

State

Gets the subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted. Possible values include: 'Enabled', 'Warned', 'PastDue', 'Disabled', 'Deleted'

SubscriptionId

Gets the subscription ID.

SubscriptionPolicies

Gets or sets the subscription policies.

Applies to