azure.mgmt.resource.resources.v2017_05_10.models module

class azure.mgmt.resource.resources.v2017_05_10.models.AliasPathType(*, path: Optional[str] = None, api_versions: Optional[List[str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The type of the paths for alias.

Parameters
  • path (str) – The path of an alias.

  • api_versions (list[str]) – The API versions.

class azure.mgmt.resource.resources.v2017_05_10.models.AliasType(*, name: Optional[str] = None, paths: Optional[List[AliasPathType]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

The alias type.

Parameters
class azure.mgmt.resource.resources.v2017_05_10.models.BasicDependency(*, id: Optional[str] = None, resource_type: Optional[str] = None, resource_name: Optional[str] = None, **kwargs)[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.v2017_05_10.models.DebugSetting(*, detail_level: Optional[str] = None, **kwargs)[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.v2017_05_10.models.Dependency(*, depends_on: Optional[List[BasicDependency]] = None, id: Optional[str] = None, resource_type: Optional[str] = None, resource_name: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Deployment dependency information.

Parameters
  • depends_on (list[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.v2017_05_10.models.Deployment(*, properties: azure.mgmt.resource.resources.v2017_05_10.models._models_py3.DeploymentProperties, **kwargs)[source]

Bases: msrest.serialization.Model

Deployment operation parameters.

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

Parameters

properties (DeploymentProperties) – Required. The deployment properties.

class azure.mgmt.resource.resources.v2017_05_10.models.DeploymentExportResult(*, template: object = None, **kwargs)[source]

Bases: msrest.serialization.Model

The deployment export result.

Parameters

template (object) – The template content.

class azure.mgmt.resource.resources.v2017_05_10.models.DeploymentExtended(*, name: str, properties: Optional[DeploymentPropertiesExtended] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Deployment information.

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

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

Variables

id (str) – The ID of the deployment.

Parameters
class azure.mgmt.resource.resources.v2017_05_10.models.DeploymentExtendedFilter(*, provisioning_state: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Deployment filter.

Parameters

provisioning_state (str) – The provisioning state.

class azure.mgmt.resource.resources.v2017_05_10.models.DeploymentListResult(*, value: Optional[List[DeploymentExtended]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of deployments.

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

Parameters

value (list[DeploymentExtended]) – An array of deployments.

Variables

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

class azure.mgmt.resource.resources.v2017_05_10.models.DeploymentMode(value)[source]

Bases: str, enum.Enum

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.

complete = 'Complete'
incremental = 'Incremental'
class azure.mgmt.resource.resources.v2017_05_10.models.DeploymentOperation(*, properties: Optional[DeploymentOperationProperties] = None, **kwargs)[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.v2017_05_10.models.DeploymentOperationProperties(**kwargs)[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.v2017_05_10.models.DeploymentOperationsListResult(*, value: Optional[List[DeploymentOperation]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of deployment operations.

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

Parameters

value (list[DeploymentOperation]) – An array of deployment operations.

Variables

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

class azure.mgmt.resource.resources.v2017_05_10.models.DeploymentProperties(*, mode: Union[str, DeploymentMode], template: object = None, template_link: Optional[TemplateLink] = None, parameters: object = None, parameters_link: Optional[ParametersLink] = None, debug_setting: Optional[DebugSetting] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Deployment properties.

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

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) – Required. 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.v2017_05_10.models.DeploymentPropertiesExtended(*, outputs: object = None, providers: Optional[List[Provider]] = None, dependencies: Optional[List[Dependency]] = None, template: object = None, template_link: Optional[TemplateLink] = None, parameters: object = None, parameters_link: Optional[ParametersLink] = None, mode: Optional[Union[str, DeploymentMode]] = None, debug_setting: Optional[DebugSetting] = None, **kwargs)[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 deployment output.

  • providers (list[Provider]) – The list of resource providers needed for the deployment.

  • dependencies (list[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.v2017_05_10.models.DeploymentValidateResult(*, error: Optional[ResourceManagementErrorWithDetails] = None, properties: Optional[DeploymentPropertiesExtended] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Information from validate template deployment response.

Parameters
class azure.mgmt.resource.resources.v2017_05_10.models.ErrorAdditionalInfo(**kwargs)[source]

Bases: msrest.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 (object) – The additional info.

class azure.mgmt.resource.resources.v2017_05_10.models.ErrorResponse(**kwargs)[source]

Bases: msrest.serialization.Model

The resource management error response.

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

Variables
class azure.mgmt.resource.resources.v2017_05_10.models.ExportTemplateRequest(*, resources: Optional[List[str]] = None, options: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Export resource group template request parameters.

Parameters
  • resources (list[str]) – The IDs of the resources to filter the export by. To export all resources, supply an array with single entry ‘*’.

  • options (str) – The export template options. A CSV-formatted list containing zero or more of the following: ‘IncludeParameterDefaultValue’, ‘IncludeComments’, ‘SkipResourceNameParameterization’, ‘SkipAllParameterization’.

class azure.mgmt.resource.resources.v2017_05_10.models.GenericResource(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, plan: Optional[Plan] = None, properties: object = None, kind: Optional[str] = None, managed_by: Optional[str] = None, sku: Optional[Sku] = None, identity: Optional[Identity] = None, **kwargs)[source]

Bases: azure.mgmt.resource.resources.v2017_05_10.models._models_py3.Resource

Resource information.

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

Variables
  • id (str) – Resource ID.

  • name (str) – Resource name.

  • type (str) – Resource type.

Parameters
  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. 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.v2017_05_10.models.GenericResourceExpanded(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, plan: Optional[Plan] = None, properties: object = None, kind: Optional[str] = None, managed_by: Optional[str] = None, sku: Optional[Sku] = None, identity: Optional[Identity] = None, **kwargs)[source]

Bases: azure.mgmt.resource.resources.v2017_05_10.models._models_py3.GenericResource

Resource information.

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

Variables
  • id (str) – Resource ID.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • created_time (datetime) – The created time of the resource. This is only present if requested via the $expand query parameter.

  • changed_time (datetime) – The changed time of the resource. This is only present if requested via the $expand query parameter.

  • provisioning_state (str) – The provisioning state of the resource. This is only present if requested via the $expand query parameter.

Parameters
  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. 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.v2017_05_10.models.GenericResourceFilter(*, resource_type: Optional[str] = None, tagname: Optional[str] = None, tagvalue: Optional[str] = None, **kwargs)[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.v2017_05_10.models.HttpMessage(*, content: object = None, **kwargs)[source]

Bases: msrest.serialization.Model

HTTP message.

Parameters

content (object) – HTTP message content.

class azure.mgmt.resource.resources.v2017_05_10.models.Identity(**kwargs)[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.

  • type (str) – The identity type. Default value: “SystemAssigned”.

type = 'SystemAssigned'

Bases: msrest.serialization.Model

Entity representing the reference to the deployment parameters.

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

Parameters
  • uri (str) – Required. The URI of the parameters file.

  • content_version (str) – If included, must match the ContentVersion in the template.

class azure.mgmt.resource.resources.v2017_05_10.models.Plan(*, name: Optional[str] = None, publisher: Optional[str] = None, product: Optional[str] = None, promotion_code: Optional[str] = None, version: Optional[str] = None, **kwargs)[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.

  • version (str) – The plan’s version.

class azure.mgmt.resource.resources.v2017_05_10.models.Provider(*, namespace: Optional[str] = None, **kwargs)[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[ProviderResourceType]) – The collection of provider resource types.

Parameters

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

class azure.mgmt.resource.resources.v2017_05_10.models.ProviderListResult(*, value: Optional[List[Provider]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of resource providers.

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

Parameters

value (list[Provider]) – An array of resource providers.

Variables

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

class azure.mgmt.resource.resources.v2017_05_10.models.ProviderResourceType(*, resource_type: Optional[str] = None, locations: Optional[List[str]] = None, aliases: Optional[List[AliasType]] = None, api_versions: Optional[List[str]] = None, properties: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Resource type managed by the resource provider.

Parameters
  • resource_type (str) – The resource type.

  • locations (list[str]) – The collection of locations where this resource type can be created.

  • aliases (list[AliasType]) – The aliases that are supported by this resource type.

  • api_versions (list[str]) – The API version.

  • properties (dict[str, str]) – The properties.

class azure.mgmt.resource.resources.v2017_05_10.models.Resource(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Basic set of the resource properties.

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

Variables
  • id (str) – Resource ID.

  • name (str) – Resource name.

  • type (str) – Resource type.

Parameters
  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

class azure.mgmt.resource.resources.v2017_05_10.models.ResourceGroup(*, location: str, name: Optional[str] = None, properties: Optional[ResourceGroupProperties] = None, managed_by: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Resource group information.

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

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

Variables

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

Parameters
  • name (str) – The name of the resource group.

  • properties (ResourceGroupProperties) – The resource group properties.

  • location (str) – Required. The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.

  • managed_by (str) – The ID of the resource that manages this resource group.

  • tags (dict[str, str]) – A set of tags. The tags attached to the resource group.

class azure.mgmt.resource.resources.v2017_05_10.models.ResourceGroupExportResult(*, template: object = None, error: Optional[ResourceManagementErrorWithDetails] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Resource group export result.

Parameters
class azure.mgmt.resource.resources.v2017_05_10.models.ResourceGroupFilter(*, tag_name: Optional[str] = None, tag_value: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Resource group filter.

Parameters
  • tag_name (str) – The tag name.

  • tag_value (str) – The tag value.

class azure.mgmt.resource.resources.v2017_05_10.models.ResourceGroupListResult(*, value: Optional[List[ResourceGroup]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of resource groups.

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

Parameters

value (list[ResourceGroup]) – An array of resource groups.

Variables

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

class azure.mgmt.resource.resources.v2017_05_10.models.ResourceGroupPatchable(*, name: Optional[str] = None, properties: Optional[ResourceGroupProperties] = None, managed_by: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Resource group information.

Parameters
  • name (str) – The name of the resource group.

  • properties (ResourceGroupProperties) – The resource group properties.

  • managed_by (str) – The ID of the resource that manages this resource group.

  • tags (dict[str, str]) – A set of tags. The tags attached to the resource group.

class azure.mgmt.resource.resources.v2017_05_10.models.ResourceGroupProperties(**kwargs)[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.v2017_05_10.models.ResourceListResult(*, value: Optional[List[GenericResourceExpanded]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of resource groups.

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

Parameters

value (list[GenericResourceExpanded]) – An array of resources.

Variables

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

class azure.mgmt.resource.resources.v2017_05_10.models.ResourceManagementErrorWithDetails(**kwargs)[source]

Bases: msrest.serialization.Model

The detailed error message of resource management.

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

Variables
class azure.mgmt.resource.resources.v2017_05_10.models.ResourceProviderOperationDisplayProperties(*, publisher: Optional[str] = None, provider: Optional[str] = None, resource: Optional[str] = None, operation: Optional[str] = None, description: Optional[str] = None, **kwargs)[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) – The operation name.

  • description (str) – Operation description.

class azure.mgmt.resource.resources.v2017_05_10.models.ResourcesMoveInfo(*, resources: Optional[List[str]] = None, target_resource_group: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Parameters of move resources.

Parameters
  • resources (list[str]) – The IDs of the resources.

  • target_resource_group (str) – The target resource group.

class azure.mgmt.resource.resources.v2017_05_10.models.Sku(*, name: Optional[str] = None, tier: Optional[str] = None, size: Optional[str] = None, family: Optional[str] = None, model: Optional[str] = None, capacity: Optional[int] = None, **kwargs)[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.v2017_05_10.models.SubResource(*, id: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Sub-resource.

Parameters

id (str) – Resource ID.

class azure.mgmt.resource.resources.v2017_05_10.models.TagCount(*, type: Optional[str] = None, value: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Tag count.

Parameters
  • type (str) – Type of count.

  • value (int) – Value of count.

class azure.mgmt.resource.resources.v2017_05_10.models.TagDetails(*, tag_name: Optional[str] = None, count: Optional[TagCount] = None, values: Optional[List[TagValue]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Tag details.

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

Variables

id (str) – The tag ID.

Parameters
  • 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[TagValue]) – The list of tag values.

class azure.mgmt.resource.resources.v2017_05_10.models.TagValue(*, tag_value: Optional[str] = None, count: Optional[TagCount] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Tag information.

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

Variables

id (str) – The tag ID.

Parameters
  • tag_value (str) – The tag value.

  • count (TagCount) – The tag value count.

class azure.mgmt.resource.resources.v2017_05_10.models.TagsListResult(*, value: Optional[List[TagDetails]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of subscription tags.

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

Parameters

value (list[TagDetails]) – An array of tags.

Variables

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

class azure.mgmt.resource.resources.v2017_05_10.models.TargetResource(*, id: Optional[str] = None, resource_name: Optional[str] = None, resource_type: Optional[str] = None, **kwargs)[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.v2017_05_10.models.TemplateHashResult(*, minified_template: Optional[str] = None, template_hash: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Result of the request to calculate template hash. It contains a string of minified template and its hash.

Parameters
  • minified_template (str) – The minified template string.

  • template_hash (str) – The template hash.

Bases: msrest.serialization.Model

Entity representing the reference to the template.

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

Parameters
  • uri (str) – Required. The URI of the template to deploy.

  • content_version (str) – If included, must match the ContentVersion in the template.