azure.mgmt.resource.resources.v2016_09_01.models module

class azure.mgmt.resource.resources.v2016_09_01.models.DeploymentExtendedFilter(provisioning_state=None)[source]

Bases: msrest.serialization.Model

Deployment filter.

Parameters:provisioning_state (str) – The provisioning state.
class azure.mgmt.resource.resources.v2016_09_01.models.GenericResourceFilter(resource_type=None, tagname=None, tagvalue=None)[source]

Bases: msrest.serialization.Model

Resource filter.

Parameters:
  • resource_type (str) – The resource type.
  • tagname (str) – The tag name.
  • tagvalue (str) – The tag value.
class azure.mgmt.resource.resources.v2016_09_01.models.ResourceGroupFilter(tag_name=None, tag_value=None)[source]

Bases: msrest.serialization.Model

Resource group filter.

Parameters:
  • tag_name (str) – The tag name.
  • tag_value (str) – The tag value.

Bases: msrest.serialization.Model

Entity representing the reference to the template.

Parameters:
  • uri (str) – The URI of the template to deploy.
  • content_version (str) – If included, must match the ContentVersion in the template.

Bases: msrest.serialization.Model

Entity representing the reference to the deployment paramaters.

Parameters:
  • uri (str) – The URI of the parameters file.
  • content_version (str) – If included, must match the ContentVersion in the template.
class azure.mgmt.resource.resources.v2016_09_01.models.DebugSetting(detail_level=None)[source]

Bases: msrest.serialization.Model

DebugSetting.

Parameters:detail_level (str) – Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations.
class azure.mgmt.resource.resources.v2016_09_01.models.DeploymentProperties(mode, template=None, template_link=None, parameters=None, parameters_link=None, debug_setting=None)[source]

Bases: msrest.serialization.Model

Deployment properties.

Parameters:
  • template (object) – The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both.
  • template_link (TemplateLink) – The URI of the template. Use either the templateLink property or the template property, but not both.
  • parameters (object) – Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string.
  • parameters_link (ParametersLink) – The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.
  • mode (str or DeploymentMode) – The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources. Possible values include: ‘Incremental’, ‘Complete’
  • debug_setting (DebugSetting) – The debug setting of the deployment.
class azure.mgmt.resource.resources.v2016_09_01.models.Deployment(properties)[source]

Bases: msrest.serialization.Model

Deployment operation parameters.

Parameters:properties (DeploymentProperties) – The deployment properties.
class azure.mgmt.resource.resources.v2016_09_01.models.DeploymentExportResult(template=None)[source]

Bases: msrest.serialization.Model

The deployment export result. .

Parameters:template (object) – The template content.
class azure.mgmt.resource.resources.v2016_09_01.models.ResourceManagementErrorWithDetails[source]

Bases: msrest.serialization.Model

ResourceManagementErrorWithDetails.

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

Variables:
  • code (str) – The error code returned when exporting the template.
  • message (str) – The error message describing the export error.
  • target (str) – The target of the error.
  • details (list of ResourceManagementErrorWithDetails) – Validation error.
class azure.mgmt.resource.resources.v2016_09_01.models.AliasPathType(path=None, api_versions=None)[source]

Bases: msrest.serialization.Model

The type of the paths for alias. .

Parameters:
  • path (str) – The path of an alias.
  • api_versions (list of str) – The API versions.
class azure.mgmt.resource.resources.v2016_09_01.models.AliasType(name=None, paths=None)[source]

Bases: msrest.serialization.Model

The alias type. .

Parameters:
  • name (str) – The alias name.
  • paths (list of AliasPathType) – The paths for an alias.
class azure.mgmt.resource.resources.v2016_09_01.models.ProviderResourceType(resource_type=None, locations=None, aliases=None, api_versions=None, properties=None)[source]

Bases: msrest.serialization.Model

Resource type managed by the resource provider.

Parameters:
  • resource_type (str) – The resource type.
  • locations (list of str) – The collection of locations where this resource type can be created.
  • aliases (list of AliasType) – The aliases that are supported by this resource type.
  • api_versions (list of str) – The API version.
  • properties (dict) – The properties.
class azure.mgmt.resource.resources.v2016_09_01.models.Provider(namespace=None)[source]

Bases: msrest.serialization.Model

Resource provider information.

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

Variables:
  • id (str) – The provider ID.
  • registration_state (str) – The registration state of the provider.
  • resource_types (list of ProviderResourceType) – The collection of provider resource types.
Parameters:

namespace (str) – The namespace of the resource provider.

class azure.mgmt.resource.resources.v2016_09_01.models.BasicDependency(id=None, resource_type=None, resource_name=None)[source]

Bases: msrest.serialization.Model

Deployment dependency information.

Parameters:
  • id (str) – The ID of the dependency.
  • resource_type (str) – The dependency resource type.
  • resource_name (str) – The dependency resource name.
class azure.mgmt.resource.resources.v2016_09_01.models.Dependency(depends_on=None, id=None, resource_type=None, resource_name=None)[source]

