Skip to content

Commit

Permalink
CodeGen from PR 23959 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 070e2171240deab3e0c1128fe022f059db564688 into d1bd73c65e0fa445150673417927eb66f7d3a2d5
  • Loading branch information
SDKAuto committed Jun 7, 2023
1 parent f5dce1d commit 0e450b9
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 2 deletions.
3 changes: 3 additions & 0 deletions schemas/2022-08-01-preview/Microsoft.Resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,9 @@
"description": "denySettings Mode."
}
},
"required": [
"mode"
],
"description": "Defines how resources deployed by the deployment stack are locked."
},
"DeploymentStackProperties": {
Expand Down
78 changes: 76 additions & 2 deletions schemas/2022-09-01/Microsoft.Resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,28 @@
},
"description": "The debug setting."
},
"DeploymentParameter": {
"type": "object",
"properties": {
"reference": {
"oneOf": [
{
"$ref": "#/definitions/KeyVaultParameterReference"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Azure Key Vault parameter reference."
},
"value": {
"type": "object",
"properties": {},
"description": "Input value to the parameter ."
}
},
"description": "Deployment parameter for the template."
},
"DeploymentProperties": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -538,8 +560,18 @@
"description": "Deployment on error behavior."
},
"parameters": {
"type": "object",
"properties": {},
"oneOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/DeploymentParameter"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "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."
},
"parametersLink": {
Expand Down Expand Up @@ -597,6 +629,48 @@
},
"description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template."
},
"KeyVaultParameterReference": {
"type": "object",
"properties": {
"keyVault": {
"oneOf": [
{
"$ref": "#/definitions/KeyVaultReference"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"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"
],
"description": "Azure Key Vault parameter reference."
},
"KeyVaultReference": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Azure Key Vault resource id."
}
},
"required": [
"id"
],
"description": "Azure Key Vault reference."
},
"OnErrorDeployment": {
"type": "object",
"properties": {
Expand Down

0 comments on commit 0e450b9

Please sign in to comment.