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, managed_by_tenants: List[_models.ManagedByTenant] | None = None, tags: Dict[str, 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'.

managed_by_tenants

An array containing the tenants managing the subscription.

tags

The tags attached to the subscription.

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.