|
486 | 486 | },
|
487 | 487 | "description": "The debug setting."
|
488 | 488 | },
|
| 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 | + }, |
489 | 511 | "DeploymentProperties": {
|
490 | 512 | "type": "object",
|
491 | 513 | "properties": {
|
|
538 | 560 | "description": "Deployment on error behavior."
|
539 | 561 | },
|
540 | 562 | "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 | + ], |
543 | 575 | "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."
|
544 | 576 | },
|
545 | 577 | "parametersLink": {
|
|
597 | 629 | },
|
598 | 630 | "description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template."
|
599 | 631 | },
|
| 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 | + }, |
600 | 674 | "OnErrorDeployment": {
|
601 | 675 | "type": "object",
|
602 | 676 | "properties": {
|
|
0 commit comments