Skip to content

Commit c0940c6

Browse files
author
SDKAuto
committed
CodeGen from PR 24559 in Azure/azure-rest-api-specs
Merge 9135665ce55669872eb9724a066a492febe5c8f6 into d2a5b3d3d4ff66a5c2c27a1ac74d6b3f85c98261
1 parent 4478a62 commit c0940c6

File tree

1 file changed

+76
-2
lines changed

1 file changed

+76
-2
lines changed

schemas/2022-09-01/Microsoft.Resources.json

Lines changed: 76 additions & 2 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,8 +560,18 @@
538560
"description": "Deployment on error behavior."
539561
},
540562
"parameters": {
541-
"type": "object",
542-
"properties": {},
563+
"oneOf": [
564+
{
565+
"type": "object",
566+
"additionalProperties": {
567+
"$ref": "#/definitions/DeploymentParameter"
568+
},
569+
"properties": {}
570+
},
571+
{
572+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
573+
}
574+
],
543575
"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."
544576
},
545577
"parametersLink": {
@@ -597,6 +629,48 @@
597629
},
598630
"description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template."
599631
},
632+
"KeyVaultParameterReference": {
633+
"type": "object",
634+
"properties": {
635+
"keyVault": {
636+
"oneOf": [
637+
{
638+
"$ref": "#/definitions/KeyVaultReference"
639+
},
640+
{
641+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
642+
}
643+
],
644+
"description": "Azure Key Vault reference."
645+
},
646+
"secretName": {
647+
"type": "string",
648+
"description": "Azure Key Vault secret name."
649+
},
650+
"secretVersion": {
651+
"type": "string",
652+
"description": "Azure Key Vault secret version."
653+
}
654+
},
655+
"required": [
656+
"keyVault",
657+
"secretName"
658+
],
659+
"description": "Azure Key Vault parameter reference."
660+
},
661+
"KeyVaultReference": {
662+
"type": "object",
663+
"properties": {
664+
"id": {
665+
"type": "string",
666+
"description": "Azure Key Vault resource id."
667+
}
668+
},
669+
"required": [
670+
"id"
671+
],
672+
"description": "Azure Key Vault reference."
673+
},
600674
"OnErrorDeployment": {
601675
"type": "object",
602676
"properties": {

0 commit comments

Comments
 (0)