{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-deployment-stack-list-result-schema.json",
  "title": "DeploymentStackListResult",
  "description": "The response of a DeploymentStack list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-deploymentstacksatmanagementgroup-api-openapi.yml#/components/schemas/DeploymentStackListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The DeploymentStack items on this page",
      "items": {
        "$ref": "#/$defs/DeploymentStack"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ActionOnUnmanage": {
      "type": "object",
      "description": "Defines the behavior of resources that are no longer managed after the stack is updated or deleted.",
      "properties": {
        "resources": {
          "$ref": "#/$defs/UnmanageActionResourceMode",
          "description": "Specifies an action for a newly unmanaged resource."
        },
        "resourceGroups": {
          "$ref": "#/$defs/UnmanageActionResourceGroupMode",
          "description": "Specifies an action for a newly unmanaged resource group."
        },
        "managementGroups": {
          "$ref": "#/$defs/UnmanageActionManagementGroupMode",
          "description": "Specifies an action for a newly unmanaged resource management group."
        },
        "resourcesWithoutDeleteSupport": {
          "$ref": "#/$defs/ResourcesWithoutDeleteSupportAction",
          "description": "Some resources do not support deletion.  This flag will denote how the stack should handle those resources."
        }
      },
      "required": [
        "resources"
      ]
    },
    "DenySettings": {
      "type": "object",
      "description": "Defines how resources deployed by the Deployment stack are locked.",
      "properties": {
        "mode": {
          "$ref": "#/$defs/DenySettingsMode",
          "description": "denySettings Mode that defines denied actions."
        },
        "excludedPrincipals": {
          "type": "array",
          "description": "List of AAD principal IDs excluded from the lock. Up to 5 principals are permitted.",
          "items": {
            "type": "string"
          }
        },
        "excludedActions": {
          "type": "array",
          "description": "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.",
          "items": {
            "type": "string"
          }
        },
        "applyToChildScopes": {
          "type": "boolean",
          "description": "DenySettings will be applied to child resource scopes of every managed resource with a deny assignment."
        }
      },
      "required": [
        "mode"
      ]
    },
    "DenySettingsMode": {
      "type": "string",
      "description": "denySettings Mode that defines denied actions.",
      "enum": [
        "denyDelete",
        "denyWriteAndDelete",
        "none"
      ],
      "x-ms-enum": {
        "name": "DenySettingsMode",
        "modelAsString": true,
        "values": [
          {
            "name": "DenyDelete",
            "value": "denyDelete",
            "description": "Authorized users are able to read and modify the resources, but cannot delete."
          },
          {
            "name": "DenyWriteAndDelete",
            "value": "denyWriteAndDelete",
            "description": "Authorized users can read from a resource, but cannot modify or delete it."
          },
          {
            "name": "None",
            "value": "none",
            "description": "No denyAssignments have been applied."
          }
        ]
      }
    },
    "DeploymentExtension": {
      "type": "object",
      "description": "Details about the usage of a deployment extension.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The extension name."
        },
        "version": {
          "type": "string",
          "description": "The extension version."
        },
        "configId": {
          "type": "string",
          "description": "The configuration ID of the extension usage. It uniquely identifies a target the extension deploys to."
        },
        "config": {
          "$ref": "#/$defs/DeploymentExtensionConfig",
          "description": "The configuration used for deployment. The keys of this object should align with the extension config schema."
        }
      },
      "required": [
        "name",
        "version"
      ]
    },
    "DeploymentExtensionConfig": {
      "type": "object",
      "description": "The configuration of a deployment extension. The keys of this object should align with the extension config schema.",
      "additionalProperties": {
        "$ref": "#/$defs/DeploymentExtensionConfigItem"
      }
    },
    "DeploymentExtensionConfigItem": {
      "type": "object",
      "description": "The value or how to get a value for an extension config property.",
      "properties": {
        "type": {
          "type": "string",
          "description": "The type of the value.",
          "readOnly": true
        },
        "value": {
          "description": "The value of the config item. The type is determined by the extension config schema."
        },
        "keyVaultReference": {
          "$ref": "#/$defs/KeyVaultParameterReference",
          "description": "The key vault reference of the config item."
        }
      }
    },
    "DeploymentExternalInput": {
      "type": "object",
      "description": "Deployment external input for parameterization.",
      "properties": {
        "value": {
          "description": "External input value."
        }
      },
      "required": [
        "value"
      ]
    },
    "DeploymentExternalInputDefinition": {
      "type": "object",
      "description": "Deployment external input definition for parameterization.",
      "properties": {
        "kind": {
          "type": "string",
          "description": "The kind of external input."
        },
        "config": {
          "description": "Configuration for the external input."
        }
      },
      "required": [
        "kind"
      ]
    },
    "DeploymentParameter": {
      "type": "object",
      "description": "Deployment parameter for the template.",
      "properties": {
        "value": {
          "description": "Input value to the parameter."
        },
        "type": {
          "type": "string",
          "description": "Type of the value."
        },
        "reference": {
          "$ref": "#/$defs/KeyVaultParameterReference",
          "description": "Azure Key Vault parameter reference."
        },
        "expression": {
          "type": "string",
          "description": "Input expression to the parameter.",
          "x-ms-mutability": [
            "update",
            "create"
          ]
        }
      }
    },
    "DeploymentStack": {
      "type": "object",
      "description": "Deployment stack object.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/DeploymentStackProperties",
          "description": "Deployment stack properties.",
          "x-ms-client-flatten": true
        },
        "location": {
          "type": "string",
          "description": "The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "DeploymentStackProperties": {
      "type": "object",
      "description": "Deployment stack properties.",
      "properties": {
        "error": {
          "$ref": "#/$defs/ErrorDetail",
          "description": "The error detail.",
          "readOnly": true
        },
        "template": {
          "type": "object",
          "description": "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.",
          "additionalProperties": {},
          "x-ms-mutability": [
            "update",
            "create"
          ]
        },
        "templateLink": {
          "$ref": "#/$defs/DeploymentStacksTemplateLink",
          "description": "The URI of the template. Use either the templateLink property or the template property, but not both.",
          "x-ms-mutability": [
            "update",
            "create"
          ]
        },
        "parameters": {
          "type": "object",
          "description": "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.",
          "additionalProperties": {
            "$ref": "#/$defs/DeploymentParameter"
          }
        },
        "parametersLink": {
          "$ref": "#/$defs/DeploymentStacksParametersLink",
          "description": "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."
        },
        "extensionConfigs": {
          "type": "object",
          "description": "The deployment extension configs. Keys of this object are extension aliases as defined in the deployment template.",
          "additionalProperties": {
            "$ref": "#/$defs/DeploymentExtensionConfig"
          },
          "x-ms-mutability": [
            "update",
            "create"
          ]
        },
        "externalInputs": {
          "type": "object",
          "description": "External input values, used by external tooling for parameter evaluation.",
          "additionalProperties": {
            "$ref": "#/$defs/DeploymentExternalInput"
          },
          "x-ms-mutability": [
            "update",
            "create"
          ]
        },
        "externalInputDefinitions": {
          "type": "object",
          "description": "External input definitions, used by external tooling to define expected external input values.",
          "additionalProperties": {
            "$ref": "#/$defs/DeploymentExternalInputDefinition"
          },
          "x-ms-mutability": [
            "update",
            "create"
          ]
        },
        "actionOnUnmanage": {
          "$ref": "#/$defs/ActionOnUnmanage",
          "description": "Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted."
        },
        "debugSetting": {
          "$ref": "#/$defs/DeploymentStacksDebugSetting",
          "description": "The debug setting of the deployment."
        },
        "deploymentScope": {
          "type": "string",
          "description": "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": {
          "type": "string",
          "description": "Deployment stack description. Max length of 4096 characters.",
          "maxLength": 4096
        },
        "denySettings": {
          "$ref": "#/$defs/DenySettings",
          "description": "Defines how resources deployed by the stack are locked."
        },
        "provisioningState": {
          "$ref": "#/$defs/DeploymentStackProvisioningState",
          "description": "State of the deployment stack.",
          "readOnly": true
        },
        "correlationId": {
          "type": "string",
          "description": "The correlation id of the last Deployment stack upsert or delete operation. It is in GUID format and is used for tracing.",
          "readOnly": true
        },
        "validationLevel": {
          "$ref": "#/$defs/ValidationLevel",
          "description": "The validation level of the deployment stack"
        },
        "bypassStackOutOfSyncError": {
          "type": "boolean",
          "description": "Flag to bypass service errors that indicate the stack resource list is not correctly synchronized.",
          "x-ms-mutability": [
            "update",
            "create"
          ]
        },
        "detachedResources": {
          "type": "array",
          "description": "An array of resources that were detached during the most recent Deployment stack update. Detached means that the resource was removed from the template, but no relevant deletion operations were specified. So, the resource still exists while no longer being associated with the stack.",
          "items": {
            "$ref": "#/$defs/ResourceReference"
          },
          "readOnly": true
        },
        "deletedResources": {
          "type": "array",
          "description": "An array of resources that were deleted during the most recent Deployment stack update. Deleted means that the resource was removed from the template and relevant deletion operations were specified.",
          "items": {
            "$ref": "#/$defs/ResourceReference"
          },
          "readOnly": true
        },
        "failedResources": {
          "type": "array",
          "description": "An array of resources that failed to reach goal state during the most recent update. Each resourceId is accompanied by an error message.",
          "items": {
            "$ref": "#/$defs/ResourceReferenceExtended"
          },
          "readOnly": true
        },
        "resources": {
          "type": "array",
          "description": "An array of resources currently managed by the deployment stack.",
          "items": {
            "$ref": "#/$defs/ManagedResourceReference"
          },
          "readOnly": true
        },
        "deploymentExtensions": {
          "type": "array",
          "description": "The extensions used during deployment. Contains extension data for all extensible resources managed by the stack.",
          "items": {
            "$ref": "#/$defs/DeploymentExtension"
          },
          "readOnly": true
        },
        "deploymentId": {
          "type": "string",
          "description": "The resourceId of the deployment resource created by the deployment stack.",
          "readOnly": true
        },
        "outputs": {
          "type": "object",
          "description": "The outputs of the deployment resource created by the deployment stack.",
          "additionalProperties": {},
          "readOnly": true
        },
        "duration": {
          "type": "string",
          "description": "The duration of the last successful Deployment stack update.",
          "readOnly": true
        }
      },
      "required": [
        "actionOnUnmanage",
        "denySettings"
      ]
    },
    "DeploymentStackProvisioningState": {
      "type": "string",
      "description": "State of the deployment stack.",
      "enum": [
        "creating",
        "validating",
        "waiting",
        "deploying",
        "canceling",
        "updatingDenyAssignments",
        "deletingResources",
        "succeeded",
        "failed",
        "canceled",
        "deleting",
        "initializing",
        "running"
      ],
      "x-ms-enum": {
        "name": "DeploymentStackProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Creating",
            "value": "creating",
            "description": "The deployment stack is currently being created"
          },
          {
            "name": "Validating",
            "value": "validating",
            "description": "The deployment stack is currently being validated"
          },
          {
            "name": "Waiting",
            "value": "waiting",
            "description": "The deployment stack is currently waiting"
          },
          {
            "name": "Deploying",
            "value": "deploying",
            "description": "The deployment stack is currently deploying"
          },
          {
            "name": "Canceling",
            "value": "canceling",
            "description": "The deployment stack is being cancelled"
          },
          {
            "name": "UpdatingDenyAssignments",
            "value": "updatingDenyAssignments",
            "description": "The deployment stack is updating deny assignments"
          },
          {
            "name": "DeletingResources",
            "value": "deletingResources",
            "description": "The deployment stack is deleting resources"
          },
          {
            "name": "Succeeded",
            "value": "succeeded",
            "description": "The deployment stack completed successfully"
          },
          {
            "name": "Failed",
            "value": "failed",
            "description": "The deployment stack has failed"
          },
          {
            "name": "Canceled",
            "value": "canceled",
            "description": "The deployment stack has been cancelled"
          },
          {
            "name": "Deleting",
            "value": "deleting",
            "description": "The deployment stack is being deleted"
          },
          {
            "name": "Initializing",
            "value": "initializing",
            "description": "The deployment stack is currently being initialized"
          },
          {
            "name": "Running",
            "value": "running",
            "description": "The deployment stack is currently performing an operation"
          }
        ]
      },
      "readOnly": true
    },
    "DeploymentStacksDebugSetting": {
      "type": "object",
      "description": "The debug setting.",
      "properties": {
        "detailLevel": {
          "type": "string",
          "description": "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."
        }
      }
    },
    "DeploymentStacksParametersLink": {
      "type": "object",
      "description": "Entity representing the reference to the deployment parameters.",
      "properties": {
        "uri": {
          "type": "string",
          "description": "The URI of the parameters file."
        },
        "contentVersion": {
          "type": "string",
          "description": "If included, must match the ContentVersion in the template."
        }
      },
      "required": [
        "uri"
      ]
    },
    "DeploymentStacksTemplateLink": {
      "type": "object",
      "description": "Entity representing the reference to the template.",
      "properties": {
        "uri": {
          "type": "string",
          "description": "The URI of the template to deploy. Use either the uri or id property, but not both."
        },
        "id": {
          "type": "string",
          "description": "The resourceId of a Template Spec. Use either the id or uri property, but not both."
        },
        "relativePath": {
          "type": "string",
          "description": "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."
        },
        "queryString": {
          "type": "string",
          "description": "The query string (for example, a SAS token) to be used with the templateLink URI."
        },
        "contentVersion": {
          "type": "string",
          "description": "If included, must match the ContentVersion in the template."
        }
      }
    },
    "ErrorAdditionalInfo": {
      "type": "object",
      "description": "The resource management error additional info.",
      "properties": {
        "type": {
          "type": "string",
          "description": "The additional info type.",
          "readOnly": true
        },
        "info": {
          "type": "object",
          "description": "The additional info.",
          "readOnly": true
        }
      }
    },
    "ErrorDetail": {
      "type": "object",
      "description": "The error detail.",
      "properties": {
        "code": {
          "type": "string",
          "description": "The error code.",
          "readOnly": true
        },
        "message": {
          "type": "string",
          "description": "The error message.",
          "readOnly": true
        },
        "target": {
          "type": "string",
          "description": "The error target.",
          "readOnly": true
        },
        "details": {
          "type": "array",
          "description": "The error details.",
          "items": {
            "$ref": "#/$defs/ErrorDetail"
          },
          "readOnly": true,
          "x-ms-identifiers": [
            "message",
            "target"
          ]
        },
        "additionalInfo": {
          "type": "array",
          "description": "The error additional info.",
          "items": {
            "$ref": "#/$defs/ErrorAdditionalInfo"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        }
      }
    },
    "KeyVaultParameterReference": {
      "type": "object",
      "description": "Azure Key Vault parameter reference.",
      "properties": {
        "keyVault": {
          "$ref": "#/$defs/KeyVaultReference",
          "description": "Azure Key Vault reference."
        },
        "secretName": {
          "type": "string",
          "description": "Azure Key Vault secret name."
        },
        "secretVersion": {
          "type": "string",
          "description": "Azure Key Vault secret version."
        }
      },
      "required": [
        "keyVault",
        "secretName"
      ]
    },
    "KeyVaultReference": {
      "type": "object",
      "description": "Azure Key Vault reference.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Azure Key Vault resourceId."
        }
      },
      "required": [
        "id"
      ]
    },
    "ManagedResourceReference": {
      "type": "object",
      "description": "The managed resource model.",
      "properties": {
        "status": {
          "$ref": "#/$defs/ResourceStatusMode",
          "description": "Current management state of the resource in the deployment stack."
        },
        "denyStatus": {
          "type": "string",
          "description": "denyAssignment settings applied to the resource.",
          "default": "none",
          "enum": [
            "denyDelete",
            "notSupported",
            "inapplicable",
            "denyWriteAndDelete",
            "removedBySystem",
            "none",
            "unknown"
          ],
          "x-ms-enum": {
            "name": "DenyStatusMode",
            "modelAsString": true,
            "values": [
              {
                "name": "DenyDelete",
                "value": "denyDelete",
                "description": "Authorized users are able to read and modify the resources, but cannot delete."
              },
              {
                "name": "NotSupported",
                "value": "notSupported",
                "description": "Resource type does not support denyAssignments."
              },
              {
                "name": "Inapplicable",
                "value": "inapplicable",
                "description": "denyAssignments are not supported on resources outside the scope of the deployment stack."
              },
              {
                "name": "DenyWriteAndDelete",
                "value": "denyWriteAndDelete",
                "description": "Authorized users can only read from a resource, but cannot modify or delete it."
              },
              {
                "name": "RemovedBySystem",
                "value": "removedBySystem",
                "description": "Deny assignment has been removed by Azure due to a resource management change (management group move, etc.)"
              },
              {
                "name": "None",
                "value": "none",
                "description": "No denyAssignments have been applied."
              },
              {
                "name": "Unknown",
                "value": "unknown",
                "description": "The denyAssignment status is unknown."
              }
            ]
          }
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ResourceReference"
        }
      ]
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "ResourceReference": {
      "type": "object",
      "description": "The resourceId model.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ARM Resource ID of a resource managed by the deployment stack.",
          "readOnly": true
        },
        "extension": {
          "$ref": "#/$defs/DeploymentExtension",
          "description": "The extension the resource was deployed with.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The resource type.",
          "readOnly": true
        },
        "identifiers": {
          "type": "object",
          "description": "The extensible resource identifiers.",
          "additionalProperties": {},
          "readOnly": true
        },
        "apiVersion": {
          "type": "string",
          "description": "The API version the resource was deployed with",
          "readOnly": true
        }
      }
    },
    "ResourceReferenceExtended": {
      "type": "object",
      "description": "The resourceId extended model. This is used to document failed resources with a resourceId and a corresponding error.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ARM Resource ID of a resource managed by the deployment stack.",
          "readOnly": true
        },
        "extension": {
          "$ref": "#/$defs/DeploymentExtension",
          "description": "The extension the resource was deployed with.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The resource type.",
          "readOnly": true
        },
        "identifiers": {
          "type": "object",
          "description": "The extensible resource identifiers.",
          "additionalProperties": {},
          "readOnly": true
        },
        "apiVersion": {
          "type": "string",
          "description": "The API version the resource was deployed with",
          "readOnly": true
        },
        "error": {
          "$ref": "#/$defs/ErrorDetail",
          "description": "The error detail.",
          "readOnly": true
        }
      }
    },
    "ResourceStatusMode": {
      "type": "string",
      "description": "Current management state of the resource in the deployment stack.",
      "enum": [
        "managed",
        "removeDenyFailed",
        "deleteFailed"
      ],
      "x-ms-enum": {
        "name": "ResourceStatusMode",
        "modelAsString": true,
        "values": [
          {
            "name": "Managed",
            "value": "managed",
            "description": "This resource is managed by the deployment stack."
          },
          {
            "name": "RemoveDenyFailed",
            "value": "removeDenyFailed",
            "description": "Unable to remove the deny assignment on resource."
          },
          {
            "name": "DeleteFailed",
            "value": "deleteFailed",
            "description": "Unable to delete the resource from Azure. The delete will be retried on the next stack deployment, or can be deleted manually."
          }
        ]
      }
    },
    "ResourcesWithoutDeleteSupportAction": {
      "type": "string",
      "description": "Specifies an action for resources that do not support deletion.",
      "enum": [
        "detach",
        "fail"
      ],
      "x-ms-enum": {
        "name": "ResourcesWithoutDeleteSupportAction",
        "modelAsString": true,
        "values": [
          {
            "name": "Detach",
            "value": "detach",
            "description": "Detach the specified resources from the deployment stack and continue."
          },
          {
            "name": "Fail",
            "value": "fail",
            "description": "Fail the deployment stack if resources cannot be deleted."
          }
        ]
      }
    },
    "UnmanageActionManagementGroupMode": {
      "type": "string",
      "description": "Specifies an action for a newly unmanaged resource.",
      "enum": [
        "delete",
        "detach"
      ],
      "x-ms-enum": {
        "name": "UnmanageActionManagementGroupMode",
        "modelAsString": true,
        "values": [
          {
            "name": "Delete",
            "value": "delete",
            "description": "Delete the management groups from Azure."
          },
          {
            "name": "Detach",
            "value": "detach",
            "description": "Keep the management groups in Azure."
          }
        ]
      }
    },
    "UnmanageActionResourceGroupMode": {
      "type": "string",
      "description": "Specifies an action for a newly unmanaged resource group.",
      "enum": [
        "delete",
        "detach"
      ],
      "x-ms-enum": {
        "name": "UnmanageActionResourceGroupMode",
        "modelAsString": true,
        "values": [
          {
            "name": "Delete",
            "value": "delete",
            "description": "Delete the resource groups from Azure."
          },
          {
            "name": "Detach",
            "value": "detach",
            "description": "Keep the resource groups in Azure."
          }
        ]
      }
    },
    "UnmanageActionResourceMode": {
      "type": "string",
      "description": "Specifies an action for a newly unmanaged resource.",
      "enum": [
        "delete",
        "detach"
      ],
      "x-ms-enum": {
        "name": "UnmanageActionResourceMode",
        "modelAsString": true,
        "values": [
          {
            "name": "Delete",
            "value": "delete",
            "description": "Delete the resources from Azure"
          },
          {
            "name": "Detach",
            "value": "detach",
            "description": "Keep the resources in Azure"
          }
        ]
      }
    },
    "ValidationLevel": {
      "type": "string",
      "description": "The level of validation performed on the deployment.",
      "enum": [
        "Template",
        "Provider",
        "ProviderNoRbac"
      ],
      "x-ms-enum": {
        "name": "ValidationLevel",
        "modelAsString": true,
        "values": [
          {
            "name": "Template",
            "value": "Template",
            "description": "Static analysis of the template is performed."
          },
          {
            "name": "Provider",
            "value": "Provider",
            "description": "Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation. Validates that the caller has RBAC write permissions on each resource."
          },
          {
            "name": "ProviderNoRbac",
            "value": "ProviderNoRbac",
            "description": "Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation. Skips validating that the caller has RBAC write permissions on each resource."
          }
        ]
      }
    }
  }
}