azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models module

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.AzureResourceBase(**kwargs: Any)[source]

Bases: Model

Common properties for all Azure resources.

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

Variables:
  • id (str) – String Id used to locate any resource on Azure.

  • name (str) – Name of this resource.

  • type (str) – Type of this resource.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.CreatedByType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

The type of identity that created the resource.

APPLICATION = 'Application'
KEY = 'Key'
MANAGED_IDENTITY = 'ManagedIdentity'
USER = 'User'
class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.DenySettings(*, mode: str | _models.DenySettingsMode, excluded_principals: List[str] | None = None, excluded_actions: List[str] | None = None, apply_to_child_scopes: bool | None = None, **kwargs: Any)[source]

Bases: Model

Defines how resources deployed by the deployment stack are locked.

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

Variables:
  • mode (str or DenySettingsMode) – denySettings Mode. Required. Known values are: “denyDelete”, “denyWriteAndDelete”, and “none”.

  • excluded_principals (list[str]) – List of AAD principal IDs excluded from the lock. Up to 5 principals are permitted.

  • excluded_actions (list[str]) – List of role-based management operations that are excluded from the denySettings. Up to 200 actions are permitted. If the denySetting mode is set to ‘denyWriteAndDelete’, then the following actions are automatically appended to ‘excludedActions’: ‘*/read’ and ‘Microsoft.Authorization/locks/delete’. If the denySetting mode is set to ‘denyDelete’, then the following actions are automatically appended to ‘excludedActions’: ‘Microsoft.Authorization/locks/delete’. Duplicate actions will be removed.

  • apply_to_child_scopes (bool) – DenySettings will be applied to child scopes.

Keyword Arguments:
  • mode (str or DenySettingsMode) – denySettings Mode. Required. Known values are: “denyDelete”, “denyWriteAndDelete”, and “none”.

  • excluded_principals (list[str]) – List of AAD principal IDs excluded from the lock. Up to 5 principals are permitted.

  • excluded_actions (list[str]) – List of role-based management operations that are excluded from the denySettings. Up to 200 actions are permitted. If the denySetting mode is set to ‘denyWriteAndDelete’, then the following actions are automatically appended to ‘excludedActions’: ‘*/read’ and ‘Microsoft.Authorization/locks/delete’. If the denySetting mode is set to ‘denyDelete’, then the following actions are automatically appended to ‘excludedActions’: ‘Microsoft.Authorization/locks/delete’. Duplicate actions will be removed.

  • apply_to_child_scopes (bool) – DenySettings will be applied to child scopes.

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.DenySettingsMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

denySettings Mode.

DENY_DELETE = 'denyDelete'

Authorized users are able to read and modify the resources, but cannot delete.

DENY_WRITE_AND_DELETE = 'denyWriteAndDelete'

Authorized users can only read from a resource, but cannot modify or delete it.

NONE = 'none'

No denyAssignments have been applied.

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.DenyStatusMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

denyAssignment settings applied to the resource.

DENY_DELETE = 'denyDelete'

Authorized users are able to read and modify the resources, but cannot delete.

DENY_WRITE_AND_DELETE = 'denyWriteAndDelete'

Authorized users can only read from a resource, but cannot modify or delete it.

INAPPLICABLE = 'inapplicable'

denyAssignments are not supported on resources outside the scope of the deployment stack.

NONE = 'None'

No denyAssignments have been applied.

NOT_SUPPORTED = 'notSupported'

Resource type does not support denyAssignments.

REMOVED_BY_SYSTEM = 'removedBySystem'

Deny assignment has been removed by Azure due to a resource management change (management group move, etc.)

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.DeploymentStack(*, location: str | None = None, tags: Dict[str, str] | None = None, error: _models.ErrorResponse | None = None, template: MutableMapping[str, Any] | None = None, template_link: _models.DeploymentStacksTemplateLink | None = None, parameters: MutableMapping[str, Any] | None = None, parameters_link: _models.DeploymentStacksParametersLink | None = None, action_on_unmanage: _models.DeploymentStackPropertiesActionOnUnmanage | None = None, debug_setting: _models.DeploymentStacksDebugSetting | None = None, deployment_scope: str | None = None, description: str | None = None, deny_settings: _models.DenySettings | None = None, **kwargs: Any)[source]

