Skip to content

Commit 66a3b9e

Browse files
author
msftbot[bot]
authored
[ReleasePR operationalinsights] Add PUT operation for Tables endpoint and longRunning op for cluster Patch (#2052)
Create to sync Azure/azure-rest-api-specs#16690 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...AzureSDKAutomation:sdkAuto/operationalinsights?expand=1)
2 parents 5fdbc39 + 5445581 commit 66a3b9e

File tree

2 files changed

+121
-9
lines changed

2 files changed

+121
-9
lines changed

schemas/2021-06-01/Microsoft.OperationalInsights.json

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,16 @@
137137
],
138138
"description": "Workspace properties."
139139
},
140+
"resources": {
141+
"type": "array",
142+
"items": {
143+
"oneOf": [
144+
{
145+
"$ref": "#/definitions/workspaces_tables_childResource"
146+
}
147+
]
148+
}
149+
},
140150
"tags": {
141151
"oneOf": [
142152
{
@@ -167,6 +177,45 @@
167177
"type"
168178
],
169179
"description": "Microsoft.OperationalInsights/workspaces"
180+
},
181+
"workspaces_tables": {
182+
"type": "object",
183+
"properties": {
184+
"apiVersion": {
185+
"type": "string",
186+
"enum": [
187+
"2021-06-01"
188+
]
189+
},
190+
"name": {
191+
"type": "string",
192+
"description": "The name of the table."
193+
},
194+
"properties": {
195+
"oneOf": [
196+
{
197+
"$ref": "#/definitions/TableProperties"
198+
},
199+
{
200+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
201+
}
202+
],
203+
"description": "Table properties."
204+
},
205+
"type": {
206+
"type": "string",
207+
"enum": [
208+
"Microsoft.OperationalInsights/workspaces/tables"
209+
]
210+
}
211+
},
212+
"required": [
213+
"apiVersion",
214+
"name",
215+
"properties",
216+
"type"
217+
],
218+
"description": "Microsoft.OperationalInsights/workspaces/tables"
170219
}
171220
},
172221
"definitions": {
@@ -359,6 +408,36 @@
359408
},
360409
"description": "The key vault properties."
361410
},
411+
"TableProperties": {
412+
"type": "object",
413+
"properties": {
414+
"isTroubleshootEnabled": {
415+
"oneOf": [
416+
{
417+
"type": "boolean"
418+
},
419+
{
420+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
421+
}
422+
],
423+
"description": "Enable or disable troubleshoot for this table."
424+
},
425+
"retentionInDays": {
426+
"oneOf": [
427+
{
428+
"type": "integer",
429+
"minimum": 7,
430+
"maximum": 730
431+
},
432+
{
433+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
434+
}
435+
],
436+
"description": "The data table data retention in days, between 7 and 730. Setting this property to null will default to the workspace retention."
437+
}
438+
},
439+
"description": "Table properties."
440+
},
362441
"UserIdentityProperties": {
363442
"type": "object",
364443
"properties": {},
@@ -602,6 +681,45 @@
602681
"name"
603682
],
604683
"description": "The SKU (tier) of a workspace."
684+
},
685+
"workspaces_tables_childResource": {
686+
"type": "object",
687+
"properties": {
688+
"apiVersion": {
689+
"type": "string",
690+
"enum": [
691+
"2021-06-01"
692+
]
693+
},
694+
"name": {
695+
"type": "string",
696+
"description": "The name of the table."
697+
},
698+
"properties": {
699+
"oneOf": [
700+
{
701+
"$ref": "#/definitions/TableProperties"
702+
},
703+
{
704+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
705+
}
706+
],
707+
"description": "Table properties."
708+
},
709+
"type": {
710+
"type": "string",
711+
"enum": [
712+
"tables"
713+
]
714+
}
715+
},
716+
"required": [
717+
"apiVersion",
718+
"name",
719+
"properties",
720+
"type"
721+
],
722+
"description": "Microsoft.OperationalInsights/workspaces/tables"
605723
}
606724
}
607725
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9814,6 +9814,9 @@
98149814
{
98159815
"$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.OperationalInsights.json#/resourceDefinitions/workspaces"
98169816
},
9817+
{
9818+
"$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.OperationalInsights.json#/resourceDefinitions/workspaces_tables"
9819+
},
98179820
{
98189821
"$ref": "https://schema.management.azure.com/schemas/2019-08-01-preview/Microsoft.Peering.json#/resourceDefinitions/peerings"
98199822
},
@@ -11530,15 +11533,6 @@
1153011533
{
1153111534
"$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_sharedPrivateLinkResources"
1153211535
},
11533-
{
11534-
"$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Solutions.solutions.json#/resourceDefinitions/applicationDefinitions"
11535-
},
11536-
{
11537-
"$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Solutions.solutions.json#/resourceDefinitions/applications"
11538-
},
11539-
{
11540-
"$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Solutions.solutions.json#/resourceDefinitions/jitRequests"
11541-
},
1154211536
{
1154311537
"$ref": "https://schema.management.azure.com/schemas/2016-09-01-preview/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/applianceDefinitions"
1154411538
},

0 commit comments

Comments
 (0)