Skip to content

Commit a7dbe97

Browse files
committed
Fix missing properties definition in KeyVault 2019-09-01
1 parent 557326d commit a7dbe97

File tree

11 files changed

+82
-31
lines changed

11 files changed

+82
-31
lines changed

specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/createVault.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@
139139
"enabledForDeployment": true,
140140
"enabledForDiskEncryption": true,
141141
"enabledForTemplateDeployment": true,
142-
"vaultUri": "https://sample-vault.vault.azure.net"
142+
"vaultUri": "https://sample-vault.vault.azure.net",
143+
"provisioningState": "Succeeded"
143144
}
144145
}
145146
},
@@ -211,7 +212,8 @@
211212
"enabledForDeployment": true,
212213
"enabledForDiskEncryption": true,
213214
"enabledForTemplateDeployment": true,
214-
"vaultUri": "https://sample-vault.vault.azure.net"
215+
"vaultUri": "https://sample-vault.vault.azure.net",
216+
"provisioningState": "Succeeded"
215217
}
216218
}
217219
},

specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getDeletedVault.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"location": "westus",
1818
"tags": {},
1919
"deletionDate": "2017-01-01T00:00:59Z",
20-
"scheduledPurgeDate": "2017-04-01T00:00:59Z"
20+
"scheduledPurgeDate": "2017-04-01T00:00:59Z",
21+
"purgeProtectionEnabled": true
2122
}
2223
}
2324
},

specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getPrivateEndpointConnection.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults/sample-vault/privateEndpointConnections/sample-pec",
1313
"name": "sample-pec",
1414
"type": "Microsoft.KeyVault/vaults/privateEndpointConnections",
15+
"etag": "",
1516
"properties": {
1617
"provisioningState": "Succeeded",
1718
"privateEndpoint": {

specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/getVault.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
"enabledForDeployment": true,
7575
"enabledForDiskEncryption": true,
7676
"enabledForTemplateDeployment": true,
77-
"vaultUri": "https://sample-vault.vault.azure.net"
77+
"vaultUri": "https://sample-vault.vault.azure.net",
78+
"provisioningState": "Succeeded"
7879
}
7980
}
8081
},

specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listDeletedVaults.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"location": "westus",
1818
"tags": {},
1919
"deletionDate": "2017-01-01T00:00:59Z",
20-
"scheduledPurgeDate": "2017-04-01T00:00:59Z"
20+
"scheduledPurgeDate": "2017-04-01T00:00:59Z",
21+
"purgeProtectionEnabled": true
2122
}
2223
}
2324
],

specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listOperations.json