Bases: AzureResourceBase

Deployment stack object.

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

Variables:
  • id (str) – String Id used to locate any resource on Azure.

  • name (str) – Name of this resource.

  • type (str) – Type of this resource.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • location (str) – The location of the deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations.

  • tags (dict[str, str]) – Deployment stack resource tags.

  • error (ErrorResponse) – Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

  • 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 (DeploymentStacksTemplateLink) – 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. Use this element when providing the parameter values directly in the request, rather than linking 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 (DeploymentStacksParametersLink) – The URI of parameters file. Use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.

  • action_on_unmanage (DeploymentStackPropertiesActionOnUnmanage) – Defines the behavior of resources that are not managed immediately after the stack is updated.

  • debug_setting (DeploymentStacksDebugSetting) – The debug setting of the deployment.

  • deployment_scope (str) – The scope at which the initial deployment should be created. If a scope is not specified, it will default to the scope of the deployment stack. Valid scopes are: management group (format: ‘/providers/Microsoft.Management/managementGroups/{managementGroupId}’), subscription (format: ‘/subscriptions/{subscriptionId}’), resource group (format: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}’).

  • description (str) – Deployment stack description.

  • deny_settings (DenySettings) – Defines how resources deployed by the stack are locked.

  • provisioning_state (str or DeploymentStackProvisioningState) – State of the deployment stack. Known values are: “Creating”, “Validating”, “Waiting”, “Deploying”, “Canceling”, “Locking”, “DeletingResources”, “Succeeded”, “Failed”, “Canceled”, and “Deleting”.

  • detached_resources (list[ResourceReference]) – An array of resources that were detached during the most recent update.

  • deleted_resources (list[ResourceReference]) – An array of resources that were deleted during the most recent update.

  • failed_resources (list[ResourceReferenceExtended]) – An array of resources that failed to reach goal state during the most recent update.

  • resources (list[ManagedResourceReference]) – An array of resources currently managed by the deployment stack.

  • deployment_id (str) – The resourceId of the deployment resource created by the deployment stack.

  • outputs (JSON) – The outputs of the underlying deployment.

  • duration (str) – The duration of the deployment stack update.

Keyword Arguments:
  • location (str) – The location of the deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations.

  • tags (dict[str, str]) – Deployment stack resource tags.

  • error (ErrorResponse) – Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

  • 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 (DeploymentStacksTemplateLink) – 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. Use this element when providing the parameter values directly in the request, rather than linking 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 (DeploymentStacksParametersLink) – The URI of parameters file. Use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.

  • action_on_unmanage (DeploymentStackPropertiesActionOnUnmanage) – Defines the behavior of resources that are not managed immediately after the stack is updated.

  • debug_setting (DeploymentStacksDebugSetting) – The debug setting of the deployment.

  • deployment_scope (str) – The scope at which the initial deployment should be created. If a scope is not specified, it will default to the scope of the deployment stack. Valid scopes are: management group (format: ‘/providers/Microsoft.Management/managementGroups/{managementGroupId}’), subscription (format: ‘/subscriptions/{subscriptionId}’), resource group (format: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}’).

  • description (str) – Deployment stack description.

  • deny_settings (DenySettings) – Defines how resources deployed by the stack are locked.

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.DeploymentStackListResult(*, value: List[_models.DeploymentStack] | None = None, **kwargs: Any)[source]

Bases: Model

List of deployment stacks.

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

Variables:
  • value (list[DeploymentStack]) – An array of deployment stacks.

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

Keyword Arguments:

