Skip to content

Commit 12e4274

Browse files
authored
[Key Vault] Update test-resources.json for new MHSM API (Azure#19311)
1 parent 4d69891 commit 12e4274

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

sdk/keyvault/test-resources.json

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,6 @@
6060
"description": "Whether to enable deployment of Managed HSM. The default is false."
6161
}
6262
},
63-
"enableSoftDelete": {
64-
"type": "bool",
65-
"defaultValue": true,
66-
"metadata": {
67-
"description": "Whether to enable soft delete for the Key Vault. The default is true."
68-
}
69-
},
7063
"keyVaultDomainSuffix": {
7164
"type": "string",
7265
"defaultValue": ".vault.azure.net",
@@ -84,7 +77,7 @@
8477
},
8578
"variables": {
8679
"azureKeyVaultUrl": "[format('https://{0}{1}', parameters('baseName'), parameters('keyVaultDomainSuffix'))]",
87-
"hsmApiVersion": "2020-04-01-preview",
80+
"hsmApiVersion": "2021-04-01-preview",
8881
"hsmName": "[concat(parameters('baseName'), 'hsm')]",
8982
"mgmtApiVersion": "2019-04-01",
9083
"blobContainerName": "backup",
@@ -99,10 +92,8 @@
9992
},
10093
"networkAcls": {
10194
"bypass": "AzureServices",
102-
"virtualNetworkRules": [
103-
],
104-
"ipRules": [
105-
],
95+
"virtualNetworkRules": [],
96+
"ipRules": [],
10697
"defaultAction": "Allow"
10798
}
10899
},
@@ -175,7 +166,7 @@
175166
"enabledForDeployment": false,
176167
"enabledForDiskEncryption": false,
177168
"enabledForTemplateDeployment": false,
178-
"enableSoftDelete": "[parameters('enableSoftDelete')]"
169+
"enableSoftDelete": true
179170
}
180171
},
181172
{
@@ -194,7 +185,9 @@
194185
"[parameters('testApplicationOid')]"
195186
],
196187
"enablePurgeProtection": false,
197-
"enableSoftDelete": "[parameters('enableSoftDelete')]"
188+
"enableSoftDelete": true,
189+
"publicNetworkAccess": "Enabled",
190+
"networkAcls": "[variables('networkAcls')]"
198191
}
199192
},
200193
{

0 commit comments

Comments
 (0)