azure-arm builder: Create keyvaults with SoftDelete enabled

This commit is contained in:
Sumit Kalra 2020-11-02 20:42:55 -08:00
parent 9ec55d3cd7
commit 2b69a5f496
3 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@
"tenantId": "[parameters('tenantId')]"
}
],
"enableSoftDelete": "true",
"enabledForDeployment": "true",
"enabledForTemplateDeployment": "true",
"sku": {

View File

@ -85,6 +85,7 @@ type Properties struct {
DNSSettings *network.PublicIPAddressDNSSettings `json:"dnsSettings,omitempty"`
EnabledForDeployment *string `json:"enabledForDeployment,omitempty"`
EnabledForTemplateDeployment *string `json:"enabledForTemplateDeployment,omitempty"`
EnableSoftDelete *string `json:"enableSoftDelete,omitempty"`
HardwareProfile *compute.HardwareProfile `json:"hardwareProfile,omitempty"`
IPConfigurations *[]network.IPConfiguration `json:"ipConfigurations,omitempty"`
NetworkProfile *compute.NetworkProfile `json:"networkProfile,omitempty"`

View File

@ -554,6 +554,7 @@ const KeyVault = `{
"properties": {
"enabledForDeployment": "true",
"enabledForTemplateDeployment": "true",
"enableSoftDelete": "true",
"tenantId": "[parameters('tenantId')]",
"accessPolicies": [
{