value (list[DeploymentStack]) – An array of deployment stacks.

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.DeploymentStackProperties(*, action_on_unmanage: _models.DeploymentStackPropertiesActionOnUnmanage, deny_settings: _models.DenySettings, error: _models.ErrorResponse | None = None, template: MutableMapping[str, Any] | None = None, template_link: _models.DeploymentStacksTemplateLink | None = None, parameters: MutableMapping[str, Any] | None = None, parameters_link: _models.DeploymentStacksParametersLink | None = None, debug_setting: _models.DeploymentStacksDebugSetting | None = None, deployment_scope: str | None = None, description: str | None = None, **kwargs: Any)[source]

Bases: DeploymentStacksError

Deployment stack properties.

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:
  • error (ErrorResponse) – Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

  • 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 (DeploymentStacksTemplateLink) – 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. Use this element when providing the parameter values directly in the request, rather than linking 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 (DeploymentStacksParametersLink) – The URI of parameters file. Use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.

  • action_on_unmanage (DeploymentStackPropertiesActionOnUnmanage) – Defines the behavior of resources that are not managed immediately after the stack is updated. Required.

  • debug_setting (DeploymentStacksDebugSetting) – The debug setting of the deployment.

  • deployment_scope (str) – The scope at which the initial deployment should be created. If a scope is not specified, it will default to the scope of the deployment stack. Valid scopes are: management group (format: ‘/providers/Microsoft.Management/managementGroups/{managementGroupId}’), subscription (format: ‘/subscriptions/{subscriptionId}’), resource group (format: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}’).

  • description (str) – Deployment stack description.

  • deny_settings (DenySettings) – Defines how resources deployed by the stack are locked. Required.

  • provisioning_state (str or DeploymentStackProvisioningState) – State of the deployment stack. Known values are: “Creating”, “Validating”, “Waiting”, “Deploying”, “Canceling”, “Locking”, “DeletingResources”, “Succeeded”, “Failed”, “Canceled”, and “Deleting”.

  • detached_resources (list[ResourceReference]) – An array of resources that were detached during the most recent update.

  • deleted_resources (list[ResourceReference]) – An array of resources that were deleted during the most recent update.

  • failed_resources (list[ResourceReferenceExtended]) – An array of resources that failed to reach goal state during the most recent update.

  • resources (list[ManagedResourceReference]) – An array of resources currently managed by the deployment stack.

  • deployment_id (str) – The resourceId of the deployment resource created by the deployment stack.

  • outputs (JSON) – The outputs of the underlying deployment.

  • duration (str) – The duration of the deployment stack update.

Keyword Arguments:
  • error (ErrorResponse) – Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

  • 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 (DeploymentStacksTemplateLink) – 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. Use this element when providing the parameter values directly in the request, rather than linking 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 (DeploymentStacksParametersLink) – The URI of parameters file. Use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.

  • action_on_unmanage (DeploymentStackPropertiesActionOnUnmanage) – Defines the behavior of resources that are not managed immediately after the stack is updated. Required.

  • debug_setting (DeploymentStacksDebugSetting) – The debug setting of the deployment.

  • deployment_scope (str) – The scope at which the initial deployment should be created. If a scope is not specified, it will default to the scope of the deployment stack. Valid scopes are: management group (format: ‘/providers/Microsoft.Management/managementGroups/{managementGroupId}’), subscription (format: ‘/subscriptions/{subscriptionId}’), resource group (format: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}’).

  • description (str) – Deployment stack description.

  • deny_settings (DenySettings) – Defines how resources deployed by the stack are locked. Required.

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.DeploymentStackPropertiesActionOnUnmanage(*, resources: str | _models.DeploymentStacksDeleteDetachEnum, resource_groups: str | _models.DeploymentStacksDeleteDetachEnum | None = None, management_groups: str | _models.DeploymentStacksDeleteDetachEnum | None = None, **kwargs: Any)[source]

Bases: Model

Defines the behavior of resources that are not managed immediately after the stack is updated.

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

