Subscription interface

Subscription information.

Properties

authorizationSource

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

The subscription display name.

id

The fully qualified ID for the subscription. For example, /subscriptions/8d65815f-a5b6-402f-9298-045155da7d74

managedByTenants

An array containing the tenants managing the subscription.

state

The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.

subscriptionId

The subscription ID.

subscriptionPolicies

The subscription policies.

tags

The tags attached to the subscription.

tenantId

The subscription tenant ID.

Property Details

authorizationSource

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

authorizationSource?: string

Property Value

string

displayName

The subscription display name.

displayName?: string

Property Value

string

id

The fully qualified ID for the subscription. For example, /subscriptions/8d65815f-a5b6-402f-9298-045155da7d74

id?: string

Property Value

string

managedByTenants

An array containing the tenants managing the subscription.

managedByTenants?: ManagedByTenant[]

Property Value

state

The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.

state?: SubscriptionState

Property Value

subscriptionId

The subscription ID.

subscriptionId?: string

Property Value

string

subscriptionPolicies

The subscription policies.

subscriptionPolicies?: SubscriptionPolicies

Property Value

tags

The tags attached to the subscription.

tags?: Record<string, string>

Property Value

Record<string, string>

tenantId

The subscription tenant ID.

tenantId?: string

Property Value

string