Subscription Class

Subscription information.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.resource.subscriptions._serialization.Model
Subscription

Constructor

Subscription(*, subscription_policies: _models.SubscriptionPolicies | None = None, authorization_source: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
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'.

Variables

Name Description
id
str

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

subscription_id
str

The subscription ID.

display_name
str

The subscription display name.

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'.