Variables:
  • resources (str or DeploymentStacksDeleteDetachEnum) – Specifies the action that should be taken on the resource when the deployment stack is deleted. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it’s current state. Required. Known values are: “delete” and “detach”.

  • resource_groups (str or DeploymentStacksDeleteDetachEnum) – Specifies the action that should be taken on the resource when the deployment stack is deleted. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it’s current state. Known values are: “delete” and “detach”.

  • management_groups (str or DeploymentStacksDeleteDetachEnum) – Specifies the action that should be taken on the resource when the deployment stack is deleted. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it’s current state. Known values are: “delete” and “detach”.

Keyword Arguments:
  • resources (str or DeploymentStacksDeleteDetachEnum) – Specifies the action that should be taken on the resource when the deployment stack is deleted. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it’s current state. Required. Known values are: “delete” and “detach”.

  • resource_groups (str or DeploymentStacksDeleteDetachEnum) – Specifies the action that should be taken on the resource when the deployment stack is deleted. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it’s current state. Known values are: “delete” and “detach”.

  • management_groups (str or DeploymentStacksDeleteDetachEnum) – Specifies the action that should be taken on the resource when the deployment stack is deleted. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it’s current state. Known values are: “delete” and “detach”.

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.DeploymentStackProvisioningState(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

State of the deployment stack.

CANCELED = 'Canceled'
CANCELING = 'Canceling'
CREATING = 'Creating'
DELETING = 'Deleting'
DELETING_RESOURCES = 'DeletingResources'
DEPLOYING = 'Deploying'
FAILED = 'Failed'
LOCKING = 'Locking'
SUCCEEDED = 'Succeeded'
VALIDATING = 'Validating'
WAITING = 'Waiting'
class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.DeploymentStackTemplateDefinition(*, template: MutableMapping[str, Any] | None = None, template_link: _models.DeploymentStacksTemplateLink | None = None, **kwargs: Any)[source]

Bases: Model

Export Template specific properties of the Stack.

Variables:
  • template (JSON) – The template content. Use this element 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 (DeploymentStacksTemplateLink) – The URI of the template. Use either the templateLink property or the template property, but not both.

Keyword Arguments:
  • template (JSON) – The template content. Use this element 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 (DeploymentStacksTemplateLink) – The URI of the template. Use either the templateLink property or the template property, but not both.

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.DeploymentStacksDebugSetting(*, 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 that is being passed in during deployment. By logging information about the request or response, sensitive data that is retrieved through the deployment operations could potentially be exposed.

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 that is being passed in during deployment. By logging information about the request or response, sensitive data that is retrieved through the deployment operations could potentially be exposed.

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.DeploymentStacksDeleteDetachEnum(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

Specifies the action that should be taken on the resource when the deployment stack is deleted. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it’s current state.

DELETE = 'delete'
DETACH = 'detach'
class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.DeploymentStacksError(*, error: _models.ErrorResponse | None = None, **kwargs: Any)[source]

Bases: Model

Deployment Stacks error response.

Variables:

error (ErrorResponse) – Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

Keyword Arguments:

error (ErrorResponse) – Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

Bases: Model

Entity representing the reference to the deployment parameters.

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

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

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

Keyword Arguments:
  • uri (str) – The URI of the parameters file. Required.

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

Bases: Model

Entity representing the reference to the template.

Variables:
  • uri (str) – The URI of the template to deploy. Use either the uri or id property, but not both.

  • id (str) – The resource id of a Template Spec. Use either the id or uri property, but not both.

  • relative_path (str) – The relativePath property can be used to deploy a linked template at a location relative to the parent. If the parent template was linked with a TemplateSpec, this will reference an artifact in the TemplateSpec. If the parent was linked with a URI, the child deployment will be a combination of the parent and relativePath URIs.

  • query_string (str) – The query string (for example, a SAS token) to be used with the templateLink URI.

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

Keyword Arguments:
  • uri (str) – The URI of the template to deploy. Use either the uri or id property, but not both.

  • id (str) – The resource id of a Template Spec. Use either the id or uri property, but not both.

  • relative_path (str) – The relativePath property can be used to deploy a linked template at a location relative to the parent. If the parent template was linked with a TemplateSpec, this will reference an artifact in the TemplateSpec. If the parent was linked with a URI, the child deployment will be a combination of the parent and relativePath URIs.

  • query_string (str) – The query string (for example, a SAS token) to be used with the templateLink URI.

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

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.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.deploymentstacks.v2022_08_01_preview.models.ErrorDetail(**kwargs: Any)[source]

Bases: Model

The error detail.

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

Variables:
class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.ErrorResponse(*, error: _models.ErrorDetail | None = None, **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:

error (ErrorDetail) – The error object.

Keyword Arguments:

error (ErrorDetail) – The error object.

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.ManagedResourceReference(*, status: str | _models.ResourceStatusMode = 'None', deny_status: str | _models.DenyStatusMode = 'None', **kwargs: Any)[source]

Bases: ResourceReference

The managed resource model.

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

Variables:
  • id (str) – The resourceId of a resource managed by the deployment stack.

  • status (str or ResourceStatusMode) – Current management state of the resource in the deployment stack. Known values are: “Managed”, “removeDenyFailed”, “deleteFailed”, and “None”.

  • deny_status (str or DenyStatusMode) – denyAssignment settings applied to the resource. Known values are: “denyDelete”, “notSupported”, “inapplicable”, “denyWriteAndDelete”, “removedBySystem”, and “None”.

Keyword Arguments:
  • status (str or ResourceStatusMode) – Current management state of the resource in the deployment stack. Known values are: “Managed”, “removeDenyFailed”, “deleteFailed”, and “None”.

  • deny_status (str or DenyStatusMode) – denyAssignment settings applied to the resource. Known values are: “denyDelete”, “notSupported”, “inapplicable”, “denyWriteAndDelete”, “removedBySystem”, and “None”.

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.ResourceReference(**kwargs: Any)[source]

Bases: Model

The resource Id model.

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

Variables:

id (str) – The resourceId of a resource managed by the deployment stack.

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.ResourceReferenceExtended(*, error: _models.ErrorResponse | None = None, **kwargs: Any)[source]

Bases: ResourceReference, DeploymentStacksError

The resource Id extended model.

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

Variables:
  • error (ErrorResponse) – Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

  • id (str) – The resourceId of a resource managed by the deployment stack.

Keyword Arguments:

error (ErrorResponse) – Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.ResourceStatusMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

Current management state of the resource in the deployment stack.

DELETE_FAILED = 'deleteFailed'

Unable to delete the resource from Azure. The delete will be retried on the next stack deployment, or can be deleted manually.

MANAGED = 'Managed'

This resource is managed by the deployment stack.

NONE = 'None'

No denyAssignments have been applied.

REMOVE_DENY_FAILED = 'removeDenyFailed'

Unable to remove the deny assignment on resource.

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.SystemData(*, created_by: str | None = None, created_by_type: str | _models.CreatedByType | None = None, created_at: datetime | None = None, last_modified_by: str | None = None, last_modified_by_type: str | _models.CreatedByType | None = None, last_modified_at: datetime | None = None, **kwargs: Any)[source]

Bases: Model

Metadata pertaining to creation and last modification of the resource.

Variables:
  • created_by (str) – The identity that created the resource.

  • created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • created_at (datetime) – The timestamp of resource creation (UTC).

  • last_modified_by (str) – The identity that last modified the resource.

  • last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • last_modified_at (datetime) – The timestamp of resource last modification (UTC).

Keyword Arguments:
  • created_by (str) – The identity that created the resource.

  • created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • created_at (datetime) – The timestamp of resource creation (UTC).

  • last_modified_by (str) – The identity that last modified the resource.

  • last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • last_modified_at (datetime) – The timestamp of resource last modification (UTC).

class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.UnmanageActionManagementGroupMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

UnmanageActionManagementGroupMode.

DELETE = 'delete'
DETACH = 'detach'
class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.UnmanageActionResourceGroupMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

UnmanageActionResourceGroupMode.

DELETE = 'delete'
DETACH = 'detach'
class azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models.UnmanageActionResourceMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

UnmanageActionResourceMode.

DELETE = 'delete'
DETACH = 'detach'