Bases: msrest.serialization.Model

Deployment dependency information.

Parameters:
  • depends_on (list of BasicDependency) – The list of dependencies.
  • id (str) – The ID of the dependency.
  • resource_type (str) – The dependency resource type.
  • resource_name (str) – The dependency resource name.
class azure.mgmt.resource.resources.v2016_09_01.models.DeploymentPropertiesExtended(outputs=None, providers=None, dependencies=None, template=None, template_link=None, parameters=None, parameters_link=None, mode=None, debug_setting=None)[source]

Bases: msrest.serialization.Model

Deployment properties with additional details.

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

Variables:
  • provisioning_state (str) – The state of the provisioning.
  • correlation_id (str) – The correlation ID of the deployment.
  • timestamp (datetime) – The timestamp of the template deployment.
Parameters:
  • outputs (object) – Key/value pairs that represent deploymentoutput.
  • providers (list of Provider) – The list of resource providers needed for the deployment.
  • dependencies (list of Dependency) – The list of deployment dependencies.
  • template (object) – The template content. Use only one of Template or TemplateLink.
  • template_link (TemplateLink) – The URI referencing the template. Use only one of Template or TemplateLink.
  • parameters (object) – Deployment parameters. Use only one of Parameters or ParametersLink.
  • parameters_link (ParametersLink) – The URI referencing the parameters. Use only one of Parameters or ParametersLink.
  • mode (str or DeploymentMode) – The deployment mode. Possible values are Incremental and Complete. Possible values include: ‘Incremental’, ‘Complete’
  • debug_setting (DebugSetting) – The debug setting of the deployment.
class azure.mgmt.resource.resources.v2016_09_01.models.DeploymentValidateResult(error=None, properties=None)[source]

Bases: msrest.serialization.Model

Information from validate template deployment response.

Parameters:
class azure.mgmt.resource.resources.v2016_09_01.models.DeploymentExtended(name, id=None, properties=None)[source]

Bases: msrest.serialization.Model

Deployment information.

Parameters:
class azure.mgmt.resource.resources.v2016_09_01.models.Plan(name=None, publisher=None, product=None, promotion_code=None)[source]

Bases: msrest.serialization.Model

Plan for the resource.

Parameters:
  • name (str) – The plan ID.
  • publisher (str) – The publisher ID.
  • product (str) – The offer ID.
  • promotion_code (str) – The promotion code.
class azure.mgmt.resource.resources.v2016_09_01.models.Sku(name=None, tier=None, size=None, family=None, model=None, capacity=None)[source]

Bases: msrest.serialization.Model

SKU for the resource.

Parameters:
  • name (str) – The SKU name.
  • tier (str) – The SKU tier.
  • size (str) – The SKU size.
  • family (str) – The SKU family.
  • model (str) – The SKU model.
  • capacity (int) – The SKU capacity.
class azure.mgmt.resource.resources.v2016_09_01.models.Identity(type=None)[source]

Bases: msrest.serialization.Model

Identity for the resource.

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

Variables:
  • principal_id (str) – The principal ID of resource identity.
  • tenant_id (str) – The tenant ID of resource.
Parameters:

type (str or ResourceIdentityType) – The identity type. Possible values include: ‘SystemAssigned’

class azure.mgmt.resource.resources.v2016_09_01.models.GenericResource(location=None, tags=None, plan=None, properties=None, kind=None, managed_by=None, sku=None, identity=None)[source]

Bases: azure.mgmt.resource.resources.v2016_09_01.models.resource.Resource

Resource information.

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

Variables:
Parameters:
  • location (str) – Resource location
  • tags (dict) – Resource tags
  • plan (Plan) – The plan of the resource.
  • properties (object) – The resource properties.
  • kind (str) – The kind of the resource.
  • managed_by (str) – ID of the resource that manages this resource.
  • sku (Sku) – The SKU of the resource.
  • identity (Identity) – The identity of the resource.
class azure.mgmt.resource.resources.v2016_09_01.models.ResourceGroupProperties[source]

Bases: msrest.serialization.Model

The resource group properties.

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

Variables:provisioning_state (str) – The provisioning state.
class azure.mgmt.resource.resources.v2016_09_01.models.ResourceGroup(location, name=None, properties=None, managed_by=None, tags=None)[source]

Bases: msrest.serialization.Model

Resource group information.

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

Variables:

id (str) – The ID of the resource group.

Parameters:
  • name (str) – The name of the resource group.
  • properties (ResourceGroupProperties) –
  • location (str) – The location of the resource group. It cannot be changed after the resource group has been created. It muct be one of the supported Azure locations.
  • managed_by (str) – The ID of the resource that manages this resource group.
  • tags (dict) – The tags attached to the resource group.
class azure.mgmt.resource.resources.v2016_09_01.models.ResourcesMoveInfo(resources=None, target_resource_group=None)[source]

Bases: msrest.serialization.Model

Parameters of move resources.

Parameters:
  • resources (list of str) – The IDs of the resources.
  • target_resource_group (str) – The target resource group.
