azure.mgmt.resource.subscriptions.v2016_06_01.models module

class azure.mgmt.resource.subscriptions.v2016_06_01.models.Location(**kwargs)[source]

Bases: msrest.serialization.Model

Location information.

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

Variables:
  • id (str) – The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.
  • subscription_id (str) – The subscription ID.
  • name (str) – The location name.
  • display_name (str) – The display name of the location.
  • latitude (str) – The latitude of the location.
  • longitude (str) – The longitude of the location.
class azure.mgmt.resource.subscriptions.v2016_06_01.models.Operation(*, name: str = None, display=None, **kwargs)[source]

Bases: msrest.serialization.Model

Microsoft.Resources operation.

Parameters:
  • name (str) – Operation name: {provider}/{resource}/{operation}
  • display (OperationDisplay) – The object that represents the operation.
class azure.mgmt.resource.subscriptions.v2016_06_01.models.OperationDisplay(*, provider: str = None, resource: str = None, operation: str = None, description: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

The object that represents the operation.

Parameters:
  • provider (str) – Service provider: Microsoft.Resources
  • resource (str) – Resource on which the operation is performed: Profile, endpoint, etc.
  • operation (str) – Operation type: Read, write, delete, etc.
  • description (str) – Description of the operation.
class azure.mgmt.resource.subscriptions.v2016_06_01.models.Subscription(*, subscription_policies=None, authorization_source: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Subscription information.

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

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.
  • state (str or SubscriptionState) – The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted. Possible values include: ‘Enabled’, ‘Warned’, ‘PastDue’, ‘Disabled’, ‘Deleted’
Parameters:
  • 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’.
class azure.mgmt.resource.subscriptions.v2016_06_01.models.SubscriptionPolicies(**kwargs)[source]

Bases: msrest.serialization.Model

Subscription policies.

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

Variables:
  • location_placement_id (str) – The subscription location placement ID. The ID indicates which regions are visible for a subscription. For example, a subscription with a location placement Id of Public_2014-09-01 has access to Azure public regions.
  • quota_id (str) – The subscription quota ID.
  • spending_limit (str or SpendingLimit) – The subscription spending limit. Possible values include: ‘On’, ‘Off’, ‘CurrentPeriodOff’
class azure.mgmt.resource.subscriptions.v2016_06_01.models.TenantIdDescription(**kwargs)[source]

Bases: msrest.serialization.Model

Tenant Id information.

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

Variables:
  • id (str) – The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000.
  • tenant_id (str) – The tenant ID. For example, 00000000-0000-0000-0000-000000000000.
class azure.mgmt.resource.subscriptions.v2016_06_01.models.OperationPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Operation object

class azure.mgmt.resource.subscriptions.v2016_06_01.models.LocationPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Location object

class azure.mgmt.resource.subscriptions.v2016_06_01.models.SubscriptionPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Subscription object

class azure.mgmt.resource.subscriptions.v2016_06_01.models.TenantIdDescriptionPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of TenantIdDescription object

class azure.mgmt.resource.subscriptions.v2016_06_01.models.SubscriptionState[source]

Bases: str, enum.Enum

An enumeration.

deleted = 'Deleted'
disabled = 'Disabled'
enabled = 'Enabled'
past_due = 'PastDue'
warned = 'Warned'
class azure.mgmt.resource.subscriptions.v2016_06_01.models.SpendingLimit[source]

Bases: str, enum.Enum

An enumeration.

current_period_off = 'CurrentPeriodOff'
off = 'Off'
on = 'On'