azure-arm builder: Create keyvaults with SoftDelete enabled
This commit is contained in:
parent
9ec55d3cd7
commit
2b69a5f496
|
@ -38,6 +38,7 @@
|
|||
"tenantId": "[parameters('tenantId')]"
|
||||
}
|
||||
],
|
||||
"enableSoftDelete": "true",
|
||||
"enabledForDeployment": "true",
|
||||
"enabledForTemplateDeployment": "true",
|
||||
"sku": {
|
||||
|
|
|
@ -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"`
|
||||
|
|
|
@ -554,6 +554,7 @@ const KeyVault = `{
|
|||
"properties": {
|
||||
"enabledForDeployment": "true",
|
||||
"enabledForTemplateDeployment": "true",
|
||||
"enableSoftDelete": "true",
|
||||
"tenantId": "[parameters('tenantId')]",
|
||||
"accessPolicies": [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue