다음을 통해 공유


Subscription Class

Definition

Subscription information.

public class Subscription
type Subscription = class
Public Class Subscription
Inheritance
Subscription

Constructors

Subscription()

Initializes a new instance of the Subscription class.

Subscription(String, String, String, String, Nullable<SubscriptionState>, SubscriptionPolicies, String, IList<ManagedByTenant>, IDictionary<String, String>)

Initializes a new instance of the Subscription 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.

ManagedByTenants

Gets or sets an array containing the tenants managing the subscription.

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.

Tags

Gets or sets the tags attached to the subscription.

TenantId

Gets the subscription tenant ID.

Applies to