From e9741727b2ae9c49adb521c5d43447dd45a3dd54 Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Thu, 12 Nov 2020 11:21:04 +0200 Subject: [PATCH 01/20] added3 new properties to TableProperties: IsTroubleshootingAllowed, IsTroubleshootingEnabled, IsTroubleshootingEnabledLastActivation. --- .../preview/2020-03-01-preview/Tables.json | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json index cf4e21a219ef..124e6dc3bda3 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json @@ -186,7 +186,24 @@ "minimum": 30, "maximum": 730, "description": "The data table data retention in days, between 30 and 730. Setting this property to null will default to the workspace retention." - } + }, + "IsTroubleshootingAllowed" : { + "readOnly": true, + "type": "bool", + "description": "Whether the table is capable of being IsTroubleshootingEnabled." + }, + "IsTroubleshootingEnabled" : { + "default": null, + "required": false, + "type": "bool", + "description": "Whether the table is in the state of IsTroubleshootingEnabled." + }, + "IsTroubleshootingEnabledLastActivation" : { + "default": null, + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "Last enabled time of IsTroubleshootingEnabled."} }, "description": "Table properties." }, @@ -238,4 +255,4 @@ "x-ms-parameter-location": "method" } } -} +} \ No newline at end of file From c35824b3abbc4d7f00ffcc86c2cef93dda12189c Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Mon, 30 Nov 2020 13:45:12 +0200 Subject: [PATCH 02/20] added Tables new api version --- .../preview/2020-03-01-preview/Clusters.json | 1 + .../preview/2020-03-01-preview/Tables.json | 7 +- .../stable/2020-10-01/Tables.json | 257 ++++++++++++++++++ .../stable/2020-10-01/examples/TablesGet.json | 23 ++ .../2020-10-01/examples/TablesList.json | 41 +++ .../2020-10-01/examples/TablesUpdate.json | 28 ++ 6 files changed, 353 insertions(+), 4 deletions(-) create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesList.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Clusters.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Clusters.json index 91082fab8381..dde5e08620d2 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Clusters.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Clusters.json @@ -336,6 +336,7 @@ "clusterId": { "type": "string", "readOnly": true, + "description": "The ID associated with the cluster." }, "provisioningState": { diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json index 124e6dc3bda3..b0b2efe51fe0 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json @@ -190,20 +190,19 @@ "IsTroubleshootingAllowed" : { "readOnly": true, "type": "bool", - "description": "Whether the table is capable of being IsTroubleshootingEnabled." + "description": "Specifies if IsTroubleshootingEnabled property can be set for this table." }, "IsTroubleshootingEnabled" : { "default": null, "required": false, "type": "bool", - "description": "Whether the table is in the state of IsTroubleshootingEnabled." + "description": "Enable or disable troubleshooting for this table." }, "IsTroubleshootingEnabledLastActivation" : { - "default": null, "readOnly": true, "type": "string", "format": "date-time", - "description": "Last enabled time of IsTroubleshootingEnabled."} + "description": "Last time when troubleshooting was set for this table."} }, "description": "Table properties." }, diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json new file mode 100644 index 000000000000..3bc6eaaab526 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -0,0 +1,257 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2020-10-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables": { + "get": { + "tags": [ + "Tables" + ], + "x-ms-examples": { + "TablesListByWorkspace": { + "$ref": "./examples/TablesList.json" + } + }, + "operationId": "Tables_ListByWorkspace", + "description": "Gets all the tables for the specified Log Analytics workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/TablesListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorContract" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}": { + "patch": { + "tags": [ + "Tables" + ], + "x-ms-examples": { + "TablesSet": { + "$ref": "./examples/TablesUpdate.json" + } + }, + "operationId": "Tables_Update", + "description": "Updates a Log Analytics workspace table properties.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TableNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Table" + }, + "description": "The parameters required to update table properties." + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Table" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorContract" + } + } + } + }, + "get": { + "tags": [ + "Tables" + ], + "x-ms-examples": { + "TablesGet": { + "$ref": "./examples/TablesGet.json" + } + }, + "operationId": "Tables_Get", + "description": "Gets a Log Analytics workspace table.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TableNameParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Table" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorContract" + } + } + } + } + } + }, + "definitions": { + "TableProperties": { + "properties": { + "retentionInDays": { + "type": "integer", + "format": "int32", + "minimum": 7, + "maximum": 730, + "description": "The data table data retention in days, between 7 and 730. Setting this property to null will default to the workspace retention." + }, + "IsTroubleshootingAllowed" : { + "readOnly": true, + "type": "bool", + "description": "Specifies if IsTroubleshootingEnabled property can be set for this table." + }, + "IsTroubleshootEnabled" : { + "default": null, + "required": false, + "type": "bool", + "description": "Enable or disable troubleshoot for this table." + }, + "LastTroubleshootDate" : { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "Last time when troubleshooting was set for this table."} + }, + "description": "Table properties." + }, + "Table": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/TableProperties", + "description": "Table properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Workspace data table definition." + }, + "TablesListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Table" + }, + "description": "A list of data tables." + } + }, + "description": "The list tables operation response." + }, + "ErrorContract": { + "title": "Error details.", + "description": "Contains details when the response code indicates an error.", + "properties": { + "error": { + "description": "The details of the error.", + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } + } + } + }, + "parameters": { + "TableNameParameter": { + "name": "tableName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the table.", + "x-ms-parameter-location": "method" + } + } + } \ No newline at end of file diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json new file mode 100644 index 000000000000..2e90e2cad49d --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2020-10-01", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "tableName": "table1" + }, + "responses": { + "200": { + "body": { + "properties": { + "retentionInDays": 30, + "IsTroubleshootingAllowed": true, + "isTroubleshootEnabled": true, + "lastTroubleshootDate": "Thu, 19 Nov 2020 07:40:51 GMT" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table1", + "name": "table1" + } + } + } + } \ No newline at end of file diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesList.json new file mode 100644 index 000000000000..b97c3804ef0d --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2020-10-01", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "properties": { + "retentionInDays": 30, + "IsTroubleshootingAllowed": true, + "isTroubleshootEnabled": true, + "lastTroubleshootDate": "Thu, 19 Nov 2020 07:40:51 GMT" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table1", + "name": "table1" + }, + { + "properties": { + "retentionInDays": 7, + "IsTroubleshootingAllowed": true + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table2", + "name": "table2" + }, + { + "properties": { + "retentionInDays": 7, + "IsTroubleshootingAllowed": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table3", + "name": "table3" + } + ] + } + } + } + \ No newline at end of file diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json new file mode 100644 index 000000000000..5587e815764c --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2020-10-01", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "tableName": "table1", + "parameters": { + "properties": { + "RetentionInDays": 40, + "IsTroubleshootEnabled": true + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "RetentionInDays": 40, + "IsTroubleshootEnabled": true + }, + "id": "/subscriptions/bbf99725-4174-4a55-a11c-94cf2eea98a6/resourcegroups/dabenham-rgtest/providers/Microsoft.OperationalInsights/workspaces/dabenhamistroubleshootinge2e/tables/AnotherTestE2E_CL", + "name": "AnotherTestE2E_CL" + } + } + } + } + From 7c7ddb43245eab1675b6d94bda1150e579b2dcd9 Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Tue, 8 Dec 2020 17:42:31 +0200 Subject: [PATCH 03/20] changed bool to boolean types --- .../stable/2020-10-01/Tables.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index 3bc6eaaab526..b6553fae4e8b 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -189,13 +189,13 @@ }, "IsTroubleshootingAllowed" : { "readOnly": true, - "type": "bool", + "type": "boolean", "description": "Specifies if IsTroubleshootingEnabled property can be set for this table." }, "IsTroubleshootEnabled" : { "default": null, "required": false, - "type": "bool", + "type": "boolean", "description": "Enable or disable troubleshoot for this table." }, "LastTroubleshootDate" : { From 1b399494011615b991985dc43a771c4d92f6236b Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Tue, 8 Dec 2020 18:33:27 +0200 Subject: [PATCH 04/20] prettified jsons --- .../preview/2020-03-01-preview/Clusters.json | 1 - .../preview/2020-03-01-preview/Tables.json | 13 +- .../stable/2020-10-01/Tables.json | 452 +++++++++--------- .../stable/2020-10-01/examples/TablesGet.json | 40 +- .../2020-10-01/examples/TablesList.json | 71 ++- .../2020-10-01/examples/TablesUpdate.json | 43 +- 6 files changed, 309 insertions(+), 311 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Clusters.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Clusters.json index dde5e08620d2..91082fab8381 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Clusters.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Clusters.json @@ -336,7 +336,6 @@ "clusterId": { "type": "string", "readOnly": true, - "description": "The ID associated with the cluster." }, "provisioningState": { diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json index b0b2efe51fe0..3fc30712c39c 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json @@ -187,22 +187,23 @@ "maximum": 730, "description": "The data table data retention in days, between 30 and 730. Setting this property to null will default to the workspace retention." }, - "IsTroubleshootingAllowed" : { + "IsTroubleshootingAllowed": { "readOnly": true, "type": "bool", "description": "Specifies if IsTroubleshootingEnabled property can be set for this table." }, - "IsTroubleshootingEnabled" : { + "IsTroubleshootingEnabled": { "default": null, "required": false, "type": "bool", "description": "Enable or disable troubleshooting for this table." }, - "IsTroubleshootingEnabledLastActivation" : { - "readOnly": true, + "IsTroubleshootingEnabledLastActivation": { + "readOnly": true, "type": "string", "format": "date-time", - "description": "Last time when troubleshooting was set for this table."} + "description": "Last time when troubleshooting was set for this table." + } }, "description": "Table properties." }, @@ -254,4 +255,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index b6553fae4e8b..d2c11d145b67 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -1,257 +1,257 @@ { - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2020-10-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2020-10-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables": { - "get": { - "tags": [ - "Tables" - ], - "x-ms-examples": { - "TablesListByWorkspace": { - "$ref": "./examples/TablesList.json" - } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables": { + "get": { + "tags": [ + "Tables" + ], + "x-ms-examples": { + "TablesListByWorkspace": { + "$ref": "./examples/TablesList.json" + } + }, + "operationId": "Tables_ListByWorkspace", + "description": "Gets all the tables for the specified Log Analytics workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "operationId": "Tables_ListByWorkspace", - "description": "Gets all the tables for the specified Log Analytics workspace.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/TablesListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorContract" - } - } + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}": { - "patch": { - "tags": [ - "Tables" - ], - "x-ms-examples": { - "TablesSet": { - "$ref": "./examples/TablesUpdate.json" - } + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" }, - "operationId": "Tables_Update", - "description": "Updates a Log Analytics workspace table properties.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TableNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Table" - }, - "description": "The parameters required to update table properties." - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/Table" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorContract" - } - } + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" } - }, - "get": { - "tags": [ - "Tables" - ], - "x-ms-examples": { - "TablesGet": { - "$ref": "./examples/TablesGet.json" + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/TablesListResult" } }, - "operationId": "Tables_Get", - "description": "Gets a Log Analytics workspace table.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TableNameParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/Table" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorContract" - } + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorContract" } } + }, + "x-ms-pageable": { + "nextLinkName": null } } }, - "definitions": { - "TableProperties": { - "properties": { - "retentionInDays": { - "type": "integer", - "format": "int32", - "minimum": 7, - "maximum": 730, - "description": "The data table data retention in days, between 7 and 730. Setting this property to null will default to the workspace retention." + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}": { + "patch": { + "tags": [ + "Tables" + ], + "x-ms-examples": { + "TablesSet": { + "$ref": "./examples/TablesUpdate.json" + } + }, + "operationId": "Tables_Update", + "description": "Updates a Log Analytics workspace table properties.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" }, - "IsTroubleshootingAllowed" : { - "readOnly": true, - "type": "boolean", - "description": "Specifies if IsTroubleshootingEnabled property can be set for this table." + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, - "IsTroubleshootEnabled" : { - "default": null, - "required": false, - "type": "boolean", - "description": "Enable or disable troubleshoot for this table." + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" }, - "LastTroubleshootDate" : { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Last time when troubleshooting was set for this table."} - }, - "description": "Table properties." + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TableNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Table" + }, + "description": "The parameters required to update table properties." + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Table" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorContract" + } + } + } }, - "Table": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/TableProperties", - "description": "Table properties." + "get": { + "tags": [ + "Tables" + ], + "x-ms-examples": { + "TablesGet": { + "$ref": "./examples/TablesGet.json" } }, - "allOf": [ + "operationId": "Tables_Get", + "description": "Gets a Log Analytics workspace table.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + "$ref": "#/parameters/TableNameParameter" } ], - "description": "Workspace data table definition." - }, - "TablesListResult": { - "properties": { - "value": { - "type": "array", - "items": { + "responses": { + "200": { + "description": "OK response definition.", + "schema": { "$ref": "#/definitions/Table" - }, - "description": "A list of data tables." + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorContract" + } } + } + } + } + }, + "definitions": { + "TableProperties": { + "properties": { + "retentionInDays": { + "type": "integer", + "format": "int32", + "minimum": 7, + "maximum": 730, + "description": "The data table data retention in days, between 7 and 730. Setting this property to null will default to the workspace retention." + }, + "IsTroubleshootingAllowed": { + "readOnly": true, + "type": "boolean", + "description": "Specifies if IsTroubleshootingEnabled property can be set for this table." + }, + "IsTroubleshootEnabled": { + "default": null, + "type": "boolean", + "description": "Enable or disable troubleshoot for this table." }, - "description": "The list tables operation response." + "LastTroubleshootDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "Last time when troubleshooting was set for this table." + } }, - "ErrorContract": { - "title": "Error details.", - "description": "Contains details when the response code indicates an error.", + "description": "Table properties." + }, + "Table": { + "properties": { "properties": { - "error": { - "description": "The details of the error.", - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" - } + "x-ms-client-flatten": true, + "$ref": "#/definitions/TableProperties", + "description": "Table properties." } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Workspace data table definition." }, - "parameters": { - "TableNameParameter": { - "name": "tableName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the table.", - "x-ms-parameter-location": "method" + "TablesListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Table" + }, + "description": "A list of data tables." + } + }, + "description": "The list tables operation response." + }, + "ErrorContract": { + "title": "Error details.", + "description": "Contains details when the response code indicates an error.", + "properties": { + "error": { + "description": "The details of the error.", + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + } } } - } \ No newline at end of file + }, + "parameters": { + "TableNameParameter": { + "name": "tableName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the table.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json index 2e90e2cad49d..2c8d57ba97e6 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json @@ -1,23 +1,23 @@ { - "parameters": { - "resourceGroupName": "oiautorest6685", - "workspaceName": "oiautorest6685", - "api-version": "2020-10-01", - "subscriptionId": "00000000-0000-0000-0000-00000000000", - "tableName": "table1" - }, - "responses": { - "200": { - "body": { - "properties": { - "retentionInDays": 30, - "IsTroubleshootingAllowed": true, - "isTroubleshootEnabled": true, - "lastTroubleshootDate": "Thu, 19 Nov 2020 07:40:51 GMT" - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table1", - "name": "table1" - } + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2020-10-01", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "tableName": "table1" + }, + "responses": { + "200": { + "body": { + "properties": { + "retentionInDays": 30, + "IsTroubleshootingAllowed": true, + "isTroubleshootEnabled": true, + "lastTroubleshootDate": "Thu, 19 Nov 2020 07:40:51 GMT" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table1", + "name": "table1" } } - } \ No newline at end of file + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesList.json index b97c3804ef0d..d696045a4e3f 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesList.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesList.json @@ -1,41 +1,40 @@ { - "parameters": { - "resourceGroupName": "oiautorest6685", - "workspaceName": "oiautorest6685", - "api-version": "2020-10-01", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": [ - { - "properties": { - "retentionInDays": 30, - "IsTroubleshootingAllowed": true, - "isTroubleshootEnabled": true, - "lastTroubleshootDate": "Thu, 19 Nov 2020 07:40:51 GMT" - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table1", - "name": "table1" + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2020-10-01", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "properties": { + "retentionInDays": 30, + "IsTroubleshootingAllowed": true, + "isTroubleshootEnabled": true, + "lastTroubleshootDate": "Thu, 19 Nov 2020 07:40:51 GMT" }, - { - "properties": { - "retentionInDays": 7, - "IsTroubleshootingAllowed": true - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table2", - "name": "table2" + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table1", + "name": "table1" + }, + { + "properties": { + "retentionInDays": 7, + "IsTroubleshootingAllowed": true }, - { - "properties": { - "retentionInDays": 7, - "IsTroubleshootingAllowed": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table3", - "name": "table3" - } - ] - } + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table2", + "name": "table2" + }, + { + "properties": { + "retentionInDays": 7, + "IsTroubleshootingAllowed": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table3", + "name": "table3" + } + ] } } - \ No newline at end of file +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json index 5587e815764c..1eca38467f0a 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json @@ -1,28 +1,27 @@ { + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2020-10-01", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "tableName": "table1", "parameters": { - "resourceGroupName": "oiautorest6685", - "workspaceName": "oiautorest6685", - "api-version": "2020-10-01", - "subscriptionId": "00000000-0000-0000-0000-00000000000", - "tableName": "table1", - "parameters": { - "properties": { - "RetentionInDays": 40, - "IsTroubleshootEnabled": true - } + "properties": { + "RetentionInDays": 40, + "IsTroubleshootEnabled": true } - }, - "responses": { - "200": { - "body": { - "properties": { - "RetentionInDays": 40, - "IsTroubleshootEnabled": true - }, - "id": "/subscriptions/bbf99725-4174-4a55-a11c-94cf2eea98a6/resourcegroups/dabenham-rgtest/providers/Microsoft.OperationalInsights/workspaces/dabenhamistroubleshootinge2e/tables/AnotherTestE2E_CL", - "name": "AnotherTestE2E_CL" - } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "RetentionInDays": 40, + "IsTroubleshootEnabled": true + }, + "id": "/subscriptions/bbf99725-4174-4a55-a11c-94cf2eea98a6/resourcegroups/dabenham-rgtest/providers/Microsoft.OperationalInsights/workspaces/dabenhamistroubleshootinge2e/tables/AnotherTestE2E_CL", + "name": "AnotherTestE2E_CL" } } } - +} From 2c95dac5428c2a32947215999a2f147b6481d163 Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Tue, 8 Dec 2020 18:57:57 +0200 Subject: [PATCH 05/20] fix erroes in swagger --- .../Microsoft.OperationalInsights/stable/2020-10-01/Tables.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index d2c11d145b67..507ca8168092 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -193,8 +193,8 @@ "description": "Specifies if IsTroubleshootingEnabled property can be set for this table." }, "IsTroubleshootEnabled": { - "default": null, "type": "boolean", + "default": null, "description": "Enable or disable troubleshoot for this table." }, "LastTroubleshootDate": { From 74d03ce30219fc996f46f0ebb409483f624ac11a Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Tue, 8 Dec 2020 19:02:16 +0200 Subject: [PATCH 06/20] undo changes to 2020-03-01-preview version --- .../preview/2020-03-01-preview/Tables.json | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json index 3fc30712c39c..cf4e21a219ef 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json @@ -186,23 +186,6 @@ "minimum": 30, "maximum": 730, "description": "The data table data retention in days, between 30 and 730. Setting this property to null will default to the workspace retention." - }, - "IsTroubleshootingAllowed": { - "readOnly": true, - "type": "bool", - "description": "Specifies if IsTroubleshootingEnabled property can be set for this table." - }, - "IsTroubleshootingEnabled": { - "default": null, - "required": false, - "type": "bool", - "description": "Enable or disable troubleshooting for this table." - }, - "IsTroubleshootingEnabledLastActivation": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Last time when troubleshooting was set for this table." } }, "description": "Table properties." From 34b2c90b6f16f244fa7ee355f246d5eddcfaef83 Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Wed, 9 Dec 2020 09:12:40 +0200 Subject: [PATCH 07/20] pr fixes --- .../stable/2020-10-01/Tables.json | 8 +++++--- .../stable/2020-10-01/examples/TablesGet.json | 2 +- .../stable/2020-10-01/examples/TablesList.json | 6 +++--- .../stable/2020-10-01/examples/TablesUpdate.json | 8 ++++---- .../operationalinsights/resource-manager/readme.md | 1 + 5 files changed, 14 insertions(+), 11 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index 507ca8168092..e7a708b8f865 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -187,18 +187,20 @@ "maximum": 730, "description": "The data table data retention in days, between 7 and 730. Setting this property to null will default to the workspace retention." }, - "IsTroubleshootingAllowed": { + "isTroubleshootingAllowed": { "readOnly": true, "type": "boolean", "description": "Specifies if IsTroubleshootingEnabled property can be set for this table." }, - "IsTroubleshootEnabled": { + "isTroubleshootEnabled": { "type": "boolean", "default": null, + "allowEmptyValue": true, "description": "Enable or disable troubleshoot for this table." }, - "LastTroubleshootDate": { + "lastTroubleshootDate": { "readOnly": true, + "allowEmptyValue": true, "type": "string", "format": "date-time", "description": "Last time when troubleshooting was set for this table." diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json index 2c8d57ba97e6..c05d332a9e08 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json @@ -11,7 +11,7 @@ "body": { "properties": { "retentionInDays": 30, - "IsTroubleshootingAllowed": true, + "isTroubleshootingAllowed": true, "isTroubleshootEnabled": true, "lastTroubleshootDate": "Thu, 19 Nov 2020 07:40:51 GMT" }, diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesList.json index d696045a4e3f..ef14768a5cdd 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesList.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesList.json @@ -11,7 +11,7 @@ { "properties": { "retentionInDays": 30, - "IsTroubleshootingAllowed": true, + "isTroubleshootingAllowed": true, "isTroubleshootEnabled": true, "lastTroubleshootDate": "Thu, 19 Nov 2020 07:40:51 GMT" }, @@ -21,7 +21,7 @@ { "properties": { "retentionInDays": 7, - "IsTroubleshootingAllowed": true + "isTroubleshootingAllowed": true }, "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table2", "name": "table2" @@ -29,7 +29,7 @@ { "properties": { "retentionInDays": 7, - "IsTroubleshootingAllowed": false + "isTroubleshootingAllowed": false }, "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table3", "name": "table3" diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json index 1eca38467f0a..16b3b49ba14e 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json @@ -7,8 +7,8 @@ "tableName": "table1", "parameters": { "properties": { - "RetentionInDays": 40, - "IsTroubleshootEnabled": true + "retentionInDays": 40, + "isTroubleshootEnabled": true } } }, @@ -16,8 +16,8 @@ "200": { "body": { "properties": { - "RetentionInDays": 40, - "IsTroubleshootEnabled": true + "retentionInDays": 40, + "isTroubleshootEnabled": true }, "id": "/subscriptions/bbf99725-4174-4a55-a11c-94cf2eea98a6/resourcegroups/dabenham-rgtest/providers/Microsoft.OperationalInsights/workspaces/dabenhamistroubleshootinge2e/tables/AnotherTestE2E_CL", "name": "AnotherTestE2E_CL" diff --git a/specification/operationalinsights/resource-manager/readme.md b/specification/operationalinsights/resource-manager/readme.md index 34124ff87b8d..bf11804a277a 100644 --- a/specification/operationalinsights/resource-manager/readme.md +++ b/specification/operationalinsights/resource-manager/readme.md @@ -99,6 +99,7 @@ These settings apply only when `--tag=package-2020-10` is specified on the comma input-file: - Microsoft.OperationalInsights/stable/2020-10-01/Clusters.json - Microsoft.OperationalInsights/stable/2020-10-01/Operations.json +- Microsoft.OperationalInsights/stable/2020-10-01/Tables.json ``` ### Tag: package-2020-08 From ddf0b0699e20dafcf761e5a8d89bec41cf0dada3 Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Wed, 9 Dec 2020 11:05:17 +0200 Subject: [PATCH 08/20] updated TableUpdate example --- .../stable/2020-10-01/Tables.json | 3 --- .../stable/2020-10-01/examples/TablesUpdate.json | 6 ++++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index e7a708b8f865..7dc28dd77326 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -194,13 +194,10 @@ }, "isTroubleshootEnabled": { "type": "boolean", - "default": null, - "allowEmptyValue": true, "description": "Enable or disable troubleshoot for this table." }, "lastTroubleshootDate": { "readOnly": true, - "allowEmptyValue": true, "type": "string", "format": "date-time", "description": "Last time when troubleshooting was set for this table." diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json index 16b3b49ba14e..37814f10eea1 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json @@ -8,6 +8,7 @@ "parameters": { "properties": { "retentionInDays": 40, + "isTroubleshootingAllowed": true, "isTroubleshootEnabled": true } } @@ -17,10 +18,11 @@ "body": { "properties": { "retentionInDays": 40, + "isTroubleshootingAllowed": true, "isTroubleshootEnabled": true }, - "id": "/subscriptions/bbf99725-4174-4a55-a11c-94cf2eea98a6/resourcegroups/dabenham-rgtest/providers/Microsoft.OperationalInsights/workspaces/dabenhamistroubleshootinge2e/tables/AnotherTestE2E_CL", - "name": "AnotherTestE2E_CL" + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/table1", + "name": "table1" } } } From faeedc452a3c441d423ab9086407d7c61e3e39a0 Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Wed, 9 Dec 2020 13:53:29 +0200 Subject: [PATCH 09/20] changed lastTroubleshootDate from date format to string, removed isTroubleshootingAllowed from body of example --- .../Microsoft.OperationalInsights/stable/2020-10-01/Tables.json | 1 - .../stable/2020-10-01/examples/TablesUpdate.json | 1 - 2 files changed, 2 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index 7dc28dd77326..d8c69c329d48 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -199,7 +199,6 @@ "lastTroubleshootDate": { "readOnly": true, "type": "string", - "format": "date-time", "description": "Last time when troubleshooting was set for this table." } }, diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json index 37814f10eea1..a58178289759 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json @@ -8,7 +8,6 @@ "parameters": { "properties": { "retentionInDays": 40, - "isTroubleshootingAllowed": true, "isTroubleshootEnabled": true } } From cb036a65ce8b91d78f834c87853385b1fc893abb Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Thu, 10 Dec 2020 13:39:55 +0200 Subject: [PATCH 10/20] changed v1 to v2 --- .../stable/2020-10-01/Tables.json | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index d8c69c329d48..3da7c1739919 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -48,16 +48,16 @@ "description": "Gets all the tables for the specified Log Analytics workspace.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + "$ref": "../../../common/v2/types.json#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -93,16 +93,16 @@ "description": "Updates a Log Analytics workspace table properties.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + "$ref": "../../../common/v2/types.json#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TableNameParameter" @@ -145,16 +145,16 @@ "description": "Gets a Log Analytics workspace table.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + "$ref": "../../../common/v2/types.json#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TableNameParameter" @@ -214,7 +214,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" } ], "description": "Workspace data table definition." @@ -237,7 +237,7 @@ "properties": { "error": { "description": "The details of the error.", - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } From 4dcfeda973bd94b996c09417c9c4609b7454b594 Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Thu, 10 Dec 2020 13:45:53 +0200 Subject: [PATCH 11/20] changed WorkspaceNameParameter back to V1 --- .../stable/2020-10-01/Tables.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index 3da7c1739919..f8a222fca3f8 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -54,7 +54,7 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../common/v2/types.json#/parameters/WorkspaceNameParameter" + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" @@ -99,7 +99,7 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../common/v2/types.json#/parameters/WorkspaceNameParameter" + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" @@ -151,7 +151,7 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../common/v2/types.json#/parameters/WorkspaceNameParameter" + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" From 78dc88bd09b19f240f9e574ccb18b7fec1748539 Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Thu, 10 Dec 2020 17:17:03 +0200 Subject: [PATCH 12/20] changed ErrorResponse to default ErrorResponse without ref to local definition --- .../stable/2020-10-01/Tables.json | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index f8a222fca3f8..75938dc1c7e8 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -70,7 +70,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorContract" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -127,7 +127,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorContract" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -170,7 +170,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorContract" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -230,16 +230,6 @@ } }, "description": "The list tables operation response." - }, - "ErrorContract": { - "title": "Error details.", - "description": "Contains details when the response code indicates an error.", - "properties": { - "error": { - "description": "The details of the error.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } } }, "parameters": { From d6da16d10c664a9ebe8eeadeb1af2801d2b34fe2 Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Thu, 10 Dec 2020 18:06:58 +0200 Subject: [PATCH 13/20] added systemData --- .../stable/2020-10-01/Tables.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index 75938dc1c7e8..0106b4b3b61e 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -128,6 +128,9 @@ "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } } @@ -171,6 +174,9 @@ "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } } From 06b2a7e39923899d0b2d715788e7a3bd1c6ad521 Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Thu, 10 Dec 2020 18:19:30 +0200 Subject: [PATCH 14/20] removed systemData --- .../stable/2020-10-01/Tables.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index 0106b4b3b61e..75938dc1c7e8 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -128,9 +128,6 @@ "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } } @@ -174,9 +171,6 @@ "description": "Error response describing why the operation failed.", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } } From c41c84bcd98ae4d0e48b7ee5f138ef17e0864e46 Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Thu, 10 Dec 2020 18:22:16 +0200 Subject: [PATCH 15/20] added systemData to Patch and Get --- .../stable/2020-10-01/Tables.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index 75938dc1c7e8..9e8c82343c67 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -76,6 +76,9 @@ }, "x-ms-pageable": { "nextLinkName": null + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -130,6 +133,9 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "get": { From 4805ec9bd640de90607fa677d52af8012c058d5e Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Thu, 10 Dec 2020 18:32:12 +0200 Subject: [PATCH 16/20] moved systemData to Table properties --- .../stable/2020-10-01/Tables.json | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index 9e8c82343c67..4751eddfbb21 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -76,9 +76,6 @@ }, "x-ms-pageable": { "nextLinkName": null - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -133,9 +130,6 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "get": { @@ -206,6 +200,10 @@ "readOnly": true, "type": "string", "description": "Last time when troubleshooting was set for this table." + }, + "systemData": { + "description": "The system metadata relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "description": "Table properties." From 71d6116d5f496cdde8cc19cde2540e088a97de8d Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Thu, 10 Dec 2020 19:45:10 +0200 Subject: [PATCH 17/20] deleted systemData from Table.json, added to Get and Put examles --- .../stable/2020-10-01/Tables.json | 4 ---- .../stable/2020-10-01/examples/TablesGet.json | 10 +++++++++- .../stable/2020-10-01/examples/TablesUpdate.json | 10 +++++++++- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index 4751eddfbb21..75938dc1c7e8 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -200,10 +200,6 @@ "readOnly": true, "type": "string", "description": "Last time when troubleshooting was set for this table." - }, - "systemData": { - "description": "The system metadata relating to this resource.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "description": "Table properties." diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json index c05d332a9e08..8e47ed57ea60 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesGet.json @@ -16,7 +16,15 @@ "lastTroubleshootDate": "Thu, 19 Nov 2020 07:40:51 GMT" }, "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/oiautorest6685/tables/table1", - "name": "table1" + "name": "table1", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + } } } } diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json index a58178289759..c7948ea9f56c 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/examples/TablesUpdate.json @@ -21,7 +21,15 @@ "isTroubleshootEnabled": true }, "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/table1", - "name": "table1" + "name": "table1", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + } } } } From dcfa4cff17caba9d418d5e6c62f39f9790f0f480 Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Thu, 10 Dec 2020 20:04:39 +0200 Subject: [PATCH 18/20] changed location of systemData in Tables.json --- .../stable/2020-10-01/Tables.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index 75938dc1c7e8..ebbce831c484 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -204,6 +204,10 @@ }, "description": "Table properties." }, + "systemData": { + "description": "The system metadata relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, "Table": { "properties": { "properties": { From 9a31037e80e8565f9e09315669a979720b65aad1 Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Thu, 10 Dec 2020 20:17:17 +0200 Subject: [PATCH 19/20] moved systemData to inside Table definition --- .../stable/2020-10-01/Tables.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index ebbce831c484..b813e3e0ec1c 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -204,10 +204,6 @@ }, "description": "Table properties." }, - "systemData": { - "description": "The system metadata relating to this resource.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, "Table": { "properties": { "properties": { @@ -221,7 +217,11 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" } ], - "description": "Workspace data table definition." + "description": "Workspace data table definition.", + "systemData": { + "description": "The system metadata relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } }, "TablesListResult": { "properties": { From 320c987bebcd24d02880d15fa6c66690cbbedebc Mon Sep 17 00:00:00 2001 From: daniel ben-hamoo Date: Sun, 13 Dec 2020 10:02:03 +0200 Subject: [PATCH 20/20] moved systemData inside Table properties --- .../stable/2020-10-01/Tables.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json index b813e3e0ec1c..79f061a9ee61 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-10-01/Tables.json @@ -210,6 +210,10 @@ "x-ms-client-flatten": true, "$ref": "#/definitions/TableProperties", "description": "Table properties." + }, + "systemData": { + "description": "The system metadata relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "allOf": [ @@ -217,11 +221,7 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" } ], - "description": "Workspace data table definition.", - "systemData": { - "description": "The system metadata relating to this resource.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - } + "description": "Workspace data table definition." }, "TablesListResult": { "properties": {