Subscription Class

Subscription information.

Constructor

Subscription(*args: Any, **kwargs: Any)

Variables

Name Description
id
str

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

subscription_id
str

The subscription ID.

display_name
str

The subscription display name.

tenant_id
str

The subscription tenant ID.

state

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

subscription_policies

The subscription policies.

authorization_source
str

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

managed_by_tenants

An array containing the tenants managing the subscription.

tags

The tags attached to the subscription.

Attributes

authorization_source

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

authorization_source: str | None

display_name

The subscription display name.

display_name: str | None

id

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

id: str | None

managed_by_tenants

An array containing the tenants managing the subscription.

managed_by_tenants: list['_models.ManagedByTenant'] | None

state

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

state: str | _models.SubscriptionState | None

subscription_id

The subscription ID.

subscription_id: str | None

subscription_policies

The subscription policies.

subscription_policies: _models.SubscriptionPolicies | None

tags

The tags attached to the subscription.

tags: dict[str, str] | None

tenant_id

The subscription tenant ID.

tenant_id: str | None