Skip to content

Commit b8a074d

Browse files
author
Autogenerator Pipeline
committed
Autogenerate schemas
1 parent e63c910 commit b8a074d

File tree

2 files changed

+242
-7
lines changed

2 files changed

+242
-7
lines changed

schemas/2020-10-01/Microsoft.OperationalInsights.json

Lines changed: 239 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,79 @@
9494
"type"
9595
],
9696
"description": "Microsoft.OperationalInsights/clusters"
97+
},
98+
"workspaces": {
99+
"type": "object",
100+
"properties": {
101+
"apiVersion": {
102+
"type": "string",
103+
"enum": [
104+
"2020-10-01"
105+
]
106+
},
107+
"eTag": {
108+
"type": "string",
109+
"description": "The ETag of the workspace."
110+
},
111+
"location": {
112+
"type": "string",
113+
"description": "The geo-location where the resource lives"
114+
},
115+
"name": {
116+
"oneOf": [
117+
{
118+
"type": "string",
119+
"pattern": "^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$",
120+
"minLength": 4,
121+
"maxLength": 63
122+
},
123+
{
124+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
125+
}
126+
],
127+
"description": "The name of the workspace."
128+
},
129+
"properties": {
130+
"oneOf": [
131+
{
132+
"$ref": "#/definitions/WorkspaceProperties"
133+
},
134+
{
135+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
136+
}
137+
],
138+
"description": "Workspace properties."
139+
},
140+
"tags": {
141+
"oneOf": [
142+
{
143+
"type": "object",
144+
"additionalProperties": {
145+
"type": "string"
146+
},
147+
"properties": {}
148+
},
149+
{
150+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
151+
}
152+
],
153+
"description": "Resource tags."
154+
},
155+
"type": {
156+
"type": "string",
157+
"enum": [
158+
"Microsoft.OperationalInsights/workspaces"
159+
]
160+
}
161+
},
162+
"required": [
163+
"apiVersion",
164+
"location",
165+
"name",
166+
"properties",
167+
"type"
168+
],
169+
"description": "Microsoft.OperationalInsights/workspaces"
97170
}
98171
},
99172
"definitions": {
@@ -229,32 +302,191 @@
229302
"type": "string",
230303
"description": "The name of the key associated with the Log Analytics cluster."
231304
},
305+
"keyRsaSize": {
306+
"oneOf": [
307+
{
308+
"type": "integer"
309+
},
310+
{
311+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
312+
}
313+
],
314+
"description": "Selected key minimum required size."
315+
},
232316
"keyVaultUri": {
233317
"type": "string",
234318
"description": "The Key Vault uri which holds they key associated with the Log Analytics cluster."
235319
},
236320
"keyVersion": {
237321
"type": "string",
238322
"description": "The version of the key associated with the Log Analytics cluster."
323+
}
324+
},
325+
"description": "The key vault properties."
326+
},
327+
"UserIdentityProperties": {
328+
"type": "object",
329+
"properties": {},
330+
"description": "User assigned identity properties."
331+
},
332+
"WorkspaceCapping": {
333+
"type": "object",
334+
"properties": {
335+
"dailyQuotaGb": {
336+
"oneOf": [
337+
{
338+
"type": "number"
339+
},
340+
{
341+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
342+
}
343+
],
344+
"description": "The workspace daily quota for ingestion."
345+
}
346+
},
347+
"description": "The daily volume cap for ingestion."
348+
},
349+
"WorkspaceProperties": {
350+
"type": "object",
351+
"properties": {
352+
"forceQueryCmk": {
353+
"oneOf": [
354+
{
355+
"type": "boolean"
356+
},
357+
{
358+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
359+
}
360+
],
361+
"description": "Indicates whether customer managed storage is mandatory for query management."
239362
},
240-
"rsaKeySize": {
363+
"provisioningState": {
241364
"oneOf": [
242365
{
243-
"type": "integer"
366+
"type": "string",
367+
"enum": [
368+
"Creating",
369+
"Succeeded",
370+
"Failed",
371+
"Canceled",
372+
"Deleting",
373+
"ProvisioningAccount",
374+
"Updating"
375+
]
244376
},
245377
{
246378
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
247379
}
248380
],
249-
"description": "Selected key minimum required key size."
381+
"description": "The provisioning state of the workspace."
382+
},
383+
"publicNetworkAccessForIngestion": {
384+
"oneOf": [
385+
{
386+
"type": "string",
387+
"enum": [
388+
"Enabled",
389+
"Disabled"
390+
]
391+
},
392+
{
393+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
394+
}
395+
],
396+
"description": "The network access type for accessing Log Analytics ingestion."
397+
},
398+
"publicNetworkAccessForQuery": {
399+
"oneOf": [
400+
{
401+
"type": "string",
402+
"enum": [
403+
"Enabled",
404+
"Disabled"
405+
]
406+
},
407+
{
408+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
409+
}
410+
],
411+
"description": "The network access type for accessing Log Analytics query."
412+
},
413+
"retentionInDays": {
414+
"oneOf": [
415+
{
416+
"type": "integer",
417+
"minimum": 30,
418+
"maximum": 730
419+
},
420+
{
421+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
422+
}
423+
],
424+
"description": "The workspace data retention in days, between 30 and 730."
425+
},
426+
"sku": {
427+
"oneOf": [
428+
{
429+
"$ref": "#/definitions/WorkspaceSku"
430+
},
431+
{
432+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
433+
}
434+
],
435+
"description": "The SKU (tier) of a workspace."
436+
},
437+
"workspaceCapping": {
438+
"oneOf": [
439+
{
440+
"$ref": "#/definitions/WorkspaceCapping"
441+
},
442+
{
443+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
444+
}
445+
],
446+
"description": "The daily volume cap for ingestion."
250447
}
251448
},
252-
"description": "The key vault properties."
449+
"description": "Workspace properties."
253450
},
254-
"UserIdentityProperties": {
451+
"WorkspaceSku": {
255452
"type": "object",
256-
"properties": {},
257-
"description": "User assigned identity properties."
453+
"properties": {
454+
"capacityReservationLevel": {
455+
"oneOf": [
456+
{
457+
"type": "integer"
458+
},
459+
{
460+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
461+
}
462+
],
463+
"description": "The capacity reservation level for this workspace, when CapacityReservation sku is selected."
464+
},
465+
"name": {
466+
"oneOf": [
467+
{
468+
"type": "string",
469+
"enum": [
470+
"Free",
471+
"Standard",
472+
"Premium",
473+
"PerNode",
474+
"PerGB2018",
475+
"Standalone",
476+
"CapacityReservation"
477+
]
478+
},
479+
{
480+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
481+
}
482+
],
483+
"description": "The name of the SKU."
484+
}
485+
},
486+
"required": [
487+
"name"
488+
],
489+
"description": "The SKU (tier) of a workspace."
258490
}
259491
}
260492
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4270,6 +4270,9 @@
42704270
{
42714271
"$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.OperationalInsights.json#/resourceDefinitions/clusters"
42724272
},
4273+
{
4274+
"$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.OperationalInsights.json#/resourceDefinitions/workspaces"
4275+
},
42734276
{
42744277
"$ref": "https://schema.management.azure.com/schemas/2019-08-01-preview/Microsoft.Peering.json#/resourceDefinitions/peerings"
42754278
},

0 commit comments

Comments
 (0)