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.LocationListResult(*, value: Optional[List[Location]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Location list operation response.

Parameters

value (list[Location]) – An array of locations.

class azure.mgmt.resource.subscriptions.v2016_06_01.models.Operation(*, name: Optional[str] = None, display: Optional[OperationDisplay] = 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: Optional[str] = None, resource: Optional[str] = None, operation: Optional[str] = None, description: Optional[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.OperationListResult(*, value: Optional[List[Operation]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results.

Parameters
  • value (list[Operation]) – List of Microsoft.Resources operations.

  • next_link (str) – URL to get the next set of operation list results if there are any.

class azure.mgmt.resource.subscriptions.v2016_06_01.models.SpendingLimit(value)[source]

Bases: str, enum.Enum

The subscription spending limit.

current_period_off = 'CurrentPeriodOff'
off = 'Off'
on = 'On'
class azure.mgmt.resource.subscriptions.v2016_06_01.models.Subscription(*, subscription_policies: Optional[SubscriptionPolicies] = None, authorization_source: Optional[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.SubscriptionListResult(*, next_link: str, value: Optional[List[Subscription]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Subscription list operation response.

All required parameters must be populated in order to send to Azure.

Parameters
  • value (list[Subscription]) – An array of subscriptions.

  • next_link (str) – Required. The URL to get the next set of results.

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.SubscriptionState(value)[source]

Bases: str, enum.Enum

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

deleted = 'Deleted'
disabled = 'Disabled'
enabled = 'Enabled'
past_due = 'PastDue'
warned = 'Warned'
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.TenantListResult(*, next_link: str, value: Optional[List[TenantIdDescription]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Tenant Ids information.

All required parameters must be populated in order to send to Azure.

Parameters
  • value (list[TenantIdDescription]) – An array of tenants.

  • next_link (str) – Required. The URL to use for getting the next set of results.