Lines changed: 46 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"resource": "Key Vault",
1414
"operation": "View Key Vault",
1515
"description": "View the properties of a key vault"
16-
}
16+
},
17+
"isDataAction": false
1718
},
1819
{
1920
"name": "Microsoft.KeyVault/vaults/write",
@@ -22,7 +23,8 @@
2223
"resource": "Key Vault",
2324
"operation": "Update Key Vault",
2425
"description": "Create a new key vault or update the properties of an existing key vault"
25-
}
26+
},
27+
"isDataAction": false
2628
},
2729
{
2830
"name": "Microsoft.KeyVault/vaults/delete",
@@ -31,7 +33,8 @@
3133
"resource": "Key Vault",
3234
"operation": "Delete Key Vault",
3335
"description": "Delete a key vault"
34-
}
36+
},
37+
"isDataAction": false
3538
},
3639
{
3740
"name": "Microsoft.KeyVault/vaults/deploy/action",
@@ -40,7 +43,8 @@
4043
"resource": "Key Vault",
4144
"operation": "Use Vault for Azure Deployments",
4245
"description": "Enables access to secrets in a key vault when deploying Azure resources"
43-
}
46+
},
47+
"isDataAction": false
4448
},
4549
{
4650
"name": "Microsoft.KeyVault/vaults/secrets/read",
@@ -49,7 +53,8 @@
4953
"resource": "Secret",
5054
"operation": "View Secret Properties",
5155
"description": "View the properties of a secret, but not its value"
52-
}
56+
},
57+
"isDataAction": false
5358
},
5459
{
5560
"name": "Microsoft.KeyVault/vaults/secrets/write",
@@ -58,7 +63,8 @@
5863
"resource": "Secret",
5964
"operation": "Update Secret",
6065
"description": "Create a new secret or update the value of an existing secret"
61-
}
66+
},
67+
"isDataAction": false
6268
},
6369
{
6470
"name": "Microsoft.KeyVault/vaults/accessPolicies/write",
@@ -67,7 +73,8 @@
6773
"resource": "Access Policy",
6874
"operation": "Update Access Policy",
6975
"description": "Update an existing access policy by merging or replacing, or add a new access policy to a vault."
70-
}
76+
},
77+
"isDataAction": false
7178
},
7279
{
7380
"origin": "system",
@@ -78,6 +85,7 @@
7885
"operation": "Read log definition",
7986
"description": "Gets the available logs for a key vault"
8087
},
88+
"isDataAction": false,
8189
"properties": {
8290
"serviceSpecification": {
8391
"logSpecifications": [
@@ -98,7 +106,8 @@
98106
"resource": "Key Vault Diagnostic Settings",
99107
"operation": "Read diagnostic setting",
100108
"description": "Gets the diagnostic setting for the resource"
101-
}
109+
},
110+
"isDataAction": false
102111
},
103112
{
104113
"origin": "system",
@@ -108,7 +117,8 @@
108117
"resource": "Key Vault Diagnostic Settings",
109118
"operation": "Write diagnostic setting",
110119
"description": "Creates or updates the diagnostic setting for the resource"
111-
}
120+
},
121+
"isDataAction": false
112122
},
113123
{
114124
"name": "Microsoft.KeyVault/register/action",
@@ -117,7 +127,8 @@
117127
"resource": "Subscription",
118128
"operation": "Register Subscription",
119129
"description": "Registers a subscription"
120-
}
130+
},
131+
"isDataAction": false
121132
},
122133
{
123134
"name": "Microsoft.KeyVault/unregister/action",
@@ -126,7 +137,8 @@
126137
"resource": "Subscription",
127138
"operation": "Unregister Subscription",
128139
"description": "Unregisters a subscription"
129-
}
140+
},
141+
"isDataAction": false
130142
},
131143
{
132144
"name": "Microsoft.KeyVault/operations/read",
@@ -135,7 +147,8 @@
135147
"resource": "Operations",
136148
"operation": "Available Key Vault Operations",
137149
"description": "Lists operations available on Microsoft.KeyVault resource provider"
138-
}
150+
},
151+
"isDataAction": false
139152
},
140153
{
141154
"name": "Microsoft.KeyVault/checkNameAvailability/read",
@@ -144,7 +157,8 @@
144157
"resource": "Name Availability",
145158
"operation": "Check Name Availability",
146159
"description": "Checks that a key vault name is valid and is not in use"
147-
}
160+
},
161+
"isDataAction": false
148162
},
149163
{
150164
"name": "Microsoft.KeyVault/deletedVaults/read",
@@ -153,7 +167,8 @@
153167
"resource": "Soft Deleted Key Vault",
154168
"operation": "View Soft Deleted Vaults",
155169
"description": "View the properties of soft deleted key vaults"
156-
}
170+
},
171+
"isDataAction": false
157172
},
158173
{
159174
"name": "Microsoft.KeyVault/locations/deletedVaults/read",
@@ -162,7 +177,8 @@
162177
"resource": "Soft Deleted Key Vault",
163178
"operation": "View Soft Deleted Key Vault",
164179
"description": "View the properties of a soft deleted key vault"
165-
}
180+
},
181+
"isDataAction": false
166182
},
167183
{
168184
"name": "Microsoft.KeyVault/locations/deletedVaults/purge/action",
@@ -171,7 +187,8 @@
171187
"resource": "Soft Deleted Key Vault",
172188
"operation": "Purge Soft Deleted Key Vault",
173189
"description": "Purge a soft deleted key vault"
174-
}
190+
},
191+
"isDataAction": false
175192
},
176193
{
177194
"name": "Microsoft.KeyVault/locations/operationResults/read",
@@ -180,7 +197,8 @@
180197
"resource": "Long Run Operation Result",
181198
"operation": "Check Operation Result",
182199
"description": "Check the result of a long run operation"
183-
}
200+
},
201+
"isDataAction": false
184202
},
185203
{
186204
"name": "Microsoft.KeyVault/hsmPools/read",
@@ -189,7 +207,8 @@
189207
"resource": "HSM pool",
190208
"operation": "View HSM pool",
191209
"description": "View the properties of an HSM pool"
192-
}
210+
},
211+
"isDataAction": false
193212
},
194213
{
195214
"name": "Microsoft.KeyVault/hsmPools/write",
@@ -198,7 +217,8 @@
198217
"resource": "HSM pool",
199218
"operation": "Create or Update HSM pool",
200219
"description": "Create a new HSM pool of update the properties of an existing HSM pool"
201-
}
220+
},
221+
"isDataAction": false
202222
},
203223
{
204224
"name": "Microsoft.KeyVault/hsmPools/delete",
@@ -207,7 +227,8 @@
207227
"resource": "HSM pool",
208228
"operation": "Delete HSM pool",
209229
"description": "Delete an HSM pool"
210-
}
230+
},
231+
"isDataAction": false
211232
},
212233
{
213234
"name": "Microsoft.KeyVault/hsmPools/joinVault/action",
@@ -216,7 +237,8 @@
216237
"resource": "HSM pool",
217238
"operation": "Join KeyVault to HSM pool",
218239
"description": "Join a key vault to an HSM pool"
219-
}
240+
},
241+
"isDataAction": false
220242
},
221243
{
222244
"origin": "system",
@@ -227,6 +249,7 @@
227249
"operation": "Read metric definition",
228250
"description": "Gets the available metrics for a key vault"
229251
},
252+
"isDataAction": false,
230253
"properties": {
231254
"serviceSpecification": {}
232255
}
@@ -239,7 +262,8 @@
239262
"resource": "Location",
240263
"operation": "Modify Network ACLs containing the deleted Vitual Network or Subnet ",
241264
"description": "Notifies Microsoft.KeyVault that a virtual network or subnet is being deleted"
242-
}
265+
},
266+
"isDataAction": false
243267
}
244268
]
245269
}

specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultByResourceGroup.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@
7777
"enabledForDiskEncryption": true,
7878
"enabledForTemplateDeployment": true,
7979
"enableSoftDelete": true,
80-
"vaultUri": "https://sample-vault.vault.azure.net/"
80+
"vaultUri": "https://sample-vault.vault.azure.net/",
81+
"provisioningState": "Succeeded"
8182
}
8283
}
8384
],

specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/listVaultBySubscription.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@
7676
"enabledForDiskEncryption": true,
7777
"enabledForTemplateDeployment": true,
7878
"enableSoftDelete": true,
79-
"vaultUri": "https://sample-vault.vault.azure.net/"
79+
"vaultUri": "https://sample-vault.vault.azure.net/",
80+
"provisioningState": "Succeeded"
8081
}
8182
}
8283
],

specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/examples/updateVault.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@
138138
"enabledForDeployment": true,
139139
"enabledForDiskEncryption": true,
140140
"enabledForTemplateDeployment": true,
141-
"vaultUri": "https://sample-vault.vault.azure.net"
141+
"vaultUri": "https://sample-vault.vault.azure.net",
142+
"provisioningState": "Succeeded"
142143
}
143144
}
144145
},
@@ -210,7 +211,8 @@
210211
"enabledForDeployment": true,
211212
"enabledForDiskEncryption": true,
212213
"enabledForTemplateDeployment": true,
213-
"vaultUri": "https://sample-vault.vault.azure.net"
214+
"vaultUri": "https://sample-vault.vault.azure.net",
215+
"provisioningState": "Succeeded"
214216
}
215217
}
216218
},

specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2019-09-01/keyvault.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,6 +1249,10 @@
12491249
"$ref": "#/definitions/NetworkRuleSet",
12501250
"description": "Rules governing the accessibility of the key vault from specific network locations."
12511251
},
1252+
"provisioningState": {
1253+
"type": "string",
1254+
"description": "Provisioning state of the vault."
1255+
},
12521256
"privateEndpointConnections": {
12531257
"readOnly": true,
12541258
"type": "array",
@@ -1376,6 +1380,11 @@
13761380
"type": "string"
13771381
},
13781382
"description": "Tags of the original vault."
1383+
},
1384+
"purgeProtectionEnabled": {
1385+
"readOnly": true,
1386+
"type": "boolean",
1387+
"description": "Purge protection status of the original vault."
13791388
}
13801389
},
13811390
"description": "Properties of the deleted vault."
@@ -1735,6 +1744,10 @@
17351744
"$ref": "#/definitions/PrivateEndpointConnectionProperties",
17361745
"x-ms-client-flatten": true,
17371746
"description": "Resource properties."
1747+
},
1748+
"etag": {
1749+
"type": "string",
1750+
"description": "Modified whenever the user or NRP changes the state of PE connection."
17381751
}
17391752
},
17401753
"allOf": [

0 commit comments

Comments
 (0)