azure.mgmt.resource.subscriptions.v2016_06_01.models module¶
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.models.CheckResourceNameResult(*, name: Optional[str] = None, type: Optional[str] = None, status: Optional[Union[str, ResourceNameStatus]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelResource Name valid if not a reserved word, does not contain a reserved word and does not start with a reserved word.
- Parameters
name (str) – Name of Resource.
type (str) – Type of Resource.
status (str or ResourceNameStatus) – Is the resource name Allowed or Reserved. Possible values include: “Allowed”, “Reserved”.
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.models.ErrorDefinition(*, message: Optional[str] = None, code: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelError description and code explaining why resource name is invalid.
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.models.ErrorResponse(*, error: Optional[ErrorDefinition] = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelError response.
- Parameters
error (ErrorDefinition) – The error details.
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.models.Location(**kwargs)[source]¶ Bases:
msrest.serialization.ModelLocation 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.
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.ModelLocation list operation response.
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.models.Operation(*, name: Optional[str] = None, display: Optional[OperationDisplay] = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelMicrosoft.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.ModelThe object that represents 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.ModelResult 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.
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.models.ResourceName(*, name: str, type: str, **kwargs)[source]¶ Bases:
msrest.serialization.ModelName and Type of the Resource.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.models.ResourceNameStatus(value)[source]¶ -
Is the resource name Allowed or Reserved
-
ALLOWED= 'Allowed'¶
-
RESERVED= 'Reserved'¶
-
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.models.SpendingLimit(value)[source]¶ -
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.ModelSubscription 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.ModelSubscription 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.ModelSubscription 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.
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]¶ -
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.ModelTenant Id information.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.resource.subscriptions.v2016_06_01.models.TenantListResult(*, next_link: str, value: Optional[List[TenantIdDescription]] = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelTenant 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.