[Key Vault] Update test-resources.json for new MHSM API
"description": "Whether to enable deployment of Managed HSM. The default is false."
}
},
- "enableSoftDelete": {
- "type": "bool",
- "defaultValue": true,
- "metadata": {
- "description": "Whether to enable soft delete for the Key Vault. The default is true."
- }
- },
"keyVaultDomainSuffix": {
"type": "string",
"defaultValue": ".vault.azure.net",
},
"variables": {
"azureKeyVaultUrl": "[format('https://{0}{1}', parameters('baseName'), parameters('keyVaultDomainSuffix'))]",
- "hsmApiVersion": "2020-04-01-preview",
+ "hsmApiVersion": "2021-04-01-preview",
"hsmName": "[concat(parameters('baseName'), 'hsm')]",
"mgmtApiVersion": "2019-04-01",
"blobContainerName": "backup",
},
"networkAcls": {
"bypass": "AzureServices",
- "virtualNetworkRules": [
- ],
- "ipRules": [
- ],
+ "virtualNetworkRules": [],
+ "ipRules": [],
"defaultAction": "Allow"
}
},
"enabledForDeployment": false,
"enabledForDiskEncryption": false,
"enabledForTemplateDeployment": false,
- "enableSoftDelete": "[parameters('enableSoftDelete')]"
+ "enableSoftDelete": true
}
},
{
"[parameters('testApplicationOid')]"
],
"enablePurgeProtection": false,
- "enableSoftDelete": "[parameters('enableSoftDelete')]"
+ "enableSoftDelete": true,
+ "publicNetworkAccess": "Enabled",
+ "networkAcls": "[variables('networkAcls')]"
}
},
{
