Skip to content

Commit ae8b7bf

Browse files
abatishchevharryli0108
authored andcommitted
Added spec definition for Nested template parameter (Azure#23959)
* 2021-04-01 * 2022-09-01 * sync * merge * "type": "object" * no empty "required" * no "type": "object", * Revert "no "type": "object"," This reverts commit 3d22f0a. * "type": "object" on DeploymentParameter
1 parent a8c87eb commit ae8b7bf

File tree

1 file changed

+51
-0
lines changed
  • specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01

1 file changed

+51
-0
lines changed

specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/resources.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4615,6 +4615,9 @@
46154615
},
46164616
"parameters": {
46174617
"type": "object",
4618+
"additionalProperties": {
4619+
"$ref": "#/definitions/DeploymentParameter"
4620+
},
46184621
"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."
46194622
},
46204623
"parametersLink": {
@@ -4651,6 +4654,54 @@
46514654
],
46524655
"description": "Deployment properties."
46534656
},
4657+
"DeploymentParameter": {
4658+
"type": "object",
4659+
"properties": {
4660+
"value": {
4661+
"description": "Input value to the parameter ."
4662+
},
4663+
"reference": {
4664+
"$ref": "#/definitions/KeyVaultParameterReference",
4665+
"description": "Azure Key Vault parameter reference."
4666+
}
4667+
},
4668+
"description": "Deployment parameter for the template."
4669+
},
4670+
"KeyVaultParameterReference": {
4671+
"type": "object",
4672+
"properties": {
4673+
"keyVault": {
4674+
"$ref": "#/definitions/KeyVaultReference",
4675+
"description": "Azure Key Vault reference."
4676+
},
4677+
"secretName": {
4678+
"type": "string",
4679+
"description": "Azure Key Vault secret name."
4680+
},
4681+
"secretVersion": {
4682+
"type": "string",
4683+
"description": "Azure Key Vault secret version."
4684+
}
4685+
},
4686+
"required": [
4687+
"keyVault",
4688+
"secretName"
4689+
],
4690+
"description": "Azure Key Vault parameter reference."
4691+
},
4692+
"KeyVaultReference": {
4693+
"type": "object",
4694+
"properties": {
4695+
"id": {
4696+
"type": "string",
4697+
"description": "Azure Key Vault resource id."
4698+
}
4699+
},
4700+
"required": [
4701+
"id"
4702+
],
4703+
"description": "Azure Key Vault reference."
4704+
},
46544705
"DebugSetting": {
46554706
"properties": {
46564707
"detailLevel": {

0 commit comments

Comments
 (0)