Skip to content

Commit 53609a2

Browse files
author
SDKAuto
committed
CodeGen from PR 23959 in Azure/azure-rest-api-specs
Merge aefa71cdb2a56284625088b0d4936b34bcc2a8b3 into 05595b52cb0f5ebdd743915650650ed2aadd0f6e
1 parent ec38aad commit 53609a2

File tree

1 file changed

+73
-3
lines changed

1 file changed

+73
-3
lines changed

schemas/2021-04-01/Microsoft.Resources.json

Lines changed: 73 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,28 @@
486486
},
487487
"description": "The debug setting."
488488
},
489+
"DeploymentParameter": {
490+
"type": "object",
491+
"properties": {
492+
"reference": {
493+
"oneOf": [
494+
{
495+
"$ref": "#/definitions/KeyVaultParameterReference"
496+
},
497+
{
498+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
499+
}
500+
],
501+
"description": "Azure Key Vault parameter reference."
502+
},
503+
"value": {
504+
"type": "object",
505+
"properties": {},
506+
"description": "Input value to the parameter ."
507+
}
508+
},
509+
"description": "Deployment parameter for the template."
510+
},
489511
"DeploymentProperties": {
490512
"type": "object",
491513
"properties": {
@@ -538,9 +560,15 @@
538560
"description": "Deployment on error behavior."
539561
},
540562
"parameters": {
541-
"type": "object",
542-
"properties": {},
543-
"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."
563+
"oneOf": [
564+
{
565+
"$ref": "#/definitions/DeploymentParameter"
566+
},
567+
{
568+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
569+
}
570+
],
571+
"description": "Deployment parameter for the template."
544572
},
545573
"parametersLink": {
546574
"oneOf": [
@@ -597,6 +625,48 @@
597625
},
598626
"description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template."
599627
},
628+
"KeyVaultParameterReference": {
629+
"type": "object",
630+
"properties": {
631+
"keyVault": {
632+
"oneOf": [
633+
{
634+
"$ref": "#/definitions/KeyVaultReference"
635+
},
636+
{
637+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
638+
}
639+
],
640+
"description": "Azure Key Vault reference."
641+
},
642+
"secretName": {
643+
"type": "string",
644+
"description": "Azure Key Vault secret name."
645+
},
646+
"secretVersion": {
647+
"type": "string",
648+
"description": "Azure Key Vault secret version."
649+
}
650+
},
651+
"required": [
652+
"keyVault",
653+
"secretName"
654+
],
655+
"description": "Azure Key Vault parameter reference."
656+
},
657+
"KeyVaultReference": {
658+
"type": "object",
659+
"properties": {
660+
"id": {
661+
"type": "string",
662+
"description": "Azure Key Vault resource id."
663+
}
664+
},
665+
"required": [
666+
"id"
667+
],
668+
"description": "Azure Key Vault reference."
669+
},
600670
"OnErrorDeployment": {
601671
"type": "object",
602672
"properties": {

0 commit comments

Comments
 (0)