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

class azure.mgmt.resource.subscriptions.v2016_06_01.models.AvailabilityZonePeers(*, peers: Optional[List[_models.Peers]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

List of availability zones shared by the subscriptions.

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

Variables
  • availability_zone (str) – The availabilityZone.

  • peers (list[Peers]) – Details of shared availability zone.

Keyword Arguments

peers (list[Peers]) – Details of shared availability zone.

class azure.mgmt.resource.subscriptions.v2016_06_01.models.CheckResourceNameResult(*, name: Optional[str] = None, type: Optional[str] = None, status: Optional[Union[str, _models.ResourceNameStatus]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

Resource Name valid if not a reserved word, does not contain a reserved word and does not start with a reserved word.

Variables
  • name (str) – Name of Resource.

  • type (str) – Type of Resource.

  • status (str or ResourceNameStatus) – Is the resource name Allowed or Reserved. Known values are: “Allowed” and “Reserved”.

Keyword Arguments
  • name (str) – Name of Resource.

  • type (str) – Type of Resource.

  • status (str or ResourceNameStatus) – Is the resource name Allowed or Reserved. Known values are: “Allowed” and “Reserved”.

class azure.mgmt.resource.subscriptions.v2016_06_01.models.CheckZonePeersRequest(*, location: Optional[str] = None, subscription_ids: Optional[List[str]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

Check zone peers request parameters.

Variables
  • location (str) – The Microsoft location.

  • subscription_ids (list[str]) – The peer Microsoft Azure subscription ID.

Keyword Arguments
  • location (str) – The Microsoft location.

  • subscription_ids (list[str]) – The peer Microsoft Azure subscription ID.

class azure.mgmt.resource.subscriptions.v2016_06_01.models.CheckZonePeersResult(*, location: Optional[str] = None, availability_zone_peers: Optional[List[_models.AvailabilityZonePeers]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

Result of the Check zone peers operation.

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

Variables
  • subscription_id (str) – The subscription ID.

  • location (str) – the location of the subscription.

  • availability_zone_peers (list[AvailabilityZonePeers]) – The Availability Zones shared by the subscriptions.

Keyword Arguments
  • location (str) – the location of the subscription.

  • availability_zone_peers (list[AvailabilityZonePeers]) – The Availability Zones shared by the subscriptions.

class azure.mgmt.resource.subscriptions.v2016_06_01.models.ErrorAdditionalInfo(**kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

The resource management error additional info.

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

Variables
  • type (str) – The additional info type.

  • info (JSON) – The additional info.

class azure.mgmt.resource.subscriptions.v2016_06_01.models.ErrorDefinition(*, message: Optional[str] = None, code: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

Error description and code explaining why resource name is invalid.

Variables
  • message (str) – Description of the error.

  • code (str) – Code of the error.

Keyword Arguments
  • message (str) – Description of the error.

  • code (str) – Code of the error.

class azure.mgmt.resource.subscriptions.v2016_06_01.models.ErrorDetail(**kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

The error detail.

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

Variables
class azure.mgmt.resource.subscriptions.v2016_06_01.models.ErrorResponse(*, error: Optional[_models.ErrorDetail] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

Variables

error (ErrorDetail) – The error object.

Keyword Arguments

error (ErrorDetail) – The error object.

class azure.mgmt.resource.subscriptions.v2016_06_01.models.ErrorResponseAutoGenerated(*, error: Optional[_models.ErrorDefinition] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

Error response.

Variables

error (ErrorDefinition) – The error details.

Keyword Arguments

error (ErrorDefinition) – The error details.

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

Bases: azure.mgmt.resource.subscriptions._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[_models.Location]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

Location list operation response.

Variables

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

Keyword Arguments

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

class azure.mgmt.resource.subscriptions.v2016_06_01.models.Operation(*, name: Optional[str] = None, display: Optional[_models.OperationDisplay] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

Microsoft.Resources operation.

Variables
  • name (str) – Operation name: {provider}/{resource}/{operation}.

  • display (OperationDisplay) – The object that represents the operation.

Keyword Arguments
  • 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: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

The object that represents the operation.

Variables
  • 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.

Keyword Arguments
  • 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[_models.Operation]] = None, next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._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.

Variables
  • 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.

Keyword Arguments
  • 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.Peers(**kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

Information about shared availability zone.

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

Variables
  • subscription_id (str) – The subscription ID.

  • availability_zone (str) – The availabilityZone.

class azure.mgmt.resource.subscriptions.v2016_06_01.models.ResourceName(*, name: str, type: str, **kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

Name and Type of the Resource.

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

Variables
  • name (str) – Name of the resource. Required.

  • type (str) – The type of the resource. Required.

Keyword Arguments
  • name (str) – Name of the resource. Required.

  • type (str) – The type of the resource. Required.

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

Bases: str, enum.Enum

Is the resource name Allowed or Reserved.

ALLOWED = 'Allowed'
RESERVED = 'Reserved'
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[_models.SubscriptionPolicies] = None, authorization_source: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._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. Known values are: “Enabled”, “Warned”, “PastDue”, “Disabled”, and “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’.

Keyword Arguments
  • 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[_models.Subscription]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

Subscription list operation response.

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

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

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

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

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

class azure.mgmt.resource.subscriptions.v2016_06_01.models.SubscriptionPolicies(**kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._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. Known values are: “On”, “Off”, and “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: Any)[source]

Bases: azure.mgmt.resource.subscriptions._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[_models.TenantIdDescription]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.subscriptions._serialization.Model

Tenant Ids information.

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

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

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

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

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