Skip to content

Commit

Permalink
[ReleasePR operationalinsights] Add PUT operation for Tables endpoint…
Browse files Browse the repository at this point in the history
  • Loading branch information
msftbot[bot] committed Nov 16, 2021
2 parents 5fdbc39 + 5445581 commit 66a3b9e
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 9 deletions.
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

0 comments on commit 66a3b9e

Please sign in to comment.