Subscription Class

Subscription information.

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

Inheritance
Subscription

Constructor

Subscription(*, subscription_policies: Optional[azure.mgmt.resource.subscriptions.v2019_06_01.models._models_py3.SubscriptionPolicies] = None, authorization_source: Optional[str] = None, managed_by_tenants: Optional[List[azure.mgmt.resource.subscriptions.v2019_06_01.models._models_py3.ManagedByTenant]] = None, **kwargs)

Variables

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.

tenant_id
str

The subscription tenant ID.

state
str or SubscriptionState

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

subscription_policies
SubscriptionPolicies

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
list[ManagedByTenant]

An array containing the tenants managing the subscription.