Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR operationalinsights] Add PUT operation for Tables endpoint and longRunning op for cluster Patch #2052

Merged
1 commit merged into from
Nov 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
118 changes: 118 additions & 0 deletions schemas/2021-06-01/Microsoft.OperationalInsights.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,16 @@
],
"description": "Workspace properties."
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/workspaces_tables_childResource"
}
]
}
},
"tags": {
"oneOf": [
{
Expand Down Expand Up @@ -167,6 +177,45 @@
"type"
],
"description": "Microsoft.OperationalInsights/workspaces"
},
"workspaces_tables": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-06-01"
]
},
"name": {
"type": "string",
"description": "The name of the table."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/TableProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Table properties."
},
"type": {
"type": "string",
"enum": [
"Microsoft.OperationalInsights/workspaces/tables"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.OperationalInsights/workspaces/tables"
}
},
"definitions": {
Expand Down Expand Up @@ -359,6 +408,36 @@
},
"description": "The key vault properties."
},
"TableProperties": {
"type": "object",
"properties": {
"isTroubleshootEnabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Enable or disable troubleshoot for this table."
},
"retentionInDays": {
"oneOf": [
{
"type": "integer",
"minimum": 7,
"maximum": 730
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The data table data retention in days, between 7 and 730. Setting this property to null will default to the workspace retention."
}
},
"description": "Table properties."
},
"UserIdentityProperties": {
"type": "object",
"properties": {},
Expand Down Expand Up @@ -602,6 +681,45 @@
"name"
],
"description": "The SKU (tier) of a workspace."
},
"workspaces_tables_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-06-01"
]
},
"name": {
"type": "string",
"description": "The name of the table."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/TableProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Table properties."
},
"type": {
"type": "string",
"enum": [
"tables"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.OperationalInsights/workspaces/tables"
}
}
}
12 changes: 3 additions & 9 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -9814,6 +9814,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.OperationalInsights.json#/resourceDefinitions/workspaces"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.OperationalInsights.json#/resourceDefinitions/workspaces_tables"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-08-01-preview/Microsoft.Peering.json#/resourceDefinitions/peerings"
},
Expand Down Expand Up @@ -11530,15 +11533,6 @@
{
"$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_sharedPrivateLinkResources"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Solutions.solutions.json#/resourceDefinitions/applicationDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Solutions.solutions.json#/resourceDefinitions/applications"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Solutions.solutions.json#/resourceDefinitions/jitRequests"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-09-01-preview/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/applianceDefinitions"
},
Expand Down