azure.mgmt.resource.resources.v2018_02_01.models module¶
-
class
azure.mgmt.resource.resources.v2018_02_01.models.AliasPathType(*, path: Optional[str] = None, api_versions: Optional[List[str]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelThe type of the paths for alias.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.AliasType(*, name: Optional[str] = None, paths: Optional[List[_models.AliasPathType]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelThe 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.v2018_02_01.models.BasicDependency(*, id: Optional[str] = None, resource_type: Optional[str] = None, resource_name: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelDeployment dependency information.
- Variables
- Keyword Arguments
-
class
azure.mgmt.resource.resources.v2018_02_01.models.DebugSetting(*, detail_level: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelDebugSetting.
- 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.v2018_02_01.models.Dependency(*, depends_on: Optional[List[_models.BasicDependency]] = None, id: Optional[str] = None, resource_type: Optional[str] = None, resource_name: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelDeployment dependency information.
- Variables
- 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.v2018_02_01.models.Deployment(*, properties: _models.DeploymentProperties, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelDeployment operation parameters.
All required parameters must be populated in order to send to Azure.
- Variables
properties (DeploymentProperties) – The deployment properties. Required.
- Keyword Arguments
properties (DeploymentProperties) – The deployment properties. Required.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.DeploymentExportResult(*, template: Optional[collections.abc.MutableMapping[str, Any]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelThe deployment export result.
- Variables
template (JSON) – The template content.
- Keyword Arguments
template (JSON) – The template content.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.DeploymentExtended(*, name: str, properties: Optional[_models.DeploymentPropertiesExtended] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelDeployment 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
name (str) – The name of the deployment. Required.
properties (DeploymentPropertiesExtended) – Deployment properties.
- Keyword Arguments
name (str) – The name of the deployment. Required.
properties (DeploymentPropertiesExtended) – Deployment properties.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.DeploymentExtendedFilter(*, provisioning_state: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelDeployment filter.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.DeploymentListResult(*, value: Optional[List[_models.DeploymentExtended]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelList 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.v2018_02_01.models.DeploymentMode(value)[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.v2018_02_01.models.DeploymentOperation(*, properties: Optional[_models.DeploymentOperationProperties] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelDeployment operation information.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
operation_id (str) – Deployment operation ID.
properties (DeploymentOperationProperties) – Deployment properties.
- Keyword Arguments
properties (DeploymentOperationProperties) – Deployment properties.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.DeploymentOperationProperties(**kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelDeployment 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 (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.v2018_02_01.models.DeploymentOperationsListResult(*, value: Optional[List[_models.DeploymentOperation]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelList 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.v2018_02_01.models.DeploymentProperties(*, mode: Union[str, _models.DeploymentMode], template: Optional[collections.abc.MutableMapping[str, Any]] = None, template_link: Optional[_models.TemplateLink] = None, parameters: Optional[collections.abc.MutableMapping[str, Any]] = None, parameters_link: Optional[_models.ParametersLink] = None, debug_setting: Optional[_models.DebugSetting] = None, on_error_deployment: Optional[_models.OnErrorDeployment] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelDeployment properties.
All required parameters must be populated in order to send to Azure.
- 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.v2018_02_01.models.DeploymentPropertiesExtended(*, outputs: Optional[collections.abc.MutableMapping[str, Any]] = None, providers: Optional[List[_models.Provider]] = None, dependencies: Optional[List[_models.Dependency]] = None, template: Optional[collections.abc.MutableMapping[str, Any]] = None, template_link: Optional[_models.TemplateLink] = None, parameters: Optional[collections.abc.MutableMapping[str, Any]] = None, parameters_link: Optional[_models.ParametersLink] = None, mode: Optional[Union[str, _models.DeploymentMode]] = None, debug_setting: Optional[_models.DebugSetting] = None, on_error_deployment: Optional[_models.OnErrorDeploymentExtended] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelDeployment 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.
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.v2018_02_01.models.DeploymentValidateResult(*, error: Optional[_models.ResourceManagementErrorWithDetails] = None, properties: Optional[_models.DeploymentPropertiesExtended] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelInformation 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.v2018_02_01.models.ErrorAdditionalInfo(**kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelThe resource management error additional info.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.ErrorResponse(**kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelCommon 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
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.v2018_02_01.models.ExportTemplateRequest(*, resources: Optional[List[str]] = None, options: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelExport 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.v2018_02_01.models.GenericResource(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, plan: Optional[_models.Plan] = None, properties: Optional[collections.abc.MutableMapping[str, Any]] = None, kind: Optional[str] = None, managed_by: Optional[str] = None, sku: Optional[_models.Sku] = None, identity: Optional[_models.Identity] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources.v2018_02_01.models._models_py3.ResourceResource information.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – Resource name.
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.v2018_02_01.models.GenericResourceExpanded(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, plan: Optional[_models.Plan] = None, properties: Optional[collections.abc.MutableMapping[str, Any]] = None, kind: Optional[str] = None, managed_by: Optional[str] = None, sku: Optional[_models.Sku] = None, identity: Optional[_models.Identity] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources.v2018_02_01.models._models_py3.GenericResourceResource information.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – Resource name.
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.v2018_02_01.models.GenericResourceFilter(*, resource_type: Optional[str] = None, tagname: Optional[str] = None, tagvalue: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelResource filter.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.HttpMessage(*, content: Optional[collections.abc.MutableMapping[str, Any]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelHTTP message.
- Variables
content (JSON) – HTTP message content.
- Keyword Arguments
content (JSON) – HTTP message content.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.Identity(*, type: Optional[Union[str, _models.ResourceIdentityType]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelIdentity 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”.
- Keyword Arguments
type (str or ResourceIdentityType) – The identity type. Known values are: “SystemAssigned”, “UserAssigned”, “SystemAssigned, UserAssigned”, and “None”.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.OnErrorDeployment(*, type: Optional[Union[str, _models.OnErrorDeploymentType]] = None, deployment_name: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelDeployment 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.v2018_02_01.models.OnErrorDeploymentExtended(*, type: Optional[Union[str, _models.OnErrorDeploymentType]] = None, deployment_name: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelDeployment 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.v2018_02_01.models.OnErrorDeploymentType(value)[source]¶ -
The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
-
LAST_SUCCESSFUL= 'LastSuccessful'¶
-
SPECIFIC_DEPLOYMENT= 'SpecificDeployment'¶
-
-
class
azure.mgmt.resource.resources.v2018_02_01.models.ParametersLink(*, uri: str, content_version: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelEntity representing the reference to the deployment parameters.
All required parameters must be populated in order to send to Azure.
- Variables
- Keyword Arguments
-
class
azure.mgmt.resource.resources.v2018_02_01.models.Plan(*, name: Optional[str] = None, publisher: Optional[str] = None, product: Optional[str] = None, promotion_code: Optional[str] = None, version: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelPlan for the resource.
- Variables
- Keyword Arguments
-
class
azure.mgmt.resource.resources.v2018_02_01.models.Provider(*, namespace: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelResource provider information.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Keyword Arguments
namespace (str) – The namespace of the resource provider.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.ProviderListResult(*, value: Optional[List[_models.Provider]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelList of resource providers.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.ProviderResourceType(*, resource_type: Optional[str] = None, locations: Optional[List[str]] = None, aliases: Optional[List[_models.AliasType]] = None, api_versions: Optional[List[str]] = None, zone_mappings: Optional[List[_models.ZoneMapping]] = None, properties: Optional[Dict[str, str]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelResource type managed by the resource provider.
- Variables
- Keyword Arguments
-
class
azure.mgmt.resource.resources.v2018_02_01.models.Resource(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelResource.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.ResourceGroup(*, location: str, name: Optional[str] = None, properties: Optional[_models.ResourceGroupProperties] = None, managed_by: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelResource 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
name (str) – The name 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
name (str) – The name 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.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.ResourceGroupExportResult(*, template: Optional[collections.abc.MutableMapping[str, Any]] = None, error: Optional[_models.ResourceManagementErrorWithDetails] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelResource 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.v2018_02_01.models.ResourceGroupFilter(*, tag_name: Optional[str] = None, tag_value: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelResource group filter.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.ResourceGroupListResult(*, value: Optional[List[_models.ResourceGroup]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelList 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.v2018_02_01.models.ResourceGroupPatchable(*, name: Optional[str] = None, properties: Optional[_models.ResourceGroupProperties] = None, managed_by: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelResource group information.
- Variables
- Keyword Arguments
-
class
azure.mgmt.resource.resources.v2018_02_01.models.ResourceGroupProperties(**kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelThe 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.v2018_02_01.models.ResourceIdentityType(value)[source]¶ -
The identity type.
-
NONE= 'None'¶
-
SYSTEM_ASSIGNED= 'SystemAssigned'¶
-
SYSTEM_ASSIGNED_USER_ASSIGNED= 'SystemAssigned, UserAssigned'¶
-
USER_ASSIGNED= 'UserAssigned'¶
-
-
class
azure.mgmt.resource.resources.v2018_02_01.models.ResourceListResult(*, value: Optional[List[_models.GenericResourceExpanded]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelList 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.v2018_02_01.models.ResourceManagementErrorWithDetails(**kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelThe detailed error message of resource management.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.ResourceProviderOperationDisplayProperties(*, publisher: Optional[str] = None, provider: Optional[str] = None, resource: Optional[str] = None, operation: Optional[str] = None, description: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelResource provider operation’s display properties.
- Variables
- Keyword Arguments
-
class
azure.mgmt.resource.resources.v2018_02_01.models.ResourcesMoveInfo(*, resources: Optional[List[str]] = None, target_resource_group: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelParameters of move resources.
-
class
azure.mgmt.resource.resources.v2018_02_01.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: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelSKU for the resource.
- Variables
- Keyword Arguments
-
class
azure.mgmt.resource.resources.v2018_02_01.models.SubResource(*, id: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelSub-resource.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.TagCount(*, type: Optional[str] = None, value: Optional[int] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelTag count.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.TagDetails(*, tag_name: Optional[str] = None, count: Optional[_models.TagCount] = None, values: Optional[List[_models.TagValue]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelTag details.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Keyword Arguments
-
class
azure.mgmt.resource.resources.v2018_02_01.models.TagValue(*, tag_value: Optional[str] = None, count: Optional[_models.TagCount] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelTag information.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.TagsListResult(*, value: Optional[List[_models.TagDetails]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelList 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.v2018_02_01.models.TargetResource(*, id: Optional[str] = None, resource_name: Optional[str] = None, resource_type: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelTarget resource.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.TemplateHashResult(*, minified_template: Optional[str] = None, template_hash: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelResult of the request to calculate template hash. It contains a string of minified template and its hash.
-
class
azure.mgmt.resource.resources.v2018_02_01.models.TemplateLink(*, uri: str, content_version: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.resource.resources._serialization.ModelEntity representing the reference to the template.
All required parameters must be populated in order to send to Azure.
- Variables
- Keyword Arguments