Skip to content

Commit a3b45ea

Browse files
authored
[Hub Generated] Review request for Microsoft.KeyVault to add version preview/2020-04-01-preview (#12619)
1 parent 2482ad8 commit a3b45ea

File tree

5 files changed

+180
-0
lines changed

5 files changed

+180
-0
lines changed

specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2020-04-01-preview/examples/createVault.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,21 @@
8484
"name": "standard"
8585
},
8686
"tenantId": "00000000-0000-0000-0000-000000000000",
87+
"networkAcls": {
88+
"bypass": "AzureServices",
89+
"defaultAction": "Deny",
90+
"ipRules": [
91+
{
92+
"value": ""
93+
}
94+
],
95+
"virtualNetworkRules": [
96+
{
97+
"id": "",
98+
"ignoreMissingVnetServiceEndpoint": false
99+
}
100+
]
101+
},
87102
"accessPolicies": [
88103
{
89104
"tenantId": "00000000-0000-0000-0000-000000000000",
@@ -136,6 +151,21 @@
136151
}
137152
}
138153
],
154+
"privateEndpointConnections": [
155+
{
156+
"id": "",
157+
"properties": {
158+
"provisioningState": "Succeeded",
159+
"privateEndpoint": {
160+
"id": ""
161+
},
162+
"privateLinkServiceConnectionState": {
163+
"status": "Approved",
164+
"actionsRequired": "None"
165+
}
166+
}
167+
}
168+
],
139169
"enabledForDeployment": true,
140170
"enabledForDiskEncryption": true,
141171
"enabledForTemplateDeployment": true,

specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2020-04-01-preview/examples/listOperations.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,36 @@
9494
"displayName": "Audit Logs",
9595
"blobDuration": "PT1H"
9696
}
97+
],
98+
"metricSpecifications": [
99+
{
100+
"name": "ServiceApiHit",
101+
"displayName": "",
102+
"displayDescription": "",
103+
"unit": "",
104+
"aggregationType": "",
105+
"supportedAggregationTypes": [
106+
""
107+
],
108+
"supportedTimeGrainTypes": [
109+
""
110+
],
111+
"lockAggregationType": "",
112+
"dimensions": [
113+
{
114+
"name": "ActivityType",
115+
"displayName": "",
116+
"toBeExportedForShoebox": true
117+
},
118+
{
119+
"name": "ActivityName",
120+
"displayName": "",
121+
"toBeExportedForShoebox": true
122+
}
123+
],
124+
"fillGapWithZero": false,
125+
"internalMetricName": "AuditEvent"
126+
}
97127
]
98128
}
99129
}

specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2020-04-01-preview/examples/updateVault.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,21 @@
8383
"name": "standard"
8484
},
8585
"tenantId": "00000000-0000-0000-0000-000000000000",
86+
"networkAcls": {
87+
"bypass": "AzureServices",
88+
"defaultAction": "Deny",
89+
"ipRules": [
90+
{
91+
"value": ""
92+
}
93+
],
94+
"virtualNetworkRules": [
95+
{
96+
"id": "",
97+
"ignoreMissingVnetServiceEndpoint": false
98+
}
99+
]
100+
},
86101
"accessPolicies": [
87102
{
88103
"tenantId": "00000000-0000-0000-0000-000000000000",
@@ -135,6 +150,21 @@
135150
}
136151
}
137152
],
153+
"privateEndpointConnections": [
154+
{
155+
"id": "",
156+
"properties": {
157+
"provisioningState": "Succeeded",
158+
"privateEndpoint": {
159+
"id": ""
160+
},
161+
"privateLinkServiceConnectionState": {
162+
"status": "Approved",
163+
"actionsRequired": "None"
164+
}
165+
}
166+
}
167+
],
138168
"enabledForDeployment": true,
139169
"enabledForDiskEncryption": true,
140170
"enabledForTemplateDeployment": true,

specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2020-04-01-preview/keyvault.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,6 +1761,10 @@
17611761
"id": {
17621762
"type": "string",
17631763
"description": "Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'."
1764+
},
1765+
"ignoreMissingVnetServiceEndpoint": {
1766+
"type": "boolean",
1767+
"description": "Property to specify whether NRP will ignore the check if parent subnet has serviceEndpoints configured."
17641768
}
17651769
},
17661770
"required": [
@@ -1770,6 +1774,10 @@
17701774
},
17711775
"PrivateEndpointConnectionItem": {
17721776
"properties": {
1777+
"id": {
1778+
"type": "string",
1779+
"description": "Id of private endpoint connection."
1780+
},
17731781
"properties": {
17741782
"$ref": "#/definitions/PrivateEndpointConnectionProperties",
17751783
"x-ms-client-flatten": true,

specification/keyvault/resource-manager/Microsoft.KeyVault/preview/2020-04-01-preview/providers.json

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,13 @@
139139
"items": {
140140
"$ref": "#/definitions/LogSpecification"
141141
}
142+
},
143+
"metricSpecifications": {
144+
"description": "Metric specifications of operation.",
145+
"type": "array",
146+
"items": {
147+
"$ref": "#/definitions/MetricSpecification"
148+
}
142149
}
143150
}
144151
},
@@ -158,6 +165,81 @@
158165
"description": "Blob duration of specification."
159166
}
160167
}
168+
},
169+
"MetricSpecification": {
170+
"description": "Metric specification of operation.",
171+
"properties": {
172+
"name": {
173+
"type": "string",
174+
"description": "Name of metric specification."
175+
},
176+
"displayName": {
177+
"type": "string",
178+
"description": "Display name of Metric specification."
179+
},
180+
"displayDescription": {
181+
"type": "string",
182+
"description": "Display description of Metric specification."
183+
},
184+
"unit": {
185+
"type": "string",
186+
"description": "The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds'."
187+
},
188+
"aggregationType": {
189+
"type": "string",
190+
"description": "The metric aggregation type. Possible values include: 'Average', 'Count', 'Total'."
191+
},
192+
"supportedAggregationTypes": {
193+
"type": "array",
194+
"description": "The supported aggregation types for the metrics.",
195+
"items": {
196+
"type": "string"
197+
}
198+
},
199+
"supportedTimeGrainTypes": {
200+
"type": "array",
201+
"description": "The supported time grain types for the metrics.",
202+
"items": {
203+
"type": "string"
204+
}
205+
},
206+
"lockAggregationType": {
207+
"type": "string",
208+
"description": "The metric lock aggregation type."
209+
},
210+
"dimensions": {
211+
"type": "array",
212+
"description": "The dimensions of metric.",
213+
"items": {
214+
"$ref": "#/definitions/DimensionProperties"
215+
}
216+
},
217+
"fillGapWithZero": {
218+
"type": "boolean",
219+
"description": "Property to specify whether to fill gap with zero."
220+
},
221+
"internalMetricName": {
222+
"type": "string",
223+
"description": "The internal metric name."
224+
}
225+
}
226+
},
227+
"DimensionProperties": {
228+
"description": "Type of operation: get, read, delete, etc.",
229+
"properties": {
230+
"name": {
231+
"type": "string",
232+
"description": "Name of dimension."
233+
},
234+
"displayName": {
235+
"type": "string",
236+
"description": "Display name of dimension."
237+
},
238+
"toBeExportedForShoebox": {
239+
"type": "boolean",
240+
"description": "Property to specify whether the dimension should be exported for shoebox."
241+
}
242+
}
161243
}
162244
},
163245
"parameters": {

0 commit comments

Comments
 (0)