class azure.mgmt.resource.resources.v2016_09_01.models.ExportTemplateRequest(resources=None, options=None)[source]

Bases: msrest.serialization.Model

Export resource group template request parameters.

Parameters:
  • resources (list of str) – The IDs of the resources. The only supported string currently is ‘*’ (all resources). Future updates will support exporting specific resources.
  • options (str) – The export template options. Supported values include ‘IncludeParameterDefaultValue’, ‘IncludeComments’ or ‘IncludeParameterDefaultValue, IncludeComments
class azure.mgmt.resource.resources.v2016_09_01.models.TagCount(type=None, value=None)[source]

Bases: msrest.serialization.Model

Tag count.

Parameters:
  • type (str) – Type of count.
  • value (int) – Value of count.
class azure.mgmt.resource.resources.v2016_09_01.models.TagValue(id=None, tag_value=None, count=None)[source]

Bases: msrest.serialization.Model

Tag information.

Parameters:
  • id (str) – The tag ID.
  • tag_value (str) – The tag value.
  • count (TagCount) – The tag value count.
class azure.mgmt.resource.resources.v2016_09_01.models.TagDetails(id=None, tag_name=None, count=None, values=None)[source]

Bases: msrest.serialization.Model

Tag details.

Parameters:
  • id (str) – The tag ID.
  • tag_name (str) – The tag name.
  • count (TagCount) – The total number of resources that use the resource tag. When a tag is initially created and has no associated resources, the value is 0.
  • values (list of TagValue) – The list of tag values.
class azure.mgmt.resource.resources.v2016_09_01.models.TargetResource(id=None, resource_name=None, resource_type=None)[source]

Bases: msrest.serialization.Model

Target resource.

Parameters:
  • id (str) – The ID of the resource.
  • resource_name (str) – The name of the resource.
  • resource_type (str) – The type of the resource.
class azure.mgmt.resource.resources.v2016_09_01.models.HttpMessage(content=None)[source]

Bases: msrest.serialization.Model

HttpMessage.

Parameters:content (object) – HTTP message content.
class azure.mgmt.resource.resources.v2016_09_01.models.DeploymentOperationProperties[source]

Bases: msrest.serialization.Model

Deployment operation properties.

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

Variables:
  • provisioning_state (str) – The state of the provisioning.
  • timestamp (datetime) – The date and time of the operation.
  • service_request_id (str) – Deployment operation service request id.
  • status_code (str) – Operation status code.
  • status_message (object) – Operation status message.
  • target_resource (TargetResource) – The target resource.
  • request (HttpMessage) – The HTTP request message.
  • response (HttpMessage) – The HTTP response message.
class azure.mgmt.resource.resources.v2016_09_01.models.DeploymentOperation(properties=None)[source]

Bases: msrest.serialization.Model

Deployment operation information.

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

Variables:
  • id (str) – Full deployment operation ID.
  • operation_id (str) – Deployment operation ID.
Parameters:

properties (DeploymentOperationProperties) – Deployment properties.

class azure.mgmt.resource.resources.v2016_09_01.models.ResourceProviderOperationDisplayProperties(publisher=None, provider=None, resource=None, operation=None, description=None)[source]

Bases: msrest.serialization.Model

Resource provider operation’s display properties.

Parameters:
  • publisher (str) – Operation description.
  • provider (str) – Operation provider.
  • resource (str) – Operation resource.
  • operation (str) – Operation.
  • description (str) – Operation description.
class azure.mgmt.resource.resources.v2016_09_01.models.Resource(location=None, tags=None)[source]

Bases: msrest.serialization.Model

Resource.

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

Variables:
Parameters:
  • location (str) – Resource location
  • tags (dict) – Resource tags
class azure.mgmt.resource.resources.v2016_09_01.models.SubResource(id=None)[source]

Bases: msrest.serialization.Model

SubResource.

Parameters:id (str) – Resource ID
class azure.mgmt.resource.resources.v2016_09_01.models.ResourceGroupExportResult(template=None, error=None)[source]

Bases: msrest.serialization.Model

ResourceGroupExportResult.

Parameters:
class azure.mgmt.resource.resources.v2016_09_01.models.DeploymentExtendedPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of DeploymentExtended object

class azure.mgmt.resource.resources.v2016_09_01.models.ProviderPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Provider object

class azure.mgmt.resource.resources.v2016_09_01.models.GenericResourcePaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of GenericResource object

class azure.mgmt.resource.resources.v2016_09_01.models.ResourceGroupPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of ResourceGroup object

class azure.mgmt.resource.resources.v2016_09_01.models.TagDetailsPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of TagDetails object

class azure.mgmt.resource.resources.v2016_09_01.models.DeploymentOperationPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of DeploymentOperation object

class azure.mgmt.resource.resources.v2016_09_01.models.DeploymentMode[source]

Bases: enum.Enum

complete = 'Complete'
incremental = 'Incremental'
class azure.mgmt.resource.resources.v2016_09_01.models.ResourceIdentityType[source]

Bases: enum.Enum

system_assigned = 'SystemAssigned'