azure.mgmt.resource.resources.v2019_05_10.models module
- class azure.mgmt.resource.resources.v2019_05_10.models.AliasPathType(*, path: str | None = None, api_versions: List[str] | None = None, **kwargs: Any)[source]
Bases:
Model
The type of the paths for alias.
- class azure.mgmt.resource.resources.v2019_05_10.models.AliasType(*, name: str | None = None, paths: List[_models.AliasPathType] | None = None, **kwargs: Any)[source]
Bases:
Model
The alias type.
- Variables:
name (str) – The alias name.
paths (list[AliasPathType]) – The paths for an alias.
- Keyword Arguments:
name (str) – The alias name.
paths (list[AliasPathType]) – The paths for an alias.
- class azure.mgmt.resource.resources.v2019_05_10.models.BasicDependency(*, id: str | None = None, resource_type: str | None = None, resource_name: str | None = None, **kwargs: Any)[source]
Bases:
Model
Deployment dependency information.
- Variables:
- Keyword Arguments:
- class azure.mgmt.resource.resources.v2019_05_10.models.ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties(**kwargs: Any)[source]
Bases:
Model
ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.resource.resources.v2019_05_10.models.DebugSetting(*, detail_level: str | None = None, **kwargs: Any)[source]
Bases:
Model
The debug setting.
- Variables:
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.
- Keyword Arguments:
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.v2019_05_10.models.Dependency(*, depends_on: List[_models.BasicDependency] | None = None, id: str | None = None, resource_type: str | None = None, resource_name: str | None = None, **kwargs: Any)[source]
Bases:
Model
Deployment dependency information.
- Variables:
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.
- Keyword Arguments:
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.v2019_05_10.models.Deployment(*, properties: _models.DeploymentProperties, location: str | None = None, **kwargs: Any)[source]
Bases:
Model
Deployment operation parameters.
All required parameters must be populated in order to send to server.
- Variables:
location (str) – The location to store the deployment data.
properties (DeploymentProperties) – The deployment properties. Required.
- Keyword Arguments:
location (str) – The location to store the deployment data.
properties (DeploymentProperties) – The deployment properties. Required.
- class azure.mgmt.resource.resources.v2019_05_10.models.DeploymentExportResult(*, template: MutableMapping[str, Any] | None = None, **kwargs: Any)[source]
Bases:
Model
The deployment export result.
- Variables:
template (JSON) – The template content.
- Keyword Arguments:
template (JSON) – The template content.
- class azure.mgmt.resource.resources.v2019_05_10.models.DeploymentExtended(*, location: str | None = None, properties: _models.DeploymentPropertiesExtended | None = None, **kwargs: Any)[source]
Bases:
Model
Deployment information.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – The ID of the deployment.
name (str) – The name of the deployment.
type (str) – The type of the deployment.
location (str) – the location of the deployment.
properties (DeploymentPropertiesExtended) – Deployment properties.
- Keyword Arguments:
location (str) – the location of the deployment.
properties (DeploymentPropertiesExtended) – Deployment properties.
- class azure.mgmt.resource.resources.v2019_05_10.models.DeploymentExtendedFilter(*, provisioning_state: str | None = None, **kwargs: Any)[source]
Bases:
Model
Deployment filter.
- class azure.mgmt.resource.resources.v2019_05_10.models.DeploymentListResult(*, value: List[_models.DeploymentExtended] | None = None, **kwargs: Any)[source]
Bases:
Model
List of deployments.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
value (list[DeploymentExtended]) – An array of deployments.
next_link (str) – The URL to use for getting the next set of results.
- Keyword Arguments:
value (list[DeploymentExtended]) – An array of deployments.
- class azure.mgmt.resource.resources.v2019_05_10.models.DeploymentMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
-
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.v2019_05_10.models.DeploymentOperation(*, properties: _models.DeploymentOperationProperties | None = None, **kwargs: Any)[source]
Bases:
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.
properties (DeploymentOperationProperties) – Deployment properties.
- Keyword Arguments:
properties (DeploymentOperationProperties) – Deployment properties.
- class azure.mgmt.resource.resources.v2019_05_10.models.DeploymentOperationProperties(**kwargs: Any)[source]
Bases:
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.
duration (str) – The duration of the operation.
service_request_id (str) – Deployment operation service request id.
status_code (str) – Operation status code.
status_message (JSON) – 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.v2019_05_10.models.DeploymentOperationsListResult(*, value: List[_models.DeploymentOperation] | None = None, **kwargs: Any)[source]
Bases:
Model
List of deployment operations.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
value (list[DeploymentOperation]) – An array of deployment operations.
next_link (str) – The URL to use for getting the next set of results.
- Keyword Arguments:
value (list[DeploymentOperation]) – An array of deployment operations.
- class azure.mgmt.resource.resources.v2019_05_10.models.DeploymentProperties(*, mode: str | _models.DeploymentMode, template: MutableMapping[str, Any] | None = None, template_link: _models.TemplateLink | None = None, parameters: MutableMapping[str, Any] | None = None, parameters_link: _models.ParametersLink | None = None, debug_setting: _models.DebugSetting | None = None, on_error_deployment: _models.OnErrorDeployment | None = None, **kwargs: Any)[source]
Bases:
Model
Deployment properties.
All required parameters must be populated in order to send to server.
- Variables:
template (JSON) – 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 (JSON) – 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. Required. Known values are: “Incremental” and “Complete”.
debug_setting (DebugSetting) – The debug setting of the deployment.
on_error_deployment (OnErrorDeployment) – The deployment on error behavior.
- Keyword Arguments:
template (JSON) – 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 (JSON) – 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. Required. Known values are: “Incremental” and “Complete”.
debug_setting (DebugSetting) – The debug setting of the deployment.
on_error_deployment (OnErrorDeployment) – The deployment on error behavior.
- class azure.mgmt.resource.resources.v2019_05_10.models.DeploymentPropertiesExtended(*, outputs: MutableMapping[str, Any] | None = None, providers: List[_models.Provider] | None = None, dependencies: List[_models.Dependency] | None = None, template: MutableMapping[str, Any] | None = None, template_link: _models.TemplateLink | None = None, parameters: MutableMapping[str, Any] | None = None, parameters_link: _models.ParametersLink | None = None, mode: str | _models.DeploymentMode | None = None, debug_setting: _models.DebugSetting | None = None, on_error_deployment: _models.OnErrorDeploymentExtended | None = None, **kwargs: Any)[source]
Bases:
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.
duration (str) – The duration of the template deployment.
outputs (JSON) – 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 (JSON) – 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 (JSON) – 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. Known values are: “Incremental” and “Complete”.
debug_setting (DebugSetting) – The debug setting of the deployment.
on_error_deployment (OnErrorDeploymentExtended) – The deployment on error behavior.
error (ErrorResponse) – The deployment error.
- Keyword Arguments:
outputs (JSON) – 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 (JSON) – 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 (JSON) – 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. Known values are: “Incremental” and “Complete”.
debug_setting (DebugSetting) – The debug setting of the deployment.
on_error_deployment (OnErrorDeploymentExtended) – The deployment on error behavior.
- class azure.mgmt.resource.resources.v2019_05_10.models.DeploymentValidateResult(*, error: _models.ResourceManagementErrorWithDetails | None = None, properties: _models.DeploymentPropertiesExtended | None = None, **kwargs: Any)[source]
Bases:
Model
Information from validate template deployment response.
- Variables:
error (ResourceManagementErrorWithDetails) – Validation error.
properties (DeploymentPropertiesExtended) – The template deployment properties.
- Keyword Arguments:
error (ResourceManagementErrorWithDetails) – Validation error.
properties (DeploymentPropertiesExtended) – The template deployment properties.
- class azure.mgmt.resource.resources.v2019_05_10.models.ErrorAdditionalInfo(**kwargs: Any)[source]
Bases:
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.resources.v2019_05_10.models.ErrorResponse(**kwargs: Any)[source]
Bases:
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 are only populated by the server, and will be ignored when sending a request.
- Variables:
code (str) – The error code.
message (str) – The error message.
target (str) – The error target.
details (list[ErrorResponse]) – The error details.
additional_info (list[ErrorAdditionalInfo]) – The error additional info.
- class azure.mgmt.resource.resources.v2019_05_10.models.ExportTemplateRequest(*, resources: List[str] | None = None, options: str | None = None, **kwargs: Any)[source]
Bases:
Model
Export resource group template request parameters.
- Variables:
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’.
- Keyword Arguments:
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.v2019_05_10.models.GenericResource(*, location: str | None = None, tags: Dict[str, str] | None = None, plan: _models.Plan | None = None, properties: MutableMapping[str, Any] | None = None, kind: str | None = None, managed_by: str | None = None, sku: _models.Sku | None = None, identity: _models.Identity | None = None, **kwargs: Any)[source]
Bases:
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.
location (str) – Resource location.
plan (Plan) – The plan of the resource.
properties (JSON) – 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.
- Keyword Arguments:
location (str) – Resource location.
plan (Plan) – The plan of the resource.
properties (JSON) – 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.v2019_05_10.models.GenericResourceExpanded(*, location: str | None = None, tags: Dict[str, str] | None = None, plan: _models.Plan | None = None, properties: MutableMapping[str, Any] | None = None, kind: str | None = None, managed_by: str | None = None, sku: _models.Sku | None = None, identity: _models.Identity | None = None, **kwargs: Any)[source]
Bases:
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.
location (str) – Resource location.
plan (Plan) – The plan of the resource.
properties (JSON) – 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.
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.
- Keyword Arguments:
location (str) – Resource location.
plan (Plan) – The plan of the resource.
properties (JSON) – 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.v2019_05_10.models.GenericResourceFilter(*, resource_type: str | None = None, tagname: str | None = None, tagvalue: str | None = None, **kwargs: Any)[source]
Bases:
Model
Resource filter.
- class azure.mgmt.resource.resources.v2019_05_10.models.HttpMessage(*, content: MutableMapping[str, Any] | None = None, **kwargs: Any)[source]
Bases:
Model
HTTP message.
- Variables:
content (JSON) – HTTP message content.
- Keyword Arguments:
content (JSON) – HTTP message content.
- class azure.mgmt.resource.resources.v2019_05_10.models.Identity(*, type: str | _models.ResourceIdentityType | None = None, user_assigned_identities: Dict[str, _models.ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties] | None = None, **kwargs: Any)[source]
Bases:
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 or ResourceIdentityType) – The identity type. Known values are: “SystemAssigned”, “UserAssigned”, “SystemAssigned, UserAssigned”, and “None”.
user_assigned_identities (dict[str, ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties] # pylint: disable=line-too-long) – The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}’. # pylint: disable=line-too-long
- Keyword Arguments:
type (str or ResourceIdentityType) – The identity type. Known values are: “SystemAssigned”, “UserAssigned”, “SystemAssigned, UserAssigned”, and “None”.
user_assigned_identities (dict[str, ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties] # pylint: disable=line-too-long) – The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}’. # pylint: disable=line-too-long
- class azure.mgmt.resource.resources.v2019_05_10.models.OnErrorDeployment(*, type: str | _models.OnErrorDeploymentType | None = None, deployment_name: str | None = None, **kwargs: Any)[source]
Bases:
Model
Deployment on error behavior.
- Variables:
type (str or OnErrorDeploymentType) – The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Known values are: “LastSuccessful” and “SpecificDeployment”.
deployment_name (str) – The deployment to be used on error case.
- Keyword Arguments:
type (str or OnErrorDeploymentType) – The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Known values are: “LastSuccessful” and “SpecificDeployment”.
deployment_name (str) – The deployment to be used on error case.
- class azure.mgmt.resource.resources.v2019_05_10.models.OnErrorDeploymentExtended(*, type: str | _models.OnErrorDeploymentType | None = None, deployment_name: str | None = None, **kwargs: Any)[source]
Bases:
Model
Deployment on error behavior 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 for the on error deployment.
type (str or OnErrorDeploymentType) – The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Known values are: “LastSuccessful” and “SpecificDeployment”.
deployment_name (str) – The deployment to be used on error case.
- Keyword Arguments:
type (str or OnErrorDeploymentType) – The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Known values are: “LastSuccessful” and “SpecificDeployment”.
deployment_name (str) – The deployment to be used on error case.
- class azure.mgmt.resource.resources.v2019_05_10.models.OnErrorDeploymentType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
-
The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
- LAST_SUCCESSFUL = 'LastSuccessful'
- SPECIFIC_DEPLOYMENT = 'SpecificDeployment'
- class azure.mgmt.resource.resources.v2019_05_10.models.Operation(*, name: str | None = None, display: _models.OperationDisplay | None = None, **kwargs: Any)[source]
Bases:
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.resources.v2019_05_10.models.OperationDisplay(*, provider: str | None = None, resource: str | None = None, operation: str | None = None, description: str | None = None, **kwargs: Any)[source]
Bases:
Model
The object that represents the operation.
- Variables:
- Keyword Arguments:
- class azure.mgmt.resource.resources.v2019_05_10.models.OperationListResult(*, value: List[_models.Operation] | None = None, next_link: str | None = None, **kwargs: Any)[source]
Bases:
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:
- Keyword Arguments:
- class azure.mgmt.resource.resources.v2019_05_10.models.ParametersLink(*, uri: str, content_version: str | None = None, **kwargs: Any)[source]
Bases:
Model
Entity representing the reference to the deployment parameters.
All required parameters must be populated in order to send to server.
- Variables:
- Keyword Arguments:
- class azure.mgmt.resource.resources.v2019_05_10.models.Plan(*, name: str | None = None, publisher: str | None = None, product: str | None = None, promotion_code: str | None = None, version: str | None = None, **kwargs: Any)[source]
Bases:
Model
Plan for the resource.
- Variables:
- Keyword Arguments:
- class azure.mgmt.resource.resources.v2019_05_10.models.Provider(*, namespace: str | None = None, **kwargs: Any)[source]
Bases:
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.
namespace (str) – The namespace of the resource provider.
registration_state (str) – The registration state of the resource provider.
registration_policy (str) – The registration policy of the resource provider.
resource_types (list[ProviderResourceType]) – The collection of provider resource types.
- Keyword Arguments:
namespace (str) – The namespace of the resource provider.
- class azure.mgmt.resource.resources.v2019_05_10.models.ProviderListResult(*, value: List[_models.Provider] | None = None, **kwargs: Any)[source]
Bases:
Model
List of resource providers.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.resource.resources.v2019_05_10.models.ProviderResourceType(*, resource_type: str | None = None, locations: List[str] | None = None, aliases: List[_models.AliasType] | None = None, api_versions: List[str] | None = None, zone_mappings: List[_models.ZoneMapping] | None = None, capabilities: str | None = None, properties: Dict[str, str] | None = None, **kwargs: Any)[source]
Bases:
Model
Resource type managed by the resource provider.
- Variables:
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.
zone_mappings (list[ZoneMapping])
capabilities (str) – The additional capabilities offered by this resource type.
- Keyword Arguments:
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.
zone_mappings (list[ZoneMapping])
capabilities (str) – The additional capabilities offered by this resource type.
- class azure.mgmt.resource.resources.v2019_05_10.models.Resource(*, location: str | None = None, tags: Dict[str, str] | None = None, **kwargs: Any)[source]
Bases:
Model
Specified resource.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.resource.resources.v2019_05_10.models.ResourceGroup(*, location: str, properties: _models.ResourceGroupProperties | None = None, managed_by: str | None = None, tags: Dict[str, str] | None = None, **kwargs: Any)[source]
Bases:
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 server.
- Variables:
id (str) – The ID of the resource group.
name (str) – The name of the resource group.
type (str) – The type of the resource group.
properties (ResourceGroupProperties) – The resource group properties.
location (str) – 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. Required.
managed_by (str) – The ID of the resource that manages this resource group.
tags (dict[str, str]) – The tags attached to the resource group.
- Keyword Arguments:
properties (ResourceGroupProperties) – The resource group properties.
location (str) – 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. Required.
managed_by (str) – The ID of the resource that manages this resource group.
tags (dict[str, str]) – The tags attached to the resource group.
- class azure.mgmt.resource.resources.v2019_05_10.models.ResourceGroupExportResult(*, template: MutableMapping[str, Any] | None = None, error: _models.ResourceManagementErrorWithDetails | None = None, **kwargs: Any)[source]
Bases:
Model
Resource group export result.
- Variables:
template (JSON) – The template content.
error (ResourceManagementErrorWithDetails) – The error.
- Keyword Arguments:
template (JSON) – The template content.
error (ResourceManagementErrorWithDetails) – The error.
- class azure.mgmt.resource.resources.v2019_05_10.models.ResourceGroupFilter(*, tag_name: str | None = None, tag_value: str | None = None, **kwargs: Any)[source]
Bases:
Model
Resource group filter.
- class azure.mgmt.resource.resources.v2019_05_10.models.ResourceGroupListResult(*, value: List[_models.ResourceGroup] | None = None, **kwargs: Any)[source]
Bases:
Model
List of resource groups.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
value (list[ResourceGroup]) – An array of resource groups.
next_link (str) – The URL to use for getting the next set of results.
- Keyword Arguments:
value (list[ResourceGroup]) – An array of resource groups.
- class azure.mgmt.resource.resources.v2019_05_10.models.ResourceGroupPatchable(*, name: str | None = None, properties: _models.ResourceGroupProperties | None = None, managed_by: str | None = None, tags: Dict[str, str] | None = None, **kwargs: Any)[source]
Bases:
Model
Resource group information.
- Variables:
- Keyword Arguments:
- class azure.mgmt.resource.resources.v2019_05_10.models.ResourceGroupProperties(**kwargs: Any)[source]
Bases:
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.v2019_05_10.models.ResourceIdentityType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
-
The identity type.
- NONE = 'None'
- SYSTEM_ASSIGNED = 'SystemAssigned'
- SYSTEM_ASSIGNED_USER_ASSIGNED = 'SystemAssigned, UserAssigned'
- USER_ASSIGNED = 'UserAssigned'
- class azure.mgmt.resource.resources.v2019_05_10.models.ResourceListResult(*, value: List[_models.GenericResourceExpanded] | None = None, **kwargs: Any)[source]
Bases:
Model
List of resource groups.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
value (list[GenericResourceExpanded]) – An array of resources.
next_link (str) – The URL to use for getting the next set of results.
- Keyword Arguments:
value (list[GenericResourceExpanded]) – An array of resources.
- class azure.mgmt.resource.resources.v2019_05_10.models.ResourceManagementErrorWithDetails(**kwargs: Any)[source]
Bases:
Model
The detailed error message of resource management.
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[ResourceManagementErrorWithDetails]) – Validation error.
- class azure.mgmt.resource.resources.v2019_05_10.models.ResourceProviderOperationDisplayProperties(*, publisher: str | None = None, provider: str | None = None, resource: str | None = None, operation: str | None = None, description: str | None = None, **kwargs: Any)[source]
Bases:
Model
Resource provider operation’s display properties.
- Variables:
- Keyword Arguments:
- class azure.mgmt.resource.resources.v2019_05_10.models.ResourcesMoveInfo(*, resources: List[str] | None = None, target_resource_group: str | None = None, **kwargs: Any)[source]
Bases:
Model
Parameters of move resources.
- class azure.mgmt.resource.resources.v2019_05_10.models.Sku(*, name: str | None = None, tier: str | None = None, size: str | None = None, family: str | None = None, model: str | None = None, capacity: int | None = None, **kwargs: Any)[source]
Bases:
Model
SKU for the resource.
- Variables:
- Keyword Arguments:
- class azure.mgmt.resource.resources.v2019_05_10.models.SubResource(*, id: str | None = None, **kwargs: Any)[source]
Bases:
Model
Sub-resource.
- class azure.mgmt.resource.resources.v2019_05_10.models.TagCount(*, type: str | None = None, value: int | None = None, **kwargs: Any)[source]
Bases:
Model
Tag count.
- class azure.mgmt.resource.resources.v2019_05_10.models.TagDetails(*, tag_name: str | None = None, count: _models.TagCount | None = None, values: List[_models.TagValue] | None = None, **kwargs: Any)[source]
Bases:
Model
Tag details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
- Keyword Arguments:
- class azure.mgmt.resource.resources.v2019_05_10.models.TagValue(*, tag_value: str | None = None, count: _models.TagCount | None = None, **kwargs: Any)[source]
Bases:
Model
Tag information.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.resource.resources.v2019_05_10.models.TagsListResult(*, value: List[_models.TagDetails] | None = None, **kwargs: Any)[source]
Bases:
Model
List of subscription tags.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
value (list[TagDetails]) – An array of tags.
next_link (str) – The URL to use for getting the next set of results.
- Keyword Arguments:
value (list[TagDetails]) – An array of tags.
- class azure.mgmt.resource.resources.v2019_05_10.models.TargetResource(*, id: str | None = None, resource_name: str | None = None, resource_type: str | None = None, **kwargs: Any)[source]
Bases:
Model
Target resource.
- class azure.mgmt.resource.resources.v2019_05_10.models.TemplateHashResult(*, minified_template: str | None = None, template_hash: str | None = None, **kwargs: Any)[source]
Bases:
Model
Result of the request to calculate template hash. It contains a string of minified template and its hash.
- class azure.mgmt.resource.resources.v2019_05_10.models.TemplateLink(*, uri: str, content_version: str | None = None, **kwargs: Any)[source]
Bases:
Model
Entity representing the reference to the template.
All required parameters must be populated in order to send to server.
- Variables:
- Keyword Arguments: