From 54b7b7afb03a75a2f83b49b635045d7f3b39c62a Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Sun, 25 Jul 2021 08:49:32 +0300 Subject: [PATCH 01/22] Microsoft.OperationalInsights: tables privatepreview --- .../2021-03-01-privatepreview/Tables.json | 509 + .../examples/TableCreateUpdate_MetaData.json | 127 + .../examples/TableCreateUpdate_Schema.json | 141 + .../TableCreateUpdate_SchemaMetaData.json | 28 + .../examples/TableDelete.json | 20 + .../examples/TableGet.json | 100 + .../examples/TableList.json | 244 + .../preview/2021-03-01-privatepreview/log.txt | 13738 ++++++++++++++++ .../resource-manager/readme.go.md | 10 + .../resource-manager/readme.java.md | 14 + .../resource-manager/readme.md | 9 + 11 files changed, 14940 insertions(+) create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_MetaData.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_Schema.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_SchemaMetaData.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableDelete.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableGet.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableList.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/log.txt diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json new file mode 100644 index 000000000000..63c3bf083409 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json @@ -0,0 +1,509 @@ +{ + "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/TableList.json" + } + }, + "operationId": "Tables_ListByWorkspace", + "description": "Gets all the tables for the specified Log Analytics workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}": { + "put": { + "tags": [ + "Tables" + ], + "x-ms-examples": { + "TableCreate_MetaDataChange": { + "$ref": "./examples/TableCreateUpdate_MetaData.json" + }, + "TableCreate_SchemaChange": { + "$ref": "./examples/TableCreateUpdate_Schema.json" + }, + "TableCreate_SchemaMetadaChange": { + "$ref": "./examples/TableCreateUpdate_SchemaMetaData.json" + } + }, + "operationId": "Tables_Upsert", + "description": "Update or Create a Log Analytics workspace table.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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" + } + }, + "202": { + "description": "Accepted response definition (Long running operation)." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Tables" + ], + "x-ms-examples": { + "TableCreate_MetaDataChange": { + "$ref": "./examples/TableCreateUpdate_MetaData.json" + }, + "TableCreate_SchemaChange": { + "$ref": "./examples/TableCreateUpdate_Schema.json" + }, + "TableCreate_SchemaMetadaChange": { + "$ref": "./examples/TableCreateUpdate_SchemaMetaData.json" + } + }, + "operationId": "Tables_Update", + "description": "Update a Log Analytics workspace table.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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" + } + }, + "202": { + "description": "Accepted response definition (Long running operation)." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "Tables" + ], + "x-ms-examples": { + "TablesGet": { + "$ref": "./examples/TableGet.json" + } + }, + "operationId": "Tables_Get", + "description": "Gets a Log Analytics workspace table.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Tables" + ], + "x-ms-examples": { + "TablesGet": { + "$ref": "./examples/TableDelete.json" + } + }, + "operationId": "Tables_Delete", + "description": "Delete a Log Analytics workspace table.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TableNameParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition." + }, + "202": { + "description": "Accepted response definition (Long running operation)." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "Column": { + "properties": { + "name": { + "type": "string", + "description": "Coulmn's name." + }, + "type": { + "type": "string", + "description": "Coulmn's data type.", + "enum": [ + "String", + "Int", + "Long", + "Real", + "Boolean", + "DateTime", + "Guid", + "Dynamic" + ], + "x-ms-enum": { + "name": "ColumnTypeEnum", + "modelAsString": true + } + }, + "dataTypeHint": { + "type": "string", + "description": "Coulmn's data type logical hint.", + "enum": [ + "URI", + "GUID", + "ARMPath", + "IP" + ], + "x-ms-enum": { + "name": "ColumnDataTypeHintEnum", + "modelAsString": true + } + }, + "displayName": { + "type": "string", + "description": "Coulmn display name." + }, + "description": { + "type": "string", + "description": "Coulmn description." + }, + "isDefaultDisplay": { + "readOnly": true, + "type": "boolean", + "description": "Is displayed by default." + }, + "isHidden": { + "readOnly": true, + "type": "boolean", + "description": "Is column hidden." + } + }, + "description": "Table column." + }, + "Schema": { + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Table's name." + }, + "displayName": { + "type": "string", + "description": "Table's display name." + }, + "description": { + "type": "string", + "description": "Table's description." + }, + "columns": { + "type": "array", + "items": { + "$ref": "#/definitions/Column" + }, + "description": "A list of table custom columns." + }, + "standardColumns": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/Column" + }, + "description": "A list of table standard columns." + }, + "categories": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "Table's Categories." + }, + "labels": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "Table's Labels." + }, + "source": { + "readOnly": true, + "type": "string", + "description": "Table's creator.", + "enum": [ + "Microsoft", + "Customer" + ], + "x-ms-enum": { + "name": "SourceEnum", + "modelAsString": true + } + }, + "solutions": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "Table is affiliated with which solutions." + }, + "isTroubleshootingAllowed": { + "readOnly": true, + "type": "boolean", + "description": "Specifies if IsTroubleshootingEnabled property can be set for this table." + } + }, + "description": "Table's schema." + }, + "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": { + "type": "boolean", + "description": "Enable or disable troubleshoot for this table." + }, + "lastTroubleshootDate": { + "readOnly": true, + "type": "string", + "description": "Last time when troubleshooting was set for this table." + }, + "schema": { + "$ref": "#/definitions/Schema", + "description": "Table's schema." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Table's current provisioning state, if updating the table is set to resource lock, forbidding any update to the table until the on going operation is concluded.", + "enum": [ + "Updating", + "Succeeded" + ], + "x-ms-enum": { + "name": "ProvisioningStateEnum", + "modelAsString": true + } + } + }, + "description": "Table's properties." + }, + "Table": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/TableProperties", + "description": "Table's properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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." + } + }, + "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/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_MetaData.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_MetaData.json new file mode 100644 index 000000000000..41cff5f7bb10 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_MetaData.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2021-03-01-privatepreview", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "tableName": "AzureNetworkFlow", + "parameters": { + "properties": { + "retentionInDays": 45 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "schema": { + "name": "AzureNetworkFlow", + "standardColumns": [ + { + "isHidden": true, + "name": "TenantId", + "type": "guid", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceSystem", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TimeGenerated", + "type": "dateTime", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "AgentID", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceIP", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Protocol", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourcePort", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "DestinationPort", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TcpFlags", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Packets", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Bytes", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "BytesOut", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "DurationInMs", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "RstCount", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "MaxSampleRtt", + "type": "int", + "isDefaultDisplay": false + } + ], + "solutions": [ + "LogManagement" + ], + "isTroubleshootingAllowed": false + }, + "provisioningState": "Succeeded", + "retentionInDays": 45, + "isTroubleshootingAllowed": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow", + "name": "AzureNetworkFlow" + } + } + } + } + \ No newline at end of file diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_Schema.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_Schema.json new file mode 100644 index 000000000000..d4280f7e6c36 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_Schema.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2021-03-01-privatepreview", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "tableName": "AzureNetworkFlow", + "parameters": { + "properties": { + "schema": { + "columns": [ + { + "name": "MyNewColumn", + "type": "guid" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "schema": { + "name": "AzureNetworkFlow", + "columns": [ + { + "isHidden": false, + "name": "MyNewColumn", + "type": "guid", + "isDefaultDisplay": false + } + ], + "standardColumns": [ + { + "isHidden": true, + "name": "TenantId", + "type": "guid", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceSystem", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TimeGenerated", + "type": "dateTime", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "AgentID", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceIP", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Protocol", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourcePort", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "DestinationPort", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TcpFlags", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Packets", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Bytes", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "BytesOut", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "DurationInMs", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "RstCount", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "MaxSampleRtt", + "type": "int", + "isDefaultDisplay": false + } + ], + "solutions": [ + "LogManagement" + ], + "isTroubleshootingAllowed": false + }, + "provisioningState": "Succeeded", + "retentionInDays": 30, + "isTroubleshootingAllowed": false + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow", + "name": "AzureNetworkFlow" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_SchemaMetaData.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_SchemaMetaData.json new file mode 100644 index 000000000000..253e1181be90 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_SchemaMetaData.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2021-03-01-privatepreview", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "tableName": "AzureNetworkFlow", + "parameters": { + "properties": { + "schema": { + "columns": [ + { + "name": "MyNewColumn", + "type": "guid" + } + ] + }, + "retentionInDays": 45 + } + } + }, + "responses": { + "202": { + "body": { + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableDelete.json new file mode 100644 index 000000000000..f2814ad5e988 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2021-03-01-privatepreview", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "tableName": "table1_CL" + }, + "responses": { + "200": { + "body": { + } + }, + "202": { + "body": { + } + } + } +} + \ No newline at end of file diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableGet.json new file mode 100644 index 000000000000..815bb65c0958 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableGet.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2021-03-01-privatepreview", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "tableName": "table1_CL" + }, + "responses": { + "200": { + "body": { + "properties": { + "schema": { + "name": "table1_CL", + "displayName": null, + "description": null, + "columns": [], + "standardColumns": [ + { + "isHidden": false, + "name": "TenantId", + "type": "guid", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceSystem", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "MG", + "type": "guid", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "ManagementGroupName", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TimeGenerated", + "type": "dateTime", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Computer", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "RawData", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + } + ], + "categories": null, + "labels": null, + "source": null, + "solutions": [ + "LogManagement" + ], + "isTroubleshootingAllowed": false + }, + "provisioningState": "Succeeded", + "isTroubleshootingAllowed": false, + "retentionInDays": 50 + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/table1_CL", + "name": "table1_CL" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableList.json new file mode 100644 index 000000000000..7d7d5e715ff6 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableList.json @@ -0,0 +1,244 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2021-03-01-privatepreview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "schema": { + "name": "AzureNetworkFlow", + "displayName": null, + "description": null, + "columns": null, + "standardColumns": [ + { + "isHidden": true, + "name": "TenantId", + "type": "guid", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceSystem", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TimeGenerated", + "type": "dateTime", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "AgentID", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceIP", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Protocol", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourcePort", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "DestinationPort", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TcpFlags", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Packets", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Bytes", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "BytesOut", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "DurationInMs", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "RstCount", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "MaxSampleRtt", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + } + ], + "categories": null, + "labels": null, + "source": null, + "solutions": [ + "LogManagement" + ], + "isTroubleshootingAllowed": false + }, + "provisioningState": "Succeeded", + "isTroubleshootingAllowed": false, + "retentionInDays": 30 + }, + "name": "AzureNetworkFlow", + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow" + }, + { + "properties": { + "schema": { + "name": "SurfaceHubDns", + "displayName": null, + "description": null, + "columns": null, + "standardColumns": [ + { + "isHidden": true, + "name": "TenantId", + "type": "guid", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceSystem", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TimeGenerated", + "type": "dateTime", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "QueryName", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "ComputerName", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + } + ], + "categories": null, + "labels": null, + "source": null, + "solutions": [ + "LogManagement" + ], + "isTroubleshootingAllowed": false + }, + "provisioningState": "Succeeded", + "isTroubleshootingAllowed": false, + "retentionInDays": 30 + }, + "name": "SurfaceHubDns", + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/SurfaceHubDns" + } + ] + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/log.txt b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/log.txt new file mode 100644 index 000000000000..57b48f2de133 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/log.txt @@ -0,0 +1,13738 @@ +start generated example for Tables_ListByWorkspace, rule:MaximumSet +{ message: 'extractResponse', level: '\u001b[32minfo\u001b[39m' } +{ + message: { + parameters: { + subscriptionId: '00000000-0000-0000-0000-00000000000', + resourceGroupName: 'rgTables', + workspaceName: 'oiautorest6685', + 'api-version': '2020-10-01' + }, + responses: { + '200': { + headers: undefined, + body: { + value: [ + { + properties: { + schema: { + name: 'AzureNetworkFlow', + displayName: 'aaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaa', + columns: [ + { + name: 'aaaaaaaa', + type: 'String', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'a', + isDefaultDisplay: true, + isHidden: true + } + ], + standardColumns: [ + { + isHidden: true, + name: 'TenantId', + type: 'guid', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaa', + description: 'aaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'SourceSystem', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'TimeGenerated', + type: 'dateTime', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'AgentID', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'SourceIP', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaa', + description: 'aaaaaaaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'Protocol', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaa', + description: 'aaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'SourcePort', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'DestinationPort', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'TcpFlags', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'Packets', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aa', + description: 'aaaaaaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'Bytes', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'a', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'BytesOut', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaa', + description: 'aaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'DurationInMs', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaa', + description: 'aaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'RstCount', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'MaxSampleRtt', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + } + ], + categories: [ 'aaaaaaaaaaaaaaaaaaa' ], + labels: [ 'aaaaaaaaaaaaaaaaaaaa' ], + source: 'Microsoft', + solutions: [ 'LogManagement' ], + isTroubleshootingAllowed: true + }, + provisioningState: 'Succeeded', + isTroubleshootingAllowed: true, + retentionInDays: 30, + isTroubleshootEnabled: true, + lastTroubleshootDate: 'aaaaa' + }, + name: 'AzureNetworkFlow', + id: '/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow', + type: 'aaaaaaaaaaaaaaaaaaaaaa' + }, + { + properties: { + schema: { + name: 'SurfaceHubDns', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaa', + columns: [ + { + name: 'aaaaaaaa', + type: 'String', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'a', + isDefaultDisplay: true, + isHidden: true + } + ], + standardColumns: [ + { + isHidden: true, + name: 'TenantId', + type: 'guid', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'SourceSystem', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaa', + description: 'aa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'TimeGenerated', + type: 'dateTime', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'QueryName', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'ComputerName', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + } + ], + categories: [ 'aaaaaaaaaaaaaaaaaaaaaa' ], + labels: [ 'aaaaaaaaaaa' ], + source: 'Microsoft', + solutions: [ 'LogManagement' ], + isTroubleshootingAllowed: true + }, + provisioningState: 'Succeeded', + isTroubleshootingAllowed: true, + retentionInDays: 30, + isTroubleshootEnabled: true, + lastTroubleshootDate: 'aaaaaaaaaaa' + }, + name: 'SurfaceHubDns', + id: '/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/SurfaceHubDns', + type: 'aaaaaaaaaaaaaaaaaaaaa' + } + ] + } + } + } + }, + level: '\u001b[32minfo\u001b[39m' +} +example file path: C:\one\Mgmt\azure-rest-api-specs\specification\operationalinsights\resource-manager\Microsoft.OperationalInsights\preview\2021-03-01-privatepreview\examples\Tables_ListByWorkspace_MaximumSet_Gen.json +{ + message: 'start validating generated example for Tables_ListByWorkspace', + level: '\u001b[32minfo\u001b[39m' +} +{ + message: 'Validating "examples" and "x-ms-examples" in .\\Tables.json:\n', + level: '\u001b[32minfo\u001b[39m' +} +{ + message: 'Request parameters for x-ms-example "TablesListByWorkspace" in operation "Tables_ListByWorkspace" is valid.', + level: '\u001b[32minfo\u001b[39m' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TablesListByWorkspace" in operation "Tables_ListByWorkspace".', + innerErrors: [ + { + code: 'INVALID_RESPONSE_BODY', + errors: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'value' ], + title: '#/definitions/TablesListResult/properties/value', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'value', 0 ], + title: '#/definitions/TablesListResult/properties/value/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'properties' ], + title: '#/definitions/Table/properties/properties', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 1, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 2, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 3, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 4, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 5, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 6, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 7, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 8, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 9, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 10, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 11, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 12, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 13, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 14, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/TablesListResult/properties/value/items', + position: { line: 505, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 505, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 12, column: 11 }, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'value', 1 ], + title: '#/definitions/TablesListResult/properties/value/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 1, 'properties' ], + title: '#/definitions/Table/properties/properties', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 1, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 2, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 3, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 4, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 1 ], + title: '#/definitions/TablesListResult/properties/value/items', + position: { line: 505, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 505, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 171, column: 11 }, + jsonUrl: 'examples/TableList.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'value' ], + title: '#/definitions/TablesListResult/properties/value', + position: { line: 503, column: 18 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 11, column: 18 }, + jsonUrl: 'examples/TableList.json' + } + ], + position: { line: 503, column: 18 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 11, column: 18 }, + jsonUrl: 'examples/TableList.json' + } + ], + message: "Invalid body: Data does not match any schemas from 'anyOf'", + path: [] + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TablesListByWorkspace" in operation "Tables_ListByWorkspace".:\n' +} +{ + message: 'Request parameters for x-ms-example "Tables_ListByWorkspace_MaximumSet_Gen" in operation "Tables_ListByWorkspace" is valid.', + level: '\u001b[32minfo\u001b[39m' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_ListByWorkspace_MaximumSet_Gen" in operation "Tables_ListByWorkspace".', + innerErrors: [ + { + code: 'INVALID_RESPONSE_BODY', + errors: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'value' ], + title: '#/definitions/TablesListResult/properties/value', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'value', 0 ], + title: '#/definitions/TablesListResult/properties/value/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'properties' ], + title: '#/definitions/Table/properties/properties', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 1, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 2, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 3, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 4, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 5, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 6, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 7, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 8, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 9, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 10, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 11, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 12, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 13, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 14, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/TablesListResult/properties/value/items', + position: { line: 505, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 505, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 12, column: 11 }, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'value', 1 ], + title: '#/definitions/TablesListResult/properties/value/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 1, 'properties' ], + title: '#/definitions/Table/properties/properties', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 1, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 2, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 3, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 4, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 1 ], + title: '#/definitions/TablesListResult/properties/value/items', + position: { line: 505, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 505, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 188, column: 11 }, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'value' ], + title: '#/definitions/TablesListResult/properties/value', + position: { line: 503, column: 18 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 11, column: 18 }, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + position: { line: 503, column: 18 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 11, column: 18 }, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' + } + ], + message: "Invalid body: Data does not match any schemas from 'anyOf'", + path: [] + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_ListByWorkspace_MaximumSet_Gen" in operation "Tables_ListByWorkspace".:\n' +} +{ + message: 'the validation raised below error:', + level: '\u001b[31merror\u001b[39m' +} +{ + message: [ + { + operationId: 'Tables_ListByWorkspace', + scenario: 'TablesListByWorkspace', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/value/0/properties/schema/standardColumns/standardColumns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json', + jsonPath: "$['value'][0]['properties']['schema']['standardColumns']['standardColumns'][0]['type']", + similarPaths: [ '$/value/1/properties/schema/standardColumns/0/type' ], + similarJsonPaths: [ + "$['value'][1]['properties']['schema']['standardColumns'][0]['type']" + ] + } + }, + { + operationId: 'Tables_ListByWorkspace', + scenario: 'TablesListByWorkspace', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: '$/value/0/properties/schema/standardColumns/1/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json', + jsonPath: "$['value'][0]['properties']['schema']['standardColumns'][1]['type']", + similarPaths: [ + '$/value/0/properties/schema/standardColumns/3/type', + '$/value/0/properties/schema/standardColumns/4/type', + '$/value/0/properties/schema/standardColumns/5/type', + '$/value/1/properties/schema/standardColumns/standardColumns/1/type' + ], + similarJsonPaths: [ + "$['value'][0]['properties']['schema']['standardColumns'][3]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][4]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][5]['type']", + "$['value'][1]['properties']['schema']['standardColumns']['standardColumns'][1]['type']" + ] + } + }, + { + operationId: 'Tables_ListByWorkspace', + scenario: 'TablesListByWorkspace', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: '$/value/0/properties/schema/standardColumns/2/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json', + jsonPath: "$['value'][0]['properties']['schema']['standardColumns'][2]['type']", + similarPaths: [ '$/value/1/properties/schema/standardColumns/2/type' ], + similarJsonPaths: [ + "$['value'][1]['properties']['schema']['standardColumns'][2]['type']" + ] + } + }, + { + operationId: 'Tables_ListByWorkspace', + scenario: 'TablesListByWorkspace', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: '$/value/0/properties/schema/standardColumns/6/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableList.json', + jsonPath: "$['value'][0]['properties']['schema']['standardColumns'][6]['type']", + similarPaths: [ + '$/value/0/properties/schema/standardColumns/7/type', + '$/value/0/properties/schema/standardColumns/8/type', + '$/value/0/properties/schema/standardColumns/9/type', + '$/value/0/properties/schema/standardColumns/10/type', + '$/value/0/properties/schema/standardColumns/11/type', + '$/value/0/properties/schema/standardColumns/12/type', + '$/value/0/properties/schema/standardColumns/13/type', + '$/value/0/properties/schema/standardColumns/14/type' + ], + similarJsonPaths: [ + "$['value'][0]['properties']['schema']['standardColumns'][7]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][8]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][9]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][10]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][11]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][12]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][13]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][14]['type']" + ] + } + }, + { + operationId: 'Tables_ListByWorkspace', + scenario: 'Tables_ListByWorkspace_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/value/0/properties/schema/standardColumns/standardColumns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json', + jsonPath: "$['value'][0]['properties']['schema']['standardColumns']['standardColumns'][0]['type']", + similarPaths: [ '$/value/1/properties/schema/standardColumns/0/type' ], + similarJsonPaths: [ + "$['value'][1]['properties']['schema']['standardColumns'][0]['type']" + ] + } + }, + { + operationId: 'Tables_ListByWorkspace', + scenario: 'Tables_ListByWorkspace_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: '$/value/0/properties/schema/standardColumns/1/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json', + jsonPath: "$['value'][0]['properties']['schema']['standardColumns'][1]['type']", + similarPaths: [ + '$/value/0/properties/schema/standardColumns/3/type', + '$/value/0/properties/schema/standardColumns/4/type', + '$/value/0/properties/schema/standardColumns/5/type', + '$/value/1/properties/schema/standardColumns/standardColumns/1/type' + ], + similarJsonPaths: [ + "$['value'][0]['properties']['schema']['standardColumns'][3]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][4]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][5]['type']", + "$['value'][1]['properties']['schema']['standardColumns']['standardColumns'][1]['type']" + ] + } + }, + { + operationId: 'Tables_ListByWorkspace', + scenario: 'Tables_ListByWorkspace_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: '$/value/0/properties/schema/standardColumns/2/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json', + jsonPath: "$['value'][0]['properties']['schema']['standardColumns'][2]['type']", + similarPaths: [ '$/value/1/properties/schema/standardColumns/2/type' ], + similarJsonPaths: [ + "$['value'][1]['properties']['schema']['standardColumns'][2]['type']" + ] + } + }, + { + operationId: 'Tables_ListByWorkspace', + scenario: 'Tables_ListByWorkspace_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: '$/value/0/properties/schema/standardColumns/6/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json', + jsonPath: "$['value'][0]['properties']['schema']['standardColumns'][6]['type']", + similarPaths: [ + '$/value/0/properties/schema/standardColumns/7/type', + '$/value/0/properties/schema/standardColumns/8/type', + '$/value/0/properties/schema/standardColumns/9/type', + '$/value/0/properties/schema/standardColumns/10/type', + '$/value/0/properties/schema/standardColumns/11/type', + '$/value/0/properties/schema/standardColumns/12/type', + '$/value/0/properties/schema/standardColumns/13/type', + '$/value/0/properties/schema/standardColumns/14/type' + ], + similarJsonPaths: [ + "$['value'][0]['properties']['schema']['standardColumns'][7]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][8]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][9]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][10]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][11]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][12]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][13]['type']", + "$['value'][0]['properties']['schema']['standardColumns'][14]['type']" + ] + } + } + ], + level: '\u001b[31merror\u001b[39m' +} +start generated example for Tables_Upsert, rule:MaximumSet +{ message: 'extractResponse', level: '\u001b[32minfo\u001b[39m' } +{ + message: { + parameters: { + subscriptionId: '00000000-0000-0000-0000-00000000000', + resourceGroupName: 'rgTables', + workspaceName: 'oiautorest6685', + 'api-version': '2020-10-01', + tableName: 'AzureNetworkFlow', + parameters: { + properties: { + retentionInDays: 45, + isTroubleshootEnabled: true, + schema: { + displayName: 'aaaaaaaaaaaa', + description: 'a', + columns: [ + { + name: 'aaaaaaaa', + type: 'String', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'a' + } + ] + } + } + } + }, + responses: { + '200': { + headers: undefined, + body: { + properties: { + retentionInDays: 45, + isTroubleshootingAllowed: true, + isTroubleshootEnabled: true, + lastTroubleshootDate: 'aaaaaaa', + schema: { + name: 'AzureNetworkFlow', + displayName: 'aaaaaaaaaaaa', + description: 'a', + columns: [ + { + name: 'aaaaaaaa', + type: 'String', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'a', + isDefaultDisplay: true, + isHidden: true + } + ], + standardColumns: [ + { + isHidden: true, + name: 'TenantId', + type: 'guid', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaa', + description: 'aaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'SourceSystem', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'TimeGenerated', + type: 'dateTime', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'AgentID', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'SourceIP', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaa', + description: 'aaaaaaaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'Protocol', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaa', + description: 'aaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'SourcePort', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'DestinationPort', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'TcpFlags', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'Packets', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aa', + description: 'aaaaaaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'Bytes', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'a', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'BytesOut', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaa', + description: 'aaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'DurationInMs', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaa', + description: 'aaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'RstCount', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'MaxSampleRtt', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + } + ], + categories: [ 'aaaaaaaaaaaaaaaaaa' ], + labels: [ 'aaaaaaaaaaaaaaaaaaaaaaaaaaa' ], + source: 'Microsoft', + solutions: [ 'LogManagement' ], + isTroubleshootingAllowed: true + }, + provisioningState: 'Succeeded' + }, + id: '/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow', + name: 'AzureNetworkFlow', + type: 'aaaaaaaaaaaaaa' + } + }, + '202': { headers: undefined, body: undefined } + } + }, + level: '\u001b[32minfo\u001b[39m' +} +example file path: C:\one\Mgmt\azure-rest-api-specs\specification\operationalinsights\resource-manager\Microsoft.OperationalInsights\preview\2021-03-01-privatepreview\examples\Tables_Upsert_MaximumSet_Gen.json +{ + message: 'start validating generated example for Tables_Upsert', + level: '\u001b[32minfo\u001b[39m' +} +{ + message: 'Validating "examples" and "x-ms-examples" in .\\Tables.json:\n', + level: '\u001b[32minfo\u001b[39m' +} +{ + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "202" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: '\u001b[31merror\u001b[39m' +} +{ + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "202" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: '\u001b[31merror\u001b[39m' +} +{ + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + id: 'OAV113', + message: 'Response statusCode "202" for operation "Tables_Upsert" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', + level: '\u001b[31merror\u001b[39m' +} +{ + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "200" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: '\u001b[31merror\u001b[39m' +} +{ + message: 'Request parameters for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Upsert" is valid.', + level: '\u001b[32minfo\u001b[39m' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Upsert".', + innerErrors: [ + { + code: 'INVALID_RESPONSE_BODY', + errors: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 1, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 2, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 3, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 4, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 5, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 6, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 7, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 8, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 9, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 10, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 11, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 12, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 13, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 14, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 18, column: 23 }, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 17, column: 25 }, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 17, column: 25 }, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + message: "Invalid body: Data does not match any schemas from 'anyOf'", + path: [] + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Upsert".:\n' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Upsert".', + innerErrors: [ + { + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "202" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Upsert\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Upsert".:\n' +} +{ + code: 'REQUEST_VALIDATION_ERROR', + id: 'OAV109', + message: 'Found errors in validating the request for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Upsert".:\n' + + ' Found errors in validating the request for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Upsert".', + innerErrors: [ + { + code: 'INVALID_REQUEST_PARAMETER', + errors: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties' ], + title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'columns' ], + title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'columns', 0 ], + title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', + description: "Coulmn's data type." + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'columns' ], + title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}' + } + ] + } + ], + in: 'body', + message: 'Invalid parameter (parameters): Value failed JSON Schema validation', + name: 'parameters', + path: [ 'parameters', 'parameters' ], + schemaPath: '#/paths/~1subscriptions~1{subscriptionId}~1resourcegroups~1{resourceGroupName}~1providers~1Microsoft.OperationalInsights~1workspaces~1{workspaceName}~1tables~1{tableName}/put/parameters/5', + title: '{"path":["parameters","parameters"],"position":{"line":8,"column":19},"url":"examples/TableCreateUpdate_Schema.json"}' + } + ], + level: '\u001b[31merror\u001b[39m' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Upsert".', + innerErrors: [ + { + code: 'INVALID_RESPONSE_BODY', + errors: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'columns' ], + title: '#/definitions/Schema/properties/columns', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'columns', 0 ], + title: '#/definitions/Schema/properties/columns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/Schema/properties/columns/items', + position: { line: 385, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 385, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'columns' ], + title: '#/definitions/Schema/properties/columns', + position: { line: 383, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 383, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 1, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 2, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 3, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 4, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 5, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 6, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 7, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 8, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 9, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 10, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 11, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 12, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 13, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 14, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 25, column: 21 }, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 24, column: 23 }, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 24, column: 23 }, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + message: "Invalid body: Data does not match any schemas from 'anyOf'", + path: [] + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Upsert".:\n' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Upsert".', + innerErrors: [ + { + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "202" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Upsert\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Upsert".:\n' +} +{ + code: 'REQUEST_VALIDATION_ERROR', + id: 'OAV109', + message: 'Found errors in validating the request for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Upsert".:\n' + + ' Found errors in validating the request for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Upsert".', + innerErrors: [ + { + code: 'INVALID_REQUEST_PARAMETER', + errors: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties' ], + title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'columns' ], + title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'columns', 0 ], + title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', + description: "Coulmn's data type." + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'columns' ], + title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}' + } + ] + } + ], + in: 'body', + message: 'Invalid parameter (parameters): Value failed JSON Schema validation', + name: 'parameters', + path: [ 'parameters', 'parameters' ], + schemaPath: '#/paths/~1subscriptions~1{subscriptionId}~1resourcegroups~1{resourceGroupName}~1providers~1Microsoft.OperationalInsights~1workspaces~1{workspaceName}~1tables~1{tableName}/put/parameters/5', + title: '{"path":["parameters","parameters"],"position":{"line":8,"column":19},"url":"examples/TableCreateUpdate_SchemaMetaData.json"}' + } + ], + level: '\u001b[31merror\u001b[39m' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Upsert".', + innerErrors: [ + { + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "200" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"200\\" for operation \\"Tables_Upsert\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Upsert".:\n' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Upsert".', + innerErrors: [ + { + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + id: 'OAV113', + message: 'Response statusCode "202" for operation "Tables_Upsert" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"202\\" for operation \\"Tables_Upsert\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Upsert".:\n' +} +{ + message: 'Request parameters for x-ms-example "Tables_Upsert_MaximumSet_Gen" in operation "Tables_Upsert" is valid.', + level: '\u001b[32minfo\u001b[39m' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_Upsert_MaximumSet_Gen" in operation "Tables_Upsert".', + innerErrors: [ + { + code: 'INVALID_RESPONSE_BODY', + errors: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 1, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 2, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 3, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 4, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 5, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 6, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 7, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 8, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 9, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 10, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 11, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 12, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 13, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 14, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 36, column: 21 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 31, column: 23 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 31, column: 23 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' + } + ], + message: "Invalid body: Data does not match any schemas from 'anyOf'", + path: [] + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_Upsert_MaximumSet_Gen" in operation "Tables_Upsert".:\n' +} +{ + message: 'Response with statusCode "202" for x-ms-example "Tables_Upsert_MaximumSet_Gen" in operation "Tables_Upsert" is valid.', + level: '\u001b[32minfo\u001b[39m' +} +{ + message: 'the validation raised below error:', + level: '\u001b[31merror\u001b[39m' +} +{ + message: [ + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_MetaDataChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/properties/schema/standardColumns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json', + jsonPath: "$['properties']['schema']['standardColumns'][0]['type']" + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_MetaDataChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: '$/properties/schema/standardColumns/1/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json', + jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/3/type', + '$/properties/schema/standardColumns/4/type', + '$/properties/schema/standardColumns/5/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][3]['type']", + "$['properties']['schema']['standardColumns'][4]['type']", + "$['properties']['schema']['standardColumns'][5]['type']" + ] + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_MetaDataChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: '$/properties/schema/standardColumns/2/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json', + jsonPath: "$['properties']['schema']['standardColumns'][2]['type']" + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_MetaDataChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: '$/properties/schema/standardColumns/6/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json', + jsonPath: "$['properties']['schema']['standardColumns'][6]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/7/type', + '$/properties/schema/standardColumns/8/type', + '$/properties/schema/standardColumns/9/type', + '$/properties/schema/standardColumns/10/type', + '$/properties/schema/standardColumns/11/type', + '$/properties/schema/standardColumns/12/type', + '$/properties/schema/standardColumns/13/type', + '$/properties/schema/standardColumns/14/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][7]['type']", + "$['properties']['schema']['standardColumns'][8]['type']", + "$['properties']['schema']['standardColumns'][9]['type']", + "$['properties']['schema']['standardColumns'][10]['type']", + "$['properties']['schema']['standardColumns'][11]['type']", + "$['properties']['schema']['standardColumns'][12]['type']", + "$['properties']['schema']['standardColumns'][13]['type']", + "$['properties']['schema']['standardColumns'][14]['type']" + ] + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_MetaDataChange', + source: 'response', + responseCode: '202', + severity: 0, + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + details: { + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "202" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Upsert\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_SchemaChange', + source: 'request', + responseCode: 'ALL', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/properties/schema/columns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + jsonPath: "$['properties']['schema']['columns'][0]['type']", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {} + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_SchemaChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/properties/schema/columns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json', + jsonPath: "$['properties']['schema']['columns'][0]['type']" + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_SchemaChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/properties/schema/standardColumns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json', + jsonPath: "$['properties']['schema']['standardColumns'][0]['type']" + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_SchemaChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: '$/properties/schema/standardColumns/1/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json', + jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/3/type', + '$/properties/schema/standardColumns/4/type', + '$/properties/schema/standardColumns/5/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][3]['type']", + "$['properties']['schema']['standardColumns'][4]['type']", + "$['properties']['schema']['standardColumns'][5]['type']" + ] + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_SchemaChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: '$/properties/schema/standardColumns/2/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json', + jsonPath: "$['properties']['schema']['standardColumns'][2]['type']" + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_SchemaChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: '$/properties/schema/standardColumns/6/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json', + jsonPath: "$['properties']['schema']['standardColumns'][6]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/7/type', + '$/properties/schema/standardColumns/8/type', + '$/properties/schema/standardColumns/9/type', + '$/properties/schema/standardColumns/10/type', + '$/properties/schema/standardColumns/11/type', + '$/properties/schema/standardColumns/12/type', + '$/properties/schema/standardColumns/13/type', + '$/properties/schema/standardColumns/14/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][7]['type']", + "$['properties']['schema']['standardColumns'][8]['type']", + "$['properties']['schema']['standardColumns'][9]['type']", + "$['properties']['schema']['standardColumns'][10]['type']", + "$['properties']['schema']['standardColumns'][11]['type']", + "$['properties']['schema']['standardColumns'][12]['type']", + "$['properties']['schema']['standardColumns'][13]['type']", + "$['properties']['schema']['standardColumns'][14]['type']" + ] + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_SchemaChange', + source: 'response', + responseCode: '202', + severity: 0, + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + details: { + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "202" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Upsert\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_SchemaMetadaChange', + source: 'request', + responseCode: 'ALL', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/properties/schema/columns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + jsonPath: "$['properties']['schema']['columns'][0]['type']", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {} + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_SchemaMetadaChange', + source: 'response', + responseCode: '200', + severity: 0, + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + details: { + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "200" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"200\\" for operation \\"Tables_Upsert\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'TableCreate_SchemaMetadaChange', + source: 'response', + responseCode: '202', + severity: 0, + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + details: { + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + id: 'OAV113', + message: 'Response statusCode "202" for operation "Tables_Upsert" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"202\\" for operation \\"Tables_Upsert\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'Tables_Upsert_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/properties/schema/standardColumns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json', + jsonPath: "$['properties']['schema']['standardColumns'][0]['type']" + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'Tables_Upsert_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: '$/properties/schema/standardColumns/1/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json', + jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/3/type', + '$/properties/schema/standardColumns/4/type', + '$/properties/schema/standardColumns/5/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][3]['type']", + "$['properties']['schema']['standardColumns'][4]['type']", + "$['properties']['schema']['standardColumns'][5]['type']" + ] + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'Tables_Upsert_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: '$/properties/schema/standardColumns/2/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json', + jsonPath: "$['properties']['schema']['standardColumns'][2]['type']" + } + }, + { + operationId: 'Tables_Upsert', + scenario: 'Tables_Upsert_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: '$/properties/schema/standardColumns/6/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json', + jsonPath: "$['properties']['schema']['standardColumns'][6]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/7/type', + '$/properties/schema/standardColumns/8/type', + '$/properties/schema/standardColumns/9/type', + '$/properties/schema/standardColumns/10/type', + '$/properties/schema/standardColumns/11/type', + '$/properties/schema/standardColumns/12/type', + '$/properties/schema/standardColumns/13/type', + '$/properties/schema/standardColumns/14/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][7]['type']", + "$['properties']['schema']['standardColumns'][8]['type']", + "$['properties']['schema']['standardColumns'][9]['type']", + "$['properties']['schema']['standardColumns'][10]['type']", + "$['properties']['schema']['standardColumns'][11]['type']", + "$['properties']['schema']['standardColumns'][12]['type']", + "$['properties']['schema']['standardColumns'][13]['type']", + "$['properties']['schema']['standardColumns'][14]['type']" + ] + } + } + ], + level: '\u001b[31merror\u001b[39m' +} +start generated example for Tables_Update, rule:MaximumSet +example file path: C:\one\Mgmt\azure-rest-api-specs\specification\operationalinsights\resource-manager\Microsoft.OperationalInsights\preview\2021-03-01-privatepreview\examples\Tables_Update_MaximumSet_Gen.json +{ message: 'extractResponse', level: '\u001b[32minfo\u001b[39m' } +{ + message: { + parameters: { + subscriptionId: '00000000-0000-0000-0000-00000000000', + resourceGroupName: 'rgTables', + workspaceName: 'oiautorest6685', + 'api-version': '2020-10-01', + tableName: 'AzureNetworkFlow', + parameters: { + properties: { + retentionInDays: 45, + isTroubleshootEnabled: true, + schema: { + displayName: 'aaaaaaaaaaaa', + description: 'a', + columns: [ + { + name: 'aaaaaaaa', + type: 'String', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'a' + } + ] + } + } + } + }, + responses: { + '200': { + headers: undefined, + body: { + properties: { + retentionInDays: 45, + isTroubleshootingAllowed: true, + isTroubleshootEnabled: true, + lastTroubleshootDate: 'aaaaaaa', + schema: { + name: 'AzureNetworkFlow', + displayName: 'aaaaaaaaaaaa', + description: 'a', + columns: [ + { + name: 'aaaaaaaa', + type: 'String', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'a', + isDefaultDisplay: true, + isHidden: true + } + ], + standardColumns: [ + { + isHidden: true, + name: 'TenantId', + type: 'guid', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaa', + description: 'aaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'SourceSystem', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'TimeGenerated', + type: 'dateTime', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'AgentID', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'SourceIP', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaa', + description: 'aaaaaaaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'Protocol', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaa', + description: 'aaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'SourcePort', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'DestinationPort', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'TcpFlags', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'Packets', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aa', + description: 'aaaaaaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'Bytes', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'a', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'BytesOut', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaa', + description: 'aaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'DurationInMs', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaa', + description: 'aaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'RstCount', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'MaxSampleRtt', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + } + ], + categories: [ 'aaaaaaaaaaaaaaaaaa' ], + labels: [ 'aaaaaaaaaaaaaaaaaaaaaaaaaaa' ], + source: 'Microsoft', + solutions: [ 'LogManagement' ], + isTroubleshootingAllowed: true + }, + provisioningState: 'Succeeded' + }, + id: '/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow', + name: 'AzureNetworkFlow', + type: 'aaaaaaaaaaaaaa' + } + }, + '202': { headers: undefined, body: undefined } + } + }, + level: '\u001b[32minfo\u001b[39m' +} +{ + message: 'start validating generated example for Tables_Update', + level: '\u001b[32minfo\u001b[39m' +} +{ + message: 'Validating "examples" and "x-ms-examples" in .\\Tables.json:\n', + level: '\u001b[32minfo\u001b[39m' +} +{ + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "202" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: '\u001b[31merror\u001b[39m' +} +{ + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "202" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: '\u001b[31merror\u001b[39m' +} +{ + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + id: 'OAV113', + message: 'Response statusCode "202" for operation "Tables_Update" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', + level: '\u001b[31merror\u001b[39m' +} +{ + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "200" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: '\u001b[31merror\u001b[39m' +} +{ + message: 'Request parameters for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Update" is valid.', + level: '\u001b[32minfo\u001b[39m' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Update".', + innerErrors: [ + { + code: 'INVALID_RESPONSE_BODY', + errors: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 1, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 2, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 3, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 4, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 5, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 6, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 7, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 8, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 9, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 10, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 11, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 12, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 13, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 14, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 18, column: 23 }, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 17, column: 25 }, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 17, column: 25 }, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json' + } + ], + message: "Invalid body: Data does not match any schemas from 'anyOf'", + path: [] + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Update".:\n' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Update".', + innerErrors: [ + { + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "202" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Update\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Update".:\n' +} +{ + code: 'REQUEST_VALIDATION_ERROR', + id: 'OAV109', + message: 'Found errors in validating the request for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Update".:\n' + + ' Found errors in validating the request for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Update".', + innerErrors: [ + { + code: 'INVALID_REQUEST_PARAMETER', + errors: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties' ], + title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'columns' ], + title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'columns', 0 ], + title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', + description: "Coulmn's data type." + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'columns' ], + title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}' + } + ] + } + ], + in: 'body', + message: 'Invalid parameter (parameters): Value failed JSON Schema validation', + name: 'parameters', + path: [ 'parameters', 'parameters' ], + schemaPath: '#/paths/~1subscriptions~1{subscriptionId}~1resourcegroups~1{resourceGroupName}~1providers~1Microsoft.OperationalInsights~1workspaces~1{workspaceName}~1tables~1{tableName}/patch/parameters/5', + title: '{"path":["parameters","parameters"],"position":{"line":8,"column":19},"url":"examples/TableCreateUpdate_Schema.json"}' + } + ], + level: '\u001b[31merror\u001b[39m' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Update".', + innerErrors: [ + { + code: 'INVALID_RESPONSE_BODY', + errors: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'columns' ], + title: '#/definitions/Schema/properties/columns', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'columns', 0 ], + title: '#/definitions/Schema/properties/columns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/Schema/properties/columns/items', + position: { line: 385, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 385, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'columns' ], + title: '#/definitions/Schema/properties/columns', + position: { line: 383, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 383, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 1, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 2, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 3, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 4, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 5, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 6, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 7, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 8, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 9, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 10, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 11, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 12, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 13, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 14, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 25, column: 21 }, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 24, column: 23 }, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 24, column: 23 }, + jsonUrl: 'examples/TableCreateUpdate_Schema.json' + } + ], + message: "Invalid body: Data does not match any schemas from 'anyOf'", + path: [] + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Update".:\n' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Update".', + innerErrors: [ + { + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "202" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Update\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Update".:\n' +} +{ + code: 'REQUEST_VALIDATION_ERROR', + id: 'OAV109', + message: 'Found errors in validating the request for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Update".:\n' + + ' Found errors in validating the request for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Update".', + innerErrors: [ + { + code: 'INVALID_REQUEST_PARAMETER', + errors: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties' ], + title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'columns' ], + title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'columns', 0 ], + title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', + description: "Coulmn's data type." + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'columns' ], + title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}' + } + ] + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}' + } + ] + } + ], + in: 'body', + message: 'Invalid parameter (parameters): Value failed JSON Schema validation', + name: 'parameters', + path: [ 'parameters', 'parameters' ], + schemaPath: '#/paths/~1subscriptions~1{subscriptionId}~1resourcegroups~1{resourceGroupName}~1providers~1Microsoft.OperationalInsights~1workspaces~1{workspaceName}~1tables~1{tableName}/patch/parameters/5', + title: '{"path":["parameters","parameters"],"position":{"line":8,"column":19},"url":"examples/TableCreateUpdate_SchemaMetaData.json"}' + } + ], + level: '\u001b[31merror\u001b[39m' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Update".', + innerErrors: [ + { + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "200" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"200\\" for operation \\"Tables_Update\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Update".:\n' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Update".', + innerErrors: [ + { + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + id: 'OAV113', + message: 'Response statusCode "202" for operation "Tables_Update" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"202\\" for operation \\"Tables_Update\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Update".:\n' +} +{ + message: 'Request parameters for x-ms-example "Tables_Update_MaximumSet_Gen" in operation "Tables_Update" is valid.', + level: '\u001b[32minfo\u001b[39m' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_Update_MaximumSet_Gen" in operation "Tables_Update".', + innerErrors: [ + { + code: 'INVALID_RESPONSE_BODY', + errors: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 1, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 2, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 3, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 4, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 5, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 6, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 7, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 8, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 9, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 10, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 11, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 12, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 13, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 14, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 36, column: 21 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 31, column: 23 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 31, column: 23 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' + } + ], + message: "Invalid body: Data does not match any schemas from 'anyOf'", + path: [] + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_Update_MaximumSet_Gen" in operation "Tables_Update".:\n' +} +{ + message: 'Response with statusCode "202" for x-ms-example "Tables_Update_MaximumSet_Gen" in operation "Tables_Update" is valid.', + level: '\u001b[32minfo\u001b[39m' +} +{ + message: 'the validation raised below error:', + level: '\u001b[31merror\u001b[39m' +} +{ + message: [ + { + operationId: 'Tables_Update', + scenario: 'TableCreate_MetaDataChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/properties/schema/standardColumns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json', + jsonPath: "$['properties']['schema']['standardColumns'][0]['type']" + } + }, + { + operationId: 'Tables_Update', + scenario: 'TableCreate_MetaDataChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: '$/properties/schema/standardColumns/1/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json', + jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/3/type', + '$/properties/schema/standardColumns/4/type', + '$/properties/schema/standardColumns/5/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][3]['type']", + "$['properties']['schema']['standardColumns'][4]['type']", + "$['properties']['schema']['standardColumns'][5]['type']" + ] + } + }, + { + operationId: 'Tables_Update', + scenario: 'TableCreate_MetaDataChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: '$/properties/schema/standardColumns/2/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json', + jsonPath: "$['properties']['schema']['standardColumns'][2]['type']" + } + }, + { + operationId: 'Tables_Update', + scenario: 'TableCreate_MetaDataChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: '$/properties/schema/standardColumns/6/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_MetaData.json', + jsonPath: "$['properties']['schema']['standardColumns'][6]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/7/type', + '$/properties/schema/standardColumns/8/type', + '$/properties/schema/standardColumns/9/type', + '$/properties/schema/standardColumns/10/type', + '$/properties/schema/standardColumns/11/type', + '$/properties/schema/standardColumns/12/type', + '$/properties/schema/standardColumns/13/type', + '$/properties/schema/standardColumns/14/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][7]['type']", + "$['properties']['schema']['standardColumns'][8]['type']", + "$['properties']['schema']['standardColumns'][9]['type']", + "$['properties']['schema']['standardColumns'][10]['type']", + "$['properties']['schema']['standardColumns'][11]['type']", + "$['properties']['schema']['standardColumns'][12]['type']", + "$['properties']['schema']['standardColumns'][13]['type']", + "$['properties']['schema']['standardColumns'][14]['type']" + ] + } + }, + { + operationId: 'Tables_Update', + scenario: 'TableCreate_MetaDataChange', + source: 'response', + responseCode: '202', + severity: 0, + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + details: { + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "202" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Update\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' + } + }, + { + operationId: 'Tables_Update', + scenario: 'TableCreate_SchemaChange', + source: 'request', + responseCode: 'ALL', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/properties/schema/columns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + jsonPath: "$['properties']['schema']['columns'][0]['type']", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {} + } + }, + { + operationId: 'Tables_Update', + scenario: 'TableCreate_SchemaChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/properties/schema/columns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json', + jsonPath: "$['properties']['schema']['columns'][0]['type']" + } + }, + { + operationId: 'Tables_Update', + scenario: 'TableCreate_SchemaChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/properties/schema/standardColumns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json', + jsonPath: "$['properties']['schema']['standardColumns'][0]['type']" + } + }, + { + operationId: 'Tables_Update', + scenario: 'TableCreate_SchemaChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: '$/properties/schema/standardColumns/1/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json', + jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/3/type', + '$/properties/schema/standardColumns/4/type', + '$/properties/schema/standardColumns/5/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][3]['type']", + "$['properties']['schema']['standardColumns'][4]['type']", + "$['properties']['schema']['standardColumns'][5]['type']" + ] + } + }, + { + operationId: 'Tables_Update', + scenario: 'TableCreate_SchemaChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: '$/properties/schema/standardColumns/2/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json', + jsonPath: "$['properties']['schema']['standardColumns'][2]['type']" + } + }, + { + operationId: 'Tables_Update', + scenario: 'TableCreate_SchemaChange', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: '$/properties/schema/standardColumns/6/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableCreateUpdate_Schema.json', + jsonPath: "$['properties']['schema']['standardColumns'][6]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/7/type', + '$/properties/schema/standardColumns/8/type', + '$/properties/schema/standardColumns/9/type', + '$/properties/schema/standardColumns/10/type', + '$/properties/schema/standardColumns/11/type', + '$/properties/schema/standardColumns/12/type', + '$/properties/schema/standardColumns/13/type', + '$/properties/schema/standardColumns/14/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][7]['type']", + "$['properties']['schema']['standardColumns'][8]['type']", + "$['properties']['schema']['standardColumns'][9]['type']", + "$['properties']['schema']['standardColumns'][10]['type']", + "$['properties']['schema']['standardColumns'][11]['type']", + "$['properties']['schema']['standardColumns'][12]['type']", + "$['properties']['schema']['standardColumns'][13]['type']", + "$['properties']['schema']['standardColumns'][14]['type']" + ] + } + }, + { + operationId: 'Tables_Update', + scenario: 'TableCreate_SchemaChange', + source: 'response', + responseCode: '202', + severity: 0, + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + details: { + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "202" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Update\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' + } + }, + { + operationId: 'Tables_Update', + scenario: 'TableCreate_SchemaMetadaChange', + source: 'request', + responseCode: 'ALL', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/properties/schema/columns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + jsonPath: "$['properties']['schema']['columns'][0]['type']", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {} + } + }, + { + operationId: 'Tables_Update', + scenario: 'TableCreate_SchemaMetadaChange', + source: 'response', + responseCode: '200', + severity: 0, + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + details: { + code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', + id: 'OAV111', + message: 'Following response status codes "200" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"200\\" for operation \\"Tables_Update\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' + } + }, + { + operationId: 'Tables_Update', + scenario: 'TableCreate_SchemaMetadaChange', + source: 'response', + responseCode: '202', + severity: 0, + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + details: { + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + id: 'OAV113', + message: 'Response statusCode "202" for operation "Tables_Update" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"202\\" for operation \\"Tables_Update\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' + } + }, + { + operationId: 'Tables_Update', + scenario: 'Tables_Update_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/properties/schema/standardColumns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json', + jsonPath: "$['properties']['schema']['standardColumns'][0]['type']" + } + }, + { + operationId: 'Tables_Update', + scenario: 'Tables_Update_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: '$/properties/schema/standardColumns/1/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json', + jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/3/type', + '$/properties/schema/standardColumns/4/type', + '$/properties/schema/standardColumns/5/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][3]['type']", + "$['properties']['schema']['standardColumns'][4]['type']", + "$['properties']['schema']['standardColumns'][5]['type']" + ] + } + }, + { + operationId: 'Tables_Update', + scenario: 'Tables_Update_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: '$/properties/schema/standardColumns/2/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json', + jsonPath: "$['properties']['schema']['standardColumns'][2]['type']" + } + }, + { + operationId: 'Tables_Update', + scenario: 'Tables_Update_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: '$/properties/schema/standardColumns/6/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 204, column: 17 }, + jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json', + jsonPath: "$['properties']['schema']['standardColumns'][6]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/7/type', + '$/properties/schema/standardColumns/8/type', + '$/properties/schema/standardColumns/9/type', + '$/properties/schema/standardColumns/10/type', + '$/properties/schema/standardColumns/11/type', + '$/properties/schema/standardColumns/12/type', + '$/properties/schema/standardColumns/13/type', + '$/properties/schema/standardColumns/14/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][7]['type']", + "$['properties']['schema']['standardColumns'][8]['type']", + "$['properties']['schema']['standardColumns'][9]['type']", + "$['properties']['schema']['standardColumns'][10]['type']", + "$['properties']['schema']['standardColumns'][11]['type']", + "$['properties']['schema']['standardColumns'][12]['type']", + "$['properties']['schema']['standardColumns'][13]['type']", + "$['properties']['schema']['standardColumns'][14]['type']" + ] + } + } + ], + level: '\u001b[31merror\u001b[39m' +} +start generated example for Tables_Get, rule:MaximumSet +example file path: C:\one\Mgmt\azure-rest-api-specs\specification\operationalinsights\resource-manager\Microsoft.OperationalInsights\preview\2021-03-01-privatepreview\examples\Tables_Get_MaximumSet_Gen.json +{ message: 'extractResponse', level: '\u001b[32minfo\u001b[39m' } +{ + message: { + parameters: { + subscriptionId: '00000000-0000-0000-0000-00000000000', + resourceGroupName: 'rgTables', + workspaceName: 'oiautorest6685', + 'api-version': '2020-10-01', + tableName: 'AzureNetworkFlow' + }, + responses: { + '200': { + headers: undefined, + body: { + properties: { + retentionInDays: 45, + isTroubleshootingAllowed: true, + isTroubleshootEnabled: true, + lastTroubleshootDate: 'aaaaaaa', + schema: { + name: 'AzureNetworkFlow', + displayName: 'aaaaaaaaaaaa', + description: 'a', + columns: [ + { + name: 'aaaaaaaa', + type: 'String', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'a', + isDefaultDisplay: true, + isHidden: true + } + ], + standardColumns: [ + { + isHidden: true, + name: 'TenantId', + type: 'guid', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaa', + description: 'aaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'SourceSystem', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'TimeGenerated', + type: 'dateTime', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'AgentID', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'SourceIP', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaa', + description: 'aaaaaaaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'Protocol', + type: 'string', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaa', + description: 'aaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'SourcePort', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'DestinationPort', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'TcpFlags', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'Packets', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aa', + description: 'aaaaaaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'Bytes', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', + description: 'a', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'BytesOut', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaa', + description: 'aaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'DurationInMs', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaa', + description: 'aaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'RstCount', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaa', + isDefaultDisplay: true + }, + { + isHidden: true, + name: 'MaxSampleRtt', + type: 'int', + dataTypeHint: 'URI', + displayName: 'aaaaaaaaaaaaaaa', + description: 'aaaaaaaaaaaaaaaaaaa', + isDefaultDisplay: true + } + ], + categories: [ 'aaaaaaaaaaaaaaaaaa' ], + labels: [ 'aaaaaaaaaaaaaaaaaaaaaaaaaaa' ], + source: 'Microsoft', + solutions: [ 'LogManagement' ], + isTroubleshootingAllowed: true + }, + provisioningState: 'Succeeded' + }, + id: '/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow', + name: 'AzureNetworkFlow', + type: 'aaaaaaaaaaaaaa' + } + } + } + }, + level: '\u001b[32minfo\u001b[39m' +} +{ + message: 'start validating generated example for Tables_Get', + level: '\u001b[32minfo\u001b[39m' +} +{ + message: 'Validating "examples" and "x-ms-examples" in .\\Tables.json:\n', + level: '\u001b[32minfo\u001b[39m' +} +{ + message: 'Request parameters for x-ms-example "TablesGet" in operation "Tables_Get" is valid.', + level: '\u001b[32minfo\u001b[39m' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TablesGet" in operation "Tables_Get".', + innerErrors: [ + { + code: 'INVALID_RESPONSE_BODY', + errors: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 1, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 2, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 3, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 4, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 5, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 6, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 13, column: 21 }, + jsonUrl: 'examples/TableGet.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 12, column: 23 }, + jsonUrl: 'examples/TableGet.json' + } + ], + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 12, column: 23 }, + jsonUrl: 'examples/TableGet.json' + } + ], + message: "Invalid body: Data does not match any schemas from 'anyOf'", + path: [] + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TablesGet" in operation "Tables_Get".:\n' +} +{ + message: 'Request parameters for x-ms-example "Tables_Get_MaximumSet_Gen" in operation "Tables_Get" is valid.', + level: '\u001b[32minfo\u001b[39m' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_Get_MaximumSet_Gen" in operation "Tables_Get".', + innerErrors: [ + { + code: 'INVALID_RESPONSE_BODY', + errors: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'properties', 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'schema', 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 0, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 0 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 1, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 1 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 2, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 2 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 3, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 3 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 4, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 4 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 5, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 5 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 6, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 6 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 7, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 7 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 8, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 8 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 9, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 9 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 10, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 10 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 11, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 11 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 12, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 12 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 13, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 13 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 'standardColumns', 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + inner: [ + { + code: 'ANY_OF_MISSING', + params: [], + message: "Data does not match any schemas from 'anyOf'", + path: [ 14, 'type' ], + title: '#/definitions/Column/properties/type', + inner: [ + { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'string' ], + message: 'Expected type null but found type string', + path: [ 'type' ], + title: '#/definitions/Column/properties/type', + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 14 ], + title: '#/definitions/Schema/properties/standardColumns/items', + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 393, column: 20 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'array' ], + message: 'Expected type null but found type array', + path: [ 'standardColumns' ], + title: '#/definitions/Schema/properties/standardColumns', + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 390, column: 28 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'schema' ], + title: '#/definitions/TableProperties/properties/schema', + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 466, column: 19 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 17, column: 21 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + }, + { + code: 'INVALID_TYPE', + params: [ 'null', 'object' ], + message: 'Expected type null but found type object', + path: [ 'properties' ], + title: '#/definitions/Table/properties/properties', + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 12, column: 23 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + position: { line: 488, column: 23 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 12, column: 23 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' + } + ], + message: "Invalid body: Data does not match any schemas from 'anyOf'", + path: [] + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_Get_MaximumSet_Gen" in operation "Tables_Get".:\n' +} +{ + message: 'the validation raised below error:', + level: '\u001b[31merror\u001b[39m' +} +{ + message: [ + { + operationId: 'Tables_Get', + scenario: 'TablesGet', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/properties/schema/standardColumns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json', + jsonPath: "$['properties']['schema']['standardColumns'][0]['type']", + similarPaths: [ '$/properties/schema/standardColumns/2/type' ], + similarJsonPaths: [ "$['properties']['schema']['standardColumns'][2]['type']" ] + } + }, + { + operationId: 'Tables_Get', + scenario: 'TablesGet', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: '$/properties/schema/standardColumns/1/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json', + jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/3/type', + '$/properties/schema/standardColumns/5/type', + '$/properties/schema/standardColumns/6/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][3]['type']", + "$['properties']['schema']['standardColumns'][5]['type']", + "$['properties']['schema']['standardColumns'][6]['type']" + ] + } + }, + { + operationId: 'Tables_Get', + scenario: 'TablesGet', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: '$/properties/schema/standardColumns/4/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonUrl: 'examples/TableGet.json', + jsonPath: "$['properties']['schema']['standardColumns'][4]['type']" + } + }, + { + operationId: 'Tables_Get', + scenario: 'Tables_Get_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'guid' ], + message: 'Enum does not match case for: guid', + path: '$/properties/schema/standardColumns/0/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json', + jsonPath: "$['properties']['schema']['standardColumns'][0]['type']" + } + }, + { + operationId: 'Tables_Get', + scenario: 'Tables_Get_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'string' ], + message: 'Enum does not match case for: string', + path: '$/properties/schema/standardColumns/1/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json', + jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/3/type', + '$/properties/schema/standardColumns/4/type', + '$/properties/schema/standardColumns/5/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][3]['type']", + "$['properties']['schema']['standardColumns'][4]['type']", + "$['properties']['schema']['standardColumns'][5]['type']" + ] + } + }, + { + operationId: 'Tables_Get', + scenario: 'Tables_Get_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'dateTime' ], + message: 'Enum does not match case for: dateTime', + path: '$/properties/schema/standardColumns/2/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json', + jsonPath: "$['properties']['schema']['standardColumns'][2]['type']" + } + }, + { + operationId: 'Tables_Get', + scenario: 'Tables_Get_MaximumSet_Gen', + source: 'response', + responseCode: '200', + severity: 1, + code: 'ENUM_CASE_MISMATCH', + details: { + code: 'ENUM_CASE_MISMATCH', + params: [ 'int' ], + message: 'Enum does not match case for: int', + path: '$/properties/schema/standardColumns/6/type', + title: '#/definitions/Column/properties/type', + description: "Coulmn's data type.", + position: { line: 315, column: 17 }, + url: '.\\Tables.json', + directives: {}, + jsonPosition: { line: 185, column: 17 }, + jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json', + jsonPath: "$['properties']['schema']['standardColumns'][6]['type']", + similarPaths: [ + '$/properties/schema/standardColumns/7/type', + '$/properties/schema/standardColumns/8/type', + '$/properties/schema/standardColumns/9/type', + '$/properties/schema/standardColumns/10/type', + '$/properties/schema/standardColumns/11/type', + '$/properties/schema/standardColumns/12/type', + '$/properties/schema/standardColumns/13/type', + '$/properties/schema/standardColumns/14/type' + ], + similarJsonPaths: [ + "$['properties']['schema']['standardColumns'][7]['type']", + "$['properties']['schema']['standardColumns'][8]['type']", + "$['properties']['schema']['standardColumns'][9]['type']", + "$['properties']['schema']['standardColumns'][10]['type']", + "$['properties']['schema']['standardColumns'][11]['type']", + "$['properties']['schema']['standardColumns'][12]['type']", + "$['properties']['schema']['standardColumns'][13]['type']", + "$['properties']['schema']['standardColumns'][14]['type']" + ] + } + } + ], + level: '\u001b[31merror\u001b[39m' +} +start generated example for Tables_Delete, rule:MaximumSet +{ message: 'extractResponse', level: '\u001b[32minfo\u001b[39m' } +{ + message: { + parameters: { + subscriptionId: '00000000-0000-0000-0000-00000000000', + resourceGroupName: 'rgTables', + workspaceName: 'oiautorest6685', + 'api-version': '2020-10-01', + tableName: 'AzureNetworkFlow' + }, + responses: { + '200': { headers: undefined, body: undefined }, + '202': { headers: undefined, body: undefined } + } + }, + level: '\u001b[32minfo\u001b[39m' +} +example file path: C:\one\Mgmt\azure-rest-api-specs\specification\operationalinsights\resource-manager\Microsoft.OperationalInsights\preview\2021-03-01-privatepreview\examples\Tables_Delete_MaximumSet_Gen.json +{ + message: 'start validating generated example for Tables_Delete', + level: '\u001b[32minfo\u001b[39m' +} +{ + message: 'Validating "examples" and "x-ms-examples" in .\\Tables.json:\n', + level: '\u001b[32minfo\u001b[39m' +} +{ + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + id: 'OAV113', + message: 'Response statusCode "200" for operation "Tables_Delete" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', + level: '\u001b[31merror\u001b[39m' +} +{ + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + id: 'OAV113', + message: 'Response statusCode "202" for operation "Tables_Delete" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', + level: '\u001b[31merror\u001b[39m' +} +{ + message: 'Request parameters for x-ms-example "TablesGet" in operation "Tables_Delete" is valid.', + level: '\u001b[32minfo\u001b[39m' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TablesGet" in operation "Tables_Delete".', + innerErrors: [ + { + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + id: 'OAV113', + message: 'Response statusCode "200" for operation "Tables_Delete" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"200\\" for operation \\"Tables_Delete\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TablesGet" in operation "Tables_Delete".:\n' +} +{ + '0': { + code: 'RESPONSE_VALIDATION_ERROR', + id: 'OAV108', + message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TablesGet" in operation "Tables_Delete".', + innerErrors: [ + { + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + id: 'OAV113', + message: 'Response statusCode "202" for operation "Tables_Delete" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"202\\" for operation \\"Tables_Delete\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' + } + ] + }, + level: '\u001b[31merror\u001b[39m', + message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TablesGet" in operation "Tables_Delete".:\n' +} +{ + message: 'Request parameters for x-ms-example "Tables_Delete_MaximumSet_Gen" in operation "Tables_Delete" is valid.', + level: '\u001b[32minfo\u001b[39m' +} +{ + message: 'Response with statusCode "200" for x-ms-example "Tables_Delete_MaximumSet_Gen" in operation "Tables_Delete" is valid.', + level: '\u001b[32minfo\u001b[39m' +} +{ + message: 'Response with statusCode "202" for x-ms-example "Tables_Delete_MaximumSet_Gen" in operation "Tables_Delete" is valid.', + level: '\u001b[32minfo\u001b[39m' +} +{ + message: 'the validation raised below error:', + level: '\u001b[31merror\u001b[39m' +} +{ + message: [ + { + operationId: 'Tables_Delete', + scenario: 'TablesGet', + source: 'response', + responseCode: '200', + severity: 0, + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + details: { + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + id: 'OAV113', + message: 'Response statusCode "200" for operation "Tables_Delete" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"200\\" for operation \\"Tables_Delete\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' + } + }, + { + operationId: 'Tables_Delete', + scenario: 'TablesGet', + source: 'response', + responseCode: '202', + severity: 0, + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + details: { + code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', + id: 'OAV113', + message: 'Response statusCode "202" for operation "Tables_Delete" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', + level: 'error', + [Symbol(level)]: 'error', + [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"202\\" for operation \\"Tables_Delete\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' + } + } + ], + level: '\u001b[31merror\u001b[39m' +} diff --git a/specification/operationalinsights/resource-manager/readme.go.md b/specification/operationalinsights/resource-manager/readme.go.md index bcd8b18057c0..4556f611ce8b 100644 --- a/specification/operationalinsights/resource-manager/readme.go.md +++ b/specification/operationalinsights/resource-manager/readme.go.md @@ -16,6 +16,7 @@ batch: - tag: package-2015-03 - tag: package-2015-11-preview - tag: package-2020-03-preview + - tag: package-2021-03-01-privatepreview - tag: package-2020-10 - tag: package-2020-08 ``` @@ -56,6 +57,15 @@ Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2021-03-01-privatepreview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-03-01-privatepreview/$(namespace) +``` + ### Tag: package-2020-10 and go These settings apply only when `--tag=package-2020-10 --go` is specified on the command line. diff --git a/specification/operationalinsights/resource-manager/readme.java.md b/specification/operationalinsights/resource-manager/readme.java.md index fd9f56c9a162..bca39fbc19e5 100644 --- a/specification/operationalinsights/resource-manager/readme.java.md +++ b/specification/operationalinsights/resource-manager/readme.java.md @@ -27,6 +27,7 @@ batch: - tag: package-2015-03 - tag: package-2015-11-preview - tag: package-2020-03-preview + - tag: package-2021-03-01-privatepreview - tag: package-2020-10 - tag: package-2020-08 ``` @@ -70,6 +71,19 @@ regenerate-manager: true generate-interface: true ``` +### Tag: package-2021-03-01-privatepreview and java + +These settings apply only when `--tag=package-2021-03-01-privatepreview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2021-03-01-privatepreview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.loganalytics.v2020_03_01_preview + output-folder: $(azure-libraries-for-java-folder)/sdk/loganalytics/mgmt-v2021_03_01_privatepreview +regenerate-manager: true +generate-interface: true +``` + ### Tag: package-2015-03 and java These settings apply only when `--tag=package-2015-03 --java` is specified on the command line. diff --git a/specification/operationalinsights/resource-manager/readme.md b/specification/operationalinsights/resource-manager/readme.md index ae18c5caa738..fb5bedc52de9 100644 --- a/specification/operationalinsights/resource-manager/readme.md +++ b/specification/operationalinsights/resource-manager/readme.md @@ -107,6 +107,15 @@ input-file: - Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json ``` +### Tag: package-2021-03-01-privatepreview + +These settings apply only when `--tag=package-2021-03-01-privatepreview` is specified on the command line. + +``` yaml $(tag) == 'package-2021-03-01-privatepreview' +input-file: +- Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json +``` + ### Tag: package-2020-08 These settings apply only when `--tag=package-2020-08` is specified on the command line. From efe40b275173f9feab6bfe858b9682b41b3a8bf9 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Sun, 25 Jul 2021 08:50:07 +0300 Subject: [PATCH 02/22] Microsoft.OperationalInsights: tables privatepreview --- .../preview/2021-03-01-privatepreview/log.txt | 13738 ---------------- 1 file changed, 13738 deletions(-) delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/log.txt diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/log.txt b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/log.txt deleted file mode 100644 index 57b48f2de133..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/log.txt +++ /dev/null @@ -1,13738 +0,0 @@ -start generated example for Tables_ListByWorkspace, rule:MaximumSet -{ message: 'extractResponse', level: '\u001b[32minfo\u001b[39m' } -{ - message: { - parameters: { - subscriptionId: '00000000-0000-0000-0000-00000000000', - resourceGroupName: 'rgTables', - workspaceName: 'oiautorest6685', - 'api-version': '2020-10-01' - }, - responses: { - '200': { - headers: undefined, - body: { - value: [ - { - properties: { - schema: { - name: 'AzureNetworkFlow', - displayName: 'aaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaa', - columns: [ - { - name: 'aaaaaaaa', - type: 'String', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'a', - isDefaultDisplay: true, - isHidden: true - } - ], - standardColumns: [ - { - isHidden: true, - name: 'TenantId', - type: 'guid', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaa', - description: 'aaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'SourceSystem', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'TimeGenerated', - type: 'dateTime', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'AgentID', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'SourceIP', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaa', - description: 'aaaaaaaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'Protocol', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaa', - description: 'aaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'SourcePort', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'DestinationPort', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'TcpFlags', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'Packets', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aa', - description: 'aaaaaaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'Bytes', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'a', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'BytesOut', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaa', - description: 'aaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'DurationInMs', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaa', - description: 'aaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'RstCount', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'MaxSampleRtt', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - } - ], - categories: [ 'aaaaaaaaaaaaaaaaaaa' ], - labels: [ 'aaaaaaaaaaaaaaaaaaaa' ], - source: 'Microsoft', - solutions: [ 'LogManagement' ], - isTroubleshootingAllowed: true - }, - provisioningState: 'Succeeded', - isTroubleshootingAllowed: true, - retentionInDays: 30, - isTroubleshootEnabled: true, - lastTroubleshootDate: 'aaaaa' - }, - name: 'AzureNetworkFlow', - id: '/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow', - type: 'aaaaaaaaaaaaaaaaaaaaaa' - }, - { - properties: { - schema: { - name: 'SurfaceHubDns', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaa', - columns: [ - { - name: 'aaaaaaaa', - type: 'String', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'a', - isDefaultDisplay: true, - isHidden: true - } - ], - standardColumns: [ - { - isHidden: true, - name: 'TenantId', - type: 'guid', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'SourceSystem', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaa', - description: 'aa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'TimeGenerated', - type: 'dateTime', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'QueryName', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'ComputerName', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - } - ], - categories: [ 'aaaaaaaaaaaaaaaaaaaaaa' ], - labels: [ 'aaaaaaaaaaa' ], - source: 'Microsoft', - solutions: [ 'LogManagement' ], - isTroubleshootingAllowed: true - }, - provisioningState: 'Succeeded', - isTroubleshootingAllowed: true, - retentionInDays: 30, - isTroubleshootEnabled: true, - lastTroubleshootDate: 'aaaaaaaaaaa' - }, - name: 'SurfaceHubDns', - id: '/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/SurfaceHubDns', - type: 'aaaaaaaaaaaaaaaaaaaaa' - } - ] - } - } - } - }, - level: '\u001b[32minfo\u001b[39m' -} -example file path: C:\one\Mgmt\azure-rest-api-specs\specification\operationalinsights\resource-manager\Microsoft.OperationalInsights\preview\2021-03-01-privatepreview\examples\Tables_ListByWorkspace_MaximumSet_Gen.json -{ - message: 'start validating generated example for Tables_ListByWorkspace', - level: '\u001b[32minfo\u001b[39m' -} -{ - message: 'Validating "examples" and "x-ms-examples" in .\\Tables.json:\n', - level: '\u001b[32minfo\u001b[39m' -} -{ - message: 'Request parameters for x-ms-example "TablesListByWorkspace" in operation "Tables_ListByWorkspace" is valid.', - level: '\u001b[32minfo\u001b[39m' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TablesListByWorkspace" in operation "Tables_ListByWorkspace".', - innerErrors: [ - { - code: 'INVALID_RESPONSE_BODY', - errors: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'value' ], - title: '#/definitions/TablesListResult/properties/value', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'value', 0 ], - title: '#/definitions/TablesListResult/properties/value/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'properties' ], - title: '#/definitions/Table/properties/properties', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 1, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 2, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 3, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 4, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 5, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 6, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 7, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 8, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 9, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 10, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 11, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 12, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 13, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 14, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/TablesListResult/properties/value/items', - position: { line: 505, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 505, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 12, column: 11 }, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'value', 1 ], - title: '#/definitions/TablesListResult/properties/value/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 1, 'properties' ], - title: '#/definitions/Table/properties/properties', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 1, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 2, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 3, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 4, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 1 ], - title: '#/definitions/TablesListResult/properties/value/items', - position: { line: 505, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 505, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 171, column: 11 }, - jsonUrl: 'examples/TableList.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'value' ], - title: '#/definitions/TablesListResult/properties/value', - position: { line: 503, column: 18 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 11, column: 18 }, - jsonUrl: 'examples/TableList.json' - } - ], - position: { line: 503, column: 18 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 11, column: 18 }, - jsonUrl: 'examples/TableList.json' - } - ], - message: "Invalid body: Data does not match any schemas from 'anyOf'", - path: [] - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TablesListByWorkspace" in operation "Tables_ListByWorkspace".:\n' -} -{ - message: 'Request parameters for x-ms-example "Tables_ListByWorkspace_MaximumSet_Gen" in operation "Tables_ListByWorkspace" is valid.', - level: '\u001b[32minfo\u001b[39m' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_ListByWorkspace_MaximumSet_Gen" in operation "Tables_ListByWorkspace".', - innerErrors: [ - { - code: 'INVALID_RESPONSE_BODY', - errors: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'value' ], - title: '#/definitions/TablesListResult/properties/value', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'value', 0 ], - title: '#/definitions/TablesListResult/properties/value/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'properties' ], - title: '#/definitions/Table/properties/properties', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 1, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 2, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 3, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 4, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 5, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 6, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 7, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 8, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 9, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 10, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 11, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 12, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 13, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 14, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/TablesListResult/properties/value/items', - position: { line: 505, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 505, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 12, column: 11 }, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'value', 1 ], - title: '#/definitions/TablesListResult/properties/value/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 1, 'properties' ], - title: '#/definitions/Table/properties/properties', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 1, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 2, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 3, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 4, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 1 ], - title: '#/definitions/TablesListResult/properties/value/items', - position: { line: 505, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 505, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 188, column: 11 }, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'value' ], - title: '#/definitions/TablesListResult/properties/value', - position: { line: 503, column: 18 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 11, column: 18 }, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - position: { line: 503, column: 18 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 11, column: 18 }, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json' - } - ], - message: "Invalid body: Data does not match any schemas from 'anyOf'", - path: [] - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_ListByWorkspace_MaximumSet_Gen" in operation "Tables_ListByWorkspace".:\n' -} -{ - message: 'the validation raised below error:', - level: '\u001b[31merror\u001b[39m' -} -{ - message: [ - { - operationId: 'Tables_ListByWorkspace', - scenario: 'TablesListByWorkspace', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/value/0/properties/schema/standardColumns/standardColumns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json', - jsonPath: "$['value'][0]['properties']['schema']['standardColumns']['standardColumns'][0]['type']", - similarPaths: [ '$/value/1/properties/schema/standardColumns/0/type' ], - similarJsonPaths: [ - "$['value'][1]['properties']['schema']['standardColumns'][0]['type']" - ] - } - }, - { - operationId: 'Tables_ListByWorkspace', - scenario: 'TablesListByWorkspace', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: '$/value/0/properties/schema/standardColumns/1/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json', - jsonPath: "$['value'][0]['properties']['schema']['standardColumns'][1]['type']", - similarPaths: [ - '$/value/0/properties/schema/standardColumns/3/type', - '$/value/0/properties/schema/standardColumns/4/type', - '$/value/0/properties/schema/standardColumns/5/type', - '$/value/1/properties/schema/standardColumns/standardColumns/1/type' - ], - similarJsonPaths: [ - "$['value'][0]['properties']['schema']['standardColumns'][3]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][4]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][5]['type']", - "$['value'][1]['properties']['schema']['standardColumns']['standardColumns'][1]['type']" - ] - } - }, - { - operationId: 'Tables_ListByWorkspace', - scenario: 'TablesListByWorkspace', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: '$/value/0/properties/schema/standardColumns/2/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json', - jsonPath: "$['value'][0]['properties']['schema']['standardColumns'][2]['type']", - similarPaths: [ '$/value/1/properties/schema/standardColumns/2/type' ], - similarJsonPaths: [ - "$['value'][1]['properties']['schema']['standardColumns'][2]['type']" - ] - } - }, - { - operationId: 'Tables_ListByWorkspace', - scenario: 'TablesListByWorkspace', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: '$/value/0/properties/schema/standardColumns/6/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableList.json', - jsonPath: "$['value'][0]['properties']['schema']['standardColumns'][6]['type']", - similarPaths: [ - '$/value/0/properties/schema/standardColumns/7/type', - '$/value/0/properties/schema/standardColumns/8/type', - '$/value/0/properties/schema/standardColumns/9/type', - '$/value/0/properties/schema/standardColumns/10/type', - '$/value/0/properties/schema/standardColumns/11/type', - '$/value/0/properties/schema/standardColumns/12/type', - '$/value/0/properties/schema/standardColumns/13/type', - '$/value/0/properties/schema/standardColumns/14/type' - ], - similarJsonPaths: [ - "$['value'][0]['properties']['schema']['standardColumns'][7]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][8]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][9]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][10]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][11]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][12]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][13]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][14]['type']" - ] - } - }, - { - operationId: 'Tables_ListByWorkspace', - scenario: 'Tables_ListByWorkspace_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/value/0/properties/schema/standardColumns/standardColumns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json', - jsonPath: "$['value'][0]['properties']['schema']['standardColumns']['standardColumns'][0]['type']", - similarPaths: [ '$/value/1/properties/schema/standardColumns/0/type' ], - similarJsonPaths: [ - "$['value'][1]['properties']['schema']['standardColumns'][0]['type']" - ] - } - }, - { - operationId: 'Tables_ListByWorkspace', - scenario: 'Tables_ListByWorkspace_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: '$/value/0/properties/schema/standardColumns/1/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json', - jsonPath: "$['value'][0]['properties']['schema']['standardColumns'][1]['type']", - similarPaths: [ - '$/value/0/properties/schema/standardColumns/3/type', - '$/value/0/properties/schema/standardColumns/4/type', - '$/value/0/properties/schema/standardColumns/5/type', - '$/value/1/properties/schema/standardColumns/standardColumns/1/type' - ], - similarJsonPaths: [ - "$['value'][0]['properties']['schema']['standardColumns'][3]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][4]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][5]['type']", - "$['value'][1]['properties']['schema']['standardColumns']['standardColumns'][1]['type']" - ] - } - }, - { - operationId: 'Tables_ListByWorkspace', - scenario: 'Tables_ListByWorkspace_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: '$/value/0/properties/schema/standardColumns/2/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json', - jsonPath: "$['value'][0]['properties']['schema']['standardColumns'][2]['type']", - similarPaths: [ '$/value/1/properties/schema/standardColumns/2/type' ], - similarJsonPaths: [ - "$['value'][1]['properties']['schema']['standardColumns'][2]['type']" - ] - } - }, - { - operationId: 'Tables_ListByWorkspace', - scenario: 'Tables_ListByWorkspace_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: '$/value/0/properties/schema/standardColumns/6/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_ListByWorkspace_MaximumSet_Gen.json', - jsonPath: "$['value'][0]['properties']['schema']['standardColumns'][6]['type']", - similarPaths: [ - '$/value/0/properties/schema/standardColumns/7/type', - '$/value/0/properties/schema/standardColumns/8/type', - '$/value/0/properties/schema/standardColumns/9/type', - '$/value/0/properties/schema/standardColumns/10/type', - '$/value/0/properties/schema/standardColumns/11/type', - '$/value/0/properties/schema/standardColumns/12/type', - '$/value/0/properties/schema/standardColumns/13/type', - '$/value/0/properties/schema/standardColumns/14/type' - ], - similarJsonPaths: [ - "$['value'][0]['properties']['schema']['standardColumns'][7]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][8]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][9]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][10]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][11]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][12]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][13]['type']", - "$['value'][0]['properties']['schema']['standardColumns'][14]['type']" - ] - } - } - ], - level: '\u001b[31merror\u001b[39m' -} -start generated example for Tables_Upsert, rule:MaximumSet -{ message: 'extractResponse', level: '\u001b[32minfo\u001b[39m' } -{ - message: { - parameters: { - subscriptionId: '00000000-0000-0000-0000-00000000000', - resourceGroupName: 'rgTables', - workspaceName: 'oiautorest6685', - 'api-version': '2020-10-01', - tableName: 'AzureNetworkFlow', - parameters: { - properties: { - retentionInDays: 45, - isTroubleshootEnabled: true, - schema: { - displayName: 'aaaaaaaaaaaa', - description: 'a', - columns: [ - { - name: 'aaaaaaaa', - type: 'String', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'a' - } - ] - } - } - } - }, - responses: { - '200': { - headers: undefined, - body: { - properties: { - retentionInDays: 45, - isTroubleshootingAllowed: true, - isTroubleshootEnabled: true, - lastTroubleshootDate: 'aaaaaaa', - schema: { - name: 'AzureNetworkFlow', - displayName: 'aaaaaaaaaaaa', - description: 'a', - columns: [ - { - name: 'aaaaaaaa', - type: 'String', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'a', - isDefaultDisplay: true, - isHidden: true - } - ], - standardColumns: [ - { - isHidden: true, - name: 'TenantId', - type: 'guid', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaa', - description: 'aaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'SourceSystem', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'TimeGenerated', - type: 'dateTime', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'AgentID', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'SourceIP', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaa', - description: 'aaaaaaaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'Protocol', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaa', - description: 'aaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'SourcePort', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'DestinationPort', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'TcpFlags', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'Packets', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aa', - description: 'aaaaaaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'Bytes', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'a', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'BytesOut', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaa', - description: 'aaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'DurationInMs', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaa', - description: 'aaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'RstCount', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'MaxSampleRtt', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - } - ], - categories: [ 'aaaaaaaaaaaaaaaaaa' ], - labels: [ 'aaaaaaaaaaaaaaaaaaaaaaaaaaa' ], - source: 'Microsoft', - solutions: [ 'LogManagement' ], - isTroubleshootingAllowed: true - }, - provisioningState: 'Succeeded' - }, - id: '/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow', - name: 'AzureNetworkFlow', - type: 'aaaaaaaaaaaaaa' - } - }, - '202': { headers: undefined, body: undefined } - } - }, - level: '\u001b[32minfo\u001b[39m' -} -example file path: C:\one\Mgmt\azure-rest-api-specs\specification\operationalinsights\resource-manager\Microsoft.OperationalInsights\preview\2021-03-01-privatepreview\examples\Tables_Upsert_MaximumSet_Gen.json -{ - message: 'start validating generated example for Tables_Upsert', - level: '\u001b[32minfo\u001b[39m' -} -{ - message: 'Validating "examples" and "x-ms-examples" in .\\Tables.json:\n', - level: '\u001b[32minfo\u001b[39m' -} -{ - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "202" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: '\u001b[31merror\u001b[39m' -} -{ - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "202" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: '\u001b[31merror\u001b[39m' -} -{ - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - id: 'OAV113', - message: 'Response statusCode "202" for operation "Tables_Upsert" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', - level: '\u001b[31merror\u001b[39m' -} -{ - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "200" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: '\u001b[31merror\u001b[39m' -} -{ - message: 'Request parameters for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Upsert" is valid.', - level: '\u001b[32minfo\u001b[39m' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Upsert".', - innerErrors: [ - { - code: 'INVALID_RESPONSE_BODY', - errors: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 1, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 2, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 3, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 4, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 5, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 6, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 7, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 8, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 9, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 10, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 11, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 12, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 13, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 14, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 18, column: 23 }, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 17, column: 25 }, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 17, column: 25 }, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - message: "Invalid body: Data does not match any schemas from 'anyOf'", - path: [] - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Upsert".:\n' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Upsert".', - innerErrors: [ - { - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "202" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Upsert\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Upsert".:\n' -} -{ - code: 'REQUEST_VALIDATION_ERROR', - id: 'OAV109', - message: 'Found errors in validating the request for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Upsert".:\n' + - ' Found errors in validating the request for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Upsert".', - innerErrors: [ - { - code: 'INVALID_REQUEST_PARAMETER', - errors: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties' ], - title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'columns' ], - title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'columns', 0 ], - title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', - description: "Coulmn's data type." - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'columns' ], - title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}' - } - ] - } - ], - in: 'body', - message: 'Invalid parameter (parameters): Value failed JSON Schema validation', - name: 'parameters', - path: [ 'parameters', 'parameters' ], - schemaPath: '#/paths/~1subscriptions~1{subscriptionId}~1resourcegroups~1{resourceGroupName}~1providers~1Microsoft.OperationalInsights~1workspaces~1{workspaceName}~1tables~1{tableName}/put/parameters/5', - title: '{"path":["parameters","parameters"],"position":{"line":8,"column":19},"url":"examples/TableCreateUpdate_Schema.json"}' - } - ], - level: '\u001b[31merror\u001b[39m' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Upsert".', - innerErrors: [ - { - code: 'INVALID_RESPONSE_BODY', - errors: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'columns' ], - title: '#/definitions/Schema/properties/columns', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'columns', 0 ], - title: '#/definitions/Schema/properties/columns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/Schema/properties/columns/items', - position: { line: 385, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 385, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'columns' ], - title: '#/definitions/Schema/properties/columns', - position: { line: 383, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 383, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 1, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 2, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 3, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 4, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 5, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 6, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 7, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 8, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 9, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 10, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 11, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 12, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 13, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 14, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 25, column: 21 }, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 24, column: 23 }, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 24, column: 23 }, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - message: "Invalid body: Data does not match any schemas from 'anyOf'", - path: [] - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Upsert".:\n' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Upsert".', - innerErrors: [ - { - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "202" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Upsert\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Upsert".:\n' -} -{ - code: 'REQUEST_VALIDATION_ERROR', - id: 'OAV109', - message: 'Found errors in validating the request for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Upsert".:\n' + - ' Found errors in validating the request for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Upsert".', - innerErrors: [ - { - code: 'INVALID_REQUEST_PARAMETER', - errors: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties' ], - title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'columns' ], - title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'columns', 0 ], - title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', - description: "Coulmn's data type." - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'columns' ], - title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}' - } - ] - } - ], - in: 'body', - message: 'Invalid parameter (parameters): Value failed JSON Schema validation', - name: 'parameters', - path: [ 'parameters', 'parameters' ], - schemaPath: '#/paths/~1subscriptions~1{subscriptionId}~1resourcegroups~1{resourceGroupName}~1providers~1Microsoft.OperationalInsights~1workspaces~1{workspaceName}~1tables~1{tableName}/put/parameters/5', - title: '{"path":["parameters","parameters"],"position":{"line":8,"column":19},"url":"examples/TableCreateUpdate_SchemaMetaData.json"}' - } - ], - level: '\u001b[31merror\u001b[39m' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Upsert".', - innerErrors: [ - { - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "200" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"200\\" for operation \\"Tables_Upsert\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Upsert".:\n' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Upsert".', - innerErrors: [ - { - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - id: 'OAV113', - message: 'Response statusCode "202" for operation "Tables_Upsert" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"202\\" for operation \\"Tables_Upsert\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Upsert".:\n' -} -{ - message: 'Request parameters for x-ms-example "Tables_Upsert_MaximumSet_Gen" in operation "Tables_Upsert" is valid.', - level: '\u001b[32minfo\u001b[39m' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_Upsert_MaximumSet_Gen" in operation "Tables_Upsert".', - innerErrors: [ - { - code: 'INVALID_RESPONSE_BODY', - errors: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 1, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 2, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 3, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 4, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 5, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 6, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 7, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 8, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 9, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 10, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 11, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 12, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 13, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 14, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 36, column: 21 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 31, column: 23 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 31, column: 23 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json' - } - ], - message: "Invalid body: Data does not match any schemas from 'anyOf'", - path: [] - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_Upsert_MaximumSet_Gen" in operation "Tables_Upsert".:\n' -} -{ - message: 'Response with statusCode "202" for x-ms-example "Tables_Upsert_MaximumSet_Gen" in operation "Tables_Upsert" is valid.', - level: '\u001b[32minfo\u001b[39m' -} -{ - message: 'the validation raised below error:', - level: '\u001b[31merror\u001b[39m' -} -{ - message: [ - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_MetaDataChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/properties/schema/standardColumns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json', - jsonPath: "$['properties']['schema']['standardColumns'][0]['type']" - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_MetaDataChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: '$/properties/schema/standardColumns/1/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json', - jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/3/type', - '$/properties/schema/standardColumns/4/type', - '$/properties/schema/standardColumns/5/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][3]['type']", - "$['properties']['schema']['standardColumns'][4]['type']", - "$['properties']['schema']['standardColumns'][5]['type']" - ] - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_MetaDataChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: '$/properties/schema/standardColumns/2/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json', - jsonPath: "$['properties']['schema']['standardColumns'][2]['type']" - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_MetaDataChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: '$/properties/schema/standardColumns/6/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json', - jsonPath: "$['properties']['schema']['standardColumns'][6]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/7/type', - '$/properties/schema/standardColumns/8/type', - '$/properties/schema/standardColumns/9/type', - '$/properties/schema/standardColumns/10/type', - '$/properties/schema/standardColumns/11/type', - '$/properties/schema/standardColumns/12/type', - '$/properties/schema/standardColumns/13/type', - '$/properties/schema/standardColumns/14/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][7]['type']", - "$['properties']['schema']['standardColumns'][8]['type']", - "$['properties']['schema']['standardColumns'][9]['type']", - "$['properties']['schema']['standardColumns'][10]['type']", - "$['properties']['schema']['standardColumns'][11]['type']", - "$['properties']['schema']['standardColumns'][12]['type']", - "$['properties']['schema']['standardColumns'][13]['type']", - "$['properties']['schema']['standardColumns'][14]['type']" - ] - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_MetaDataChange', - source: 'response', - responseCode: '202', - severity: 0, - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - details: { - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "202" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Upsert\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_SchemaChange', - source: 'request', - responseCode: 'ALL', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/properties/schema/columns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - jsonPath: "$['properties']['schema']['columns'][0]['type']", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {} - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_SchemaChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/properties/schema/columns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json', - jsonPath: "$['properties']['schema']['columns'][0]['type']" - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_SchemaChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/properties/schema/standardColumns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json', - jsonPath: "$['properties']['schema']['standardColumns'][0]['type']" - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_SchemaChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: '$/properties/schema/standardColumns/1/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json', - jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/3/type', - '$/properties/schema/standardColumns/4/type', - '$/properties/schema/standardColumns/5/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][3]['type']", - "$['properties']['schema']['standardColumns'][4]['type']", - "$['properties']['schema']['standardColumns'][5]['type']" - ] - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_SchemaChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: '$/properties/schema/standardColumns/2/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json', - jsonPath: "$['properties']['schema']['standardColumns'][2]['type']" - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_SchemaChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: '$/properties/schema/standardColumns/6/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json', - jsonPath: "$['properties']['schema']['standardColumns'][6]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/7/type', - '$/properties/schema/standardColumns/8/type', - '$/properties/schema/standardColumns/9/type', - '$/properties/schema/standardColumns/10/type', - '$/properties/schema/standardColumns/11/type', - '$/properties/schema/standardColumns/12/type', - '$/properties/schema/standardColumns/13/type', - '$/properties/schema/standardColumns/14/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][7]['type']", - "$['properties']['schema']['standardColumns'][8]['type']", - "$['properties']['schema']['standardColumns'][9]['type']", - "$['properties']['schema']['standardColumns'][10]['type']", - "$['properties']['schema']['standardColumns'][11]['type']", - "$['properties']['schema']['standardColumns'][12]['type']", - "$['properties']['schema']['standardColumns'][13]['type']", - "$['properties']['schema']['standardColumns'][14]['type']" - ] - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_SchemaChange', - source: 'response', - responseCode: '202', - severity: 0, - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - details: { - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "202" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Upsert\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_SchemaMetadaChange', - source: 'request', - responseCode: 'ALL', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/properties/schema/columns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - jsonPath: "$['properties']['schema']['columns'][0]['type']", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {} - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_SchemaMetadaChange', - source: 'response', - responseCode: '200', - severity: 0, - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - details: { - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "200" for operation "Tables_Upsert" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"200\\" for operation \\"Tables_Upsert\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'TableCreate_SchemaMetadaChange', - source: 'response', - responseCode: '202', - severity: 0, - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - details: { - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - id: 'OAV113', - message: 'Response statusCode "202" for operation "Tables_Upsert" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"202\\" for operation \\"Tables_Upsert\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'Tables_Upsert_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/properties/schema/standardColumns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json', - jsonPath: "$['properties']['schema']['standardColumns'][0]['type']" - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'Tables_Upsert_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: '$/properties/schema/standardColumns/1/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json', - jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/3/type', - '$/properties/schema/standardColumns/4/type', - '$/properties/schema/standardColumns/5/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][3]['type']", - "$['properties']['schema']['standardColumns'][4]['type']", - "$['properties']['schema']['standardColumns'][5]['type']" - ] - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'Tables_Upsert_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: '$/properties/schema/standardColumns/2/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json', - jsonPath: "$['properties']['schema']['standardColumns'][2]['type']" - } - }, - { - operationId: 'Tables_Upsert', - scenario: 'Tables_Upsert_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: '$/properties/schema/standardColumns/6/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Upsert_MaximumSet_Gen.json', - jsonPath: "$['properties']['schema']['standardColumns'][6]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/7/type', - '$/properties/schema/standardColumns/8/type', - '$/properties/schema/standardColumns/9/type', - '$/properties/schema/standardColumns/10/type', - '$/properties/schema/standardColumns/11/type', - '$/properties/schema/standardColumns/12/type', - '$/properties/schema/standardColumns/13/type', - '$/properties/schema/standardColumns/14/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][7]['type']", - "$['properties']['schema']['standardColumns'][8]['type']", - "$['properties']['schema']['standardColumns'][9]['type']", - "$['properties']['schema']['standardColumns'][10]['type']", - "$['properties']['schema']['standardColumns'][11]['type']", - "$['properties']['schema']['standardColumns'][12]['type']", - "$['properties']['schema']['standardColumns'][13]['type']", - "$['properties']['schema']['standardColumns'][14]['type']" - ] - } - } - ], - level: '\u001b[31merror\u001b[39m' -} -start generated example for Tables_Update, rule:MaximumSet -example file path: C:\one\Mgmt\azure-rest-api-specs\specification\operationalinsights\resource-manager\Microsoft.OperationalInsights\preview\2021-03-01-privatepreview\examples\Tables_Update_MaximumSet_Gen.json -{ message: 'extractResponse', level: '\u001b[32minfo\u001b[39m' } -{ - message: { - parameters: { - subscriptionId: '00000000-0000-0000-0000-00000000000', - resourceGroupName: 'rgTables', - workspaceName: 'oiautorest6685', - 'api-version': '2020-10-01', - tableName: 'AzureNetworkFlow', - parameters: { - properties: { - retentionInDays: 45, - isTroubleshootEnabled: true, - schema: { - displayName: 'aaaaaaaaaaaa', - description: 'a', - columns: [ - { - name: 'aaaaaaaa', - type: 'String', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'a' - } - ] - } - } - } - }, - responses: { - '200': { - headers: undefined, - body: { - properties: { - retentionInDays: 45, - isTroubleshootingAllowed: true, - isTroubleshootEnabled: true, - lastTroubleshootDate: 'aaaaaaa', - schema: { - name: 'AzureNetworkFlow', - displayName: 'aaaaaaaaaaaa', - description: 'a', - columns: [ - { - name: 'aaaaaaaa', - type: 'String', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'a', - isDefaultDisplay: true, - isHidden: true - } - ], - standardColumns: [ - { - isHidden: true, - name: 'TenantId', - type: 'guid', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaa', - description: 'aaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'SourceSystem', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'TimeGenerated', - type: 'dateTime', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'AgentID', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'SourceIP', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaa', - description: 'aaaaaaaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'Protocol', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaa', - description: 'aaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'SourcePort', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'DestinationPort', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'TcpFlags', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'Packets', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aa', - description: 'aaaaaaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'Bytes', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'a', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'BytesOut', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaa', - description: 'aaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'DurationInMs', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaa', - description: 'aaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'RstCount', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'MaxSampleRtt', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - } - ], - categories: [ 'aaaaaaaaaaaaaaaaaa' ], - labels: [ 'aaaaaaaaaaaaaaaaaaaaaaaaaaa' ], - source: 'Microsoft', - solutions: [ 'LogManagement' ], - isTroubleshootingAllowed: true - }, - provisioningState: 'Succeeded' - }, - id: '/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow', - name: 'AzureNetworkFlow', - type: 'aaaaaaaaaaaaaa' - } - }, - '202': { headers: undefined, body: undefined } - } - }, - level: '\u001b[32minfo\u001b[39m' -} -{ - message: 'start validating generated example for Tables_Update', - level: '\u001b[32minfo\u001b[39m' -} -{ - message: 'Validating "examples" and "x-ms-examples" in .\\Tables.json:\n', - level: '\u001b[32minfo\u001b[39m' -} -{ - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "202" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: '\u001b[31merror\u001b[39m' -} -{ - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "202" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: '\u001b[31merror\u001b[39m' -} -{ - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - id: 'OAV113', - message: 'Response statusCode "202" for operation "Tables_Update" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', - level: '\u001b[31merror\u001b[39m' -} -{ - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "200" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: '\u001b[31merror\u001b[39m' -} -{ - message: 'Request parameters for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Update" is valid.', - level: '\u001b[32minfo\u001b[39m' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Update".', - innerErrors: [ - { - code: 'INVALID_RESPONSE_BODY', - errors: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 1, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 2, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 3, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 4, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 5, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 6, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 7, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 8, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 9, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 10, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 11, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 12, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 13, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 14, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 18, column: 23 }, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 17, column: 25 }, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 17, column: 25 }, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json' - } - ], - message: "Invalid body: Data does not match any schemas from 'anyOf'", - path: [] - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Update".:\n' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Update".', - innerErrors: [ - { - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "202" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Update\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_MetaDataChange" in operation "Tables_Update".:\n' -} -{ - code: 'REQUEST_VALIDATION_ERROR', - id: 'OAV109', - message: 'Found errors in validating the request for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Update".:\n' + - ' Found errors in validating the request for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Update".', - innerErrors: [ - { - code: 'INVALID_REQUEST_PARAMETER', - errors: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties' ], - title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'columns' ], - title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'columns', 0 ], - title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', - description: "Coulmn's data type." - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'columns' ], - title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}' - } - ] - } - ], - in: 'body', - message: 'Invalid parameter (parameters): Value failed JSON Schema validation', - name: 'parameters', - path: [ 'parameters', 'parameters' ], - schemaPath: '#/paths/~1subscriptions~1{subscriptionId}~1resourcegroups~1{resourceGroupName}~1providers~1Microsoft.OperationalInsights~1workspaces~1{workspaceName}~1tables~1{tableName}/patch/parameters/5', - title: '{"path":["parameters","parameters"],"position":{"line":8,"column":19},"url":"examples/TableCreateUpdate_Schema.json"}' - } - ], - level: '\u001b[31merror\u001b[39m' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Update".', - innerErrors: [ - { - code: 'INVALID_RESPONSE_BODY', - errors: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'columns' ], - title: '#/definitions/Schema/properties/columns', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'columns', 0 ], - title: '#/definitions/Schema/properties/columns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/Schema/properties/columns/items', - position: { line: 385, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 385, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'columns' ], - title: '#/definitions/Schema/properties/columns', - position: { line: 383, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 383, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 1, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 2, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 3, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 4, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 5, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 6, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 7, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 8, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 9, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 10, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 11, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 12, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 13, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 14, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 25, column: 21 }, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 24, column: 23 }, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 24, column: 23 }, - jsonUrl: 'examples/TableCreateUpdate_Schema.json' - } - ], - message: "Invalid body: Data does not match any schemas from 'anyOf'", - path: [] - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Update".:\n' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Update".', - innerErrors: [ - { - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "202" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Update\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaChange" in operation "Tables_Update".:\n' -} -{ - code: 'REQUEST_VALIDATION_ERROR', - id: 'OAV109', - message: 'Found errors in validating the request for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Update".:\n' + - ' Found errors in validating the request for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Update".', - innerErrors: [ - { - code: 'INVALID_REQUEST_PARAMETER', - errors: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties' ], - title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'columns' ], - title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'columns', 0 ], - title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}', - description: "Coulmn's data type." - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '{"path":["definitions","Column","properties","type"],"position":{"line":315,"column":17},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '{"path":["definitions","Schema","properties","columns","items"],"position":{"line":385,"column":20},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'columns' ], - title: '{"path":["definitions","Schema","properties","columns"],"position":{"line":383,"column":20},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '{"path":["definitions","TableProperties","properties","schema"],"position":{"line":466,"column":19},"url":".\\\\Tables.json","directives":{}}' - } - ] - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '{"path":["definitions","Table","properties","properties"],"position":{"line":488,"column":23},"url":".\\\\Tables.json","directives":{}}' - } - ] - } - ], - in: 'body', - message: 'Invalid parameter (parameters): Value failed JSON Schema validation', - name: 'parameters', - path: [ 'parameters', 'parameters' ], - schemaPath: '#/paths/~1subscriptions~1{subscriptionId}~1resourcegroups~1{resourceGroupName}~1providers~1Microsoft.OperationalInsights~1workspaces~1{workspaceName}~1tables~1{tableName}/patch/parameters/5', - title: '{"path":["parameters","parameters"],"position":{"line":8,"column":19},"url":"examples/TableCreateUpdate_SchemaMetaData.json"}' - } - ], - level: '\u001b[31merror\u001b[39m' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Update".', - innerErrors: [ - { - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "200" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"200\\" for operation \\"Tables_Update\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Update".:\n' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Update".', - innerErrors: [ - { - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - id: 'OAV113', - message: 'Response statusCode "202" for operation "Tables_Update" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"202\\" for operation \\"Tables_Update\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TableCreate_SchemaMetadaChange" in operation "Tables_Update".:\n' -} -{ - message: 'Request parameters for x-ms-example "Tables_Update_MaximumSet_Gen" in operation "Tables_Update" is valid.', - level: '\u001b[32minfo\u001b[39m' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_Update_MaximumSet_Gen" in operation "Tables_Update".', - innerErrors: [ - { - code: 'INVALID_RESPONSE_BODY', - errors: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 1, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 2, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 3, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 4, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 5, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 6, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 7, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 8, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 9, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 10, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 11, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 12, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 13, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 14, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 36, column: 21 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 31, column: 23 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 31, column: 23 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json' - } - ], - message: "Invalid body: Data does not match any schemas from 'anyOf'", - path: [] - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_Update_MaximumSet_Gen" in operation "Tables_Update".:\n' -} -{ - message: 'Response with statusCode "202" for x-ms-example "Tables_Update_MaximumSet_Gen" in operation "Tables_Update" is valid.', - level: '\u001b[32minfo\u001b[39m' -} -{ - message: 'the validation raised below error:', - level: '\u001b[31merror\u001b[39m' -} -{ - message: [ - { - operationId: 'Tables_Update', - scenario: 'TableCreate_MetaDataChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/properties/schema/standardColumns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json', - jsonPath: "$['properties']['schema']['standardColumns'][0]['type']" - } - }, - { - operationId: 'Tables_Update', - scenario: 'TableCreate_MetaDataChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: '$/properties/schema/standardColumns/1/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json', - jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/3/type', - '$/properties/schema/standardColumns/4/type', - '$/properties/schema/standardColumns/5/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][3]['type']", - "$['properties']['schema']['standardColumns'][4]['type']", - "$['properties']['schema']['standardColumns'][5]['type']" - ] - } - }, - { - operationId: 'Tables_Update', - scenario: 'TableCreate_MetaDataChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: '$/properties/schema/standardColumns/2/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json', - jsonPath: "$['properties']['schema']['standardColumns'][2]['type']" - } - }, - { - operationId: 'Tables_Update', - scenario: 'TableCreate_MetaDataChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: '$/properties/schema/standardColumns/6/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_MetaData.json', - jsonPath: "$['properties']['schema']['standardColumns'][6]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/7/type', - '$/properties/schema/standardColumns/8/type', - '$/properties/schema/standardColumns/9/type', - '$/properties/schema/standardColumns/10/type', - '$/properties/schema/standardColumns/11/type', - '$/properties/schema/standardColumns/12/type', - '$/properties/schema/standardColumns/13/type', - '$/properties/schema/standardColumns/14/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][7]['type']", - "$['properties']['schema']['standardColumns'][8]['type']", - "$['properties']['schema']['standardColumns'][9]['type']", - "$['properties']['schema']['standardColumns'][10]['type']", - "$['properties']['schema']['standardColumns'][11]['type']", - "$['properties']['schema']['standardColumns'][12]['type']", - "$['properties']['schema']['standardColumns'][13]['type']", - "$['properties']['schema']['standardColumns'][14]['type']" - ] - } - }, - { - operationId: 'Tables_Update', - scenario: 'TableCreate_MetaDataChange', - source: 'response', - responseCode: '202', - severity: 0, - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - details: { - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "202" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Update\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' - } - }, - { - operationId: 'Tables_Update', - scenario: 'TableCreate_SchemaChange', - source: 'request', - responseCode: 'ALL', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/properties/schema/columns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - jsonPath: "$['properties']['schema']['columns'][0]['type']", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {} - } - }, - { - operationId: 'Tables_Update', - scenario: 'TableCreate_SchemaChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/properties/schema/columns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json', - jsonPath: "$['properties']['schema']['columns'][0]['type']" - } - }, - { - operationId: 'Tables_Update', - scenario: 'TableCreate_SchemaChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/properties/schema/standardColumns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json', - jsonPath: "$['properties']['schema']['standardColumns'][0]['type']" - } - }, - { - operationId: 'Tables_Update', - scenario: 'TableCreate_SchemaChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: '$/properties/schema/standardColumns/1/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json', - jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/3/type', - '$/properties/schema/standardColumns/4/type', - '$/properties/schema/standardColumns/5/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][3]['type']", - "$['properties']['schema']['standardColumns'][4]['type']", - "$['properties']['schema']['standardColumns'][5]['type']" - ] - } - }, - { - operationId: 'Tables_Update', - scenario: 'TableCreate_SchemaChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: '$/properties/schema/standardColumns/2/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json', - jsonPath: "$['properties']['schema']['standardColumns'][2]['type']" - } - }, - { - operationId: 'Tables_Update', - scenario: 'TableCreate_SchemaChange', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: '$/properties/schema/standardColumns/6/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableCreateUpdate_Schema.json', - jsonPath: "$['properties']['schema']['standardColumns'][6]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/7/type', - '$/properties/schema/standardColumns/8/type', - '$/properties/schema/standardColumns/9/type', - '$/properties/schema/standardColumns/10/type', - '$/properties/schema/standardColumns/11/type', - '$/properties/schema/standardColumns/12/type', - '$/properties/schema/standardColumns/13/type', - '$/properties/schema/standardColumns/14/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][7]['type']", - "$['properties']['schema']['standardColumns'][8]['type']", - "$['properties']['schema']['standardColumns'][9]['type']", - "$['properties']['schema']['standardColumns'][10]['type']", - "$['properties']['schema']['standardColumns'][11]['type']", - "$['properties']['schema']['standardColumns'][12]['type']", - "$['properties']['schema']['standardColumns'][13]['type']", - "$['properties']['schema']['standardColumns'][14]['type']" - ] - } - }, - { - operationId: 'Tables_Update', - scenario: 'TableCreate_SchemaChange', - source: 'response', - responseCode: '202', - severity: 0, - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - details: { - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "202" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"202\\" for operation \\"Tables_Update\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' - } - }, - { - operationId: 'Tables_Update', - scenario: 'TableCreate_SchemaMetadaChange', - source: 'request', - responseCode: 'ALL', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/properties/schema/columns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - jsonPath: "$['properties']['schema']['columns'][0]['type']", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {} - } - }, - { - operationId: 'Tables_Update', - scenario: 'TableCreate_SchemaMetadaChange', - source: 'response', - responseCode: '200', - severity: 0, - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - details: { - code: 'RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE', - id: 'OAV111', - message: 'Following response status codes "200" for operation "Tables_Update" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE","id":"OAV111","message":"Following response status codes \\"200\\" for operation \\"Tables_Update\\" were present in the swagger spec, however they were not present in x-ms-examples. Please provide them.","level":"error"}' - } - }, - { - operationId: 'Tables_Update', - scenario: 'TableCreate_SchemaMetadaChange', - source: 'response', - responseCode: '202', - severity: 0, - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - details: { - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - id: 'OAV113', - message: 'Response statusCode "202" for operation "Tables_Update" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"202\\" for operation \\"Tables_Update\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' - } - }, - { - operationId: 'Tables_Update', - scenario: 'Tables_Update_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/properties/schema/standardColumns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json', - jsonPath: "$['properties']['schema']['standardColumns'][0]['type']" - } - }, - { - operationId: 'Tables_Update', - scenario: 'Tables_Update_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: '$/properties/schema/standardColumns/1/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json', - jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/3/type', - '$/properties/schema/standardColumns/4/type', - '$/properties/schema/standardColumns/5/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][3]['type']", - "$['properties']['schema']['standardColumns'][4]['type']", - "$['properties']['schema']['standardColumns'][5]['type']" - ] - } - }, - { - operationId: 'Tables_Update', - scenario: 'Tables_Update_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: '$/properties/schema/standardColumns/2/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json', - jsonPath: "$['properties']['schema']['standardColumns'][2]['type']" - } - }, - { - operationId: 'Tables_Update', - scenario: 'Tables_Update_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: '$/properties/schema/standardColumns/6/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 204, column: 17 }, - jsonUrl: 'examples/Tables_Update_MaximumSet_Gen.json', - jsonPath: "$['properties']['schema']['standardColumns'][6]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/7/type', - '$/properties/schema/standardColumns/8/type', - '$/properties/schema/standardColumns/9/type', - '$/properties/schema/standardColumns/10/type', - '$/properties/schema/standardColumns/11/type', - '$/properties/schema/standardColumns/12/type', - '$/properties/schema/standardColumns/13/type', - '$/properties/schema/standardColumns/14/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][7]['type']", - "$['properties']['schema']['standardColumns'][8]['type']", - "$['properties']['schema']['standardColumns'][9]['type']", - "$['properties']['schema']['standardColumns'][10]['type']", - "$['properties']['schema']['standardColumns'][11]['type']", - "$['properties']['schema']['standardColumns'][12]['type']", - "$['properties']['schema']['standardColumns'][13]['type']", - "$['properties']['schema']['standardColumns'][14]['type']" - ] - } - } - ], - level: '\u001b[31merror\u001b[39m' -} -start generated example for Tables_Get, rule:MaximumSet -example file path: C:\one\Mgmt\azure-rest-api-specs\specification\operationalinsights\resource-manager\Microsoft.OperationalInsights\preview\2021-03-01-privatepreview\examples\Tables_Get_MaximumSet_Gen.json -{ message: 'extractResponse', level: '\u001b[32minfo\u001b[39m' } -{ - message: { - parameters: { - subscriptionId: '00000000-0000-0000-0000-00000000000', - resourceGroupName: 'rgTables', - workspaceName: 'oiautorest6685', - 'api-version': '2020-10-01', - tableName: 'AzureNetworkFlow' - }, - responses: { - '200': { - headers: undefined, - body: { - properties: { - retentionInDays: 45, - isTroubleshootingAllowed: true, - isTroubleshootEnabled: true, - lastTroubleshootDate: 'aaaaaaa', - schema: { - name: 'AzureNetworkFlow', - displayName: 'aaaaaaaaaaaa', - description: 'a', - columns: [ - { - name: 'aaaaaaaa', - type: 'String', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'a', - isDefaultDisplay: true, - isHidden: true - } - ], - standardColumns: [ - { - isHidden: true, - name: 'TenantId', - type: 'guid', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaa', - description: 'aaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'SourceSystem', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'TimeGenerated', - type: 'dateTime', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'AgentID', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'SourceIP', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaa', - description: 'aaaaaaaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'Protocol', - type: 'string', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaa', - description: 'aaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'SourcePort', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'DestinationPort', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'TcpFlags', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'Packets', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aa', - description: 'aaaaaaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'Bytes', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaaaaaaaaaaaaaa', - description: 'a', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'BytesOut', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaa', - description: 'aaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'DurationInMs', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaa', - description: 'aaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'RstCount', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaa', - isDefaultDisplay: true - }, - { - isHidden: true, - name: 'MaxSampleRtt', - type: 'int', - dataTypeHint: 'URI', - displayName: 'aaaaaaaaaaaaaaa', - description: 'aaaaaaaaaaaaaaaaaaa', - isDefaultDisplay: true - } - ], - categories: [ 'aaaaaaaaaaaaaaaaaa' ], - labels: [ 'aaaaaaaaaaaaaaaaaaaaaaaaaaa' ], - source: 'Microsoft', - solutions: [ 'LogManagement' ], - isTroubleshootingAllowed: true - }, - provisioningState: 'Succeeded' - }, - id: '/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow', - name: 'AzureNetworkFlow', - type: 'aaaaaaaaaaaaaa' - } - } - } - }, - level: '\u001b[32minfo\u001b[39m' -} -{ - message: 'start validating generated example for Tables_Get', - level: '\u001b[32minfo\u001b[39m' -} -{ - message: 'Validating "examples" and "x-ms-examples" in .\\Tables.json:\n', - level: '\u001b[32minfo\u001b[39m' -} -{ - message: 'Request parameters for x-ms-example "TablesGet" in operation "Tables_Get" is valid.', - level: '\u001b[32minfo\u001b[39m' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TablesGet" in operation "Tables_Get".', - innerErrors: [ - { - code: 'INVALID_RESPONSE_BODY', - errors: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 1, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 2, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 3, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 4, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 5, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 6, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 13, column: 21 }, - jsonUrl: 'examples/TableGet.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 12, column: 23 }, - jsonUrl: 'examples/TableGet.json' - } - ], - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 12, column: 23 }, - jsonUrl: 'examples/TableGet.json' - } - ], - message: "Invalid body: Data does not match any schemas from 'anyOf'", - path: [] - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TablesGet" in operation "Tables_Get".:\n' -} -{ - message: 'Request parameters for x-ms-example "Tables_Get_MaximumSet_Gen" in operation "Tables_Get" is valid.', - level: '\u001b[32minfo\u001b[39m' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_Get_MaximumSet_Gen" in operation "Tables_Get".', - innerErrors: [ - { - code: 'INVALID_RESPONSE_BODY', - errors: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'properties', 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'schema', 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 0, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 0 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 1, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 1 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 2, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 2 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 3, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 3 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 4, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 4 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 5, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 5 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 6, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 6 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 7, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 7 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 8, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 8 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 9, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 9 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 10, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 10 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 11, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 11 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 12, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 12 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 13, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 13 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 'standardColumns', 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - inner: [ - { - code: 'ANY_OF_MISSING', - params: [], - message: "Data does not match any schemas from 'anyOf'", - path: [ 14, 'type' ], - title: '#/definitions/Column/properties/type', - inner: [ - { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'string' ], - message: 'Expected type null but found type string', - path: [ 'type' ], - title: '#/definitions/Column/properties/type', - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 14 ], - title: '#/definitions/Schema/properties/standardColumns/items', - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 393, column: 20 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'array' ], - message: 'Expected type null but found type array', - path: [ 'standardColumns' ], - title: '#/definitions/Schema/properties/standardColumns', - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 390, column: 28 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'schema' ], - title: '#/definitions/TableProperties/properties/schema', - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 466, column: 19 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 17, column: 21 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - }, - { - code: 'INVALID_TYPE', - params: [ 'null', 'object' ], - message: 'Expected type null but found type object', - path: [ 'properties' ], - title: '#/definitions/Table/properties/properties', - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 12, column: 23 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - position: { line: 488, column: 23 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 12, column: 23 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json' - } - ], - message: "Invalid body: Data does not match any schemas from 'anyOf'", - path: [] - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "Tables_Get_MaximumSet_Gen" in operation "Tables_Get".:\n' -} -{ - message: 'the validation raised below error:', - level: '\u001b[31merror\u001b[39m' -} -{ - message: [ - { - operationId: 'Tables_Get', - scenario: 'TablesGet', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/properties/schema/standardColumns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json', - jsonPath: "$['properties']['schema']['standardColumns'][0]['type']", - similarPaths: [ '$/properties/schema/standardColumns/2/type' ], - similarJsonPaths: [ "$['properties']['schema']['standardColumns'][2]['type']" ] - } - }, - { - operationId: 'Tables_Get', - scenario: 'TablesGet', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: '$/properties/schema/standardColumns/1/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json', - jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/3/type', - '$/properties/schema/standardColumns/5/type', - '$/properties/schema/standardColumns/6/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][3]['type']", - "$['properties']['schema']['standardColumns'][5]['type']", - "$['properties']['schema']['standardColumns'][6]['type']" - ] - } - }, - { - operationId: 'Tables_Get', - scenario: 'TablesGet', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: '$/properties/schema/standardColumns/4/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonUrl: 'examples/TableGet.json', - jsonPath: "$['properties']['schema']['standardColumns'][4]['type']" - } - }, - { - operationId: 'Tables_Get', - scenario: 'Tables_Get_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'guid' ], - message: 'Enum does not match case for: guid', - path: '$/properties/schema/standardColumns/0/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json', - jsonPath: "$['properties']['schema']['standardColumns'][0]['type']" - } - }, - { - operationId: 'Tables_Get', - scenario: 'Tables_Get_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'string' ], - message: 'Enum does not match case for: string', - path: '$/properties/schema/standardColumns/1/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json', - jsonPath: "$['properties']['schema']['standardColumns'][1]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/3/type', - '$/properties/schema/standardColumns/4/type', - '$/properties/schema/standardColumns/5/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][3]['type']", - "$['properties']['schema']['standardColumns'][4]['type']", - "$['properties']['schema']['standardColumns'][5]['type']" - ] - } - }, - { - operationId: 'Tables_Get', - scenario: 'Tables_Get_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'dateTime' ], - message: 'Enum does not match case for: dateTime', - path: '$/properties/schema/standardColumns/2/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json', - jsonPath: "$['properties']['schema']['standardColumns'][2]['type']" - } - }, - { - operationId: 'Tables_Get', - scenario: 'Tables_Get_MaximumSet_Gen', - source: 'response', - responseCode: '200', - severity: 1, - code: 'ENUM_CASE_MISMATCH', - details: { - code: 'ENUM_CASE_MISMATCH', - params: [ 'int' ], - message: 'Enum does not match case for: int', - path: '$/properties/schema/standardColumns/6/type', - title: '#/definitions/Column/properties/type', - description: "Coulmn's data type.", - position: { line: 315, column: 17 }, - url: '.\\Tables.json', - directives: {}, - jsonPosition: { line: 185, column: 17 }, - jsonUrl: 'examples/Tables_Get_MaximumSet_Gen.json', - jsonPath: "$['properties']['schema']['standardColumns'][6]['type']", - similarPaths: [ - '$/properties/schema/standardColumns/7/type', - '$/properties/schema/standardColumns/8/type', - '$/properties/schema/standardColumns/9/type', - '$/properties/schema/standardColumns/10/type', - '$/properties/schema/standardColumns/11/type', - '$/properties/schema/standardColumns/12/type', - '$/properties/schema/standardColumns/13/type', - '$/properties/schema/standardColumns/14/type' - ], - similarJsonPaths: [ - "$['properties']['schema']['standardColumns'][7]['type']", - "$['properties']['schema']['standardColumns'][8]['type']", - "$['properties']['schema']['standardColumns'][9]['type']", - "$['properties']['schema']['standardColumns'][10]['type']", - "$['properties']['schema']['standardColumns'][11]['type']", - "$['properties']['schema']['standardColumns'][12]['type']", - "$['properties']['schema']['standardColumns'][13]['type']", - "$['properties']['schema']['standardColumns'][14]['type']" - ] - } - } - ], - level: '\u001b[31merror\u001b[39m' -} -start generated example for Tables_Delete, rule:MaximumSet -{ message: 'extractResponse', level: '\u001b[32minfo\u001b[39m' } -{ - message: { - parameters: { - subscriptionId: '00000000-0000-0000-0000-00000000000', - resourceGroupName: 'rgTables', - workspaceName: 'oiautorest6685', - 'api-version': '2020-10-01', - tableName: 'AzureNetworkFlow' - }, - responses: { - '200': { headers: undefined, body: undefined }, - '202': { headers: undefined, body: undefined } - } - }, - level: '\u001b[32minfo\u001b[39m' -} -example file path: C:\one\Mgmt\azure-rest-api-specs\specification\operationalinsights\resource-manager\Microsoft.OperationalInsights\preview\2021-03-01-privatepreview\examples\Tables_Delete_MaximumSet_Gen.json -{ - message: 'start validating generated example for Tables_Delete', - level: '\u001b[32minfo\u001b[39m' -} -{ - message: 'Validating "examples" and "x-ms-examples" in .\\Tables.json:\n', - level: '\u001b[32minfo\u001b[39m' -} -{ - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - id: 'OAV113', - message: 'Response statusCode "200" for operation "Tables_Delete" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', - level: '\u001b[31merror\u001b[39m' -} -{ - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - id: 'OAV113', - message: 'Response statusCode "202" for operation "Tables_Delete" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', - level: '\u001b[31merror\u001b[39m' -} -{ - message: 'Request parameters for x-ms-example "TablesGet" in operation "Tables_Delete" is valid.', - level: '\u001b[32minfo\u001b[39m' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TablesGet" in operation "Tables_Delete".', - innerErrors: [ - { - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - id: 'OAV113', - message: 'Response statusCode "200" for operation "Tables_Delete" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"200\\" for operation \\"Tables_Delete\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "200" for x-ms-example "TablesGet" in operation "Tables_Delete".:\n' -} -{ - '0': { - code: 'RESPONSE_VALIDATION_ERROR', - id: 'OAV108', - message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TablesGet" in operation "Tables_Delete".', - innerErrors: [ - { - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - id: 'OAV113', - message: 'Response statusCode "202" for operation "Tables_Delete" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"202\\" for operation \\"Tables_Delete\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' - } - ] - }, - level: '\u001b[31merror\u001b[39m', - message: 'Found errors in validating the response with statusCode "202" for x-ms-example "TablesGet" in operation "Tables_Delete".:\n' -} -{ - message: 'Request parameters for x-ms-example "Tables_Delete_MaximumSet_Gen" in operation "Tables_Delete" is valid.', - level: '\u001b[32minfo\u001b[39m' -} -{ - message: 'Response with statusCode "200" for x-ms-example "Tables_Delete_MaximumSet_Gen" in operation "Tables_Delete" is valid.', - level: '\u001b[32minfo\u001b[39m' -} -{ - message: 'Response with statusCode "202" for x-ms-example "Tables_Delete_MaximumSet_Gen" in operation "Tables_Delete" is valid.', - level: '\u001b[32minfo\u001b[39m' -} -{ - message: 'the validation raised below error:', - level: '\u001b[31merror\u001b[39m' -} -{ - message: [ - { - operationId: 'Tables_Delete', - scenario: 'TablesGet', - source: 'response', - responseCode: '200', - severity: 0, - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - details: { - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - id: 'OAV113', - message: 'Response statusCode "200" for operation "Tables_Delete" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"200\\" for operation \\"Tables_Delete\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' - } - }, - { - operationId: 'Tables_Delete', - scenario: 'TablesGet', - source: 'response', - responseCode: '202', - severity: 0, - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - details: { - code: 'RESPONSE_SCHEMA_NOT_IN_SPEC', - id: 'OAV113', - message: 'Response statusCode "202" for operation "Tables_Delete" has response body provided in the example, however the response does not have a "schema" defined in the swagger spec.', - level: 'error', - [Symbol(level)]: 'error', - [Symbol(message)]: '{"code":"RESPONSE_SCHEMA_NOT_IN_SPEC","id":"OAV113","message":"Response statusCode \\"202\\" for operation \\"Tables_Delete\\" has response body provided in the example, however the response does not have a \\"schema\\" defined in the swagger spec.","level":"error"}' - } - } - ], - level: '\u001b[31merror\u001b[39m' -} From 30cd7da6941545ffd87b9405c1a6ce0780e36037 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Sun, 25 Jul 2021 08:51:45 +0300 Subject: [PATCH 03/22] Microsoft.OperationalInsights: tables privatepreview --- .../preview/2021-03-01-privatepreview/Tables.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json index 63c3bf083409..ed9c8a32a7a1 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json @@ -3,7 +3,7 @@ "info": { "title": "Azure Log Analytics", "description": "Azure Log Analytics API reference", - "version": "2020-10-01" + "version": "2021-03-01-privatepreview" }, "host": "management.azure.com", "schemes": [ From a7995b3599df25e3c9f60860cfc4268a6d821d92 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Sun, 25 Jul 2021 14:16:46 +0300 Subject: [PATCH 04/22] code review changes. --- .../2021-03-01-privatepreview/Tables.json | 54 +-- .../examples/TableCreateUpdate_MetaData.json | 233 +++++---- .../examples/TableCreateUpdate_Schema.json | 206 ++++---- .../TableCreateUpdate_SchemaMetaData.json | 13 +- .../examples/TableDelete.json | 27 +- .../examples/TableGet.json | 158 +++--- .../examples/TableList.json | 448 +++++++++--------- 7 files changed, 564 insertions(+), 575 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json index ed9c8a32a7a1..83137d632151 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json @@ -85,14 +85,14 @@ "Tables" ], "x-ms-examples": { - "TableCreate_MetaDataChange": { - "$ref": "./examples/TableCreateUpdate_MetaData.json" + "TableCreate_MetadataChange": { + "$ref": "./examples/TableCreateUpdate_Metadata.json" }, "TableCreate_SchemaChange": { "$ref": "./examples/TableCreateUpdate_Schema.json" }, - "TableCreate_SchemaMetadaChange": { - "$ref": "./examples/TableCreateUpdate_SchemaMetaData.json" + "TableCreate_SchemaMetadataChange": { + "$ref": "./examples/TableCreateUpdate_SchemaMetadata.json" } }, "operationId": "Tables_Upsert", @@ -146,14 +146,14 @@ "Tables" ], "x-ms-examples": { - "TableCreate_MetaDataChange": { - "$ref": "./examples/TableCreateUpdate_MetaData.json" + "TableUpdate_MetadataChange": { + "$ref": "./examples/TableCreateUpdate_Metadata.json" }, - "TableCreate_SchemaChange": { + "TableUpdate_SchemaChange": { "$ref": "./examples/TableCreateUpdate_Schema.json" }, - "TableCreate_SchemaMetadaChange": { - "$ref": "./examples/TableCreateUpdate_SchemaMetaData.json" + "TableUpdate_SchemaMetadataChange": { + "$ref": "./examples/TableCreateUpdate_SchemaMetadata.json" } }, "operationId": "Tables_Update", @@ -295,20 +295,20 @@ "properties": { "name": { "type": "string", - "description": "Coulmn's name." + "description": "Coulmn name." }, "type": { "type": "string", - "description": "Coulmn's data type.", + "description": "Coulmn data type.", "enum": [ - "String", - "Int", - "Long", - "Real", - "Boolean", - "DateTime", - "Guid", - "Dynamic" + "string", + "int", + "long", + "real", + "boolean", + "dateTime", + "guid", + "dynamic" ], "x-ms-enum": { "name": "ColumnTypeEnum", @@ -317,12 +317,12 @@ }, "dataTypeHint": { "type": "string", - "description": "Coulmn's data type logical hint.", + "description": "Coulmn data type logical hint.", "enum": [ - "URI", - "GUID", - "ARMPath", - "IP" + "uri", + "guid", + "armpath", + "ip" ], "x-ms-enum": { "name": "ColumnDataTypeHintEnum", @@ -401,8 +401,8 @@ "type": "string", "description": "Table's creator.", "enum": [ - "Microsoft", - "Customer" + "microsoft", + "customer" ], "x-ms-enum": { "name": "SourceEnum", @@ -506,4 +506,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_MetaData.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_MetaData.json index 41cff5f7bb10..3f1f386cda03 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_MetaData.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_MetaData.json @@ -1,127 +1,126 @@ { + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2021-03-01-privatepreview", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "tableName": "AzureNetworkFlow", "parameters": { - "resourceGroupName": "oiautorest6685", - "workspaceName": "oiautorest6685", - "api-version": "2021-03-01-privatepreview", - "subscriptionId": "00000000-0000-0000-0000-00000000000", - "tableName": "AzureNetworkFlow", - "parameters": { - "properties": { - "retentionInDays": 45 - } + "properties": { + "retentionInDays": 45 } - }, - "responses": { - "200": { - "body": { - "properties": { - "schema": { - "name": "AzureNetworkFlow", - "standardColumns": [ - { - "isHidden": true, - "name": "TenantId", - "type": "guid", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "SourceSystem", - "type": "string", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "TimeGenerated", - "type": "dateTime", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "AgentID", - "type": "string", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "SourceIP", - "type": "string", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "Protocol", - "type": "string", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "SourcePort", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "DestinationPort", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "TcpFlags", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "Packets", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "Bytes", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "BytesOut", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "DurationInMs", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "RstCount", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "MaxSampleRtt", - "type": "int", - "isDefaultDisplay": false - } - ], - "solutions": [ - "LogManagement" - ], - "isTroubleshootingAllowed": false + } + }, + "responses": { + "200": { + "body": { + "properties": { + "schema": { + "name": "AzureNetworkFlow", + "standardColumns": [ + { + "isHidden": true, + "name": "TenantId", + "type": "guid", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceSystem", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TimeGenerated", + "type": "dateTime", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "AgentID", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceIP", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Protocol", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourcePort", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "DestinationPort", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TcpFlags", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Packets", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Bytes", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "BytesOut", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "DurationInMs", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "RstCount", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "MaxSampleRtt", + "type": "int", + "isDefaultDisplay": false + } + ], + "solutions": [ + "LogManagement" + ], + "isTroubleshootingAllowed": false }, "provisioningState": "Succeeded", "retentionInDays": 45, "isTroubleshootingAllowed": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow", - "name": "AzureNetworkFlow" - } + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow", + "name": "AzureNetworkFlow" } } } - \ No newline at end of file +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_Schema.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_Schema.json index d4280f7e6c36..aa571a444211 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_Schema.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_Schema.json @@ -9,10 +9,10 @@ "properties": { "schema": { "columns": [ - { - "name": "MyNewColumn", - "type": "guid" - } + { + "name": "MyNewColumn", + "type": "guid" + } ] } } @@ -26,112 +26,112 @@ "name": "AzureNetworkFlow", "columns": [ { - "isHidden": false, - "name": "MyNewColumn", - "type": "guid", - "isDefaultDisplay": false + "isHidden": false, + "name": "MyNewColumn", + "type": "guid", + "isDefaultDisplay": false } ], "standardColumns": [ - { - "isHidden": true, - "name": "TenantId", - "type": "guid", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "SourceSystem", - "type": "string", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "TimeGenerated", - "type": "dateTime", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "AgentID", - "type": "string", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "SourceIP", - "type": "string", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "Protocol", - "type": "string", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "SourcePort", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "DestinationPort", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "TcpFlags", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "Packets", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "Bytes", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "BytesOut", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "DurationInMs", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "RstCount", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "MaxSampleRtt", - "type": "int", - "isDefaultDisplay": false - } + { + "isHidden": true, + "name": "TenantId", + "type": "guid", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceSystem", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TimeGenerated", + "type": "dateTime", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "AgentID", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceIP", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Protocol", + "type": "string", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourcePort", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "DestinationPort", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TcpFlags", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Packets", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Bytes", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "BytesOut", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "DurationInMs", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "RstCount", + "type": "int", + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "MaxSampleRtt", + "type": "int", + "isDefaultDisplay": false + } ], "solutions": [ - "LogManagement" + "LogManagement" ], "isTroubleshootingAllowed": false - }, - "provisioningState": "Succeeded", - "retentionInDays": 30, - "isTroubleshootingAllowed": false + }, + "provisioningState": "Succeeded", + "retentionInDays": 30, + "isTroubleshootingAllowed": false }, "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow", "name": "AzureNetworkFlow" diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_SchemaMetaData.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_SchemaMetaData.json index 253e1181be90..f4268f43dcc1 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_SchemaMetaData.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_SchemaMetaData.json @@ -9,10 +9,10 @@ "properties": { "schema": { "columns": [ - { - "name": "MyNewColumn", - "type": "guid" - } + { + "name": "MyNewColumn", + "type": "guid" + } ] }, "retentionInDays": 45 @@ -20,9 +20,6 @@ } }, "responses": { - "202": { - "body": { - } - } + "202": {} } } diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableDelete.json index f2814ad5e988..8db6ac056a12 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableDelete.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableDelete.json @@ -1,20 +1,13 @@ { - "parameters": { - "resourceGroupName": "oiautorest6685", - "workspaceName": "oiautorest6685", - "api-version": "2021-03-01-privatepreview", - "subscriptionId": "00000000-0000-0000-0000-00000000000", - "tableName": "table1_CL" - }, - "responses": { - "200": { - "body": { - } - }, - "202": { - "body": { - } - } + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2021-03-01-privatepreview", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "tableName": "table1_CL" + }, + "responses": { + "200": {}, + "202": {} } } - \ No newline at end of file diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableGet.json index 815bb65c0958..a004cccc8be2 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableGet.json @@ -11,89 +11,89 @@ "body": { "properties": { "schema": { - "name": "table1_CL", - "displayName": null, - "description": null, - "columns": [], - "standardColumns": [ - { - "isHidden": false, - "name": "TenantId", - "type": "guid", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "SourceSystem", - "type": "string", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "MG", - "type": "guid", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "ManagementGroupName", - "type": "string", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "TimeGenerated", - "type": "dateTime", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "Computer", - "type": "string", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "RawData", - "type": "string", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - } - ], - "categories": null, - "labels": null, - "source": null, - "solutions": [ - "LogManagement" - ], - "isTroubleshootingAllowed": false + "name": "table1_CL", + "displayName": null, + "description": null, + "columns": [], + "standardColumns": [ + { + "isHidden": false, + "name": "TenantId", + "type": "guid", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceSystem", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "MG", + "type": "guid", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "ManagementGroupName", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TimeGenerated", + "type": "dateTime", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Computer", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "RawData", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + } + ], + "categories": null, + "labels": null, + "source": null, + "solutions": [ + "LogManagement" + ], + "isTroubleshootingAllowed": false }, "provisioningState": "Succeeded", "isTroubleshootingAllowed": false, "retentionInDays": 50 - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/table1_CL", - "name": "table1_CL" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/table1_CL", + "name": "table1_CL" } } } diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableList.json index 7d7d5e715ff6..0b1c53d64049 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableList.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableList.json @@ -10,235 +10,235 @@ "body": { "value": [ { - "properties": { - "schema": { - "name": "AzureNetworkFlow", - "displayName": null, - "description": null, - "columns": null, - "standardColumns": [ - { - "isHidden": true, - "name": "TenantId", - "type": "guid", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "SourceSystem", - "type": "string", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "TimeGenerated", - "type": "dateTime", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "AgentID", - "type": "string", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "SourceIP", - "type": "string", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "Protocol", - "type": "string", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "SourcePort", - "type": "int", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "DestinationPort", - "type": "int", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "TcpFlags", - "type": "int", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "Packets", - "type": "int", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "Bytes", - "type": "int", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "BytesOut", - "type": "int", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "DurationInMs", - "type": "int", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "RstCount", - "type": "int", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "MaxSampleRtt", - "type": "int", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - } - ], - "categories": null, - "labels": null, - "source": null, - "solutions": [ - "LogManagement" - ], - "isTroubleshootingAllowed": false - }, - "provisioningState": "Succeeded", - "isTroubleshootingAllowed": false, - "retentionInDays": 30 + "properties": { + "schema": { + "name": "AzureNetworkFlow", + "displayName": null, + "description": null, + "columns": null, + "standardColumns": [ + { + "isHidden": true, + "name": "TenantId", + "type": "guid", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceSystem", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TimeGenerated", + "type": "dateTime", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "AgentID", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceIP", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Protocol", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourcePort", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "DestinationPort", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TcpFlags", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Packets", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "Bytes", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "BytesOut", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "DurationInMs", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "RstCount", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "MaxSampleRtt", + "type": "int", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + } + ], + "categories": null, + "labels": null, + "source": null, + "solutions": [ + "LogManagement" + ], + "isTroubleshootingAllowed": false }, - "name": "AzureNetworkFlow", - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow" + "provisioningState": "Succeeded", + "isTroubleshootingAllowed": false, + "retentionInDays": 30 + }, + "name": "AzureNetworkFlow", + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow" }, { - "properties": { - "schema": { - "name": "SurfaceHubDns", - "displayName": null, - "description": null, - "columns": null, - "standardColumns": [ - { - "isHidden": true, - "name": "TenantId", - "type": "guid", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "SourceSystem", - "type": "string", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "TimeGenerated", - "type": "dateTime", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "QueryName", - "type": "string", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "ComputerName", - "type": "string", - "dataTypeHint": null, - "displayName": null, - "description": null, - "isDefaultDisplay": false - } - ], - "categories": null, - "labels": null, - "source": null, - "solutions": [ - "LogManagement" - ], - "isTroubleshootingAllowed": false - }, - "provisioningState": "Succeeded", - "isTroubleshootingAllowed": false, - "retentionInDays": 30 + "properties": { + "schema": { + "name": "SurfaceHubDns", + "displayName": null, + "description": null, + "columns": null, + "standardColumns": [ + { + "isHidden": true, + "name": "TenantId", + "type": "guid", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "SourceSystem", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "TimeGenerated", + "type": "dateTime", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "QueryName", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + }, + { + "isHidden": false, + "name": "ComputerName", + "type": "string", + "dataTypeHint": null, + "displayName": null, + "description": null, + "isDefaultDisplay": false + } + ], + "categories": null, + "labels": null, + "source": null, + "solutions": [ + "LogManagement" + ], + "isTroubleshootingAllowed": false }, - "name": "SurfaceHubDns", - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/SurfaceHubDns" + "provisioningState": "Succeeded", + "isTroubleshootingAllowed": false, + "retentionInDays": 30 + }, + "name": "SurfaceHubDns", + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/SurfaceHubDns" } - ] - } + ] + } } } } From 7606c1d4eb6ca641a054ec3c98899d5193c77725 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Sun, 25 Jul 2021 14:30:40 +0300 Subject: [PATCH 05/22] Update Tables.json --- .../preview/2021-03-01-privatepreview/Tables.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json index 83137d632151..0ce1c365d493 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json @@ -295,11 +295,11 @@ "properties": { "name": { "type": "string", - "description": "Coulmn name." + "description": "Column name." }, "type": { "type": "string", - "description": "Coulmn data type.", + "description": "Column data type.", "enum": [ "string", "int", @@ -317,7 +317,7 @@ }, "dataTypeHint": { "type": "string", - "description": "Coulmn data type logical hint.", + "description": "Column data type logical hint.", "enum": [ "uri", "guid", @@ -331,11 +331,11 @@ }, "displayName": { "type": "string", - "description": "Coulmn display name." + "description": "Column display name." }, "description": { "type": "string", - "description": "Coulmn description." + "description": "Column description." }, "isDefaultDisplay": { "readOnly": true, From e12621753df93fc563b7aedf1c9496b196ecc960 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Sun, 25 Jul 2021 14:32:07 +0300 Subject: [PATCH 06/22] Update Tables.json --- .../preview/2021-03-01-privatepreview/Tables.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json index 0ce1c365d493..a8e9d1150913 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json @@ -86,13 +86,13 @@ ], "x-ms-examples": { "TableCreate_MetadataChange": { - "$ref": "./examples/TableCreateUpdate_Metadata.json" + "$ref": "./examples/TableCreateUpdate_MetaData.json" }, "TableCreate_SchemaChange": { "$ref": "./examples/TableCreateUpdate_Schema.json" }, "TableCreate_SchemaMetadataChange": { - "$ref": "./examples/TableCreateUpdate_SchemaMetadata.json" + "$ref": "./examples/TableCreateUpdate_SchemaMetaData.json" } }, "operationId": "Tables_Upsert", @@ -147,13 +147,13 @@ ], "x-ms-examples": { "TableUpdate_MetadataChange": { - "$ref": "./examples/TableCreateUpdate_Metadata.json" + "$ref": "./examples/TableCreateUpdate_MetaData.json" }, "TableUpdate_SchemaChange": { "$ref": "./examples/TableCreateUpdate_Schema.json" }, "TableUpdate_SchemaMetadataChange": { - "$ref": "./examples/TableCreateUpdate_SchemaMetadata.json" + "$ref": "./examples/TableCreateUpdate_SchemaMetaData.json" } }, "operationId": "Tables_Update", From de0fb0ce1b4570f04a4714cbfe33edc078ef10b5 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Sat, 18 Dec 2021 21:14:04 +0200 Subject: [PATCH 07/22] OperationalManagement: 2021-12-01-preview --- .../examples/TableCreateUpdate_MetaData.json | 126 - .../TableCreateUpdate_SchemaMetaData.json | 25 - .../AvailableServiceTiers.json | 137 + .../preview/2021-12-01-preview/Clusters.json | 656 ++++ .../2021-12-01-preview/DataExports.json | 354 ++ .../2021-12-01-preview/DataSources.json | 348 ++ .../preview/2021-12-01-preview/Gateways.json | 85 + .../2021-12-01-preview/IntelligencePacks.json | 180 + .../2021-12-01-preview/LinkedServices.json | 304 ++ .../LinkedStorageAccounts.json | 280 ++ .../2021-12-01-preview/ManagementGroups.json | 142 + .../2021-12-01-preview/OperationStatuses.json | 116 + .../2021-12-01-preview/Operations.json | 124 + .../2021-12-01-preview/SavedSearches.json | 305 ++ .../preview/2021-12-01-preview/Schema.json | 274 ++ .../2021-12-01-preview/SharedKeys.json | 126 + .../StorageInsightConfigs.json | 344 ++ .../Tables.json | 121 +- .../preview/2021-12-01-preview/Usages.json | 137 + .../2021-12-01-preview/WorkspacePurge.json | 216 ++ .../2021-12-01-preview/Workspaces.json | 719 ++++ .../examples/ClustersCreate.json | 89 + .../examples/ClustersDelete.json | 13 + .../examples/ClustersGet.json | 61 + .../examples/ClustersListByResourceGroup.json | 39 + .../examples/ClustersSubscriptionList.json | 38 + .../examples/ClustersUpdate.json | 85 + .../examples/DataExportCreateOrUpdate.json | 61 + .../examples/DataExportDelete.json | 13 + .../examples/DataExportGet.json | 31 + .../examples/DataExportListByWorkspace.json | 34 + .../examples/DataSourcesCreate.json | 41 + .../examples/DataSourcesDelete.json | 13 + .../examples/DataSourcesGet.json | 23 + .../examples/DataSourcesListByWorkspace.json | 3019 +++++++++++++++++ .../examples/LinkedServicesCreate.json | 39 + .../examples/LinkedServicesDelete.json | 24 + .../examples/LinkedServicesGet.json | 22 + .../LinkedServicesListByWorkspace.json | 34 + .../examples/LinkedStorageAccountsCreate.json | 33 + .../examples/LinkedStorageAccountsDelete.json | 12 + .../examples/LinkedStorageAccountsGet.json | 25 + .../LinkedStorageAccountsListByWorkspace.json | 64 + .../examples/OperationStatusesGet.json | 20 + .../examples/OperationsListByTenant.json | 327 ++ .../examples/SavedSearchesGetSchema.json | 64 + .../SavedSearchesListByWorkspace.json | 30 + .../StorageInsightsCreateOrUpdate.json | 72 + .../examples/StorageInsightsDelete.json | 13 + .../examples/StorageInsightsGet.json | 34 + .../StorageInsightsListByWorkspace.json | 34 + .../examples/TablesDelete.json} | 5 +- .../examples/TablesGet.json} | 5 +- .../examples/TablesList.json} | 8 +- .../examples/TablesUpsert.json} | 11 +- .../WorkspacesAvailableServiceTiers.json | 30 + .../examples/WorkspacesCreate.json | 65 + .../examples/WorkspacesDelete.json | 13 + .../WorkspacesDeleteSavedSearches.json | 13 + .../WorkspacesDisableIntelligencePack.json | 12 + .../WorkspacesEnableIntelligencePack.json | 12 + .../examples/WorkspacesGatewaysDelete.json | 12 + .../examples/WorkspacesGet.json | 46 + .../examples/WorkspacesGetSharedKeys.json | 16 + .../WorkspacesListByResourceGroup.json | 34 + .../WorkspacesListIntelligencePacks.json | 244 ++ .../WorkspacesListManagementGroups.json | 15 + .../examples/WorkspacesListUsages.json | 27 + .../examples/WorkspacesPurge.json | 28 + .../examples/WorkspacesPurgeOperation.json | 16 + .../WorkspacesRegenerateSharedKeys.json | 16 + ...WorkspacesSavedSearchesCreateOrUpdate.json | 42 + .../examples/WorkspacesSavedSearchesGet.json | 26 + .../examples/WorkspacesSubscriptionList.json | 33 + .../examples/WorkspacesUpdate.json | 42 + .../resource-manager/readme.go.md | 10 +- .../resource-manager/readme.java.md | 8 +- .../resource-manager/readme.md | 27 +- 78 files changed, 10123 insertions(+), 219 deletions(-) delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_MetaData.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_SchemaMetaData.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/AvailableServiceTiers.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataExports.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataSources.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Gateways.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/IntelligencePacks.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedServices.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedStorageAccounts.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/ManagementGroups.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/OperationStatuses.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SavedSearches.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Schema.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SharedKeys.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/StorageInsightConfigs.json rename specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/{2021-03-01-privatepreview => 2021-12-01-preview}/Tables.json (79%) create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Usages.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/WorkspacePurge.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Workspaces.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersCreate.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersDelete.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersGet.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersListByResourceGroup.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersSubscriptionList.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersUpdate.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportCreateOrUpdate.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportDelete.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportGet.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportListByWorkspace.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesCreate.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesDelete.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesGet.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesListByWorkspace.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesCreate.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesDelete.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesGet.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesListByWorkspace.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsCreate.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsDelete.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsGet.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsListByWorkspace.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationStatusesGet.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationsListByTenant.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesGetSchema.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesListByWorkspace.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsCreateOrUpdate.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsDelete.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsGet.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsListByWorkspace.json rename specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/{2021-03-01-privatepreview/examples/TableDelete.json => 2021-12-01-preview/examples/TablesDelete.json} (77%) rename specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/{2021-03-01-privatepreview/examples/TableGet.json => 2021-12-01-preview/examples/TablesGet.json} (96%) rename specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/{2021-03-01-privatepreview/examples/TableList.json => 2021-12-01-preview/examples/TablesList.json} (97%) rename specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/{2021-03-01-privatepreview/examples/TableCreateUpdate_Schema.json => 2021-12-01-preview/examples/TablesUpsert.json} (96%) create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesAvailableServiceTiers.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesCreate.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDelete.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDeleteSavedSearches.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDisableIntelligencePack.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesEnableIntelligencePack.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGatewaysDelete.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGet.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGetSharedKeys.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListByResourceGroup.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListIntelligencePacks.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListManagementGroups.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListUsages.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurge.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurgeOperation.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesRegenerateSharedKeys.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesCreateOrUpdate.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesGet.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSubscriptionList.json create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesUpdate.json diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_MetaData.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_MetaData.json deleted file mode 100644 index 3f1f386cda03..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_MetaData.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "oiautorest6685", - "workspaceName": "oiautorest6685", - "api-version": "2021-03-01-privatepreview", - "subscriptionId": "00000000-0000-0000-0000-00000000000", - "tableName": "AzureNetworkFlow", - "parameters": { - "properties": { - "retentionInDays": 45 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "schema": { - "name": "AzureNetworkFlow", - "standardColumns": [ - { - "isHidden": true, - "name": "TenantId", - "type": "guid", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "SourceSystem", - "type": "string", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "TimeGenerated", - "type": "dateTime", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "AgentID", - "type": "string", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "SourceIP", - "type": "string", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "Protocol", - "type": "string", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "SourcePort", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "DestinationPort", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "TcpFlags", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "Packets", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "Bytes", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "BytesOut", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "DurationInMs", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "RstCount", - "type": "int", - "isDefaultDisplay": false - }, - { - "isHidden": false, - "name": "MaxSampleRtt", - "type": "int", - "isDefaultDisplay": false - } - ], - "solutions": [ - "LogManagement" - ], - "isTroubleshootingAllowed": false - }, - "provisioningState": "Succeeded", - "retentionInDays": 45, - "isTroubleshootingAllowed": false - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow", - "name": "AzureNetworkFlow" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_SchemaMetaData.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_SchemaMetaData.json deleted file mode 100644 index f4268f43dcc1..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_SchemaMetaData.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "oiautorest6685", - "workspaceName": "oiautorest6685", - "api-version": "2021-03-01-privatepreview", - "subscriptionId": "00000000-0000-0000-0000-00000000000", - "tableName": "AzureNetworkFlow", - "parameters": { - "properties": { - "schema": { - "columns": [ - { - "name": "MyNewColumn", - "type": "guid" - } - ] - }, - "retentionInDays": 45 - } - } - }, - "responses": { - "202": {} - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/AvailableServiceTiers.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/AvailableServiceTiers.json new file mode 100644 index 000000000000..5c2a2cb8a109 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/AvailableServiceTiers.json @@ -0,0 +1,137 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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}/availableServiceTiers": { + "get": { + "tags": [ + "AvailableServiceTiers" + ], + "x-ms-examples": { + "AvailableServiceTiers": { + "$ref": "./examples/WorkspacesAvailableServiceTiers.json" + } + }, + "operationId": "AvailableServiceTiers_ListByWorkspace", + "description": "Gets the available service tiers for the 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": { + "type": "array", + "items": { + "$ref": "#/definitions/AvailableServiceTier" + } + } + } + } + } + } + }, + "definitions": { + "AvailableServiceTier": { + "description": "Service Tier details.", + "properties": { + "serviceTier": { + "readOnly": true, + "type": "string", + "description": "The name of the Service Tier.", + "enum": [ + "Free", + "Standard", + "Premium", + "PerNode", + "PerGB2018", + "Standalone", + "CapacityReservation" + ], + "x-ms-enum": { + "name": "SkuNameEnum", + "modelAsString": true + } + }, + "enabled": { + "readOnly": true, + "type": "boolean", + "description": "True if the Service Tier is enabled for the workspace." + }, + "minimumRetention": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The minimum retention for the Service Tier, in days." + }, + "maximumRetention": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The maximum retention for the Service Tier, in days." + }, + "defaultRetention": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The default retention for the Service Tier, in days." + }, + "capacityReservationLevel": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The capacity reservation level in GB per day. Returned for the Capacity Reservation Service Tier." + }, + "lastSkuUpdate": { + "readOnly": true, + "type": "string", + "description": "Time when the sku was last updated for the workspace. Returned for the Capacity Reservation Service Tier." + } + } + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json new file mode 100644 index 000000000000..10c9746e94e4 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json @@ -0,0 +1,656 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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/clusters": { + "get": { + "tags": [ + "Clusters" + ], + "x-ms-examples": { + "ClustersGet": { + "$ref": "./examples/ClustersListByResourceGroup.json" + } + }, + "operationId": "Clusters_ListByResourceGroup", + "description": "Gets Log Analytics clusters in a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/ClusterListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters": { + "get": { + "tags": [ + "Clusters" + ], + "x-ms-examples": { + "ClustersSubscriptionList": { + "$ref": "./examples/ClustersSubscriptionList.json" + } + }, + "operationId": "Clusters_List", + "description": "Gets the Log Analytics clusters in a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/ClusterListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}": { + "put": { + "tags": [ + "Clusters" + ], + "x-ms-examples": { + "ClustersCreate": { + "$ref": "./examples/ClustersCreate.json" + } + }, + "operationId": "Clusters_CreateOrUpdate", + "description": "Create or update a Log Analytics cluster.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$", + "minLength": 4, + "maxLength": 63, + "description": "The name of the Log Analytics cluster." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Cluster" + }, + "description": "The parameters required to create or update a Log Analytics cluster." + } + ], + "responses": { + "202": { + "description": "Accepted response definition." + }, + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "201": { + "description": "Created response definition.", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "Clusters" + ], + "x-ms-examples": { + "ClustersDelete": { + "$ref": "./examples/ClustersDelete.json" + } + }, + "operationId": "Clusters_Delete", + "description": "Deletes a cluster instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the Log Analytics Cluster." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "Accepted response definition." + }, + "200": { + "description": "OK response definition." + }, + "204": { + "description": "NoContent response definition." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Clusters" + ], + "x-ms-examples": { + "ClustersGet": { + "$ref": "./examples/ClustersGet.json" + } + }, + "operationId": "Clusters_Get", + "description": "Gets a Log Analytics cluster instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the Log Analytics Cluster." + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Clusters" + ], + "x-ms-examples": { + "ClustersPatch": { + "$ref": "./examples/ClustersUpdate.json" + } + }, + "operationId": "Clusters_Update", + "description": "Updates a Log Analytics cluster.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "clusterName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the Log Analytics Cluster." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterPatch" + }, + "description": "The parameters required to patch a Log Analytics cluster." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The existing cluster was successfully updated. Check provisioningStatus to see detailed status.", + "schema": { + "$ref": "#/definitions/Cluster" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "ClusterProperties": { + "properties": { + "clusterId": { + "type": "string", + "readOnly": true, + "description": "The ID associated with the cluster." + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "The provisioning state of the cluster.", + "enum": [ + "Creating", + "Succeeded", + "Failed", + "Canceled", + "Deleting", + "ProvisioningAccount", + "Updating" + ], + "x-ms-enum": { + "name": "ClusterEntityStatus", + "modelAsString": true + } + }, + "isDoubleEncryptionEnabled": { + "type": "boolean", + "readOnly": false, + "description": "Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true'", + "x-ms-mutability": [ + "create" + ] + }, + "isAvailabilityZonesEnabled": { + "type": "boolean", + "readOnly": false, + "description": "Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones." + }, + "billingType": { + "$ref": "#/definitions/billingType", + "description": "The cluster's billing type." + }, + "keyVaultProperties": { + "$ref": "#/definitions/keyVaultProperties", + "description": "The associated key properties." + }, + "lastModifiedDate": { + "type": "string", + "description": "The last time the cluster was updated.", + "readOnly": true + }, + "createdDate": { + "type": "string", + "description": "The cluster creation time", + "readOnly": true + }, + "associatedWorkspaces": { + "description": "The list of Log Analytics workspaces associated with the cluster", + "type": "array", + "items": { + "$ref": "#/definitions/AssociatedWorkspace" + } + }, + "capacityReservationProperties": { + "$ref": "#/definitions/CapacityReservationProperties", + "description": "Additional properties for capacity reservation" + } + }, + "description": "Cluster properties." + }, + "ClusterPatchProperties": { + "properties": { + "keyVaultProperties": { + "$ref": "#/definitions/keyVaultProperties", + "description": "The associated key properties." + }, + "billingType": { + "$ref": "#/definitions/billingType", + "description": "The cluster's billing type." + } + }, + "description": "Log Analytics cluster patch properties." + }, + "ClusterPatch": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterPatchProperties", + "description": "Log Analytics cluster properties." + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "sku": { + "$ref": "#/definitions/ClusterSku", + "description": "The sku properties." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + } + }, + "description": "The top level Log Analytics cluster resource container.", + "x-ms-azure-resource": true + }, + "Cluster": { + "properties": { + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "sku": { + "$ref": "#/definitions/ClusterSku", + "description": "The sku properties." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterProperties", + "description": "Log Analytics cluster properties." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "description": "The top level Log Analytics cluster resource container." + }, + "ClusterListResult": { + "properties": { + "nextLink": { + "description": "The link used to get the next page of recommendations.", + "type": "string" + }, + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Cluster" + }, + "description": "A list of Log Analytics clusters." + } + }, + "description": "The list clusters operation response." + }, + "keyVaultProperties": { + "description": "The key vault properties.", + "properties": { + "keyVaultUri": { + "description": "The Key Vault uri which holds they key associated with the Log Analytics cluster.", + "type": "string" + }, + "keyName": { + "description": "The name of the key associated with the Log Analytics cluster.", + "type": "string" + }, + "keyVersion": { + "description": "The version of the key associated with the Log Analytics cluster.", + "type": "string" + }, + "keyRsaSize": { + "description": "Selected key minimum required size.", + "type": "integer", + "format": "int32" + } + } + }, + "billingType": { + "type": "string", + "readOnly": false, + "description": "Configures whether billing will be only on the cluster or each workspace will be billed by its proportional use. This does not change the overall billing, only how it will be distributed. Default value is 'Cluster'", + "enum": [ + "Cluster", + "Workspaces" + ], + "x-ms-enum": { + "name": "BillingType", + "modelAsString": true + } + }, + "ClusterSku": { + "description": "The cluster sku definition.", + "properties": { + "capacity": { + "description": "The capacity value", + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string", + "description": "The name of the SKU.", + "enum": [ + "CapacityReservation" + ], + "x-ms-enum": { + "name": "ClusterSkuNameEnum", + "modelAsString": true + } + } + } + }, + "Identity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "Type of managed service identity.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "IdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + } + } + }, + "required": [ + "type" + ], + "description": "Identity for the resource." + }, + "UserIdentityProperties": { + "type": "object", + "description": "User assigned identity properties.", + "properties": { + "principalId": { + "readOnly": true, + "description": "The principal id of user assigned identity.", + "type": "string" + }, + "clientId": { + "readOnly": true, + "description": "The client id of user assigned identity.", + "type": "string" + } + } + }, + "AssociatedWorkspace": { + "type": "object", + "description": "The list of Log Analytics workspaces associated with the cluster.", + "properties": { + "workspaceId": { + "readOnly": true, + "description": "The id of the assigned workspace.", + "type": "string" + }, + "workspaceName": { + "readOnly": true, + "description": "The name id the assigned workspace.", + "type": "string" + }, + "resourceId": { + "readOnly": true, + "description": "The ResourceId id the assigned workspace.", + "type": "string" + }, + "associateDate": { + "readOnly": true, + "description": "The time of workspace association.", + "type": "string" + } + } + }, + "CapacityReservationProperties": { + "description": "The Capacity Reservation properties.", + "properties": { + "lastSkuUpdate": { + "readOnly": true, + "description": "The last time Sku was updated.", + "type": "string" + }, + "minCapacity": { + "readOnly": true, + "description": "Minimum CapacityReservation value in GB.", + "type": "integer", + "format": "int64" + }, + "capacityReservationLevel": { + "readOnly": true, + "description": "The capacity reservation level for this cluster in GB", + "type": "integer", + "format": "int32", + "enum": [ + 500, + 1000, + 2000, + 5000 + ] + } + } + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataExports.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataExports.json new file mode 100644 index 000000000000..711fbe86a03d --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataExports.json @@ -0,0 +1,354 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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}/dataExports": { + "get": { + "tags": [ + "DataExport" + ], + "x-ms-examples": { + "DataExportGet": { + "$ref": "./examples/DataExportListByWorkspace.json" + } + }, + "operationId": "DataExports_ListByWorkspace", + "description": "Lists the data export instances within a 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/DataExportListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports/{dataExportName}": { + "put": { + "tags": [ + "DataExport" + ], + "x-ms-examples": { + "DataExportCreate": { + "$ref": "./examples/DataExportCreateOrUpdate.json" + } + }, + "operationId": "DataExports_CreateOrUpdate", + "description": "Create or update a data export.", + "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" + }, + { + "name": "dataExportName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[A-Za-z][A-Za-z0-9-]+[A-Za-z0-9]$", + "minLength": 4, + "maxLength": 63, + "description": "The data export rule name." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DataExport" + }, + "description": "The parameters required to create or update a data export." + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/DataExport" + } + }, + "201": { + "description": "Created response definition.", + "schema": { + "$ref": "#/definitions/DataExport" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "DataExport" + ], + "x-ms-examples": { + "DataExportGet": { + "$ref": "./examples/DataExportGet.json" + } + }, + "operationId": "DataExports_Get", + "description": "Gets a data export instance.", + "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" + }, + { + "name": "dataExportName", + "in": "path", + "required": true, + "type": "string", + "description": "The data export rule name." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/DataExport" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "DataExport" + ], + "x-ms-examples": { + "DataExportDelete": { + "$ref": "./examples/DataExportDelete.json" + } + }, + "operationId": "DataExports_Delete", + "description": "Deletes the specified data export in a given 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" + }, + { + "name": "dataExportName", + "in": "path", + "required": true, + "type": "string", + "description": "The data export rule name." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition." + }, + "404": { + "description": "Not found the specific data export." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "DataExport": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DataExportProperties", + "description": "data export properties." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "The top level data export resource container.", + "x-ms-azure-resource": true + }, + "DataExportListResult": { + "description": "Result of the request to list data exports.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DataExport" + }, + "description": "List of data export instances within a workspace.." + } + } + }, + "DataExportProperties": { + "properties": { + "dataExportId": { + "type": "string", + "description": "The data export rule ID." + }, + "tableNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An array of tables to export, for example: [“Heartbeat, SecurityEvent”]." + }, + "destination": { + "$ref": "#/definitions/Destination", + "description": "destination properties.", + "x-ms-client-flatten": true + }, + "enable": { + "type": "boolean", + "description": "Active when enabled." + }, + "createdDate": { + "type": "string", + "description": "The latest data export rule modification time." + }, + "lastModifiedDate": { + "type": "string", + "description": "Date and time when the export was last modified." + } + }, + "required": [ + "tableNames" + ], + "description": "Data Export properties." + }, + "Destination": { + "properties": { + "resourceId": { + "type": "string", + "description": "The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure." + }, + "type": { + "type": "string", + "readOnly": true, + "description": "The type of the destination resource", + "enum": [ + "StorageAccount", + "EventHub" + ], + "x-ms-enum": { + "name": "type", + "modelAsString": true + } + }, + "metaData": { + "$ref": "#/definitions/DestinationMetaData", + "description": "destination meta data.", + "x-ms-client-flatten": true + } + }, + "required": [ + "resourceId" + ], + "description": "Destination properties." + }, + "DestinationMetaData": { + "properties": { + "eventHubName": { + "type": "string", + "description": "Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account." + } + }, + "description": "Destination meta data." + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataSources.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataSources.json new file mode 100644 index 000000000000..16960853e04a --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataSources.json @@ -0,0 +1,348 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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}/dataSources/{dataSourceName}": { + "put": { + "tags": [ + "DataSources" + ], + "x-ms-examples": { + "DataSourcesCreate": { + "$ref": "./examples/DataSourcesCreate.json" + } + }, + "operationId": "DataSources_CreateOrUpdate", + "description": "Create or update a data source.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "name": "dataSourceName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the datasource resource." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DataSource" + }, + "description": "The parameters required to create or update a datasource." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/DataSource" + } + }, + "201": { + "description": "Created response definition.", + "schema": { + "$ref": "#/definitions/DataSource" + } + } + } + }, + "delete": { + "tags": [ + "DataSources" + ], + "x-ms-examples": { + "DataSourcesDelete": { + "$ref": "./examples/DataSourcesDelete.json" + } + }, + "operationId": "DataSources_Delete", + "description": "Deletes a data source instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "name": "dataSourceName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the datasource." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition." + }, + "204": { + "description": "NoContent response definition." + } + } + }, + "get": { + "tags": [ + "DataSources" + ], + "x-ms-examples": { + "DataSourcesGet": { + "$ref": "./examples/DataSourcesGet.json" + } + }, + "operationId": "DataSources_Get", + "description": "Gets a datasource instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "name": "dataSourceName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the datasource" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/DataSource" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources": { + "get": { + "tags": [ + "DataSources" + ], + "x-ms-examples": { + "DataSourcesListByWorkspace": { + "$ref": "./examples/DataSourcesListByWorkspace.json" + } + }, + "operationId": "DataSources_ListByWorkspace", + "description": "Gets the first page of data source instances in a workspace with the link to the next page.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "name": "$filter", + "in": "query", + "required": true, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "name": "$skiptoken", + "in": "query", + "required": false, + "type": "string", + "description": "Starting point of the collection of data source instances." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/DataSourceListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/DataSourceFilter" + } + } + }, + "definitions": { + "DataSourceKind": { + "type": "string", + "enum": [ + "WindowsEvent", + "WindowsPerformanceCounter", + "IISLogs", + "LinuxSyslog", + "LinuxSyslogCollection", + "LinuxPerformanceObject", + "LinuxPerformanceCollection", + "CustomLog", + "CustomLogCollection", + "AzureAuditLog", + "AzureActivityLog", + "GenericDataSource", + "ChangeTrackingCustomPath", + "ChangeTrackingPath", + "ChangeTrackingServices", + "ChangeTrackingDataTypeConfiguration", + "ChangeTrackingDefaultRegistry", + "ChangeTrackingRegistry", + "ChangeTrackingLinuxPath", + "LinuxChangeTrackingPath", + "ChangeTrackingContentLocation", + "WindowsTelemetry", + "Office365", + "SecurityWindowsBaselineConfiguration", + "SecurityCenterSecurityWindowsBaselineConfiguration", + "SecurityEventCollectionConfiguration", + "SecurityInsightsSecurityEventCollectionConfiguration", + "ImportComputerGroup", + "NetworkMonitoring", + "Itsm", + "DnsAnalytics", + "ApplicationInsights", + "SqlDataClassification" + ], + "x-ms-enum": { + "name": "DataSourceKind", + "modelAsString": true + }, + "description": "The kind of the DataSource." + }, + "DataSource": { + "properties": { + "properties": { + "$ref": "#/definitions/Object", + "description": "The data source properties in raw json format, each kind of data source have it's own schema." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "The ETag of the data source." + }, + "kind": { + "$ref": "#/definitions/DataSourceKind" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + } + }, + "required": [ + "kind", + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Datasources under OMS Workspace." + }, + "DataSourceFilter": { + "properties": { + "kind": { + "$ref": "#/definitions/DataSourceKind" + } + }, + "description": "DataSource filter. Right now, only filter by kind is supported." + }, + "DataSourceListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DataSource" + }, + "description": "A list of datasources." + }, + "nextLink": { + "type": "string", + "description": "The link (url) to the next page of datasources." + } + }, + "description": "The list data source by workspace operation response." + }, + "Object": { + "type": "object", + "properties": {}, + "description": "JSON object" + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Gateways.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Gateways.json new file mode 100644 index 000000000000..658ed029894b --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Gateways.json @@ -0,0 +1,85 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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}/gateways/{gatewayId}": { + "delete": { + "tags": [ + "Workspaces" + ], + "x-ms-examples": { + "DeleteGateways": { + "$ref": "./examples/WorkspacesGatewaysDelete.json" + } + }, + "operationId": "Gateways_Delete", + "description": "Delete a Log Analytics gateway.", + "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": "#/parameters/GatewayIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The specified gateway was deleted successfully." + } + } + } + } + }, + "definitions": {}, + "parameters": { + "GatewayIdParameter": { + "name": "gatewayId", + "in": "path", + "required": true, + "type": "string", + "description": "The Log Analytics gateway Id.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/IntelligencePacks.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/IntelligencePacks.json new file mode 100644 index 000000000000..62c713260f6f --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/IntelligencePacks.json @@ -0,0 +1,180 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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}/intelligencePacks/{intelligencePackName}/Disable": { + "post": { + "tags": [ + "Workspaces", + "IntelligencePacks" + ], + "x-ms-examples": { + "IntelligencePacksDisable": { + "$ref": "./examples/WorkspacesDisableIntelligencePack.json" + } + }, + "operationId": "IntelligencePacks_Disable", + "description": "Disables an intelligence pack for a given workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "name": "intelligencePackName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the intelligence pack to be disabled." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/intelligencePacks/{intelligencePackName}/Enable": { + "post": { + "tags": [ + "Workspaces", + "IntelligencePacks" + ], + "x-ms-examples": { + "IntelligencePacksEnable": { + "$ref": "./examples/WorkspacesEnableIntelligencePack.json" + } + }, + "operationId": "IntelligencePacks_Enable", + "description": "Enables an intelligence pack for a given workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "name": "intelligencePackName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the intelligence pack to be enabled." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/intelligencePacks": { + "get": { + "tags": [ + "Workspaces", + "IntelligencePacks" + ], + "x-ms-examples": { + "IntelligencePacksList": { + "$ref": "./examples/WorkspacesListIntelligencePacks.json" + } + }, + "operationId": "IntelligencePacks_List", + "description": "Lists all the intelligence packs possible and whether they are enabled or disabled for a given workspace.", + "parameters": [ + { + "$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#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/IntelligencePack" + } + } + } + } + } + } + }, + "definitions": { + "IntelligencePack": { + "properties": { + "name": { + "type": "string", + "description": "The name of the intelligence pack." + }, + "enabled": { + "type": "boolean", + "description": "The enabled boolean for the intelligence pack." + }, + "displayName": { + "type": "string", + "description": "The display name of the intelligence pack." + } + }, + "description": "Intelligence Pack containing a string name and boolean indicating if it's enabled." + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedServices.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedServices.json new file mode 100644 index 000000000000..eebf5b1b24a0 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedServices.json @@ -0,0 +1,304 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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}/linkedServices/{linkedServiceName}": { + "put": { + "tags": [ + "LinkedServices" + ], + "x-ms-examples": { + "LinkedServicesCreate": { + "$ref": "./examples/LinkedServicesCreate.json" + } + }, + "operationId": "LinkedServices_CreateOrUpdate", + "description": "Create or update a linked service.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "name": "linkedServiceName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the linkedServices resource" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkedService" + }, + "description": "The parameters required to create or update a linked service." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted response definition." + }, + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/LinkedService" + } + }, + "201": { + "description": "Created response definition.", + "schema": { + "$ref": "#/definitions/LinkedService" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "LinkedServices" + ], + "x-ms-examples": { + "LinkedServicesDelete": { + "$ref": "./examples/LinkedServicesDelete.json" + } + }, + "operationId": "LinkedServices_Delete", + "description": "Deletes a linked service instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "name": "linkedServiceName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the linked service." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/LinkedService" + } + }, + "202": { + "description": "Accepted response definition." + }, + "204": { + "description": "NoContent response definition." + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "LinkedServices" + ], + "x-ms-examples": { + "LinkedServicesGet": { + "$ref": "./examples/LinkedServicesGet.json" + } + }, + "operationId": "LinkedServices_Get", + "description": "Gets a linked service instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "name": "linkedServiceName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the linked service." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/LinkedService" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices": { + "get": { + "tags": [ + "LinkedServices" + ], + "x-ms-examples": { + "LinkedServicesListByWorkspace": { + "$ref": "./examples/LinkedServicesListByWorkspace.json" + } + }, + "operationId": "LinkedServices_ListByWorkspace", + "description": "Gets the linked services instances in a workspace.", + "parameters": [ + { + "$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#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/LinkedServiceListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + } + }, + "definitions": { + "LinkedServiceProperties": { + "properties": { + "resourceId": { + "type": "string", + "description": "The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access" + }, + "writeAccessResourceId": { + "type": "string", + "description": "The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access" + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the linked service.", + "enum": [ + "Succeeded", + "Deleting", + "ProvisioningAccount", + "Updating" + ], + "x-ms-enum": { + "name": "LinkedServiceEntityStatus", + "modelAsString": true + } + } + }, + "description": "Linked service properties." + }, + "LinkedService": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LinkedServiceProperties", + "description": "The properties of the linked service." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "The top level Linked service resource container." + }, + "LinkedServiceListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LinkedService" + }, + "description": "The list of linked service instances" + } + }, + "description": "The list linked service operation response." + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedStorageAccounts.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedStorageAccounts.json new file mode 100644 index 000000000000..6865b01f6283 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedStorageAccounts.json @@ -0,0 +1,280 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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}/linkedStorageAccounts/{dataSourceType}": { + "put": { + "tags": [ + "LinkedStorageAccounts" + ], + "x-ms-examples": { + "LinkedStorageAccountsCreate": { + "$ref": "./examples/LinkedStorageAccountsCreate.json" + } + }, + "operationId": "LinkedStorageAccounts_CreateOrUpdate", + "description": "Create or Update a link relation between current workspace and a group of storage accounts of a specific data source type.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/DataSourceTypeParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LinkedStorageAccountsResource" + }, + "description": "The parameters required to create or update linked storage accounts." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/LinkedStorageAccountsResource" + } + } + } + }, + "delete": { + "tags": [ + "LinkedStorageAccounts" + ], + "x-ms-examples": { + "LinkedStorageAccountsDelete": { + "$ref": "./examples/LinkedStorageAccountsDelete.json" + } + }, + "operationId": "LinkedStorageAccounts_Delete", + "description": "Deletes all linked storage accounts of a specific data source type associated with the specified workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/DataSourceTypeParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition." + } + } + }, + "get": { + "tags": [ + "LinkedStorageAccounts" + ], + "x-ms-examples": { + "LinkedStorageAccountsGet": { + "$ref": "./examples/LinkedStorageAccountsGet.json" + } + }, + "operationId": "LinkedStorageAccounts_Get", + "description": "Gets all linked storage account of a specific data source type associated with the specified workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/DataSourceTypeParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/LinkedStorageAccountsResource" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts": { + "get": { + "tags": [ + "LinkedStorageAccounts" + ], + "description": "Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type.", + "operationId": "LinkedStorageAccounts_ListByWorkspace", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/LinkedStorageAccountsListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Gets list of linked storage accounts on a workspace.": { + "$ref": "./examples/LinkedStorageAccountsListByWorkspace.json" + } + } + } + } + }, + "definitions": { + "LinkedStorageAccountsProperties": { + "description": "Linked storage accounts properties.", + "type": "object", + "properties": { + "dataSourceType": { + "description": "Linked storage accounts type.", + "type": "string", + "readOnly": true, + "enum": [ + "CustomLogs", + "AzureWatson", + "Query", + "Alerts" + ], + "x-ms-enum": { + "name": "DataSourceType", + "modelAsString": false + } + }, + "storageAccountIds": { + "description": "Linked storage accounts resources ids.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "LinkedStorageAccountsResource": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/LinkedStorageAccountsProperties", + "description": "Linked storage accounts properties." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Linked storage accounts top level resource container." + }, + "LinkedStorageAccountsListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/LinkedStorageAccountsResource" + }, + "description": "A list of linked storage accounts instances." + } + }, + "description": "The list linked storage accounts service operation response." + } + }, + "parameters": { + "DataSourceTypeParameter": { + "name": "dataSourceType", + "in": "path", + "required": true, + "type": "string", + "enum": [ + "CustomLogs", + "AzureWatson", + "Query", + "Alerts" + ], + "x-ms-enum": { + "name": "DataSourceType", + "modelAsString": false + }, + "description": "Linked storage accounts type.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/ManagementGroups.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/ManagementGroups.json new file mode 100644 index 000000000000..9f9ea965a12b --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/ManagementGroups.json @@ -0,0 +1,142 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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}/managementGroups": { + "get": { + "tags": [ + "Workspaces" + ], + "x-ms-examples": { + "WorkspacesListManagementGroups": { + "$ref": "./examples/WorkspacesListManagementGroups.json" + } + }, + "operationId": "ManagementGroups_List", + "description": "Gets a list of management groups connected to a workspace.", + "parameters": [ + { + "$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#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/WorkspaceListManagementGroupsResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + } + }, + "definitions": { + "ManagementGroupProperties": { + "properties": { + "serverCount": { + "type": "integer", + "format": "int32", + "description": "The number of servers connected to the management group." + }, + "isGateway": { + "type": "boolean", + "description": "Gets or sets a value indicating whether the management group is a gateway." + }, + "name": { + "type": "string", + "description": "The name of the management group." + }, + "id": { + "type": "string", + "description": "The unique ID of the management group." + }, + "created": { + "type": "string", + "format": "date-time", + "description": "The datetime that the management group was created." + }, + "dataReceived": { + "type": "string", + "format": "date-time", + "description": "The last datetime that the management group received data." + }, + "version": { + "type": "string", + "description": "The version of System Center that is managing the management group." + }, + "sku": { + "type": "string", + "description": "The SKU of System Center that is managing the management group." + } + }, + "description": "Management group properties." + }, + "ManagementGroup": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ManagementGroupProperties", + "description": "The properties of the management group." + } + }, + "description": "A management group that is connected to a workspace" + }, + "WorkspaceListManagementGroupsResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ManagementGroup" + }, + "description": "Gets or sets a list of management groups attached to the workspace." + } + }, + "description": "The list workspace management groups operation response." + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/OperationStatuses.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/OperationStatuses.json new file mode 100644 index 000000000000..a5fd47d7af16 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/OperationStatuses.json @@ -0,0 +1,116 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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}/providers/Microsoft.OperationalInsights/locations/{location}/operationStatuses/{asyncOperationId}": { + "get": { + "x-ms-examples": { + "Get specific operation status": { + "$ref": "./examples/OperationStatusesGet.json" + } + }, + "tags": [ + "asyncOperations" + ], + "operationId": "OperationStatuses_Get", + "description": "Get the status of a long running azure asynchronous operation.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The region name of operation." + }, + { + "name": "asyncOperationId", + "in": "path", + "required": true, + "type": "string", + "description": "The operation Id." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK. Operation status.", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + } + } + } + } + }, + "definitions": { + "OperationStatus": { + "description": "The status of operation.", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The operation Id." + }, + "name": { + "type": "string", + "description": "The operation name." + }, + "startTime": { + "type": "string", + "description": "The start time of the operation." + }, + "endTime": { + "type": "string", + "description": "The end time of the operation." + }, + "status": { + "type": "string", + "description": "The status of the operation." + }, + "error": { + "type": "object", + "description": "The error detail of the operation if any.", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json new file mode 100644 index 000000000000..3cc161a5aead --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json @@ -0,0 +1,124 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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": { + "/providers/Microsoft.OperationalInsights/operations": { + "get": { + "x-ms-examples": { + "Get specific operation status": { + "$ref": "./examples/OperationsListByTenant.json" + } + }, + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists all of the available OperationalInsights Rest API operations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "OperationListResult": { + "description": "Result of the request to list solution operations.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of solution operations supported by the OperationsManagement resource provider." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "URL to get the next set of operation list results if there are any." + } + } + }, + "Operation": { + "description": "Supported operation of OperationalInsights resource provider.", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft OperationsManagement.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed etc.", + "type": "string" + }, + "operation": { + "description": "Type of operation: get, read, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of operation", + "type": "string" + } + } + } + } + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SavedSearches.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SavedSearches.json new file mode 100644 index 000000000000..f41775914045 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SavedSearches.json @@ -0,0 +1,305 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference.", + "version": "2021-12-01-preview" + }, + "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}/savedSearches/{savedSearchId}": { + "delete": { + "tags": [ + "SavedSearches" + ], + "x-ms-examples": { + "SavedSearchesDelete": { + "$ref": "./examples/WorkspacesDeleteSavedSearches.json" + } + }, + "operationId": "SavedSearches_Delete", + "description": "Deletes the specified saved search in a given 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" + }, + { + "name": "savedSearchId", + "in": "path", + "required": true, + "type": "string", + "description": "The id of the saved search." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition." + } + } + }, + "put": { + "tags": [ + "SavedSearches" + ], + "x-ms-examples": { + "SavedSearchCreateOrUpdate": { + "$ref": "./examples/WorkspacesSavedSearchesCreateOrUpdate.json" + } + }, + "operationId": "SavedSearches_CreateOrUpdate", + "description": "Creates or updates a saved search for a given 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" + }, + { + "name": "savedSearchId", + "in": "path", + "required": true, + "type": "string", + "description": "The id of the saved search." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SavedSearch" + }, + "description": "The parameters required to save a search." + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/SavedSearch" + } + } + } + }, + "get": { + "tags": [ + "SavedSearches" + ], + "x-ms-examples": { + "SavedSearchesGet": { + "$ref": "./examples/WorkspacesSavedSearchesGet.json" + } + }, + "operationId": "SavedSearches_Get", + "description": "Gets the specified saved search for a given 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" + }, + { + "name": "savedSearchId", + "in": "path", + "required": true, + "type": "string", + "description": "The id of the saved search." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/SavedSearch" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches": { + "get": { + "tags": [ + "SavedSearches" + ], + "x-ms-examples": { + "SavedSearchesList": { + "$ref": "./examples/SavedSearchesListByWorkspace.json" + } + }, + "operationId": "SavedSearches_ListByWorkspace", + "description": "Gets the saved searches for a given Log Analytics Workspace", + "parameters": [ + { + "$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#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Returns the list of saved searches for the given Log Analytics Workspace.", + "schema": { + "$ref": "#/definitions/SavedSearchesListResult" + } + } + } + } + } + }, + "definitions": { + "Tag": { + "properties": { + "name": { + "type": "string", + "description": "The tag name." + }, + "value": { + "type": "string", + "description": "The tag value." + } + }, + "required": [ + "name", + "value" + ], + "description": "A tag of a saved search." + }, + "SavedSearchProperties": { + "properties": { + "category": { + "type": "string", + "description": "The category of the saved search. This helps the user to find a saved search faster. " + }, + "displayName": { + "type": "string", + "description": "Saved search display name." + }, + "query": { + "type": "string", + "description": "The query expression for the saved search." + }, + "functionAlias": { + "type": "string", + "description": "The function alias if query serves as a function." + }, + "functionParameters": { + "type": "string", + "description": "The optional function parameters if query serves as a function. Value should be in the following format: 'param-name1:type1 = default_value1, param-name2:type2 = default_value2'. For more examples and proper syntax please refer to https://docs.microsoft.com/en-us/azure/kusto/query/functions/user-defined-functions." + }, + "version": { + "type": "integer", + "format": "int64", + "description": "The version number of the query language. The current version is 2 and is the default." + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/Tag" + }, + "description": "The tags attached to the saved search." + } + }, + "required": [ + "category", + "displayName", + "query" + ], + "description": "Value object for saved search results." + }, + "SavedSearch": { + "properties": { + "etag": { + "type": "string", + "description": "The ETag of the saved search. To override an existing saved search, use \"*\" or specify the current Etag" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SavedSearchProperties", + "description": "The properties of the saved search." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "Value object for saved search results." + }, + "SavedSearchesListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SavedSearch" + }, + "description": "The array of result values." + } + }, + "description": "The saved search list operation response." + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Schema.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Schema.json new file mode 100644 index 000000000000..f996061bf293 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Schema.json @@ -0,0 +1,274 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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}/schema": { + "post": { + "tags": [ + "Workspaces" + ], + "x-ms-examples": { + "WorkspacesGetSchema": { + "$ref": "./examples/SavedSearchesGetSchema.json" + } + }, + "operationId": "Schema_Get", + "description": "Gets the schema for a given workspace.", + "parameters": [ + { + "$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#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/SearchGetSchemaResponse" + } + } + } + } + } + }, + "definitions": { + "CoreSummary": { + "properties": { + "status": { + "type": "string", + "description": "The status of a core summary." + }, + "numberOfDocuments": { + "type": "integer", + "format": "int64", + "description": "The number of documents of a core summary." + } + }, + "required": [ + "numberOfDocuments" + ], + "description": "The core summary of a search." + }, + "SearchSort": { + "properties": { + "name": { + "type": "string", + "description": "The name of the field the search query is sorted on." + }, + "order": { + "type": "string", + "description": "The sort order of the search.", + "enum": [ + "asc", + "desc" + ], + "x-ms-enum": { + "name": "SearchSortEnum", + "modelAsString": true + } + } + }, + "description": "The sort parameters for search." + }, + "SearchMetadataSchema": { + "properties": { + "name": { + "type": "string", + "description": "The name of the metadata schema." + }, + "version": { + "type": "integer", + "format": "int32", + "description": "The version of the metadata schema." + } + }, + "description": "Schema metadata for search." + }, + "SearchMetadata": { + "properties": { + "requestId": { + "x-ms-client-name": "SearchId", + "type": "string", + "description": "The request id of the search." + }, + "resultType": { + "type": "string", + "description": "The search result type." + }, + "total": { + "type": "integer", + "format": "int64", + "description": "The total number of search results." + }, + "top": { + "type": "integer", + "format": "int64", + "description": "The number of top search results." + }, + "id": { + "type": "string", + "description": "The id of the search results request." + }, + "coreSummaries": { + "type": "array", + "items": { + "$ref": "#/definitions/CoreSummary" + }, + "description": "The core summaries." + }, + "status": { + "type": "string", + "description": "The status of the search results." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time for the search." + }, + "lastUpdated": { + "type": "string", + "format": "date-time", + "description": "The time of last update." + }, + "eTag": { + "type": "string", + "description": "The ETag of the search results." + }, + "sort": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchSort" + }, + "description": "How the results are sorted." + }, + "requestTime": { + "type": "integer", + "format": "int64", + "description": "The request time." + }, + "aggregatedValueField": { + "type": "string", + "description": "The aggregated value field." + }, + "aggregatedGroupingFields": { + "type": "string", + "description": "The aggregated grouping fields." + }, + "sum": { + "type": "integer", + "format": "int64", + "description": "The sum of all aggregates returned in the result set." + }, + "max": { + "type": "integer", + "format": "int64", + "description": "The max of all aggregates returned in the result set." + }, + "schema": { + "$ref": "#/definitions/SearchMetadataSchema", + "description": "The schema." + } + }, + "description": "Metadata for search results." + }, + "SearchSchemaValue": { + "properties": { + "name": { + "type": "string", + "description": "The name of the schema." + }, + "displayName": { + "type": "string", + "description": "The display name of the schema." + }, + "type": { + "type": "string", + "description": "The type." + }, + "indexed": { + "type": "boolean", + "description": "The boolean that indicates the field is searchable as free text." + }, + "stored": { + "type": "boolean", + "description": "The boolean that indicates whether or not the field is stored." + }, + "facet": { + "type": "boolean", + "description": "The boolean that indicates whether or not the field is a facet." + }, + "ownerType": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The array of workflows containing the field." + } + }, + "required": [ + "facet", + "stored", + "indexed" + ], + "description": "Value object for schema results." + }, + "SearchGetSchemaResponse": { + "properties": { + "metadata": { + "x-ms-client-name": "Metadata", + "$ref": "#/definitions/SearchMetadata", + "description": "The metadata from search results." + }, + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SearchSchemaValue" + }, + "description": "The array of result values." + } + }, + "description": "The get schema operation response." + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SharedKeys.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SharedKeys.json new file mode 100644 index 000000000000..790a4acd0161 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SharedKeys.json @@ -0,0 +1,126 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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}/sharedKeys": { + "post": { + "tags": [ + "Workspaces" + ], + "x-ms-examples": { + "SharedKeysList": { + "$ref": "./examples/WorkspacesGetSharedKeys.json" + } + }, + "operationId": "SharedKeys_GetSharedKeys", + "description": "Gets the shared keys for a workspace.", + "parameters": [ + { + "$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#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/SharedKeys" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/regenerateSharedKey": { + "post": { + "tags": [ + "Workspaces" + ], + "x-ms-examples": { + "RegenerateSharedKeys": { + "$ref": "./examples/WorkspacesRegenerateSharedKeys.json" + } + }, + "operationId": "SharedKeys_Regenerate", + "description": "Regenerates the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the 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": "Returns the new shared keys associated with the Log Analytics Workspace.", + "schema": { + "$ref": "#/definitions/SharedKeys" + } + } + } + } + } + }, + "definitions": { + "SharedKeys": { + "properties": { + "primarySharedKey": { + "type": "string", + "description": "The primary shared key of a workspace." + }, + "secondarySharedKey": { + "type": "string", + "description": "The secondary shared key of a workspace." + } + }, + "description": "The shared keys for a workspace." + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/StorageInsightConfigs.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/StorageInsightConfigs.json new file mode 100644 index 000000000000..aa83021e1dd1 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/StorageInsightConfigs.json @@ -0,0 +1,344 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference.", + "version": "2021-12-01-preview" + }, + "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}/storageInsightConfigs/{storageInsightName}": { + "put": { + "tags": [ + "StorageInsights" + ], + "x-ms-examples": { + "StorageInsightsCreate": { + "$ref": "./examples/StorageInsightsCreateOrUpdate.json" + } + }, + "operationId": "StorageInsightConfigs_CreateOrUpdate", + "description": "Create or update a storage insight.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "name": "storageInsightName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the storageInsightsConfigs resource" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StorageInsight" + }, + "description": "The parameters required to create or update a storage insight." + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "201": { + "description": "Created response definition.", + "schema": { + "$ref": "#/definitions/StorageInsight" + } + }, + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/StorageInsight" + } + } + } + }, + "get": { + "tags": [ + "StorageInsights" + ], + "x-ms-examples": { + "StorageInsightsGet": { + "$ref": "./examples/StorageInsightsGet.json" + } + }, + "operationId": "StorageInsightConfigs_Get", + "description": "Gets a storage insight instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "name": "storageInsightName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the storageInsightsConfigs resource" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/StorageInsight" + } + } + } + }, + "delete": { + "tags": [ + "StorageInsights" + ], + "x-ms-examples": { + "StorageInsightsDelete": { + "$ref": "./examples/StorageInsightsDelete.json" + } + }, + "operationId": "StorageInsightConfigs_Delete", + "description": "Deletes a storageInsightsConfigs resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "name": "storageInsightName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the storageInsightsConfigs resource" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition." + }, + "204": { + "description": "NoContent response definition." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs": { + "get": { + "tags": [ + "StorageInsights" + ], + "x-ms-examples": { + "StorageInsightsList": { + "$ref": "./examples/StorageInsightsListByWorkspace.json" + } + }, + "operationId": "StorageInsightConfigs_ListByWorkspace", + "description": "Lists the storage insight instances within a workspace", + "parameters": [ + { + "$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#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/StorageInsightListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "@odata.nextLink" + } + } + } + }, + "definitions": { + "StorageAccount": { + "properties": { + "id": { + "type": "string", + "description": "The Azure Resource Manager ID of the storage account resource." + }, + "key": { + "type": "string", + "description": "The storage account key." + } + }, + "required": [ + "id", + "key" + ], + "description": "Describes a storage account connection." + }, + "StorageInsightStatus": { + "properties": { + "state": { + "type": "string", + "description": "The state of the storage insight connection to the workspace", + "enum": [ + "OK", + "ERROR" + ], + "x-ms-enum": { + "name": "StorageInsightState", + "modelAsString": true + } + }, + "description": { + "type": "string", + "description": "Description of the state of the storage insight." + } + }, + "required": [ + "state" + ], + "description": "The status of the storage insight." + }, + "StorageInsightProperties": { + "properties": { + "containers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The names of the blob containers that the workspace should read" + }, + "tables": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The names of the Azure tables that the workspace should read" + }, + "storageAccount": { + "$ref": "#/definitions/StorageAccount", + "description": "The storage account connection details" + }, + "status": { + "$ref": "#/definitions/StorageInsightStatus", + "description": "The status of the storage insight", + "readOnly": true + } + }, + "required": [ + "storageAccount" + ], + "description": "Storage insight properties." + }, + "StorageInsight": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageInsightProperties", + "description": "Storage insight properties." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + }, + "eTag": { + "type": "string", + "description": "The ETag of the storage insight." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" + } + ], + "description": "The top level storage insight resource container." + }, + "StorageInsightListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageInsight" + }, + "description": "A list of storage insight items." + }, + "@odata.nextLink": { + "type": "string", + "description": "The link (url) to the next page of results.", + "x-ms-client-name": "odataNextLink" + } + }, + "description": "The list storage insights operation response." + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json similarity index 79% rename from specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json index a8e9d1150913..5b283a564023 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json @@ -3,7 +3,7 @@ "info": { "title": "Azure Log Analytics", "description": "Azure Log Analytics API reference", - "version": "2021-03-01-privatepreview" + "version": "2021-12-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -41,7 +41,7 @@ ], "x-ms-examples": { "TablesListByWorkspace": { - "$ref": "./examples/TableList.json" + "$ref": "./examples/TablesList.json" } }, "operationId": "Tables_ListByWorkspace", @@ -85,14 +85,8 @@ "Tables" ], "x-ms-examples": { - "TableCreate_MetadataChange": { - "$ref": "./examples/TableCreateUpdate_MetaData.json" - }, - "TableCreate_SchemaChange": { - "$ref": "./examples/TableCreateUpdate_Schema.json" - }, - "TableCreate_SchemaMetadataChange": { - "$ref": "./examples/TableCreateUpdate_SchemaMetaData.json" + "TablesUpsert": { + "$ref": "./examples/TablesUpsert.json" } }, "operationId": "Tables_Upsert", @@ -139,6 +133,10 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } }, "patch": { @@ -146,14 +144,8 @@ "Tables" ], "x-ms-examples": { - "TableUpdate_MetadataChange": { - "$ref": "./examples/TableCreateUpdate_MetaData.json" - }, - "TableUpdate_SchemaChange": { - "$ref": "./examples/TableCreateUpdate_Schema.json" - }, - "TableUpdate_SchemaMetadataChange": { - "$ref": "./examples/TableCreateUpdate_SchemaMetaData.json" + "TablesUpsert": { + "$ref": "./examples/TablesUpsert.json" } }, "operationId": "Tables_Update", @@ -200,6 +192,10 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } }, "get": { @@ -208,7 +204,7 @@ ], "x-ms-examples": { "TablesGet": { - "$ref": "./examples/TableGet.json" + "$ref": "./examples/TablesGet.json" } }, "operationId": "Tables_Get", @@ -251,7 +247,7 @@ ], "x-ms-examples": { "TablesGet": { - "$ref": "./examples/TableDelete.json" + "$ref": "./examples/TablesDelete.json" } }, "operationId": "Tables_Delete", @@ -277,6 +273,9 @@ "200": { "description": "OK response definition." }, + "204": { + "description": "OK response definition." + }, "202": { "description": "Accepted response definition (Long running operation)." }, @@ -286,12 +285,17 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } } } }, "definitions": { "Column": { + "type": "object", "properties": { "name": { "type": "string", @@ -321,12 +325,26 @@ "enum": [ "uri", "guid", - "armpath", + "armPath", "ip" ], "x-ms-enum": { "name": "ColumnDataTypeHintEnum", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "uri", + "description": "A string that matches the pattern of a URI, for example, scheme://username:password@host:1234/this/is/a/path?k1=v1&k2=v2#fragment" + }, + { + "value": "guid", + "description": "A standard 128-bit GUID following the standard shape, xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + }, + { + "value": "armPath", + "description": "An Azure Resource Model (ARM) path: /subscriptions/{...}/resourceGroups/{...}/providers/Microsoft.{...}/{...}/{...}/{...}..." + } + ] } }, "displayName": { @@ -351,19 +369,20 @@ "description": "Table column." }, "Schema": { + "type": "object", "properties": { "name": { "readOnly": true, "type": "string", - "description": "Table's name." + "description": "Table name." }, "displayName": { "type": "string", - "description": "Table's display name." + "description": "Table display name." }, "description": { "type": "string", - "description": "Table's description." + "description": "Table description." }, "columns": { "type": "array", @@ -386,7 +405,7 @@ "items": { "type": "string" }, - "description": "Table's Categories." + "description": "Table category." }, "labels": { "readOnly": true, @@ -394,7 +413,7 @@ "items": { "type": "string" }, - "description": "Table's Labels." + "description": "Table labels." }, "source": { "readOnly": true, @@ -406,7 +425,17 @@ ], "x-ms-enum": { "name": "SourceEnum", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "microsoft", + "description": "Tables provisioned by the system, as collected via Diagnostic Settings, the Agents, or any other standard data collection means." + }, + { + "value": "customer", + "description": "Tables created by the owner of the Workspace, and only found in this Workspace." + } + ] } }, "solutions": { @@ -415,17 +444,13 @@ "items": { "type": "string" }, - "description": "Table is affiliated with which solutions." - }, - "isTroubleshootingAllowed": { - "readOnly": true, - "type": "boolean", - "description": "Specifies if IsTroubleshootingEnabled property can be set for this table." + "description": "List of solutions the table is affiliated with" } }, "description": "Table's schema." }, "TableProperties": { + "type": "object", "properties": { "retentionInDays": { "type": "integer", @@ -441,39 +466,54 @@ }, "isTroubleshootEnabled": { "type": "boolean", - "description": "Enable or disable troubleshoot for this table." + "description": "Enable or disable the Troubleshooting Log flavour for this table." }, "lastTroubleshootDate": { "readOnly": true, "type": "string", - "description": "Last time when troubleshooting was set for this table." + "description": "Last time when the Troubleshooting Log plan was enabled for this table." }, "schema": { "$ref": "#/definitions/Schema", - "description": "Table's schema." + "description": "Table schema." }, "provisioningState": { "type": "string", "readOnly": true, - "description": "Table's current provisioning state, if updating the table is set to resource lock, forbidding any update to the table until the on going operation is concluded.", + "description": "Table's current provisioning state. If set to 'updating', indicates a resource lock due to ongoing operation, forbidding any update to the table until the ongoing operation is concluded.", "enum": [ "Updating", "Succeeded" ], "x-ms-enum": { "name": "ProvisioningStateEnum", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "value": "Updating", + "description": "Table schema is still being built and updated, table is currently locked for any changes till the procedure is done." + }, + { + "value": "Succeeded", + "description": "Table state is stable and without changes, table is unlocked and open for new updates." + } + ] } } }, - "description": "Table's properties." + "description": "Table properties." }, "Table": { + "type": "object", "properties": { "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/TableProperties", "description": "Table's properties." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true } }, "allOf": [ @@ -484,6 +524,7 @@ "description": "Workspace data table definition." }, "TablesListResult": { + "type": "object", "properties": { "value": { "type": "array", diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Usages.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Usages.json new file mode 100644 index 000000000000..a4e83b624e41 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Usages.json @@ -0,0 +1,137 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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}/usages": { + "get": { + "tags": [ + "Workspaces" + ], + "x-ms-examples": { + "UsagesList": { + "$ref": "./examples/WorkspacesListUsages.json" + } + }, + "operationId": "Usages_List", + "description": "Gets a list of usage metrics for a workspace.", + "parameters": [ + { + "$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#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/WorkspaceListUsagesResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + } + }, + "definitions": { + "MetricName": { + "properties": { + "value": { + "type": "string", + "description": "The system name of the metric." + }, + "localizedValue": { + "type": "string", + "description": "The localized name of the metric." + } + }, + "description": "The name of a metric." + }, + "UsageMetric": { + "properties": { + "name": { + "$ref": "#/definitions/MetricName", + "description": "The name of the metric." + }, + "unit": { + "type": "string", + "description": "The units used for the metric." + }, + "currentValue": { + "type": "number", + "format": "double", + "description": "The current value of the metric." + }, + "limit": { + "type": "number", + "format": "double", + "description": "The quota limit for the metric." + }, + "nextResetTime": { + "type": "string", + "format": "date-time", + "description": "The time that the metric's value will reset." + }, + "quotaPeriod": { + "type": "string", + "description": "The quota period that determines the length of time between value resets." + } + }, + "description": "A metric describing the usage of a resource." + }, + "WorkspaceListUsagesResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/UsageMetric" + }, + "description": "Gets or sets a list of usage metrics for a workspace." + } + }, + "description": "The list workspace usages operation response." + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/WorkspacePurge.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/WorkspacePurge.json new file mode 100644 index 000000000000..ba93bb7ebc11 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/WorkspacePurge.json @@ -0,0 +1,216 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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}/purge": { + "post": { + "tags": [ + "Workspaces" + ], + "description": "Purges data in an Log Analytics workspace by a set of user-defined filters.\n\nIn order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch the execution of purge requests by sending a single command whose predicate includes all user identities that require purging. Use the in operator to specify multiple identities. You should run the query prior to using for a purge request to verify that the results are expected.", + "operationId": "WorkspacePurge_Purge", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/WorkspacePurgeParameter" + } + ], + "responses": { + "202": { + "description": "Accepted request for purging an Log Analytics workspace.", + "schema": { + "$ref": "#/definitions/WorkspacePurgeResponse" + }, + "headers": { + "x-ms-status-location": { + "type": "string", + "description": "The location from which to request the operation status." + } + } + } + }, + "x-ms-examples": { + "WorkspacePurge": { + "$ref": "./examples/WorkspacesPurge.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/operations/{purgeId}": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Gets status of an ongoing purge operation.", + "operationId": "WorkspacePurge_GetPurgeStatus", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/WorkspacePurgeIdParameter" + } + ], + "responses": { + "200": { + "description": "Returns status of purge operation in body of response. e.g.: running, completed.", + "schema": { + "$ref": "#/definitions/WorkspacePurgeStatusResponse" + } + } + }, + "x-ms-examples": { + "WorkspacePurgeOperation": { + "$ref": "./examples/WorkspacesPurgeOperation.json" + } + } + } + } + }, + "definitions": { + "WorkspacePurgeBody": { + "description": "Describes the body of a purge request for an App Insights Workspace", + "required": [ + "table", + "filters" + ], + "properties": { + "table": { + "type": "string", + "description": "Table from which to purge data." + }, + "filters": { + "type": "array", + "description": "The set of columns and filters (queries) to run over them to purge the resulting data.", + "items": { + "$ref": "#/definitions/WorkspacePurgeBodyFilters" + } + } + } + }, + "WorkspacePurgeBodyFilters": { + "description": "User-defined filters to return data which will be purged from the table.", + "properties": { + "column": { + "description": "The column of the table over which the given query should run", + "type": "string" + }, + "operator": { + "description": "A query operator to evaluate over the provided column and value(s). Supported operators are ==, =~, in, in~, >, >=, <, <=, between, and have the same behavior as they would in a KQL query.", + "type": "string" + }, + "value": { + "description": "the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of values." + }, + "key": { + "description": "When filtering over custom dimensions, this key will be used as the name of the custom dimension.", + "type": "string" + } + } + }, + "WorkspacePurgeResponse": { + "description": "Response containing operationId for a specific purge action.", + "properties": { + "operationId": { + "description": "Id to use when querying for status for a particular purge operation.", + "type": "string" + } + }, + "required": [ + "operationId" + ] + }, + "WorkspacePurgeStatusResponse": { + "description": "Response containing status for a specific purge operation.", + "properties": { + "status": { + "description": "Status of the operation represented by the requested Id.", + "type": "string", + "enum": [ + "pending", + "completed" + ], + "x-ms-enum": { + "name": "PurgeState", + "modelAsString": true + } + } + }, + "required": [ + "status" + ] + } + }, + "parameters": { + "WorkspacePurgeParameter": { + "name": "body", + "in": "body", + "description": "Describes the body of a request to purge data in a single table of an Log Analytics Workspace", + "required": true, + "schema": { + "$ref": "#/definitions/WorkspacePurgeBody" + }, + "x-ms-parameter-location": "method" + }, + "WorkspacePurgeIdParameter": { + "name": "purgeId", + "in": "path", + "required": true, + "type": "string", + "description": "In a purge status request, this is the Id of the operation the status of which is returned.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Workspaces.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Workspaces.json new file mode 100644 index 000000000000..e0fa011de5b0 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Workspaces.json @@ -0,0 +1,719 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Log Analytics", + "description": "Azure Log Analytics API reference", + "version": "2021-12-01-preview" + }, + "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}/providers/Microsoft.OperationalInsights/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "x-ms-examples": { + "WorkspacesSubscriptionList": { + "$ref": "./examples/WorkspacesSubscriptionList.json" + } + }, + "operationId": "Workspaces_List", + "description": "Gets the workspaces in a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/WorkspaceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "x-ms-examples": { + "WorkspacesGet": { + "$ref": "./examples/WorkspacesListByResourceGroup.json" + } + }, + "operationId": "Workspaces_ListByResourceGroup", + "description": "Gets workspaces in a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/WorkspaceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}": { + "put": { + "tags": [ + "Workspaces" + ], + "x-ms-examples": { + "WorkspacesCreate": { + "$ref": "./examples/WorkspacesCreate.json" + } + }, + "operationId": "Workspaces_CreateOrUpdate", + "description": "Create or update a workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Workspace" + }, + "description": "The parameters required to create or update a workspace." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "201": { + "description": "Created response definition.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "202": { + "description": "Accepted" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "Workspaces" + ], + "x-ms-examples": { + "WorkspacesDelete": { + "$ref": "./examples/WorkspacesDelete.json" + } + }, + "operationId": "Workspaces_Delete", + "description": "Deletes a workspace resource. To recover the workspace, create it again with the same name, in the same subscription, resource group and location. The name is kept for 14 days and cannot be used for another workspace. To remove the workspace completely and release the name, use the force flag.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "force", + "in": "query", + "required": false, + "type": "boolean", + "description": "Deletes the workspace without the recovery option. A workspace that was deleted with this flag cannot be recovered." + } + ], + "responses": { + "200": { + "description": "OK response definition." + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent response definition." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "Workspaces" + ], + "x-ms-examples": { + "WorkspaceGet": { + "$ref": "./examples/WorkspacesGet.json" + } + }, + "operationId": "Workspaces_Get", + "description": "Gets a workspace instance.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Workspaces" + ], + "x-ms-examples": { + "WorkspacesPatch": { + "$ref": "./examples/WorkspacesUpdate.json" + } + }, + "operationId": "Workspaces_Update", + "description": "Updates a workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/WorkspacePatch" + }, + "description": "The parameters required to patch a workspace." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The existing workspace was successfully updated. Check provisioningStatus to see detailed status.", + "schema": { + "$ref": "#/definitions/Workspace" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/deletedWorkspaces": { + "get": { + "tags": [ + "DeletedWorkspaces" + ], + "x-ms-examples": { + "WorkspacesSubscriptionList": { + "$ref": "./examples/WorkspacesSubscriptionList.json" + } + }, + "operationId": "DeletedWorkspaces_List", + "description": "Gets recently deleted workspaces in a subscription, available for recovery.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/WorkspaceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/deletedWorkspaces": { + "get": { + "tags": [ + "DeletedWorkspaces" + ], + "x-ms-examples": { + "WorkspacesGet": { + "$ref": "./examples/WorkspacesListByResourceGroup.json" + } + }, + "operationId": "DeletedWorkspaces_ListByResourceGroup", + "description": "Gets recently deleted workspaces in a resource group, available for recovery.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/WorkspaceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + } + }, + "definitions": { + "WorkspaceSku": { + "properties": { + "name": { + "type": "string", + "description": "The name of the SKU.", + "enum": [ + "Free", + "Standard", + "Premium", + "PerNode", + "PerGB2018", + "Standalone", + "CapacityReservation", + "LACluster" + ], + "x-ms-enum": { + "name": "WorkspaceSkuNameEnum", + "modelAsString": true + } + }, + "capacityReservationLevel": { + "type": "integer", + "format": "int32", + "description": "The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.", + "enum": [ + 100, + 200, + 300, + 400, + 500, + 1000, + 2000, + 5000 + ], + "x-ms-enum": { + "name": "CapacityReservationLevel" + } + }, + "lastSkuUpdate": { + "type": "string", + "description": "The last time when the sku was updated.", + "readOnly": true + } + }, + "required": [ + "name" + ], + "description": "The SKU (tier) of a workspace." + }, + "WorkspaceCapping": { + "description": "The daily volume cap for ingestion.", + "properties": { + "dailyQuotaGb": { + "type": "number", + "format": "double", + "description": "The workspace daily quota for ingestion." + }, + "quotaNextResetTime": { + "type": "string", + "description": "The time when the quota will be rest.", + "readOnly": true + }, + "dataIngestionStatus": { + "type": "string", + "readOnly": true, + "description": "The status of data ingestion for this workspace.", + "enum": [ + "RespectQuota", + "ForceOn", + "ForceOff", + "OverQuota", + "SubscriptionSuspended", + "ApproachingQuota" + ], + "x-ms-enum": { + "name": "DataIngestionStatus", + "modelAsString": true, + "values": [ + { + "value": "RespectQuota", + "description": "Ingestion enabled following daily cap quota reset, or subscription enablement." + }, + { + "value": "ForceOn", + "description": "Ingestion started following service setting change." + }, + { + "value": "ForceOff", + "description": "Ingestion stopped following service setting change." + }, + { + "value": "OverQuota", + "description": "Reached daily cap quota, ingestion stopped." + }, + { + "value": "SubscriptionSuspended", + "description": "Ingestion stopped following suspended subscription." + }, + { + "value": "ApproachingQuota", + "description": "80% of daily cap quota reached." + } + ] + } + } + } + }, + "WorkspaceProperties": { + "properties": { + "provisioningState": { + "type": "string", + "description": "The provisioning state of the workspace.", + "enum": [ + "Creating", + "Succeeded", + "Failed", + "Canceled", + "Deleting", + "ProvisioningAccount", + "Updating" + ], + "x-ms-enum": { + "name": "WorkspaceEntityStatus", + "modelAsString": true + } + }, + "customerId": { + "type": "string", + "description": "This is a read-only property. Represents the ID associated with the workspace.", + "readOnly": true + }, + "sku": { + "$ref": "#/definitions/WorkspaceSku", + "description": "The SKU of the workspace." + }, + "retentionInDays": { + "type": "integer", + "format": "int32", + "x-nullable": true, + "description": "The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details." + }, + "workspaceCapping": { + "$ref": "#/definitions/WorkspaceCapping", + "description": "The daily volume cap for ingestion." + }, + "createdDate": { + "type": "string", + "description": "Workspace creation date.", + "readOnly": true + }, + "modifiedDate": { + "type": "string", + "description": "Workspace modification date.", + "readOnly": true + }, + "publicNetworkAccessForIngestion": { + "description": "The network access type for accessing Log Analytics ingestion.", + "$ref": "#/definitions/PublicNetworkAccessType" + }, + "publicNetworkAccessForQuery": { + "description": "The network access type for accessing Log Analytics query.", + "$ref": "#/definitions/PublicNetworkAccessType" + }, + "forceCmkForQuery": { + "type": "boolean", + "description": "Indicates whether customer managed storage is mandatory for query management." + }, + "privateLinkScopedResources": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkScopedResource" + }, + "description": "List of linked private link scope resources." + }, + "features": { + "$ref": "#/definitions/WorkspaceFeatures", + "description": "Workspace features." + }, + "defaultDataCollectionRuleResourceId": { + "type": "string", + "description": "The resource ID of the default Data Collection Rule to use for this workspace. Expected format is - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}." + } + }, + "description": "Workspace properties." + }, + "WorkspaceFeatures": { + "properties": { + "enableDataExport": { + "type": "boolean", + "x-nullable": true, + "description": "Flag that indicate if data should be exported." + }, + "immediatePurgeDataOn30Days": { + "type": "boolean", + "x-nullable": true, + "description": "Flag that describes if we want to remove the data after 30 days." + }, + "enableLogAccessUsingOnlyResourcePermissions": { + "type": "boolean", + "x-nullable": true, + "description": "Flag that indicate which permission to use - resource or workspace or both." + }, + "clusterResourceId": { + "type": "string", + "x-nullable": true, + "description": "Dedicated LA cluster resourceId that is linked to the workspaces." + }, + "disableLocalAuth": { + "type": "boolean", + "x-nullable": true, + "description": "Disable Non-AAD based Auth." + } + }, + "additionalProperties": true, + "description": "Workspace features." + }, + "PrivateLinkScopedResource": { + "properties": { + "resourceId": { + "type": "string", + "description": "The full resource Id of the private link scope resource." + }, + "scopeId": { + "type": "string", + "description": "The private link scope unique Identifier." + } + }, + "description": "The private link scope resource reference." + }, + "Workspace": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkspaceProperties", + "description": "Workspace properties." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true + }, + "eTag": { + "type": "string", + "description": "The ETag of the workspace." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "description": "The top level Workspace resource container." + }, + "WorkspacePatch": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/WorkspaceProperties", + "description": "Workspace properties." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags. Optional." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/AzureEntityResource" + } + ], + "description": "The top level Workspace resource container." + }, + "WorkspaceListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Workspace" + }, + "description": "A list of workspaces." + } + }, + "description": "The list workspaces operation response." + }, + "PublicNetworkAccessType": { + "type": "string", + "description": "The network access type for operating on the Log Analytics Workspace. By default it is Enabled", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "PublicNetworkAccessType", + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Enables connectivity to Log Analytics through public DNS." + }, + { + "value": "Disabled", + "description": "Disables public connectivity to Log Analytics through public DNS." + } + ] + } + } + }, + "parameters": {} +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersCreate.json new file mode 100644 index 000000000000..a04c90847d8f --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersCreate.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "clusterName": "oiautorest6685", + "parameters": { + "sku": { + "name": "CapacityReservation", + "capacity": 1000 + }, + "location": "australiasoutheast", + "tags": { + "tag1": "val1" + } + }, + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "202": {}, + "200": { + "body": { + "properties": { + "keyVaultProperties": { + "keyVaultUri": "https://aztest2170.vault.azure.net", + "keyName": "aztest2170cert", + "keyVersion": "654ft6c4e63845cbb50fd6fg51540429" + }, + "provisioningState": "ProvisioningAccount", + "clusterId": "1c3f2afc-9ec1-4e74-bfe8-022b83bcd7b1", + "billingType": "Cluster", + "lastModifiedDate": "Sun, 04 Jan 2020 17:10:56 GMT", + "createdDate": "Mon, 13 Jan 2020 14:40:33 GMT", + "associatedWorkspaces": [], + "capacityReservationProperties": { + "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", + "minCapacity": 500 + } + }, + "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/clusters/oiautorest6685", + "identity": { + "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "sku": { + "name": "CapacityReservation", + "capacity": 1000 + }, + "name": "oiautorest6685", + "type": "Microsoft.OperationalInsights/clusters", + "location": "australiasoutheast" + } + }, + "201": { + "body": { + "properties": { + "keyVaultProperties": { + "keyVaultUri": "https://aztest2170.vault.azure.net", + "keyName": "aztest2170cert", + "keyVersion": "654ft6c4e63845cbb50fd6fg51540429" + }, + "provisioningState": "ProvisioningAccount", + "clusterId": "1c3f2afc-9ec1-4e74-bfe8-022b83bcd7b1", + "billingType": "Cluster", + "lastModifiedDate": "Sun, 04 Jan 2020 17:10:56 GMT", + "createdDate": "Mon, 13 Jan 2020 14:40:33 GMT", + "associatedWorkspaces": [], + "capacityReservationProperties": { + "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", + "minCapacity": 500 + } + }, + "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/clusters/oiautorest6685", + "identity": { + "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "sku": { + "name": "CapacityReservation", + "capacity": 1000 + }, + "name": "oiautorest6685", + "type": "Microsoft.OperationalInsights/clusters", + "location": "australiasoutheast" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersDelete.json new file mode 100644 index 000000000000..042230e66c89 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "clusterName": "oiautorest6685", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersGet.json new file mode 100644 index 000000000000..fd4bb6eae2a6 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersGet.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "clusterName": "oiautorest6685", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "properties": { + "keyVaultProperties": { + "keyVaultUri": "https://aztest2170.vault.azure.net", + "keyName": "aztest2170cert", + "keyVersion": "654ft6c4e63845cbb50fd6fg51540429" + }, + "provisioningState": "Succeeded", + "clusterId": "1c3f2afc-9ec1-4e74-bfe8-022b83bcd7b1", + "billingType": "Cluster", + "lastModifiedDate": "Sun, 04 Jan 2020 17:10:56 GMT", + "createdDate": "Mon, 13 Jan 2020 14:40:33 GMT", + "isDoubleEncryptionEnabled": false, + "isAvailabilityZonesEnabled": false, + "associatedWorkspaces": [ + { + "workspaceId": "942bdefd-e6c9-411c-ac69-70ffad564363", + "workspaceName": "testWs1", + "resourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/testRG/providers/microsoft.operationalinsights/workspaces/testWs1", + "associateDate": "Tue, 07 Jul 2020 07:35:51 GMT" + }, + { + "workspaceId": "c7edb8f8-67f7-41f2-bddb-aecf22507e3f", + "workspaceName": "testWs2", + "resourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/testRG/providers/microsoft.operationalinsights/workspaces/testWs2", + "associateDate": "Mon, 13 Jan 2020 16:03:39 GMT" + } + ], + "capacityReservationProperties": { + "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", + "minCapacity": 500 + } + }, + "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/clusters/testresourcelock", + "identity": { + "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "sku": { + "name": "CapacityReservation", + "capacity": 1000 + }, + "name": "TestResourceLock", + "type": "Microsoft.OperationalInsights/clusters", + "location": "eastus" + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersListByResourceGroup.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersListByResourceGroup.json new file mode 100644 index 000000000000..ee5e958f52bb --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersListByResourceGroup.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "keyVaultProperties": { + "keyVaultUri": "https://aztest2170.vault.azure.net", + "keyName": "aztest2170cert", + "keyVersion": "654ft6c4e63845cbb50fd6fg51540429" + }, + "provisioningState": "Succeeded", + "clusterId": "5b02755b-5bf4-430c-9487-45502a2a7e62" + }, + "sku": { + "name": "CapacityReservation", + "capacity": 1000 + }, + "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/clusters/testresourcelock", + "identity": { + "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "name": "TestResourceLock", + "type": "Microsoft.OperationalInsights/clusters", + "location": "eastus" + } + ] + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersSubscriptionList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersSubscriptionList.json new file mode 100644 index 000000000000..73acdcac0400 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersSubscriptionList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "keyVaultProperties": { + "keyVaultUri": "https://aztest2170.vault.azure.net", + "keyName": "aztest2170cert", + "keyVersion": "654ft6c4e63845cbb50fd6fg51540429" + }, + "provisioningState": "Succeeded", + "clusterId": "5b02755b-5bf4-430c-9487-45502a2a7e62" + }, + "sku": { + "name": "CapacityReservation", + "capacity": 1000 + }, + "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/clusters/testresourcelock", + "identity": { + "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "name": "TestResourceLock", + "type": "Microsoft.OperationalInsights/clusters", + "location": "eastus" + } + ] + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersUpdate.json new file mode 100644 index 000000000000..abfaf63cd581 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersUpdate.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "clusterName": "oiautorest6685", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity": {} + } + }, + "properties": { + "keyVaultProperties": { + "keyVaultUri": "https://aztest2170.vault.azure.net", + "keyName": "aztest2170cert", + "keyVersion": "654ft6c4e63845cbb50fd6fg51540429", + "keyRsaSize": 1024 + } + }, + "sku": { + "name": "CapacityReservation", + "capacity": 1000 + }, + "tags": { + "tag1": "val1" + } + }, + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "UserAssigned", + "tenantId": "72f999bf-acf1-41af-91ab-2d7cd011db47", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity": { + "clientId": "eb3a943d-6b12-48a6-b585-ac2316e15ab2", + "principalId": "b31776d4-ee80-4860-9433-ec0101be1891" + } + } + }, + "properties": { + "keyVaultProperties": { + "keyVaultUri": "https://aztest2170.vault.azure.net", + "keyName": "aztest2170cert", + "keyVersion": "654ft6c4e63845cbb50fd6fg51540429" + }, + "provisioningState": "Succeeded", + "clusterId": "1c3f2afc-9ec1-4e74-bfe8-022b83bcd7b1", + "billingType": "Cluster", + "lastModifiedDate": "Sun, 04 Jan 2020 17:10:56 GMT", + "createdDate": "Mon, 13 Jan 2020 14:40:33 GMT", + "associatedWorkspaces": [ + { + "workspaceId": "942bdefd-e6c9-411c-ac69-70ffad564363", + "workspaceName": "testWs1", + "resourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/testRG/providers/microsoft.operationalinsights/workspaces/testWs1", + "associateDate": "Tue, 07 Jul 2020 07:35:51 GMT" + }, + { + "workspaceId": "c7edb8f8-67f7-41f2-bddb-aecf22507e3f", + "workspaceName": "testWs2", + "resourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/testRG/providers/microsoft.operationalinsights/workspaces/testWs2", + "associateDate": "Mon, 13 Jan 2020 16:03:39 GMT" + } + ], + "capacityReservationProperties": { + "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", + "minCapacity": 500 + } + }, + "sku": { + "name": "CapacityReservation", + "capacity": 1000 + }, + "location": "australiasoutheast", + "tags": { + "tag1": "val1" + } + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportCreateOrUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportCreateOrUpdate.json new file mode 100644 index 000000000000..bdfbafaa0613 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportCreateOrUpdate.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "resourceGroupName": "RgTest1", + "workspaceName": "DeWnTest1234", + "dataExportName": "export1", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "parameters": { + "properties": { + "destination": { + "resourceId": "/subscriptions/192b9f85-a39a-4276-b96d-d5cd351703f9/resourceGroups/OIAutoRest1234/providers/Microsoft.EventHub/namespaces/test" + }, + "tableNames": [ + "Heartbeat" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "dataExportId": "d5233afc-7829-4b89-c594-08d7975e19a5", + "destination": { + "resourceId": "/subscriptions/192b9f85-a39a-4276-b96d-d5cd351703f9/resourceGroups/OIAutoRest1234/providers/Microsoft.EventHub/namespaces/test", + "type": "EventHub" + }, + "tableNames": [ + "Heartbeat" + ], + "enable": true, + "createdDate": "Sun, 12 Jan 2020 12:51:10 GMT", + "lastModifiedDate": "Sun, 12 Jan 2020 12:51:10 GMT" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/RgTest1/providers/microsoft.operationalinsights/workspaces/DeWnTest1234/export/export1", + "name": "export1", + "type": "Microsoft.OperationalInsights/workspaces/export" + } + }, + "201": { + "body": { + "properties": { + "dataExportId": "d5233afc-7829-4b89-c594-08d7975e19a5", + "destination": { + "resourceId": "/subscriptions/192b9f85-a39a-4276-b96d-d5cd351703f9/resourceGroups/OIAutoRest1234/providers/Microsoft.EventHub/namespaces/test", + "type": "EventHub" + }, + "tableNames": [ + "Heartbeat" + ], + "enable": true, + "createdDate": "Sun, 12 Jan 2020 12:51:10 GMT", + "lastModifiedDate": "Sun, 12 Jan 2020 12:51:10 GMT" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/RgTest1/providers/microsoft.operationalinsights/workspaces/DeWnTest1234/export/export1", + "name": "export1", + "type": "Microsoft.OperationalInsights/workspaces/export" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportDelete.json new file mode 100644 index 000000000000..9cb710cb6047 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "resourceGroupName": "RgTest1", + "workspaceName": "DeWnTest1234", + "dataExportName": "export1", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": {}, + "404": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportGet.json new file mode 100644 index 000000000000..71df40eff220 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "resourceGroupName": "RgTest1", + "workspaceName": "DeWnTest1234", + "dataExportName": "export1", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "dataExportId": "d5233afc-7829-4b89-c594-08d7975e19a5", + "destination": { + "resourceId": "/subscriptions/192b9f85-a39a-4276-b96d-d5cd351703f9/resourceGroups/OIAutoRest1234/providers/Microsoft.EventHub/namespaces/test", + "type": "EventHub" + }, + "tableNames": [ + "Heartbeat" + ], + "enable": true, + "createdDate": "Sun, 12 Jan 2020 12:51:10 GMT", + "lastModifiedDate": "Sun, 12 Jan 2020 12:51:10 GMT" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/RgTest1/providers/microsoft.operationalinsights/workspaces/DeWnTest1234/export/export1", + "name": "export1", + "type": "Microsoft.OperationalInsights/workspaces/export" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportListByWorkspace.json new file mode 100644 index 000000000000..b888d0e199e2 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportListByWorkspace.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "resourceGroupName": "RgTest1", + "workspaceName": "DeWnTest1234", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "dataExportId": "d5233afc-7829-4b89-c594-08d7975e19a5", + "destination": { + "resourceId": "/subscriptions/192b9f85-a39a-4276-b96d-d5cd351703f9/resourceGroups/OIAutoRest1234/providers/Microsoft.EventHub/namespaces/test", + "type": "EventHub" + }, + "tableNames": [ + "Heartbeat" + ], + "enable": true, + "createdDate": "Sun, 12 Jan 2020 12:51:10 GMT", + "lastModifiedDate": "Sun, 12 Jan 2020 12:51:10 GMT" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/RgTest1/providers/microsoft.operationalinsights/workspaces/DeWnTest1234/export/export1", + "name": "export1", + "type": "Microsoft.OperationalInsights/workspaces/export" + } + ] + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesCreate.json new file mode 100644 index 000000000000..47d274b0d5f8 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesCreate.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "AzTest9724", + "dataSourceName": "AzTestDS774", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "parameters": { + "properties": { + "LinkedResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" + }, + "kind": "AzureActivityLog" + } + }, + "responses": { + "200": { + "body": { + "kind": "AzureActivityLog", + "properties": { + "linkedResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/datasources/AzTestDS774", + "etag": "W/\"datetime'2017-10-01T08%3A01%3A21.2351243Z'\"", + "name": "AzTestDS774", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + } + }, + "201": { + "body": { + "kind": "AzureActivityLog", + "properties": { + "linkedResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/datasources/AzTestDS774", + "etag": "W/\"datetime'2017-10-01T08%3A01%3A21.2351243Z'\"", + "name": "AzTestDS774", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesDelete.json new file mode 100644 index 000000000000..14fa677a1030 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "AzTest9724", + "dataSourceName": "AzTestDS774", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesGet.json new file mode 100644 index 000000000000..b76bfb4db63e --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesGet.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "AzTest9724", + "dataSourceName": "AzTestDS774", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "kind": "AzureActivityLog", + "properties": { + "linkedResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/datasources/AzTestDS774", + "etag": "W/\"datetime'2017-10-01T08%3A01%3A21.2351243Z'\"", + "name": "AzTestDS774", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesListByWorkspace.json new file mode 100644 index 000000000000..81339691f5f4 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesListByWorkspace.json @@ -0,0 +1,3019 @@ +{ + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "AzTest9724", + "dataSourceName": "AzTestDS774", + "$filter": "kind='WindowsEvent'", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent14", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1011", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A08.5629323Z'\"", + "name": "AzTestDSWE1011", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent64", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1013", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A22.2533211Z'\"", + "name": "AzTestDSWE1013", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent202", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1020", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A04.4645698Z'\"", + "name": "AzTestDSWE1020", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent231", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1074", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A12.5871672Z'\"", + "name": "AzTestDSWE1074", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent86", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1117", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A28.9325389Z'\"", + "name": "AzTestDSWE1117", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent30", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1128", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A13.2185735Z'\"", + "name": "AzTestDSWE1128", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent66", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1176", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A22.7779289Z'\"", + "name": "AzTestDSWE1176", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent199", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1293", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A03.5114136Z'\"", + "name": "AzTestDSWE1293", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent102", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE134", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A33.6788897Z'\"", + "name": "AzTestDSWE134", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent111", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1352", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A36.2312139Z'\"", + "name": "AzTestDSWE1352", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent31", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1360", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A13.4685716Z'\"", + "name": "AzTestDSWE1360", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent53", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1382", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A19.2840543Z'\"", + "name": "AzTestDSWE1382", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent132", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1410", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A42.7070374Z'\"", + "name": "AzTestDSWE1410", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent211", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1417", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A06.8922838Z'\"", + "name": "AzTestDSWE1417", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent274", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1560", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A26.6932412Z'\"", + "name": "AzTestDSWE1560", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent212", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1618", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A07.1422661Z'\"", + "name": "AzTestDSWE1618", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent221", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1662", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A09.5980265Z'\"", + "name": "AzTestDSWE1662", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent121", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1675", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A39.6167744Z'\"", + "name": "AzTestDSWE1675", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent157", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE169", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A50.1064668Z'\"", + "name": "AzTestDSWE169", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent196", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1735", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A02.4954752Z'\"", + "name": "AzTestDSWE1735", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent12", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1742", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A08.0452997Z'\"", + "name": "AzTestDSWE1742", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent145", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1815", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A46.5966089Z'\"", + "name": "AzTestDSWE1815", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent69", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1828", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A23.6529754Z'\"", + "name": "AzTestDSWE1828", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent58", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE188", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A20.7216320Z'\"", + "name": "AzTestDSWE188", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent48", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1962", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A17.9341560Z'\"", + "name": "AzTestDSWE1962", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent246", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1997", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A17.3081821Z'\"", + "name": "AzTestDSWE1997", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent154", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2046", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A49.2918213Z'\"", + "name": "AzTestDSWE2046", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent165", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2056", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A52.4111189Z'\"", + "name": "AzTestDSWE2056", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent172", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2116", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A54.7598026Z'\"", + "name": "AzTestDSWE2116", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent9", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2142", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A07.2711237Z'\"", + "name": "AzTestDSWE2142", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent150", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE22", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A48.2064500Z'\"", + "name": "AzTestDSWE22", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent218", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2208", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A08.7849248Z'\"", + "name": "AzTestDSWE2208", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent161", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2221", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A51.3306230Z'\"", + "name": "AzTestDSWE2221", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent75", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2226", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A25.5991266Z'\"", + "name": "AzTestDSWE2226", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent38", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2231", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A15.3592513Z'\"", + "name": "AzTestDSWE2231", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent208", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2242", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A06.0641077Z'\"", + "name": "AzTestDSWE2242", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent228", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2263", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A11.7829226Z'\"", + "name": "AzTestDSWE2263", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent259", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2369", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A21.5874093Z'\"", + "name": "AzTestDSWE2369", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent210", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE240", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A06.6266574Z'\"", + "name": "AzTestDSWE240", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent265", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2423", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A23.4752361Z'\"", + "name": "AzTestDSWE2423", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent112", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2463", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A36.5611370Z'\"", + "name": "AzTestDSWE2463", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent32", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2499", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A13.7187131Z'\"", + "name": "AzTestDSWE2499", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent220", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2509", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A09.3324224Z'\"", + "name": "AzTestDSWE2509", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent87", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2541", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A29.2312540Z'\"", + "name": "AzTestDSWE2541", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent2", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2578", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A05.3117461Z'\"", + "name": "AzTestDSWE2578", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent119", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2619", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A38.5379572Z'\"", + "name": "AzTestDSWE2619", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent1", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE274", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A05.0735592Z'\"", + "name": "AzTestDSWE274", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent92", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2754", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A30.6297451Z'\"", + "name": "AzTestDSWE2754", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent205", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE281", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A05.2972963Z'\"", + "name": "AzTestDSWE281", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent101", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2818", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A33.3820072Z'\"", + "name": "AzTestDSWE2818", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent236", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2860", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A14.0876077Z'\"", + "name": "AzTestDSWE2860", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent93", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2867", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A30.9266089Z'\"", + "name": "AzTestDSWE2867", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent278", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2923", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A27.9342580Z'\"", + "name": "AzTestDSWE2923", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent138", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2979", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A44.4311007Z'\"", + "name": "AzTestDSWE2979", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent217", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3009", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A08.5349323Z'\"", + "name": "AzTestDSWE3009", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent269", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3033", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A24.9696296Z'\"", + "name": "AzTestDSWE3033", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent49", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3095", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A18.2006423Z'\"", + "name": "AzTestDSWE3095", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent118", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3114", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A38.2879169Z'\"", + "name": "AzTestDSWE3114", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent116", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3132", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A37.6889867Z'\"", + "name": "AzTestDSWE3132", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent185", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3147", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A58.9331954Z'\"", + "name": "AzTestDSWE3147", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent109", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3159", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A35.6843083Z'\"", + "name": "AzTestDSWE3159", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent46", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE317", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A17.4118415Z'\"", + "name": "AzTestDSWE317", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent107", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3175", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A35.0592573Z'\"", + "name": "AzTestDSWE3175", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent28", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3183", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A12.6247906Z'\"", + "name": "AzTestDSWE3183", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent237", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3217", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A14.4938899Z'\"", + "name": "AzTestDSWE3217", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent62", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3220", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A21.7373059Z'\"", + "name": "AzTestDSWE3220", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent51", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3228", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A18.7785353Z'\"", + "name": "AzTestDSWE3228", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent171", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3395", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A54.4936956Z'\"", + "name": "AzTestDSWE3395", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent63", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3416", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A22.0032694Z'\"", + "name": "AzTestDSWE3416", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent280", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3506", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A28.8251658Z'\"", + "name": "AzTestDSWE3506", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent23", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3517", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A11.2153209Z'\"", + "name": "AzTestDSWE3517", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent229", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3528", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A12.0402565Z'\"", + "name": "AzTestDSWE3528", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent136", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3530", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A43.8027590Z'\"", + "name": "AzTestDSWE3530", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent194", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3594", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A01.9173304Z'\"", + "name": "AzTestDSWE3594", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent191", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3615", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A00.8990889Z'\"", + "name": "AzTestDSWE3615", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent242", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3645", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A16.0877829Z'\"", + "name": "AzTestDSWE3645", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent11", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3676", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A07.8068460Z'\"", + "name": "AzTestDSWE3676", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent155", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3700", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A49.5439700Z'\"", + "name": "AzTestDSWE3700", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent117", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3738", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A38.0363694Z'\"", + "name": "AzTestDSWE3738", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent159", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3740", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A50.6390339Z'\"", + "name": "AzTestDSWE3740", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent95", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3754", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A31.5203823Z'\"", + "name": "AzTestDSWE3754", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent96", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3761", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A31.7860159Z'\"", + "name": "AzTestDSWE3761", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent56", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3787", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A20.0966078Z'\"", + "name": "AzTestDSWE3787", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent181", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3880", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A57.8394298Z'\"", + "name": "AzTestDSWE3880", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent160", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3887", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A51.0806178Z'\"", + "name": "AzTestDSWE3887", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent244", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3899", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A16.6987634Z'\"", + "name": "AzTestDSWE3899", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent127", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3928", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A41.4223363Z'\"", + "name": "AzTestDSWE3928", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent186", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4005", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A59.1831854Z'\"", + "name": "AzTestDSWE4005", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent288", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4021", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A31.5314824Z'\"", + "name": "AzTestDSWE4021", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent193", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4054", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A01.6667691Z'\"", + "name": "AzTestDSWE4054", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent133", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE406", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A42.9581303Z'\"", + "name": "AzTestDSWE406", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent88", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4128", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A29.4890798Z'\"", + "name": "AzTestDSWE4128", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent189", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4140", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A00.2051432Z'\"", + "name": "AzTestDSWE4140", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent183", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4209", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A58.3706603Z'\"", + "name": "AzTestDSWE4209", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent67", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4216", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A23.1240354Z'\"", + "name": "AzTestDSWE4216", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent294", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4240", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A33.5368097Z'\"", + "name": "AzTestDSWE4240", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent91", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4279", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A30.3641074Z'\"", + "name": "AzTestDSWE4279", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent273", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4289", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A26.3963554Z'\"", + "name": "AzTestDSWE4289", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent148", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4317", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A47.6751803Z'\"", + "name": "AzTestDSWE4317", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent4", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4324", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A05.8120517Z'\"", + "name": "AzTestDSWE4324", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent201", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4362", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A04.1208323Z'\"", + "name": "AzTestDSWE4362", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent13", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4416", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A08.3109506Z'\"", + "name": "AzTestDSWE4416", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent153", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4424", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A48.9744951Z'\"", + "name": "AzTestDSWE4424", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent52", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4466", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A19.0457713Z'\"", + "name": "AzTestDSWE4466", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent37", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4467", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A15.0936374Z'\"", + "name": "AzTestDSWE4467", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent129", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4503", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A41.9399246Z'\"", + "name": "AzTestDSWE4503", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent276", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4521", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A27.2714771Z'\"", + "name": "AzTestDSWE4521", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent79", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4530", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A26.7419933Z'\"", + "name": "AzTestDSWE4530", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent115", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4600", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A37.4227966Z'\"", + "name": "AzTestDSWE4600", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent135", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4644", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A43.5519204Z'\"", + "name": "AzTestDSWE4644", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent162", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4694", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A51.6431386Z'\"", + "name": "AzTestDSWE4694", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent5", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4715", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A06.0530002Z'\"", + "name": "AzTestDSWE4715", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent267", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE472", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A24.3989962Z'\"", + "name": "AzTestDSWE472", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent243", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4721", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A16.3706498Z'\"", + "name": "AzTestDSWE4721", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent295", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4734", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A33.8337155Z'\"", + "name": "AzTestDSWE4734", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent270", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4755", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A25.2712759Z'\"", + "name": "AzTestDSWE4755", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent81", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4779", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A27.5076680Z'\"", + "name": "AzTestDSWE4779", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent0", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4791", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A04.6828938Z'\"", + "name": "AzTestDSWE4791", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent170", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4798", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A54.0073520Z'\"", + "name": "AzTestDSWE4798", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent263", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE480", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A22.9077505Z'\"", + "name": "AzTestDSWE480", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent25", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4847", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A11.7028912Z'\"", + "name": "AzTestDSWE4847", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent204", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4876", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A04.9847854Z'\"", + "name": "AzTestDSWE4876", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent68", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4900", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A23.4029367Z'\"", + "name": "AzTestDSWE4900", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent105", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4918", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A34.5280091Z'\"", + "name": "AzTestDSWE4918", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent296", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4928", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A34.2882196Z'\"", + "name": "AzTestDSWE4928", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent293", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4930", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A33.2381803Z'\"", + "name": "AzTestDSWE4930", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent113", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4945", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A36.8423994Z'\"", + "name": "AzTestDSWE4945", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent15", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4967", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A08.9379456Z'\"", + "name": "AzTestDSWE4967", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent180", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4969", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A57.5893926Z'\"", + "name": "AzTestDSWE4969", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent54", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4983", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A19.5497139Z'\"", + "name": "AzTestDSWE4983", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent151", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5011", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A48.4588661Z'\"", + "name": "AzTestDSWE5011", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent290", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5082", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A32.2694295Z'\"", + "name": "AzTestDSWE5082", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent248", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5136", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A17.8863220Z'\"", + "name": "AzTestDSWE5136", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent206", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5141", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A05.5484906Z'\"", + "name": "AzTestDSWE5141", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent266", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5166", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A23.9283342Z'\"", + "name": "AzTestDSWE5166", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent282", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5207", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A29.4970655Z'\"", + "name": "AzTestDSWE5207", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent203", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5223", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A04.7146038Z'\"", + "name": "AzTestDSWE5223", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent20", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5233", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A10.3237629Z'\"", + "name": "AzTestDSWE5233", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent249", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5253", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A18.1831872Z'\"", + "name": "AzTestDSWE5253", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent286", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5255", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A30.9049829Z'\"", + "name": "AzTestDSWE5255", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent29", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5263", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A12.8904269Z'\"", + "name": "AzTestDSWE5263", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent255", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5351", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A20.4543884Z'\"", + "name": "AzTestDSWE5351", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent55", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5385", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A19.7997319Z'\"", + "name": "AzTestDSWE5385", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent89", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5394", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A29.7703365Z'\"", + "name": "AzTestDSWE5394", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent17", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE541", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A09.4692151Z'\"", + "name": "AzTestDSWE541", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent241", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5439", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A15.7994161Z'\"", + "name": "AzTestDSWE5439", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent223", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5460", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A10.3032105Z'\"", + "name": "AzTestDSWE5460", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent268", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5479", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A24.6802546Z'\"", + "name": "AzTestDSWE5479", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent192", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5483", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A01.1670463Z'\"", + "name": "AzTestDSWE5483", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent114", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5486", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A37.1393156Z'\"", + "name": "AzTestDSWE5486", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent126", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5554", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A41.1205470Z'\"", + "name": "AzTestDSWE5554", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent256", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5559", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A20.7200407Z'\"", + "name": "AzTestDSWE5559", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent50", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5585", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A18.4534330Z'\"", + "name": "AzTestDSWE5585", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent125", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE568", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A40.8861587Z'\"", + "name": "AzTestDSWE568", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent230", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5741", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A12.3059271Z'\"", + "name": "AzTestDSWE5741", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent120", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE58", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A39.0692471Z'\"", + "name": "AzTestDSWE58", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent44", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5810", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A16.9117573Z'\"", + "name": "AzTestDSWE5810", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent141", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5815", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A45.4055476Z'\"", + "name": "AzTestDSWE5815", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent173", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5858", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A55.0097893Z'\"", + "name": "AzTestDSWE5858", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent251", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5866", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A18.9931389Z'\"", + "name": "AzTestDSWE5866", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent187", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5888", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A59.4332080Z'\"", + "name": "AzTestDSWE5888", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent18", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5905", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A09.7599986Z'\"", + "name": "AzTestDSWE5905", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent224", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6027", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A10.6395291Z'\"", + "name": "AzTestDSWE6027", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent235", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE607", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A13.7282386Z'\"", + "name": "AzTestDSWE607", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent100", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6099", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A33.1319662Z'\"", + "name": "AzTestDSWE6099", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent6", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6122", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A06.3186640Z'\"", + "name": "AzTestDSWE6122", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent24", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6218", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A11.4528829Z'\"", + "name": "AzTestDSWE6218", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent149", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE622", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A47.9407875Z'\"", + "name": "AzTestDSWE622", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent209", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6222", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A06.3453921Z'\"", + "name": "AzTestDSWE6222", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent60", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6240", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A21.2372832Z'\"", + "name": "AzTestDSWE6240", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent216", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6251", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A08.2849036Z'\"", + "name": "AzTestDSWE6251", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent195", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6274", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A02.1829375Z'\"", + "name": "AzTestDSWE6274", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent98", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6296", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A32.3491070Z'\"", + "name": "AzTestDSWE6296", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent261", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6301", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A22.1811938Z'\"", + "name": "AzTestDSWE6301", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent7", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6404", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A06.7093003Z'\"", + "name": "AzTestDSWE6404", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent3", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6406", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A05.5617435Z'\"", + "name": "AzTestDSWE6406", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent123", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6432", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A40.2886854Z'\"", + "name": "AzTestDSWE6432", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent110", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6439", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A35.9811949Z'\"", + "name": "AzTestDSWE6439", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent233", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6451", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A13.1344490Z'\"", + "name": "AzTestDSWE6451", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent22", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6486", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A10.9653354Z'\"", + "name": "AzTestDSWE6486", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent19", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6505", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A10.0582011Z'\"", + "name": "AzTestDSWE6505", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent166", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6514", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A52.8955201Z'\"", + "name": "AzTestDSWE6514", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent225", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6518", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A10.9395226Z'\"", + "name": "AzTestDSWE6518", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent70", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6537", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A24.0123335Z'\"", + "name": "AzTestDSWE6537", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent179", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6547", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A57.3394082Z'\"", + "name": "AzTestDSWE6547", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent103", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6556", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A33.9457044Z'\"", + "name": "AzTestDSWE6556", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent234", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6718", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A13.4313542Z'\"", + "name": "AzTestDSWE6718", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent108", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6724", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A35.4186784Z'\"", + "name": "AzTestDSWE6724", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent27", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6741", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A12.3279180Z'\"", + "name": "AzTestDSWE6741", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent72", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6796", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A24.5764501Z'\"", + "name": "AzTestDSWE6796", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent299", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6826", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A35.2579899Z'\"", + "name": "AzTestDSWE6826", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent297", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6829", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A34.6319483Z'\"", + "name": "AzTestDSWE6829", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent85", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6893", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A28.5887776Z'\"", + "name": "AzTestDSWE6893", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent41", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6974", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A16.1249736Z'\"", + "name": "AzTestDSWE6974", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent279", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7008", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A28.3876585Z'\"", + "name": "AzTestDSWE7008", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent281", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7014", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A29.1220764Z'\"", + "name": "AzTestDSWE7014", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent272", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7068", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A26.0213457Z'\"", + "name": "AzTestDSWE7068", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent260", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7080", + "etag": "W/\"datetime'2017-10-02T23%3A21%3A21.8686663Z'\"", + "name": "AzTestDSWE7080", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent124", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7166", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A40.5423724Z'\"", + "name": "AzTestDSWE7166", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + }, + { + "kind": "WindowsEvent", + "properties": { + "eventLogName": "windowsEvent42", + "eventTypes": [ + { + "eventType": "Error" + } + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7178", + "etag": "W/\"datetime'2017-10-02T23%3A20%3A16.3906307Z'\"", + "name": "AzTestDSWE7178", + "type": "Microsoft.OperationalInsights/workspaces/datasources" + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/dataSources?$filter=kind+eq+'WindowsEvent'&api-version=2020-08-01&$skiptoken=AzTestDSWE7191" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesCreate.json new file mode 100644 index 000000000000..35a2bb212788 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesCreate.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "resourceGroupName": "mms-eus", + "workspaceName": "TestLinkWS", + "linkedServiceName": "Cluster", + "parameters": { + "properties": { + "writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/testcluster" + } + }, + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "202": {}, + "200": { + "body": { + "properties": { + "writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/testcluster", + "provisioningState": "ProvisioningAccount" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/cluster", + "name": "TestLinkWS/Cluster", + "type": "Microsoft.OperationalInsights/workspaces/linkedServices" + } + }, + "201": { + "body": { + "properties": { + "writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/testcluster", + "provisioningState": "ProvisioningAccount" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/cluster", + "name": "TestLinkWS/Cluster", + "type": "Microsoft.OperationalInsights/workspaces/linkedServices" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesDelete.json new file mode 100644 index 000000000000..fc1b5639b9ab --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesDelete.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "linkedServiceName": "Cluster", + "workspaceName": "TestLinkWS", + "resourceGroupName": "rg1", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "202": {}, + "200": { + "body": { + "properties": { + "writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/testcluster", + "provisioningState": "Deleting" + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/cluster", + "name": "TestLinkWS/Cluster", + "type": "Microsoft.OperationalInsights/workspaces/linkedServices" + } + }, + "204": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesGet.json new file mode 100644 index 000000000000..a0b0ceb850d3 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "resourceGroupName": "mms-eus", + "workspaceName": "TestLinkWS", + "linkedServiceName": "Cluster", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/testcluster", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/cluster", + "name": "TestLinkWS/Cluster", + "type": "Microsoft.OperationalInsights/workspaces/linkedServices" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesListByWorkspace.json new file mode 100644 index 000000000000..8896af9e14fc --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesListByWorkspace.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "resourceGroupName": "mms-eus", + "workspaceName": "TestLinkWS", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation", + "name": "TestLinkWS/Automation", + "type": "Microsoft.OperationalInsights/workspaces/linkedServices" + }, + { + "properties": { + "writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/TestCluster", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/cluster", + "name": "TestLinkWS/Cluster", + "type": "Microsoft.OperationalInsights/workspaces/linkedServices" + } + ] + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsCreate.json new file mode 100644 index 000000000000..c746a232e3d1 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsCreate.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "resourceGroupName": "mms-eus", + "workspaceName": "testLinkStorageAccountsWS", + "dataSourceType": "CustomLogs", + "parameters": { + "properties": { + "storageAccountIds": [ + "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageA", + "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageB" + ] + } + }, + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "dataSourceType": "CustomLogs", + "storageAccountIds": [ + "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageA", + "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageB" + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testLinkStorageAccountsWS/linkedStorageAccounts/CustomLogs", + "name": "CustomLogs", + "type": "Microsoft.OperationalInsights/workspaces/linkedStorageAccounts" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsDelete.json new file mode 100644 index 000000000000..683a6a042621 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsDelete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "dataSourceType": "CustomLogs", + "workspaceName": "testLinkStorageAccountsWS", + "resourceGroupName": "mms-eus", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsGet.json new file mode 100644 index 000000000000..1afdc57efc01 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "resourceGroupName": "mms-eus", + "workspaceName": "testLinkStorageAccountsWS", + "dataSourceType": "CustomLogs", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "dataSourceType": "CustomLogs", + "storageAccountIds": [ + "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageA", + "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageB" + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testLinkStorageAccountsWS/linkedStorageAccounts/CustomLogs", + "name": "CustomLogs", + "type": "Microsoft.OperationalInsights/workspaces/linkedStorageAccounts" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsListByWorkspace.json new file mode 100644 index 000000000000..bd8985adeb7c --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsListByWorkspace.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "resourceGroupName": "mms-eus", + "workspaceName": "testLinkStorageAccountsWS", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "dataSourceType": "CustomLogs", + "storageAccountIds": [ + "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageA", + "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageB" + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testLinkStorageAccountsWS/linkedStorageAccounts/CustomLogs", + "name": "CustomLogs", + "type": "Microsoft.OperationalInsights/workspaces/linkedStorageAccounts" + }, + { + "properties": { + "dataSourceType": "AzureWatson", + "storageAccountIds": [ + "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageA", + "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageC" + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testLinkStorageAccountsWS/linkedStorageAccounts/AzureWatson", + "name": "AzureWatson", + "type": "Microsoft.OperationalInsights/workspaces/linkedStorageAccounts" + }, + { + "properties": { + "dataSourceType": "Query", + "storageAccountIds": [ + "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageA", + "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageC" + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testLinkStorageAccountsWS/linkedStorageAccounts/Query", + "name": "Query", + "type": "Microsoft.OperationalInsights/workspaces/linkedStorageAccounts" + }, + { + "properties": { + "dataSourceType": "Alerts", + "storageAccountIds": [ + "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageA", + "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageC" + ] + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testLinkStorageAccountsWS/linkedStorageAccounts/Alerts", + "name": "Alerts", + "type": "Microsoft.OperationalInsights/workspaces/linkedStorageAccounts" + } + ] + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationStatusesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationStatusesGet.json new file mode 100644 index 000000000000..a8724943c27c --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationStatusesGet.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60", + "location": "West US", + "asyncOperationId": "713192d7-503f-477a-9cfe-4efc3ee2bd11", + "api-version": "2021-12-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/locations/westus/operationStatuses/713192d7-503f-477a-9cfe-4efc3ee2bd11", + "name": "713192d7-503f-477a-9cfe-4efc3ee2bd11", + "startTime": "2017-01-01T13:13:13.933Z", + "endTime": "2017-01-01T16:13:13.933Z", + "status": "Succeeded" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationsListByTenant.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationsListByTenant.json new file mode 100644 index 000000000000..daa57d486f71 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationsListByTenant.json @@ -0,0 +1,327 @@ +{ + "parameters": { + "api-version": "2021-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.OperationalInsights/workspaces/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Workspace", + "operation": "Create Workspace", + "description": "Creates a new workspace or links to an existing workspace by providing the customer id from the existing workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Workspace", + "operation": "Get Workspace", + "description": "Gets an existing workspace" + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Workspace", + "operation": "Delete Workspace", + "description": "Deletes a workspace. If the workspace was linked to an existing workspace at creation time then the workspace it was linked to is not deleted." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/generateregistrationcertificate/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Registration Certificate", + "operation": "Generates Registration Certificate for Workspace.", + "description": "Generates Registration Certificate for the workspace. This Certificate is used to connect Microsoft System Center Operation Manager to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Storage Insight Configuration", + "operation": "Create Storage Configuration", + "description": "Creates a new storage configuration. These configurations are used to pull data from a location in an existing storage account." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Storage Insight Configuration", + "operation": "Get Storage Configuration", + "description": "Gets a storage configuration." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Storage Insight Configuration", + "operation": "Delete Storage Configuration", + "description": "Deletes a storage configuration. This will stop Microsoft Operational Insights from reading data from the storage account." + } + }, + { + "name": "Microsoft.OperationalInsights/register/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Register", + "operation": "Register a subscription to a resource provider.", + "description": "Register a subscription to a resource provider." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/sharedKeys/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Shared Keys", + "operation": "List Workspace Shared Keys", + "description": "Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/sharedKeys/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Shared Keys", + "operation": "List Workspace Shared Keys", + "description": "Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/listKeys/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "List Keys", + "operation": "List Workspace Keys", + "description": "Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/listKeys/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "List Keys", + "operation": "List Workspace Keys", + "description": "Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/managementGroups/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Management Group", + "operation": "Get Management Groups for Workspace", + "description": "Gets the names and metadata for System Center Operations Manager management groups connected to this workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/usages/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Usage Metric", + "operation": "Get Usage Data for Workspace", + "description": "Gets usage data for a workspace including the amount of data read by the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/search/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Search", + "operation": "Search Workspace Data", + "description": "Executes a search query" + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/schema/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Search Schema", + "operation": "Get Search Schema", + "description": "Gets the search schema for the workspace. Search schema includes the exposed fields and their types." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/datasources/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Data Source", + "operation": "Get datasources under a workspace.", + "description": "Get datasources under a workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/datasources/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Data Source", + "operation": "Create/Update datasources under a workspace.", + "description": "Create/Update datasources under a workspace." + } + }, + {}, + {}, + {}, + {}, + { + "name": "Microsoft.OperationalInsights/workspaces/notificationSettings/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Notification Settings", + "operation": "Get Notification Settings", + "description": "Get the user's notification settings for the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/notificationSettings/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Notification Settings", + "operation": "Put Notification Settings", + "description": "Set the user's notification settings for the workspace." + } + }, + {}, + {}, + {}, + { + "name": "Microsoft.OperationalInsights/workspaces/configurationScopes/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Configuration Scope", + "operation": "Delete Configuration Scope", + "description": "Delete Configuration Scope" + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/linkedServices/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Linked Services", + "operation": "Get linked services under given workspace.", + "description": "Get linked services under given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/linkedServices/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Linked Services", + "operation": "Create/Update linked services under given workspace.", + "description": "Create/Update linked services under given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/linkedServices/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Linked Services", + "operation": "Delete linked services under given workspace.", + "description": "Delete linked services under given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Intelligence Packs", + "operation": "List Intelligence Packs", + "description": "Lists all intelligence packs that are visible for a given worksapce and also lists whether the pack is enabled or disabled for that workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/enable/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Intelligence Packs", + "operation": "Enable Intelligence Pack", + "description": "Enables an intelligence pack for a given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/disable/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Intelligence Packs", + "operation": "Disable Intelligence Pack", + "description": "Disables an intelligence pack for a given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/analytics/query/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Search using new engine.", + "description": "Search using new engine." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/analytics/query/schema/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Get search schema V2.", + "description": "Get search schema V2." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/api/query/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Search using new engine.", + "description": "Search using new engine." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/api/query/schema/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Get search schema V2.", + "description": "Get search schema V2." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/purge/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Delete specified data from workspace", + "description": "Delete specified data from workspace" + } + }, + { + "name": "Microsoft.OperationalInsights/linkTargets/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Unlinked Account", + "operation": "List Unlinked Accounts", + "description": "Lists existing accounts that are not associated with an Azure subscription. To link this Azure subscription to a workspace, use a customer id returned by this operation in the customer id property of the Create Workspace operation." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/metricDefinitions/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Metric Definitions", + "operation": "Metric Definition operation", + "description": "Get Metric Definitions under workspace" + } + } + ], + "nextLink": "" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesGetSchema.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesGetSchema.json new file mode 100644 index 000000000000..0228af67797f --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesGetSchema.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "resourceGroupName": "mms-eus", + "workspaceName": "atlantisdemo", + "api-version": "2021-12-01-preview", + "parameters": { + "top": 25, + "query": "*" + }, + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "metadata": { + "schema": { + "name": "CloudOps", + "version": 2 + }, + "resultType": "schema", + "requestTime": 28 + }, + "value": [ + { + "name": "TenantId", + "displayName": "TenantId", + "type": "Guid", + "indexed": true, + "stored": false, + "facet": false, + "ownerType": [ + "Alert", + "AzureActivity", + "AzureAudit", + "AzureMetrics", + "ComputerGroup", + "ETWEvent", + "Event", + "ExtraHopDBLogin", + "ExtraHopDBTransaction", + "ExtraHopDNSResponse", + "ExtraHopFTPResponse", + "ExtraHopHTTPTransaction", + "ExtraHopSMTPMessage", + "ExtraHopSYNScanDetect", + "ExtraHopTCPOpen", + "Heartbeat", + "Operation", + "Perf", + "ReservedAzureCommonFields", + "ReservedCommonFields", + "ServiceFabricOperationalEvent", + "ServiceFabricReliableActorEvent", + "ServiceFabricReliableServiceEvent", + "Syslog", + "Usage", + "W3CIISLog" + ] + } + ] + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesListByWorkspace.json new file mode 100644 index 000000000000..08f583c4e313 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesListByWorkspace.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "resourceGroupName": "TestRG", + "workspaceName": "TestWS", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "id": "subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/AtlantisDemo/savedSearches/test-new-saved-search-id-2015", + "etag": "W/\"datetime'2017-10-02T23%3A15%3A41.0709875Z'\"", + "properties": { + "Category": " Saved Search Test Category", + "DisplayName": "Create or Update Saved Search Test", + "Query": "* | measure Count() by Computer", + "Tags": [ + { + "Name": "Group", + "Value": "Computer" + } + ], + "Version": 1 + } + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsCreateOrUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsCreateOrUpdate.json new file mode 100644 index 000000000000..5d6a4fcaec0d --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsCreateOrUpdate.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "aztest5048", + "storageInsightName": "AzTestSI1110", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "parameters": { + "properties": { + "containers": [ + "wad-iis-logfiles" + ], + "tables": [ + "WADWindowsEventLogsTable", + "LinuxSyslogVer2v0" + ], + "storageAccount": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", + "key": "1234" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "containers": [ + "wad-iis-logfiles" + ], + "tables": [ + "WADWindowsEventLogsTable", + "LinuxSyslogVer2v0" + ], + "storageAccount": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", + "key": "Storage Key" + }, + "status": { + "state": "OK" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", + "name": "AzTestSI1110", + "type": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs" + } + }, + "201": { + "body": { + "properties": { + "containers": [ + "wad-iis-logfiles" + ], + "tables": [ + "WADWindowsEventLogsTable", + "LinuxSyslogVer2v0" + ], + "storageAccount": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", + "key": "Storage Key" + }, + "status": { + "state": "OK" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", + "name": "AzTestSI1110", + "type": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsDelete.json new file mode 100644 index 000000000000..509f8a3a9248 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "aztest5048", + "storageInsightName": "AzTestSI1110", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsGet.json new file mode 100644 index 000000000000..f36d9f9a234f --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "aztest5048", + "storageInsightName": "AzTestSI1110", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "containers": [ + "wad-iis-logfiles" + ], + "tables": [ + "WADWindowsEventLogsTable", + "LinuxSyslogVer2v0" + ], + "storageAccount": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", + "key": "Storage Account Key" + }, + "status": { + "state": "OK" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", + "name": "AzTestSI1110", + "type": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsListByWorkspace.json new file mode 100644 index 000000000000..a09d92a0d97b --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsListByWorkspace.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "aztest5048", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "properties": { + "containers": [ + "wad-iis-logfiles" + ], + "tables": [ + "WADWindowsEventLogsTable", + "LinuxSyslogVer2v0" + ], + "storageAccount": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945" + }, + "status": { + "state": "OK" + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", + "name": "AzTestSI1110", + "type": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs" + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesDelete.json similarity index 77% rename from specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableDelete.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesDelete.json index 8db6ac056a12..3649d4dbe1cd 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableDelete.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesDelete.json @@ -2,12 +2,13 @@ "parameters": { "resourceGroupName": "oiautorest6685", "workspaceName": "oiautorest6685", - "api-version": "2021-03-01-privatepreview", + "api-version": "2021-12-01-preview", "subscriptionId": "00000000-0000-0000-0000-00000000000", "tableName": "table1_CL" }, "responses": { "200": {}, - "202": {} + "202": {}, + "204": {} } } diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json similarity index 96% rename from specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableGet.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json index a004cccc8be2..efbe509fcab1 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json @@ -2,7 +2,7 @@ "parameters": { "resourceGroupName": "oiautorest6685", "workspaceName": "oiautorest6685", - "api-version": "2021-03-01-privatepreview", + "api-version": "2021-12-01-preview", "subscriptionId": "00000000-0000-0000-0000-00000000000", "tableName": "table1_CL" }, @@ -85,8 +85,7 @@ "source": null, "solutions": [ "LogManagement" - ], - "isTroubleshootingAllowed": false + ] }, "provisioningState": "Succeeded", "isTroubleshootingAllowed": false, diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesList.json similarity index 97% rename from specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableList.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesList.json index 0b1c53d64049..b81f1df29557 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableList.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesList.json @@ -2,7 +2,7 @@ "parameters": { "resourceGroupName": "oiautorest6685", "workspaceName": "oiautorest6685", - "api-version": "2021-03-01-privatepreview", + "api-version": "2021-12-01-preview", "subscriptionId": "00000000-0000-0000-0000-00000000000" }, "responses": { @@ -158,8 +158,7 @@ "source": null, "solutions": [ "LogManagement" - ], - "isTroubleshootingAllowed": false + ] }, "provisioningState": "Succeeded", "isTroubleshootingAllowed": false, @@ -227,8 +226,7 @@ "source": null, "solutions": [ "LogManagement" - ], - "isTroubleshootingAllowed": false + ] }, "provisioningState": "Succeeded", "isTroubleshootingAllowed": false, diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_Schema.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesUpsert.json similarity index 96% rename from specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_Schema.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesUpsert.json index aa571a444211..56a12ed9099e 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/examples/TableCreateUpdate_Schema.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesUpsert.json @@ -2,7 +2,7 @@ "parameters": { "resourceGroupName": "oiautorest6685", "workspaceName": "oiautorest6685", - "api-version": "2021-03-01-privatepreview", + "api-version": "2021-12-01-preview", "subscriptionId": "00000000-0000-0000-0000-00000000000", "tableName": "AzureNetworkFlow", "parameters": { @@ -14,7 +14,8 @@ "type": "guid" } ] - } + }, + "retentionInDays": 45 } } }, @@ -126,8 +127,7 @@ ], "solutions": [ "LogManagement" - ], - "isTroubleshootingAllowed": false + ] }, "provisioningState": "Succeeded", "retentionInDays": 30, @@ -136,6 +136,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow", "name": "AzureNetworkFlow" } - } + }, + "202": {} } } diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesAvailableServiceTiers.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesAvailableServiceTiers.json new file mode 100644 index 000000000000..b249df5212c8 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesAvailableServiceTiers.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "resourceGroupName": "rg1", + "workspaceName": "workspace1", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "serviceTier": "PerNode", + "enabled": true, + "minimumRetention": 7, + "maximumRetention": 30, + "defaultRetention": 7 + }, + { + "serviceTier": "CapacityReservation", + "enabled": true, + "minimumRetention": 30, + "maximumRetention": 300, + "defaultRetention": 30, + "capacityReservationLevel": 200, + "lastSkuUpdate": "2020-02-04T08:55:03.871Z" + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesCreate.json new file mode 100644 index 000000000000..ca133d0f7711 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesCreate.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "parameters": { + "properties": { + "sku": { + "name": "PerGB2018" + }, + "retentionInDays": 30 + }, + "location": "australiasoutheast", + "tags": { + "tag1": "val1" + } + }, + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170", + "name": "AzTest2170", + "type": "Microsoft.OperationalInsights/workspaces", + "location": "australiasoutheast", + "tags": { + "tag1": "val1" + }, + "properties": { + "customerId": "bc089d7b-485c-4aff-a71e-c00f362d8d2f", + "provisioningState": "Creating", + "sku": { + "name": "PerGB2018" + }, + "retentionInDays": 30, + "publicNetworkAccessForQuery": "Enabled", + "publicNetworkAccessForIngestion": "Enabled" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170", + "name": "AzTest2170", + "type": "Microsoft.OperationalInsights/workspaces", + "location": "australiasoutheast", + "tags": { + "tag1": "val1" + }, + "properties": { + "customerId": "bc089d7b-485c-4aff-a71e-c00f362d8d2f", + "provisioningState": "Creating", + "sku": { + "name": "PerGB2018" + }, + "retentionInDays": 30, + "publicNetworkAccessForQuery": "Enabled", + "publicNetworkAccessForIngestion": "Enabled" + } + } + }, + "202": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDelete.json new file mode 100644 index 000000000000..5fa0675f3974 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": {}, + "204": {}, + "202": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDeleteSavedSearches.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDeleteSavedSearches.json new file mode 100644 index 000000000000..96f4c9c3b376 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDeleteSavedSearches.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "resourceGroupName": "TestRG", + "workspaceName": "TestWS", + "savedSearchName": "SavedSearchName", + "api-version": "2021-12-01-preview", + "savedSearchId": "00000000-0000-0000-0000-00000000000", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDisableIntelligencePack.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDisableIntelligencePack.json new file mode 100644 index 000000000000..31cf8e944d1a --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDisableIntelligencePack.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "resourceGroupName": "rg1", + "workspaceName": "TestLinkWS", + "intelligencePackName": "ChangeTracking", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesEnableIntelligencePack.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesEnableIntelligencePack.json new file mode 100644 index 000000000000..31cf8e944d1a --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesEnableIntelligencePack.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "resourceGroupName": "rg1", + "workspaceName": "TestLinkWS", + "intelligencePackName": "ChangeTracking", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGatewaysDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGatewaysDelete.json new file mode 100644 index 000000000000..050c7de23a2b --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGatewaysDelete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "aztest5048", + "gatewayId": "00000000-0000-0000-0000-00000000000", + "api-version": "2021-12-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGet.json new file mode 100644 index 000000000000..36e238b0fe09 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGet.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "properties": { + "customerId": "5b02755b-5bf4-430c-9487-45502a2a7e62", + "provisioningState": "Succeeded", + "sku": { + "name": "free" + }, + "retentionInDays": 30, + "publicNetworkAccessForQuery": "Enabled", + "publicNetworkAccessForIngestion": "Enabled" + }, + "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/workspaces/testresourcelock", + "name": "TestResourceLock", + "type": "Microsoft.OperationalInsights/workspaces", + "location": "eastus" + }, + { + "properties": { + "customerId": "4884a2fd-b08f-4aa6-bf16-5757df1093fe", + "provisioningState": "Succeeded", + "sku": { + "name": "free" + }, + "retentionInDays": 30, + "publicNetworkAccessForQuery": "Enabled", + "publicNetworkAccessForIngestion": "Enabled" + }, + "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/southukws", + "name": "SouthUKWS", + "type": "Microsoft.OperationalInsights/workspaces", + "location": "East US" + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGetSharedKeys.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGetSharedKeys.json new file mode 100644 index 000000000000..22aba2acd6c2 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGetSharedKeys.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "resourceGroupName": "rg1", + "workspaceName": "TestLinkWS", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "primarySharedKey": "", + "secondarySharedKey": "" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListByResourceGroup.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListByResourceGroup.json new file mode 100644 index 000000000000..1a86868135ec --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListByResourceGroup.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "customerId": "bc089d7b-485c-4aff-a71e-c00f362d8d2f", + "provisioningState": "Succeeded", + "sku": { + "name": "PerGB2018" + }, + "retentionInDays": 30, + "publicNetworkAccessForQuery": "Enabled", + "publicNetworkAccessForIngestion": "Enabled" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170", + "name": "AzTest2170", + "type": "Microsoft.OperationalInsights/workspaces", + "location": "australiasoutheast", + "tags": { + "tag1": "val1" + } + } + ] + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListIntelligencePacks.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListIntelligencePacks.json new file mode 100644 index 000000000000..5c211c79b674 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListIntelligencePacks.json @@ -0,0 +1,244 @@ +{ + "parameters": { + "resourceGroupName": "rg1", + "workspaceName": "TestLinkWS", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": [ + { + "name": "CapacityPerformance", + "enabled": false, + "displayName": "Capacity and Performance" + }, + { + "name": "AzureWebAppsAnalytics", + "enabled": false, + "displayName": "Azure Web Apps Analytics (Preview)" + }, + { + "name": "Security", + "enabled": false, + "displayName": "Security and Audit" + }, + { + "name": "Updates", + "enabled": false, + "displayName": "Update Management" + }, + { + "name": "AntiMalware", + "enabled": false, + "displayName": "Antimalware Assessment" + }, + { + "name": "LogManagement", + "enabled": true, + "displayName": "Log Management" + }, + { + "name": "ChangeTracking", + "enabled": true, + "displayName": "Change Tracking" + }, + { + "name": "SQLAssessment", + "enabled": false, + "displayName": "SQL Assessment" + }, + { + "name": "SCOMAssessment", + "enabled": false, + "displayName": "System Center Operations Manager Assessment (Preview)" + }, + { + "name": "ServiceDesk", + "enabled": false, + "displayName": "IT Service Management Connector(Preview)" + }, + { + "name": "ADAssessment", + "enabled": false, + "displayName": "AD Assessment" + }, + { + "name": "AlertManagement", + "enabled": false, + "displayName": "Alert Management" + }, + { + "name": "AzureAutomation", + "enabled": false, + "displayName": "Azure Automation" + }, + { + "name": "WireData", + "enabled": false, + "displayName": "Wire Data" + }, + { + "name": "SiteRecovery", + "enabled": true, + "displayName": "Azure Site Recovery" + }, + { + "name": "Backup", + "enabled": false, + "displayName": "Backup" + }, + { + "name": "SurfaceHub", + "enabled": false, + "displayName": "Surface Hub" + }, + { + "name": "NetworkMonitoring", + "enabled": false, + "displayName": "Network Performance Monitor" + }, + { + "name": "Containers", + "enabled": false, + "displayName": "Container Monitoring Solution" + }, + { + "name": "ServiceMap", + "enabled": false, + "displayName": "Service Map" + }, + { + "name": "AzureNetworking", + "enabled": false, + "displayName": "Azure Networking Analytics (Deprecated)" + }, + { + "name": "ADReplication", + "enabled": false, + "displayName": "AD Replication Status" + }, + { + "name": "Office365", + "enabled": false, + "displayName": "Office 365 (Preview)" + }, + { + "name": "CompatibilityAssessment", + "enabled": false, + "displayName": "Upgrade Readiness" + }, + { + "name": "KeyVault", + "enabled": false, + "displayName": "Key Vault (Deprecated)" + }, + { + "name": "ServiceFabric", + "enabled": false, + "displayName": "Service Fabric" + }, + { + "name": "DnsAnalytics", + "enabled": false, + "displayName": "DNS Analytics (Preview)" + }, + { + "name": "ApplicationInsights", + "enabled": false, + "displayName": "Application Insights (Preview)" + }, + { + "name": "WireData2", + "enabled": false, + "displayName": "Wire Data 2.0" + }, + { + "name": "WaaSUpdateInsights", + "enabled": false, + "displayName": "Update Compliance (Preview)" + }, + { + "name": "AgentHealthAssessment", + "enabled": false, + "displayName": "Agent Health " + }, + { + "name": "AzureActivity", + "enabled": false, + "displayName": "Activity Log Analytics" + }, + { + "name": "HDInsight", + "enabled": false, + "displayName": "HDInsight HBase Monitoring (Preview)" + }, + { + "name": "HDInsightKafka", + "enabled": false, + "displayName": "HDInsight Kafka Monitoring" + }, + { + "name": "HDInsightSpark", + "enabled": false, + "displayName": "HDInsight Spark Monitoring" + }, + { + "name": "VMware", + "enabled": false, + "displayName": "VMware (Preview)" + }, + { + "name": "SecurityCenterFree", + "enabled": false, + "displayName": "Security Center Free � for Azure Resources only" + }, + { + "name": "LogicAppsManagement", + "enabled": false, + "displayName": "Logic Apps Management" + }, + { + "name": "LogicAppB2B", + "enabled": false, + "displayName": "Logic Apps B2B" + }, + { + "name": "AzureSQLAnalytics", + "enabled": false, + "displayName": "Azure SQL Analytics (Preview)" + }, + { + "name": "KeyVaultAnalytics", + "enabled": false, + "displayName": "Key Vault Analytics" + }, + { + "name": "AzureNSGAnalytics", + "enabled": false, + "displayName": "Azure Network Security Group Analytics" + }, + { + "name": "AzureAppGatewayAnalytics", + "enabled": false, + "displayName": "Azure Application Gateway Analytics" + }, + { + "name": "DeviceHealthProd", + "enabled": false, + "displayName": "Device Health (Preview)" + }, + { + "name": "WindowsDefenderATP", + "enabled": false, + "displayName": "Windows Defender ATP" + }, + { + "name": "ProcessInvestigator", + "enabled": false, + "displayName": "ProcessInvestigator" + } + ] + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListManagementGroups.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListManagementGroups.json new file mode 100644 index 000000000000..4d5d65fd5f77 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListManagementGroups.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "resourceGroupName": "rg1", + "workspaceName": "TestLinkWS", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [] + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListUsages.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListUsages.json new file mode 100644 index 000000000000..84f0aa133703 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListUsages.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "resourceGroupName": "rg1", + "workspaceName": "TestLinkWS", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "value": "DataAnalyzed", + "localizedValue": "Data Analyzed" + }, + "unit": "Bytes", + "currentValue": 0.0, + "limit": 524288000.0, + "nextResetTime": "2017-10-03T00:00:00Z", + "quotaPeriod": "P1D" + } + ] + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurge.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurge.json new file mode 100644 index 000000000000..e6e60442401c --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurge.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "aztest5048", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "body": { + "table": "Heartbeat", + "filters": [ + { + "column": "TimeGenerated", + "operator": ">", + "value": "2017-09-01T00:00:00" + } + ] + } + }, + "responses": { + "202": { + "headers": { + "x-ms-status-location": "https://management.azure.com/subscriptions/b96161de-b34a-480f-7343-59b099299283/resourceGroups/example/providers/microsoft.operationalinsights/workspaces/test/operations/purge-970318e7-b859-4edb-8903-83b1b54d0b74?api-version=2020-08-01" + }, + "body": { + "operationId": "7d7cf277-9113-4ab3-8359-d0364b74d01d" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurgeOperation.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurgeOperation.json new file mode 100644 index 000000000000..8238d6b4db28 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurgeOperation.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "resourceGroupName": "OIAutoRest5123", + "workspaceName": "aztest5048", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000", + "purgeId": "purge-970318e7-b859-4edb-8903-83b1b54d0b74" + }, + "responses": { + "200": { + "body": { + "status": "completed" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesRegenerateSharedKeys.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesRegenerateSharedKeys.json new file mode 100644 index 000000000000..75c6c7ab2394 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesRegenerateSharedKeys.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "resourceGroupName": "rg1", + "workspaceName": "workspace1", + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "primarySharedKey": "", + "secondarySharedKey": "" + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesCreateOrUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesCreateOrUpdate.json new file mode 100644 index 000000000000..0223e80a7aa7 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesCreateOrUpdate.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "resourceGroupName": "TestRG", + "workspaceName": "TestWS", + "savedSearchName": "SavedSearchName", + "parameters": { + "properties": { + "category": "Saved Search Test Category", + "displayName": "Create or Update Saved Search Test", + "version": 2, + "functionAlias": "heartbeat_func", + "functionParameters": "a:int=1", + "query": "Heartbeat | summarize Count() by Computer | take a", + "tags": [ + { + "name": "Group", + "value": "Computer" + } + ] + } + }, + "api-version": "2021-12-01-preview", + "savedSearchId": "00000000-0000-0000-0000-00000000000", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/AtlantisDemo/savedSearches/test-new-saved-search-id-2015", + "etag": "W/\"datetime'2017-10-02T23%3A15%3A41.0709875Z'\"", + "properties": { + "category": "Saved Search Test Category", + "displayName": "Create or Update Saved Search Test", + "functionAlias": "heartbeat_func", + "functionParameters": "a:int=1", + "query": "Heartbeat | summarize Count() by Computer | take a", + "version": 2 + } + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesGet.json new file mode 100644 index 000000000000..a4bca44a4c89 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "resourceGroupName": "TestRG", + "workspaceName": "TestWS", + "savedSearchName": "SavedSearchName", + "api-version": "2021-12-01-preview", + "savedSearchId": "00000000-0000-0000-0000-00000000000", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/AtlantisDemo/savedSearches/test-new-saved-search-id-2015", + "etag": "W/\"datetime'2017-10-02T23%3A15%3A41.0709875Z'\"", + "properties": { + "category": " Saved Search Test Category", + "displayName": "Create or Update Saved Search Test", + "functionAlias": "heartbeat_func", + "functionParameters": "a:int=1", + "query": "* | measure Count() by Computer | take a", + "version": 1 + } + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSubscriptionList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSubscriptionList.json new file mode 100644 index 000000000000..39edf115caa3 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSubscriptionList.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "customerId": "bc089d7b-485c-4aff-a71e-c00f362d8d2f", + "provisioningState": "Succeeded", + "sku": { + "name": "PerGB2018" + }, + "retentionInDays": 30, + "publicNetworkAccessForQuery": "Enabled", + "publicNetworkAccessForIngestion": "Enabled" + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/workspaces/aztest2170", + "name": "AzTest2170", + "type": "Microsoft.OperationalInsights/workspaces", + "location": "australiasoutheast", + "tags": { + "tag1": "val1" + } + } + ] + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesUpdate.json new file mode 100644 index 000000000000..6fab0080a770 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesUpdate.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "resourceGroupName": "oiautorest6685", + "workspaceName": "oiautorest6685", + "parameters": { + "properties": { + "sku": { + "name": "PerGB2018" + }, + "retentionInDays": 30, + "workspaceCapping": { + "dailyQuotaGb": -1 + } + } + }, + "api-version": "2021-12-01-preview", + "subscriptionId": "00000000-0000-0000-0000-00000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "sku": { + "name": "PerGB2018" + }, + "retentionInDays": 30, + "publicNetworkAccessForQuery": "Enabled", + "publicNetworkAccessForIngestion": "Enabled", + "workspaceCapping": { + "dailyQuotaGb": -1, + "quotaNextResetTime": "Mon, 16 Nov 2020 15:00:00 GMT", + "dataIngestionStatus": "RespectQuota" + } + }, + "location": "australiasoutheast", + "tags": { + "tag1": "val1" + } + } + } + } +} diff --git a/specification/operationalinsights/resource-manager/readme.go.md b/specification/operationalinsights/resource-manager/readme.go.md index 4556f611ce8b..dde27d636a70 100644 --- a/specification/operationalinsights/resource-manager/readme.go.md +++ b/specification/operationalinsights/resource-manager/readme.go.md @@ -16,7 +16,7 @@ batch: - tag: package-2015-03 - tag: package-2015-11-preview - tag: package-2020-03-preview - - tag: package-2021-03-01-privatepreview + - tag: package-2021-12-01-preview - tag: package-2020-10 - tag: package-2020-08 ``` @@ -57,13 +57,13 @@ Please also specify `--go-sdk-folder=`. -``` yaml $(tag) == 'package-2021-03-01-privatepreview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-03-01-privatepreview/$(namespace) +``` yaml $(tag) == 'package-2021-12-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-12-01-preview/$(namespace) ``` ### Tag: package-2020-10 and go diff --git a/specification/operationalinsights/resource-manager/readme.java.md b/specification/operationalinsights/resource-manager/readme.java.md index bca39fbc19e5..e89ad04fc243 100644 --- a/specification/operationalinsights/resource-manager/readme.java.md +++ b/specification/operationalinsights/resource-manager/readme.java.md @@ -27,7 +27,7 @@ batch: - tag: package-2015-03 - tag: package-2015-11-preview - tag: package-2020-03-preview - - tag: package-2021-03-01-privatepreview + - tag: package-2021-12-01-preview - tag: package-2020-10 - tag: package-2020-08 ``` @@ -71,12 +71,12 @@ regenerate-manager: true generate-interface: true ``` -### Tag: package-2021-03-01-privatepreview and java +### Tag: package-2021-12-01-preview and java -These settings apply only when `--tag=package-2021-03-01-privatepreview --java` is specified on the command line. +These settings apply only when `--tag=package-2021-12-01-preview --java` is specified on the command line. Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2021-03-01-privatepreview' && $(java) && $(multiapi) +``` yaml $(tag) == 'package-2021-12-01-preview' && $(java) && $(multiapi) java: namespace: com.microsoft.azure.management.loganalytics.v2020_03_01_preview output-folder: $(azure-libraries-for-java-folder)/sdk/loganalytics/mgmt-v2021_03_01_privatepreview diff --git a/specification/operationalinsights/resource-manager/readme.md b/specification/operationalinsights/resource-manager/readme.md index fb5bedc52de9..bc49e7a4d661 100644 --- a/specification/operationalinsights/resource-manager/readme.md +++ b/specification/operationalinsights/resource-manager/readme.md @@ -107,13 +107,32 @@ input-file: - Microsoft.OperationalInsights/preview/2020-03-01-preview/Tables.json ``` -### Tag: package-2021-03-01-privatepreview +### Tag: package-2021-12-01-preview -These settings apply only when `--tag=package-2021-03-01-privatepreview` is specified on the command line. +These settings apply only when `--tag=package-2021-12-01-preview` is specified on the command line. -``` yaml $(tag) == 'package-2021-03-01-privatepreview' +``` yaml $(tag) == 'package-2021-12-01-preview' input-file: -- Microsoft.OperationalInsights/preview/2021-03-01-privatepreview/Tables.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/DataExports.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/DataSources.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/IntelligencePacks.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedServices.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedStorageAccounts.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/ManagementGroups.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/OperationStatuses.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/SharedKeys.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/Usages.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/Workspaces.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/StorageInsightConfigs.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/SavedSearches.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/AvailableServiceTiers.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/Gateways.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/Schema.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/SharedKeys.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/WorkspacePurge.json +- Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json ``` ### Tag: package-2020-08 From ccf15edf75db057cdf8b20f379800f9f6559f8d8 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Sun, 19 Dec 2021 11:40:56 +0200 Subject: [PATCH 08/22] more fixes. --- .../preview/2021-12-01-preview/Clusters.json | 9 +++++++-- .../2021-12-01-preview/examples/ClustersCreate.json | 4 ++-- .../preview/2021-12-01-preview/examples/ClustersGet.json | 2 +- .../2021-12-01-preview/examples/ClustersUpdate.json | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json index 10c9746e94e4..51b197a72469 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json @@ -325,7 +325,8 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } - } + }, + "x-ms-long-running-operation": true } } }, @@ -647,7 +648,11 @@ 1000, 2000, 5000 - ] + ], + "x-ms-enum": { + "name": "CapacityReservationLevel", + "modelAsString": true + } } } } diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersCreate.json index a04c90847d8f..c3bb55c20cbe 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersCreate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersCreate.json @@ -33,7 +33,7 @@ "associatedWorkspaces": [], "capacityReservationProperties": { "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", - "minCapacity": 500 + "minCapacity": 1000 } }, "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/clusters/oiautorest6685", @@ -67,7 +67,7 @@ "associatedWorkspaces": [], "capacityReservationProperties": { "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", - "minCapacity": 500 + "minCapacity": 1000 } }, "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/clusters/oiautorest6685", diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersGet.json index fd4bb6eae2a6..ea2a5c9a65bb 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersGet.json @@ -38,7 +38,7 @@ ], "capacityReservationProperties": { "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", - "minCapacity": 500 + "minCapacity": 1000 } }, "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/clusters/testresourcelock", diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersUpdate.json index abfaf63cd581..2b9edffd804f 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersUpdate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersUpdate.json @@ -68,7 +68,7 @@ ], "capacityReservationProperties": { "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", - "minCapacity": 500 + "minCapacity": 1000 } }, "sku": { From d391006883ba892efae8ef5683a6717391616dcd Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Mon, 20 Dec 2021 11:20:36 +0200 Subject: [PATCH 09/22] Update Clusters.json --- .../preview/2021-12-01-preview/Clusters.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json index 51b197a72469..67992cecd38a 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json @@ -650,7 +650,7 @@ 5000 ], "x-ms-enum": { - "name": "CapacityReservationLevel", + "name": "CapacityReservationLevelEnum", "modelAsString": true } } From dedbfa5ef91b07cd07989a7f5ca5a4a239000977 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Wed, 22 Dec 2021 09:50:25 +0200 Subject: [PATCH 10/22] Tables: Sentinel+CLV2 changes. --- .../preview/2021-12-01-preview/Tables.json | 209 +++++++++++++++++- .../examples/TablesGet.json | 7 +- .../examples/TablesList.json | 16 +- .../examples/TablesUpsert.json | 11 +- 4 files changed, 225 insertions(+), 18 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json index 5b283a564023..ceb9ae15c6c7 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json @@ -438,6 +438,67 @@ ] } }, + "tableType": { + "readOnly": true, + "type": "string", + "description": "Table's creator.", + "enum": [ + "Microsoft", + "CustomLog", + "RestoredLogs", + "SearchResults" + ], + "x-ms-enum": { + "name": "TableTypeEnum", + "modelAsString": true, + "values": [ + { + "value": "Microsoft", + "description": "Adi - please provide description." + }, + { + "value": "CustomLog", + "description": "Adi - please provide description." + }, + { + "value": "RestoredLogs", + "description": "Adi - please provide description." + }, + { + "value": "SearchResults", + "description": "Adi - please provide description." + } + ] + } + }, + "tableSubType": { + "readOnly": true, + "type": "string", + "description": "Evgeny - please provide description.", + "enum": [ + "Any", + "Classic", + "DataCollectionRuleBased" + ], + "x-ms-enum": { + "name": "TableTypeEnum", + "modelAsString": true, + "values": [ + { + "value": "Any", + "description": "Evgeny - please provide description." + }, + { + "value": "Classic", + "description": "Evgeny - please provide description." + }, + { + "value": "DataCollectionRuleBased", + "description": "Evgeny - please provide description." + } + ] + } + }, "solutions": { "readOnly": true, "type": "array", @@ -445,33 +506,157 @@ "type": "string" }, "description": "List of solutions the table is affiliated with" + }, + "searchResults": { + "readOnly": true, + "$ref": "#/definitions/SearchResults", + "description": "Adi - please provide description." + }, + "restoredLogs": { + "readOnly": true, + "$ref": "#/definitions/RestoredLogs", + "description": "Adi - please provide description." } }, "description": "Table's schema." }, + "SearchResults": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Adi - please provide description." + }, + "description": { + "type": "string", + "description": "Adi - please provide description." + }, + "limit": { + "type": "integer", + "description": "Adi - please provide description" + }, + "startSearchTime": { + "type": "string", + "description": "Adi - please provide description" + }, + "endSearchTime": { + "type": "string", + "description": "Adi - please provide description" + }, + "sourceTable": { + "readOnly": true, + "type": "string", + "description": "Adi - please provide description" + } + }, + "description": "Adi - please provide description." + }, + "RestoredLogs": { + "type": "object", + "properties": { + "startRestoreTime": { + "type": "string", + "description": "Adi - please provide description" + }, + "endRestoreTime": { + "type": "string", + "description": "Adi - please provide description" + }, + "sourceTable": { + "readOnly": true, + "type": "string", + "description": "Adi - please provide description" + } + }, + "description": "Adi - please provide description." + }, + "ResultStatistics": { + "type": "object", + "properties": { + "progress": { + "readOnly": true, + "type": "number", + "multipleOf": 0.01, + "description": "Adi - please provide description" + }, + "ingestedRecords": { + "readOnly": true, + "type": "integer", + "description": "Adi - please provide description" + } + }, + "description": "Adi - please provide description." + }, "TableProperties": { "type": "object", "properties": { "retentionInDays": { "type": "integer", "format": "int32", - "minimum": 7, + "minimum": 4, "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." + "description": "The data table data retention in days, between 4 and 730. Setting this property to null will default to the workspace retention." + }, + "totalRetentionInDays": { + "type": "integer", + "format": "int32", + "minimum": 4, + "maximum": 25555, + "description": "Adi - please provide description" }, - "isTroubleshootingAllowed": { + "archiveRetentionInDays": { "readOnly": true, - "type": "boolean", - "description": "Specifies if IsTroubleshootingEnabled property can be set for this table." + "type": "integer", + "description": "Adi - please provide description" }, - "isTroubleshootEnabled": { - "type": "boolean", - "description": "Enable or disable the Troubleshooting Log flavour for this table." + "searchResults": { + "$ref": "#/definitions/SearchResults", + "description": "Adi - please provide description" + }, + "restoredLogs": { + "$ref": "#/definitions/RestoredLogs", + "description": "Adi - please provide description" + }, + "resultStatistics": { + "$ref": "#/definitions/ResultStatistics", + "description": "Adi - please provide description" + }, + "plan": { + "type": "string", + "description": "Adi - please provide description.", + "enum": [ + "Basic", + "Analytics" + ], + "x-ms-enum": { + "name": "TablePlanEnum", + "modelAsString": true, + "values": [ + { + "value": "Basic", + "description": "Adi - please provide description." + }, + { + "value": "Analytics", + "description": "Adi - please provide description." + } + ] + } }, - "lastTroubleshootDate": { + "lastPlanModifiedDate": { "readOnly": true, "type": "string", - "description": "Last time when the Troubleshooting Log plan was enabled for this table." + "description": "Adi - please provide description." + }, + "createDate": { + "readOnly": true, + "type": "string", + "description": "Adi - please provide description." + }, + "createdBy": { + "readOnly": true, + "type": "string", + "description": "Adi - please provide description." }, "schema": { "$ref": "#/definitions/Schema", @@ -493,6 +678,10 @@ "value": "Updating", "description": "Table schema is still being built and updated, table is currently locked for any changes till the procedure is done." }, + { + "value": "InProgress", + "description": "Adi - please provide description." + }, { "value": "Succeeded", "description": "Table state is stable and without changes, table is unlocked and open for new updates." diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json index efbe509fcab1..b649e5a6f94c 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json @@ -12,6 +12,8 @@ "properties": { "schema": { "name": "table1_CL", + "tableSubType": "DataCollectionRuleBased", + "tableType": "CustomLog", "displayName": null, "description": null, "columns": [], @@ -89,7 +91,10 @@ }, "provisioningState": "Succeeded", "isTroubleshootingAllowed": false, - "retentionInDays": 50 + "retentionInDays": 50, + "totalRetentionInDays": 50, + "archiveRetentionInDays": 0, + "plan": "Analytics" }, "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/table1_CL", "name": "table1_CL" diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesList.json index b81f1df29557..4e32f6d8bd66 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesList.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesList.json @@ -13,6 +13,8 @@ "properties": { "schema": { "name": "AzureNetworkFlow", + "tableSubType": "Any", + "tableType": "Microsoft", "displayName": null, "description": null, "columns": null, @@ -161,8 +163,10 @@ ] }, "provisioningState": "Succeeded", - "isTroubleshootingAllowed": false, - "retentionInDays": 30 + "retentionInDays": 45, + "totalRetentionInDays": 70, + "archiveRetentionInDays": 25, + "plan": "Analytics" }, "name": "AzureNetworkFlow", "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow" @@ -171,6 +175,8 @@ "properties": { "schema": { "name": "SurfaceHubDns", + "tableSubType": "Any", + "tableType": "Microsoft", "displayName": null, "description": null, "columns": null, @@ -229,8 +235,10 @@ ] }, "provisioningState": "Succeeded", - "isTroubleshootingAllowed": false, - "retentionInDays": 30 + "retentionInDays": 30, + "totalRetentionInDays": 30, + "archiveRetentionInDays": 0, + "plan": "Analytics" }, "name": "SurfaceHubDns", "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/SurfaceHubDns" diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesUpsert.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesUpsert.json index 56a12ed9099e..0ed590a2a589 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesUpsert.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesUpsert.json @@ -15,7 +15,8 @@ } ] }, - "retentionInDays": 45 + "retentionInDays": 45, + "totalRetentionInDays": 70 } } }, @@ -25,6 +26,8 @@ "properties": { "schema": { "name": "AzureNetworkFlow", + "tableSubType": "DataCollectionRuleBased", + "tableType": "Microsoft", "columns": [ { "isHidden": false, @@ -130,8 +133,10 @@ ] }, "provisioningState": "Succeeded", - "retentionInDays": 30, - "isTroubleshootingAllowed": false + "retentionInDays": 45, + "totalRetentionInDays": 70, + "archiveRetentionInDays": 25, + "plan": "Analytics" }, "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/AzureNetworkFlow", "name": "AzureNetworkFlow" From 03f23506881dfe7d275c5061c5b1341e083b0a87 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Thu, 23 Dec 2021 12:12:13 +0200 Subject: [PATCH 11/22] Tables: More descriptions. --- .../preview/2021-12-01-preview/Tables.json | 74 +++++++++---------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json index ceb9ae15c6c7..917a91968dc4 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json @@ -454,19 +454,19 @@ "values": [ { "value": "Microsoft", - "description": "Adi - please provide description." + "description": "Standard data collected by Azure Monitor." }, { "value": "CustomLog", - "description": "Adi - please provide description." + "description": "Custom log table." }, { "value": "RestoredLogs", - "description": "Adi - please provide description." + "description": "Restored data." }, { "value": "SearchResults", - "description": "Adi - please provide description." + "description": "Data collected by a search job." } ] } @@ -474,7 +474,7 @@ "tableSubType": { "readOnly": true, "type": "string", - "description": "Evgeny - please provide description.", + "description": "The subtype describes what APIs can be used to interact with the table, and what features are available against it.", "enum": [ "Any", "Classic", @@ -486,15 +486,15 @@ "values": [ { "value": "Any", - "description": "Evgeny - please provide description." + "description": "The default subtype with which built-in tables are created." }, { "value": "Classic", - "description": "Evgeny - please provide description." + "description": "Indicates a table created through the Data Collector API or with the custom logs feature of the MMA agent, or any table against which Custom Fields were created." }, { "value": "DataCollectionRuleBased", - "description": "Evgeny - please provide description." + "description": "A table eligible to have data sent into it via any of the means supported by Data Collection Rules: the Data Collection Endpoint API, ingestion-time transformations, or any other mechanism provided by Data Collection Rules" } ] } @@ -510,12 +510,12 @@ "searchResults": { "readOnly": true, "$ref": "#/definitions/SearchResults", - "description": "Adi - please provide description." + "description": "Parameters of the search job that initiated this table." }, "restoredLogs": { "readOnly": true, "$ref": "#/definitions/RestoredLogs", - "description": "Adi - please provide description." + "description": "Parameters of the restore operation that initiated this table." } }, "description": "Table's schema." @@ -525,50 +525,50 @@ "properties": { "query": { "type": "string", - "description": "Adi - please provide description." + "description": "Search job query." }, "description": { "type": "string", - "description": "Adi - please provide description." + "description": "Description." }, "limit": { "type": "integer", - "description": "Adi - please provide description" + "description": "Limit the search job to return up to specified number of rows." }, "startSearchTime": { "type": "string", - "description": "Adi - please provide description" + "description": "The timestamp to start the search from (UTC)" }, "endSearchTime": { "type": "string", - "description": "Adi - please provide description" + "description": "The timestamp to end the search by (UTC)" }, "sourceTable": { "readOnly": true, "type": "string", - "description": "Adi - please provide description" + "description": "The table to search data from." } }, - "description": "Adi - please provide description." + "description": "Search job parameters." }, "RestoredLogs": { "type": "object", "properties": { "startRestoreTime": { "type": "string", - "description": "Adi - please provide description" + "description": "The timestamp to start the restore from (UTC)." }, "endRestoreTime": { "type": "string", - "description": "Adi - please provide description" + "description": "The timestamp to end the restore by (UTC)." }, "sourceTable": { "readOnly": true, "type": "string", - "description": "Adi - please provide description" + "description": "The table to restore data from." } }, - "description": "Adi - please provide description." + "description": "Restore parameters." }, "ResultStatistics": { "type": "object", @@ -577,15 +577,15 @@ "readOnly": true, "type": "number", "multipleOf": 0.01, - "description": "Adi - please provide description" + "description": "Search job completion percentage." }, "ingestedRecords": { "readOnly": true, "type": "integer", - "description": "Adi - please provide description" + "description": "The number of rows that were returned by the search job." } }, - "description": "Adi - please provide description." + "description": "Search job execution statistics." }, "TableProperties": { "type": "object", @@ -601,29 +601,29 @@ "type": "integer", "format": "int32", "minimum": 4, - "maximum": 25555, - "description": "Adi - please provide description" + "maximum": 2555, + "description": "The table data total retention in days, between 4 and 2555. Setting this property to null will default to table retention." }, "archiveRetentionInDays": { "readOnly": true, "type": "integer", - "description": "Adi - please provide description" + "description": "The table data archive retention in days. Calculated as (totalRetentionInDays-retentionInDays)" }, "searchResults": { "$ref": "#/definitions/SearchResults", - "description": "Adi - please provide description" + "description": "Parameters of the search job that initiated this table." }, "restoredLogs": { "$ref": "#/definitions/RestoredLogs", - "description": "Adi - please provide description" + "description": "Parameters of the restore operation that initiated this table." }, "resultStatistics": { "$ref": "#/definitions/ResultStatistics", - "description": "Adi - please provide description" + "description": "Search job execution statistics." }, "plan": { "type": "string", - "description": "Adi - please provide description.", + "description": "The table plan.", "enum": [ "Basic", "Analytics" @@ -634,11 +634,11 @@ "values": [ { "value": "Basic", - "description": "Adi - please provide description." + "description": "Basic - logs that are adjusted to support high volume / low value verbose logs." }, { "value": "Analytics", - "description": "Adi - please provide description." + "description": "Analytics - logs that allow monitoring and analytics." } ] } @@ -646,17 +646,17 @@ "lastPlanModifiedDate": { "readOnly": true, "type": "string", - "description": "Adi - please provide description." + "description": "The timestamp that table plan was last modified (UTC)." }, "createDate": { "readOnly": true, "type": "string", - "description": "Adi - please provide description." + "description": "The timestamp of resource creation (UTC)." }, "createdBy": { "readOnly": true, "type": "string", - "description": "Adi - please provide description." + "description": "The identity that created the table." }, "schema": { "$ref": "#/definitions/Schema", @@ -680,7 +680,7 @@ }, { "value": "InProgress", - "description": "Adi - please provide description." + "description": "Table schema is stable and without changes, table data is being updated." }, { "value": "Succeeded", From 726ece76fc61e70c2f6cac78f0aa380eaaca1d6a Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Thu, 23 Dec 2021 13:00:30 +0200 Subject: [PATCH 12/22] removing un related child resources. --- .../AvailableServiceTiers.json | 137 - .../preview/2021-12-01-preview/Clusters.json | 661 ---- .../2021-12-01-preview/DataExports.json | 354 -- .../2021-12-01-preview/DataSources.json | 348 -- .../preview/2021-12-01-preview/Gateways.json | 85 - .../2021-12-01-preview/IntelligencePacks.json | 180 - .../2021-12-01-preview/LinkedServices.json | 304 -- .../LinkedStorageAccounts.json | 280 -- .../2021-12-01-preview/ManagementGroups.json | 142 - .../2021-12-01-preview/OperationStatuses.json | 116 - .../2021-12-01-preview/SavedSearches.json | 305 -- .../preview/2021-12-01-preview/Schema.json | 274 -- .../2021-12-01-preview/SharedKeys.json | 126 - .../StorageInsightConfigs.json | 344 -- .../preview/2021-12-01-preview/Tables.json | 2 +- .../preview/2021-12-01-preview/Usages.json | 137 - .../2021-12-01-preview/WorkspacePurge.json | 216 -- .../examples/ClustersCreate.json | 89 - .../examples/ClustersDelete.json | 13 - .../examples/ClustersGet.json | 61 - .../examples/ClustersListByResourceGroup.json | 39 - .../examples/ClustersSubscriptionList.json | 38 - .../examples/ClustersUpdate.json | 85 - .../examples/DataExportCreateOrUpdate.json | 61 - .../examples/DataExportDelete.json | 13 - .../examples/DataExportGet.json | 31 - .../examples/DataExportListByWorkspace.json | 34 - .../examples/DataSourcesCreate.json | 41 - .../examples/DataSourcesDelete.json | 13 - .../examples/DataSourcesGet.json | 23 - .../examples/DataSourcesListByWorkspace.json | 3019 ----------------- .../examples/LinkedServicesCreate.json | 39 - .../examples/LinkedServicesDelete.json | 24 - .../examples/LinkedServicesGet.json | 22 - .../LinkedServicesListByWorkspace.json | 34 - .../examples/LinkedStorageAccountsCreate.json | 33 - .../examples/LinkedStorageAccountsDelete.json | 12 - .../examples/LinkedStorageAccountsGet.json | 25 - .../LinkedStorageAccountsListByWorkspace.json | 64 - .../examples/OperationStatusesGet.json | 20 - .../examples/OperationsListByTenant.json | 327 -- .../examples/SavedSearchesGetSchema.json | 64 - .../SavedSearchesListByWorkspace.json | 30 - .../StorageInsightsCreateOrUpdate.json | 72 - .../examples/StorageInsightsDelete.json | 13 - .../examples/StorageInsightsGet.json | 34 - .../StorageInsightsListByWorkspace.json | 34 - .../WorkspacesAvailableServiceTiers.json | 30 - .../WorkspacesDeleteSavedSearches.json | 13 - .../WorkspacesDisableIntelligencePack.json | 12 - .../WorkspacesEnableIntelligencePack.json | 12 - .../examples/WorkspacesGatewaysDelete.json | 12 - .../examples/WorkspacesGetSharedKeys.json | 16 - .../WorkspacesListIntelligencePacks.json | 244 -- .../WorkspacesListManagementGroups.json | 15 - .../examples/WorkspacesListUsages.json | 27 - .../examples/WorkspacesPurge.json | 28 - .../examples/WorkspacesPurgeOperation.json | 16 - .../WorkspacesRegenerateSharedKeys.json | 16 - ...WorkspacesSavedSearchesCreateOrUpdate.json | 42 - .../examples/WorkspacesSavedSearchesGet.json | 26 - .../resource-manager/readme.md | 17 - 62 files changed, 1 insertion(+), 8943 deletions(-) delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/AvailableServiceTiers.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataExports.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataSources.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Gateways.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/IntelligencePacks.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedServices.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedStorageAccounts.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/ManagementGroups.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/OperationStatuses.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SavedSearches.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Schema.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SharedKeys.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/StorageInsightConfigs.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Usages.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/WorkspacePurge.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersCreate.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersDelete.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersGet.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersListByResourceGroup.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersSubscriptionList.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersUpdate.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportCreateOrUpdate.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportDelete.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportGet.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportListByWorkspace.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesCreate.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesDelete.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesGet.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesListByWorkspace.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesCreate.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesDelete.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesGet.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesListByWorkspace.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsCreate.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsDelete.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsGet.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsListByWorkspace.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationStatusesGet.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationsListByTenant.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesGetSchema.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesListByWorkspace.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsCreateOrUpdate.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsDelete.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsGet.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsListByWorkspace.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesAvailableServiceTiers.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDeleteSavedSearches.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDisableIntelligencePack.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesEnableIntelligencePack.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGatewaysDelete.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGetSharedKeys.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListIntelligencePacks.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListManagementGroups.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListUsages.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurge.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurgeOperation.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesRegenerateSharedKeys.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesCreateOrUpdate.json delete mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesGet.json diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/AvailableServiceTiers.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/AvailableServiceTiers.json deleted file mode 100644 index 5c2a2cb8a109..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/AvailableServiceTiers.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2021-12-01-preview" - }, - "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}/availableServiceTiers": { - "get": { - "tags": [ - "AvailableServiceTiers" - ], - "x-ms-examples": { - "AvailableServiceTiers": { - "$ref": "./examples/WorkspacesAvailableServiceTiers.json" - } - }, - "operationId": "AvailableServiceTiers_ListByWorkspace", - "description": "Gets the available service tiers for the 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": { - "type": "array", - "items": { - "$ref": "#/definitions/AvailableServiceTier" - } - } - } - } - } - } - }, - "definitions": { - "AvailableServiceTier": { - "description": "Service Tier details.", - "properties": { - "serviceTier": { - "readOnly": true, - "type": "string", - "description": "The name of the Service Tier.", - "enum": [ - "Free", - "Standard", - "Premium", - "PerNode", - "PerGB2018", - "Standalone", - "CapacityReservation" - ], - "x-ms-enum": { - "name": "SkuNameEnum", - "modelAsString": true - } - }, - "enabled": { - "readOnly": true, - "type": "boolean", - "description": "True if the Service Tier is enabled for the workspace." - }, - "minimumRetention": { - "readOnly": true, - "type": "integer", - "format": "int64", - "description": "The minimum retention for the Service Tier, in days." - }, - "maximumRetention": { - "readOnly": true, - "type": "integer", - "format": "int64", - "description": "The maximum retention for the Service Tier, in days." - }, - "defaultRetention": { - "readOnly": true, - "type": "integer", - "format": "int64", - "description": "The default retention for the Service Tier, in days." - }, - "capacityReservationLevel": { - "readOnly": true, - "type": "integer", - "format": "int64", - "description": "The capacity reservation level in GB per day. Returned for the Capacity Reservation Service Tier." - }, - "lastSkuUpdate": { - "readOnly": true, - "type": "string", - "description": "Time when the sku was last updated for the workspace. Returned for the Capacity Reservation Service Tier." - } - } - } - }, - "parameters": {} -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json deleted file mode 100644 index 67992cecd38a..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json +++ /dev/null @@ -1,661 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2021-12-01-preview" - }, - "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/clusters": { - "get": { - "tags": [ - "Clusters" - ], - "x-ms-examples": { - "ClustersGet": { - "$ref": "./examples/ClustersListByResourceGroup.json" - } - }, - "operationId": "Clusters_ListByResourceGroup", - "description": "Gets Log Analytics clusters in a resource group.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/ClusterListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters": { - "get": { - "tags": [ - "Clusters" - ], - "x-ms-examples": { - "ClustersSubscriptionList": { - "$ref": "./examples/ClustersSubscriptionList.json" - } - }, - "operationId": "Clusters_List", - "description": "Gets the Log Analytics clusters in a subscription.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/ClusterListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}": { - "put": { - "tags": [ - "Clusters" - ], - "x-ms-examples": { - "ClustersCreate": { - "$ref": "./examples/ClustersCreate.json" - } - }, - "operationId": "Clusters_CreateOrUpdate", - "description": "Create or update a Log Analytics cluster.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$", - "minLength": 4, - "maxLength": 63, - "description": "The name of the Log Analytics cluster." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Cluster" - }, - "description": "The parameters required to create or update a Log Analytics cluster." - } - ], - "responses": { - "202": { - "description": "Accepted response definition." - }, - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "201": { - "description": "Created response definition.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "Clusters" - ], - "x-ms-examples": { - "ClustersDelete": { - "$ref": "./examples/ClustersDelete.json" - } - }, - "operationId": "Clusters_Delete", - "description": "Deletes a cluster instance.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the Log Analytics Cluster." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "202": { - "description": "Accepted response definition." - }, - "200": { - "description": "OK response definition." - }, - "204": { - "description": "NoContent response definition." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "Clusters" - ], - "x-ms-examples": { - "ClustersGet": { - "$ref": "./examples/ClustersGet.json" - } - }, - "operationId": "Clusters_Get", - "description": "Gets a Log Analytics cluster instance.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the Log Analytics Cluster." - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "Clusters" - ], - "x-ms-examples": { - "ClustersPatch": { - "$ref": "./examples/ClustersUpdate.json" - } - }, - "operationId": "Clusters_Update", - "description": "Updates a Log Analytics cluster.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "clusterName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the Log Analytics Cluster." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterPatch" - }, - "description": "The parameters required to patch a Log Analytics cluster." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The existing cluster was successfully updated. Check provisioningStatus to see detailed status.", - "schema": { - "$ref": "#/definitions/Cluster" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true - } - } - }, - "definitions": { - "ClusterProperties": { - "properties": { - "clusterId": { - "type": "string", - "readOnly": true, - "description": "The ID associated with the cluster." - }, - "provisioningState": { - "type": "string", - "readOnly": true, - "description": "The provisioning state of the cluster.", - "enum": [ - "Creating", - "Succeeded", - "Failed", - "Canceled", - "Deleting", - "ProvisioningAccount", - "Updating" - ], - "x-ms-enum": { - "name": "ClusterEntityStatus", - "modelAsString": true - } - }, - "isDoubleEncryptionEnabled": { - "type": "boolean", - "readOnly": false, - "description": "Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true'", - "x-ms-mutability": [ - "create" - ] - }, - "isAvailabilityZonesEnabled": { - "type": "boolean", - "readOnly": false, - "description": "Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones." - }, - "billingType": { - "$ref": "#/definitions/billingType", - "description": "The cluster's billing type." - }, - "keyVaultProperties": { - "$ref": "#/definitions/keyVaultProperties", - "description": "The associated key properties." - }, - "lastModifiedDate": { - "type": "string", - "description": "The last time the cluster was updated.", - "readOnly": true - }, - "createdDate": { - "type": "string", - "description": "The cluster creation time", - "readOnly": true - }, - "associatedWorkspaces": { - "description": "The list of Log Analytics workspaces associated with the cluster", - "type": "array", - "items": { - "$ref": "#/definitions/AssociatedWorkspace" - } - }, - "capacityReservationProperties": { - "$ref": "#/definitions/CapacityReservationProperties", - "description": "Additional properties for capacity reservation" - } - }, - "description": "Cluster properties." - }, - "ClusterPatchProperties": { - "properties": { - "keyVaultProperties": { - "$ref": "#/definitions/keyVaultProperties", - "description": "The associated key properties." - }, - "billingType": { - "$ref": "#/definitions/billingType", - "description": "The cluster's billing type." - } - }, - "description": "Log Analytics cluster patch properties." - }, - "ClusterPatch": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ClusterPatchProperties", - "description": "Log Analytics cluster properties." - }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the resource." - }, - "sku": { - "$ref": "#/definitions/ClusterSku", - "description": "The sku properties." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - } - }, - "description": "The top level Log Analytics cluster resource container.", - "x-ms-azure-resource": true - }, - "Cluster": { - "properties": { - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the resource." - }, - "sku": { - "$ref": "#/definitions/ClusterSku", - "description": "The sku properties." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ClusterProperties", - "description": "Log Analytics cluster properties." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "description": "The top level Log Analytics cluster resource container." - }, - "ClusterListResult": { - "properties": { - "nextLink": { - "description": "The link used to get the next page of recommendations.", - "type": "string" - }, - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Cluster" - }, - "description": "A list of Log Analytics clusters." - } - }, - "description": "The list clusters operation response." - }, - "keyVaultProperties": { - "description": "The key vault properties.", - "properties": { - "keyVaultUri": { - "description": "The Key Vault uri which holds they key associated with the Log Analytics cluster.", - "type": "string" - }, - "keyName": { - "description": "The name of the key associated with the Log Analytics cluster.", - "type": "string" - }, - "keyVersion": { - "description": "The version of the key associated with the Log Analytics cluster.", - "type": "string" - }, - "keyRsaSize": { - "description": "Selected key minimum required size.", - "type": "integer", - "format": "int32" - } - } - }, - "billingType": { - "type": "string", - "readOnly": false, - "description": "Configures whether billing will be only on the cluster or each workspace will be billed by its proportional use. This does not change the overall billing, only how it will be distributed. Default value is 'Cluster'", - "enum": [ - "Cluster", - "Workspaces" - ], - "x-ms-enum": { - "name": "BillingType", - "modelAsString": true - } - }, - "ClusterSku": { - "description": "The cluster sku definition.", - "properties": { - "capacity": { - "description": "The capacity value", - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string", - "description": "The name of the SKU.", - "enum": [ - "CapacityReservation" - ], - "x-ms-enum": { - "name": "ClusterSkuNameEnum", - "modelAsString": true - } - } - } - }, - "Identity": { - "properties": { - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal ID of resource identity." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID of resource." - }, - "type": { - "type": "string", - "description": "Type of managed service identity.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "None" - ], - "x-ms-enum": { - "name": "IdentityType", - "modelAsString": false - } - }, - "userAssignedIdentities": { - "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserIdentityProperties" - } - } - }, - "required": [ - "type" - ], - "description": "Identity for the resource." - }, - "UserIdentityProperties": { - "type": "object", - "description": "User assigned identity properties.", - "properties": { - "principalId": { - "readOnly": true, - "description": "The principal id of user assigned identity.", - "type": "string" - }, - "clientId": { - "readOnly": true, - "description": "The client id of user assigned identity.", - "type": "string" - } - } - }, - "AssociatedWorkspace": { - "type": "object", - "description": "The list of Log Analytics workspaces associated with the cluster.", - "properties": { - "workspaceId": { - "readOnly": true, - "description": "The id of the assigned workspace.", - "type": "string" - }, - "workspaceName": { - "readOnly": true, - "description": "The name id the assigned workspace.", - "type": "string" - }, - "resourceId": { - "readOnly": true, - "description": "The ResourceId id the assigned workspace.", - "type": "string" - }, - "associateDate": { - "readOnly": true, - "description": "The time of workspace association.", - "type": "string" - } - } - }, - "CapacityReservationProperties": { - "description": "The Capacity Reservation properties.", - "properties": { - "lastSkuUpdate": { - "readOnly": true, - "description": "The last time Sku was updated.", - "type": "string" - }, - "minCapacity": { - "readOnly": true, - "description": "Minimum CapacityReservation value in GB.", - "type": "integer", - "format": "int64" - }, - "capacityReservationLevel": { - "readOnly": true, - "description": "The capacity reservation level for this cluster in GB", - "type": "integer", - "format": "int32", - "enum": [ - 500, - 1000, - 2000, - 5000 - ], - "x-ms-enum": { - "name": "CapacityReservationLevelEnum", - "modelAsString": true - } - } - } - } - }, - "parameters": {} -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataExports.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataExports.json deleted file mode 100644 index 711fbe86a03d..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataExports.json +++ /dev/null @@ -1,354 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2021-12-01-preview" - }, - "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}/dataExports": { - "get": { - "tags": [ - "DataExport" - ], - "x-ms-examples": { - "DataExportGet": { - "$ref": "./examples/DataExportListByWorkspace.json" - } - }, - "operationId": "DataExports_ListByWorkspace", - "description": "Lists the data export instances within a 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/DataExportListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports/{dataExportName}": { - "put": { - "tags": [ - "DataExport" - ], - "x-ms-examples": { - "DataExportCreate": { - "$ref": "./examples/DataExportCreateOrUpdate.json" - } - }, - "operationId": "DataExports_CreateOrUpdate", - "description": "Create or update a data export.", - "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" - }, - { - "name": "dataExportName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[A-Za-z][A-Za-z0-9-]+[A-Za-z0-9]$", - "minLength": 4, - "maxLength": 63, - "description": "The data export rule name." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DataExport" - }, - "description": "The parameters required to create or update a data export." - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/DataExport" - } - }, - "201": { - "description": "Created response definition.", - "schema": { - "$ref": "#/definitions/DataExport" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "tags": [ - "DataExport" - ], - "x-ms-examples": { - "DataExportGet": { - "$ref": "./examples/DataExportGet.json" - } - }, - "operationId": "DataExports_Get", - "description": "Gets a data export instance.", - "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" - }, - { - "name": "dataExportName", - "in": "path", - "required": true, - "type": "string", - "description": "The data export rule name." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/DataExport" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "DataExport" - ], - "x-ms-examples": { - "DataExportDelete": { - "$ref": "./examples/DataExportDelete.json" - } - }, - "operationId": "DataExports_Delete", - "description": "Deletes the specified data export in a given 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" - }, - { - "name": "dataExportName", - "in": "path", - "required": true, - "type": "string", - "description": "The data export rule name." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition." - }, - "404": { - "description": "Not found the specific data export." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - } - } - }, - "definitions": { - "DataExport": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DataExportProperties", - "description": "data export properties." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "The top level data export resource container.", - "x-ms-azure-resource": true - }, - "DataExportListResult": { - "description": "Result of the request to list data exports.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/DataExport" - }, - "description": "List of data export instances within a workspace.." - } - } - }, - "DataExportProperties": { - "properties": { - "dataExportId": { - "type": "string", - "description": "The data export rule ID." - }, - "tableNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of tables to export, for example: [“Heartbeat, SecurityEvent”]." - }, - "destination": { - "$ref": "#/definitions/Destination", - "description": "destination properties.", - "x-ms-client-flatten": true - }, - "enable": { - "type": "boolean", - "description": "Active when enabled." - }, - "createdDate": { - "type": "string", - "description": "The latest data export rule modification time." - }, - "lastModifiedDate": { - "type": "string", - "description": "Date and time when the export was last modified." - } - }, - "required": [ - "tableNames" - ], - "description": "Data Export properties." - }, - "Destination": { - "properties": { - "resourceId": { - "type": "string", - "description": "The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure." - }, - "type": { - "type": "string", - "readOnly": true, - "description": "The type of the destination resource", - "enum": [ - "StorageAccount", - "EventHub" - ], - "x-ms-enum": { - "name": "type", - "modelAsString": true - } - }, - "metaData": { - "$ref": "#/definitions/DestinationMetaData", - "description": "destination meta data.", - "x-ms-client-flatten": true - } - }, - "required": [ - "resourceId" - ], - "description": "Destination properties." - }, - "DestinationMetaData": { - "properties": { - "eventHubName": { - "type": "string", - "description": "Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account." - } - }, - "description": "Destination meta data." - } - }, - "parameters": {} -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataSources.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataSources.json deleted file mode 100644 index 16960853e04a..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/DataSources.json +++ /dev/null @@ -1,348 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2021-12-01-preview" - }, - "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}/dataSources/{dataSourceName}": { - "put": { - "tags": [ - "DataSources" - ], - "x-ms-examples": { - "DataSourcesCreate": { - "$ref": "./examples/DataSourcesCreate.json" - } - }, - "operationId": "DataSources_CreateOrUpdate", - "description": "Create or update a data source.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "dataSourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the datasource resource." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DataSource" - }, - "description": "The parameters required to create or update a datasource." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/DataSource" - } - }, - "201": { - "description": "Created response definition.", - "schema": { - "$ref": "#/definitions/DataSource" - } - } - } - }, - "delete": { - "tags": [ - "DataSources" - ], - "x-ms-examples": { - "DataSourcesDelete": { - "$ref": "./examples/DataSourcesDelete.json" - } - }, - "operationId": "DataSources_Delete", - "description": "Deletes a data source instance.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "dataSourceName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the datasource." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition." - }, - "204": { - "description": "NoContent response definition." - } - } - }, - "get": { - "tags": [ - "DataSources" - ], - "x-ms-examples": { - "DataSourcesGet": { - "$ref": "./examples/DataSourcesGet.json" - } - }, - "operationId": "DataSources_Get", - "description": "Gets a datasource instance.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "dataSourceName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the datasource" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/DataSource" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources": { - "get": { - "tags": [ - "DataSources" - ], - "x-ms-examples": { - "DataSourcesListByWorkspace": { - "$ref": "./examples/DataSourcesListByWorkspace.json" - } - }, - "operationId": "DataSources_ListByWorkspace", - "description": "Gets the first page of data source instances in a workspace with the link to the next page.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "$filter", - "in": "query", - "required": true, - "type": "string", - "description": "The filter to apply on the operation." - }, - { - "name": "$skiptoken", - "in": "query", - "required": false, - "type": "string", - "description": "Starting point of the collection of data source instances." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/DataSourceListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/DataSourceFilter" - } - } - }, - "definitions": { - "DataSourceKind": { - "type": "string", - "enum": [ - "WindowsEvent", - "WindowsPerformanceCounter", - "IISLogs", - "LinuxSyslog", - "LinuxSyslogCollection", - "LinuxPerformanceObject", - "LinuxPerformanceCollection", - "CustomLog", - "CustomLogCollection", - "AzureAuditLog", - "AzureActivityLog", - "GenericDataSource", - "ChangeTrackingCustomPath", - "ChangeTrackingPath", - "ChangeTrackingServices", - "ChangeTrackingDataTypeConfiguration", - "ChangeTrackingDefaultRegistry", - "ChangeTrackingRegistry", - "ChangeTrackingLinuxPath", - "LinuxChangeTrackingPath", - "ChangeTrackingContentLocation", - "WindowsTelemetry", - "Office365", - "SecurityWindowsBaselineConfiguration", - "SecurityCenterSecurityWindowsBaselineConfiguration", - "SecurityEventCollectionConfiguration", - "SecurityInsightsSecurityEventCollectionConfiguration", - "ImportComputerGroup", - "NetworkMonitoring", - "Itsm", - "DnsAnalytics", - "ApplicationInsights", - "SqlDataClassification" - ], - "x-ms-enum": { - "name": "DataSourceKind", - "modelAsString": true - }, - "description": "The kind of the DataSource." - }, - "DataSource": { - "properties": { - "properties": { - "$ref": "#/definitions/Object", - "description": "The data source properties in raw json format, each kind of data source have it's own schema." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true - }, - "etag": { - "type": "string", - "description": "The ETag of the data source." - }, - "kind": { - "$ref": "#/definitions/DataSourceKind" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - } - }, - "required": [ - "kind", - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Datasources under OMS Workspace." - }, - "DataSourceFilter": { - "properties": { - "kind": { - "$ref": "#/definitions/DataSourceKind" - } - }, - "description": "DataSource filter. Right now, only filter by kind is supported." - }, - "DataSourceListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/DataSource" - }, - "description": "A list of datasources." - }, - "nextLink": { - "type": "string", - "description": "The link (url) to the next page of datasources." - } - }, - "description": "The list data source by workspace operation response." - }, - "Object": { - "type": "object", - "properties": {}, - "description": "JSON object" - } - }, - "parameters": {} -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Gateways.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Gateways.json deleted file mode 100644 index 658ed029894b..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Gateways.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2021-12-01-preview" - }, - "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}/gateways/{gatewayId}": { - "delete": { - "tags": [ - "Workspaces" - ], - "x-ms-examples": { - "DeleteGateways": { - "$ref": "./examples/WorkspacesGatewaysDelete.json" - } - }, - "operationId": "Gateways_Delete", - "description": "Delete a Log Analytics gateway.", - "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": "#/parameters/GatewayIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The specified gateway was deleted successfully." - } - } - } - } - }, - "definitions": {}, - "parameters": { - "GatewayIdParameter": { - "name": "gatewayId", - "in": "path", - "required": true, - "type": "string", - "description": "The Log Analytics gateway Id.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/IntelligencePacks.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/IntelligencePacks.json deleted file mode 100644 index 62c713260f6f..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/IntelligencePacks.json +++ /dev/null @@ -1,180 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2021-12-01-preview" - }, - "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}/intelligencePacks/{intelligencePackName}/Disable": { - "post": { - "tags": [ - "Workspaces", - "IntelligencePacks" - ], - "x-ms-examples": { - "IntelligencePacksDisable": { - "$ref": "./examples/WorkspacesDisableIntelligencePack.json" - } - }, - "operationId": "IntelligencePacks_Disable", - "description": "Disables an intelligence pack for a given workspace.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "intelligencePackName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the intelligence pack to be disabled." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition." - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/intelligencePacks/{intelligencePackName}/Enable": { - "post": { - "tags": [ - "Workspaces", - "IntelligencePacks" - ], - "x-ms-examples": { - "IntelligencePacksEnable": { - "$ref": "./examples/WorkspacesEnableIntelligencePack.json" - } - }, - "operationId": "IntelligencePacks_Enable", - "description": "Enables an intelligence pack for a given workspace.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "intelligencePackName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the intelligence pack to be enabled." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition." - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/intelligencePacks": { - "get": { - "tags": [ - "Workspaces", - "IntelligencePacks" - ], - "x-ms-examples": { - "IntelligencePacksList": { - "$ref": "./examples/WorkspacesListIntelligencePacks.json" - } - }, - "operationId": "IntelligencePacks_List", - "description": "Lists all the intelligence packs possible and whether they are enabled or disabled for a given workspace.", - "parameters": [ - { - "$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#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/IntelligencePack" - } - } - } - } - } - } - }, - "definitions": { - "IntelligencePack": { - "properties": { - "name": { - "type": "string", - "description": "The name of the intelligence pack." - }, - "enabled": { - "type": "boolean", - "description": "The enabled boolean for the intelligence pack." - }, - "displayName": { - "type": "string", - "description": "The display name of the intelligence pack." - } - }, - "description": "Intelligence Pack containing a string name and boolean indicating if it's enabled." - } - }, - "parameters": {} -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedServices.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedServices.json deleted file mode 100644 index eebf5b1b24a0..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedServices.json +++ /dev/null @@ -1,304 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2021-12-01-preview" - }, - "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}/linkedServices/{linkedServiceName}": { - "put": { - "tags": [ - "LinkedServices" - ], - "x-ms-examples": { - "LinkedServicesCreate": { - "$ref": "./examples/LinkedServicesCreate.json" - } - }, - "operationId": "LinkedServices_CreateOrUpdate", - "description": "Create or update a linked service.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "linkedServiceName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the linkedServices resource" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkedService" - }, - "description": "The parameters required to create or update a linked service." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Accepted response definition." - }, - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/LinkedService" - } - }, - "201": { - "description": "Created response definition.", - "schema": { - "$ref": "#/definitions/LinkedService" - } - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "LinkedServices" - ], - "x-ms-examples": { - "LinkedServicesDelete": { - "$ref": "./examples/LinkedServicesDelete.json" - } - }, - "operationId": "LinkedServices_Delete", - "description": "Deletes a linked service instance.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "linkedServiceName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the linked service." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/LinkedService" - } - }, - "202": { - "description": "Accepted response definition." - }, - "204": { - "description": "NoContent response definition." - } - }, - "x-ms-long-running-operation": true - }, - "get": { - "tags": [ - "LinkedServices" - ], - "x-ms-examples": { - "LinkedServicesGet": { - "$ref": "./examples/LinkedServicesGet.json" - } - }, - "operationId": "LinkedServices_Get", - "description": "Gets a linked service instance.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "linkedServiceName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the linked service." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/LinkedService" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices": { - "get": { - "tags": [ - "LinkedServices" - ], - "x-ms-examples": { - "LinkedServicesListByWorkspace": { - "$ref": "./examples/LinkedServicesListByWorkspace.json" - } - }, - "operationId": "LinkedServices_ListByWorkspace", - "description": "Gets the linked services instances in a workspace.", - "parameters": [ - { - "$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#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/LinkedServiceListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - } - }, - "definitions": { - "LinkedServiceProperties": { - "properties": { - "resourceId": { - "type": "string", - "description": "The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access" - }, - "writeAccessResourceId": { - "type": "string", - "description": "The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access" - }, - "provisioningState": { - "type": "string", - "description": "The provisioning state of the linked service.", - "enum": [ - "Succeeded", - "Deleting", - "ProvisioningAccount", - "Updating" - ], - "x-ms-enum": { - "name": "LinkedServiceEntityStatus", - "modelAsString": true - } - } - }, - "description": "Linked service properties." - }, - "LinkedService": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/LinkedServiceProperties", - "description": "The properties of the linked service." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - } - }, - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "The top level Linked service resource container." - }, - "LinkedServiceListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/LinkedService" - }, - "description": "The list of linked service instances" - } - }, - "description": "The list linked service operation response." - } - }, - "parameters": {} -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedStorageAccounts.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedStorageAccounts.json deleted file mode 100644 index 6865b01f6283..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedStorageAccounts.json +++ /dev/null @@ -1,280 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2021-12-01-preview" - }, - "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}/linkedStorageAccounts/{dataSourceType}": { - "put": { - "tags": [ - "LinkedStorageAccounts" - ], - "x-ms-examples": { - "LinkedStorageAccountsCreate": { - "$ref": "./examples/LinkedStorageAccountsCreate.json" - } - }, - "operationId": "LinkedStorageAccounts_CreateOrUpdate", - "description": "Create or Update a link relation between current workspace and a group of storage accounts of a specific data source type.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/DataSourceTypeParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkedStorageAccountsResource" - }, - "description": "The parameters required to create or update linked storage accounts." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/LinkedStorageAccountsResource" - } - } - } - }, - "delete": { - "tags": [ - "LinkedStorageAccounts" - ], - "x-ms-examples": { - "LinkedStorageAccountsDelete": { - "$ref": "./examples/LinkedStorageAccountsDelete.json" - } - }, - "operationId": "LinkedStorageAccounts_Delete", - "description": "Deletes all linked storage accounts of a specific data source type associated with the specified workspace.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/DataSourceTypeParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition." - } - } - }, - "get": { - "tags": [ - "LinkedStorageAccounts" - ], - "x-ms-examples": { - "LinkedStorageAccountsGet": { - "$ref": "./examples/LinkedStorageAccountsGet.json" - } - }, - "operationId": "LinkedStorageAccounts_Get", - "description": "Gets all linked storage account of a specific data source type associated with the specified workspace.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/DataSourceTypeParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/LinkedStorageAccountsResource" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts": { - "get": { - "tags": [ - "LinkedStorageAccounts" - ], - "description": "Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type.", - "operationId": "LinkedStorageAccounts_ListByWorkspace", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/LinkedStorageAccountsListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "x-ms-examples": { - "Gets list of linked storage accounts on a workspace.": { - "$ref": "./examples/LinkedStorageAccountsListByWorkspace.json" - } - } - } - } - }, - "definitions": { - "LinkedStorageAccountsProperties": { - "description": "Linked storage accounts properties.", - "type": "object", - "properties": { - "dataSourceType": { - "description": "Linked storage accounts type.", - "type": "string", - "readOnly": true, - "enum": [ - "CustomLogs", - "AzureWatson", - "Query", - "Alerts" - ], - "x-ms-enum": { - "name": "DataSourceType", - "modelAsString": false - } - }, - "storageAccountIds": { - "description": "Linked storage accounts resources ids.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "LinkedStorageAccountsResource": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/LinkedStorageAccountsProperties", - "description": "Linked storage accounts properties." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true - } - }, - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Linked storage accounts top level resource container." - }, - "LinkedStorageAccountsListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/LinkedStorageAccountsResource" - }, - "description": "A list of linked storage accounts instances." - } - }, - "description": "The list linked storage accounts service operation response." - } - }, - "parameters": { - "DataSourceTypeParameter": { - "name": "dataSourceType", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "CustomLogs", - "AzureWatson", - "Query", - "Alerts" - ], - "x-ms-enum": { - "name": "DataSourceType", - "modelAsString": false - }, - "description": "Linked storage accounts type.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/ManagementGroups.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/ManagementGroups.json deleted file mode 100644 index 9f9ea965a12b..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/ManagementGroups.json +++ /dev/null @@ -1,142 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2021-12-01-preview" - }, - "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}/managementGroups": { - "get": { - "tags": [ - "Workspaces" - ], - "x-ms-examples": { - "WorkspacesListManagementGroups": { - "$ref": "./examples/WorkspacesListManagementGroups.json" - } - }, - "operationId": "ManagementGroups_List", - "description": "Gets a list of management groups connected to a workspace.", - "parameters": [ - { - "$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#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/WorkspaceListManagementGroupsResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - } - }, - "definitions": { - "ManagementGroupProperties": { - "properties": { - "serverCount": { - "type": "integer", - "format": "int32", - "description": "The number of servers connected to the management group." - }, - "isGateway": { - "type": "boolean", - "description": "Gets or sets a value indicating whether the management group is a gateway." - }, - "name": { - "type": "string", - "description": "The name of the management group." - }, - "id": { - "type": "string", - "description": "The unique ID of the management group." - }, - "created": { - "type": "string", - "format": "date-time", - "description": "The datetime that the management group was created." - }, - "dataReceived": { - "type": "string", - "format": "date-time", - "description": "The last datetime that the management group received data." - }, - "version": { - "type": "string", - "description": "The version of System Center that is managing the management group." - }, - "sku": { - "type": "string", - "description": "The SKU of System Center that is managing the management group." - } - }, - "description": "Management group properties." - }, - "ManagementGroup": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ManagementGroupProperties", - "description": "The properties of the management group." - } - }, - "description": "A management group that is connected to a workspace" - }, - "WorkspaceListManagementGroupsResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ManagementGroup" - }, - "description": "Gets or sets a list of management groups attached to the workspace." - } - }, - "description": "The list workspace management groups operation response." - } - }, - "parameters": {} -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/OperationStatuses.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/OperationStatuses.json deleted file mode 100644 index a5fd47d7af16..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/OperationStatuses.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2021-12-01-preview" - }, - "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}/providers/Microsoft.OperationalInsights/locations/{location}/operationStatuses/{asyncOperationId}": { - "get": { - "x-ms-examples": { - "Get specific operation status": { - "$ref": "./examples/OperationStatusesGet.json" - } - }, - "tags": [ - "asyncOperations" - ], - "operationId": "OperationStatuses_Get", - "description": "Get the status of a long running azure asynchronous operation.", - "parameters": [ - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The region name of operation." - }, - { - "name": "asyncOperationId", - "in": "path", - "required": true, - "type": "string", - "description": "The operation Id." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK. Operation status.", - "schema": { - "$ref": "#/definitions/OperationStatus" - } - } - } - } - } - }, - "definitions": { - "OperationStatus": { - "description": "The status of operation.", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The operation Id." - }, - "name": { - "type": "string", - "description": "The operation name." - }, - "startTime": { - "type": "string", - "description": "The start time of the operation." - }, - "endTime": { - "type": "string", - "description": "The end time of the operation." - }, - "status": { - "type": "string", - "description": "The status of the operation." - }, - "error": { - "type": "object", - "description": "The error detail of the operation if any.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - }, - "parameters": {} -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SavedSearches.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SavedSearches.json deleted file mode 100644 index f41775914045..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SavedSearches.json +++ /dev/null @@ -1,305 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference.", - "version": "2021-12-01-preview" - }, - "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}/savedSearches/{savedSearchId}": { - "delete": { - "tags": [ - "SavedSearches" - ], - "x-ms-examples": { - "SavedSearchesDelete": { - "$ref": "./examples/WorkspacesDeleteSavedSearches.json" - } - }, - "operationId": "SavedSearches_Delete", - "description": "Deletes the specified saved search in a given 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" - }, - { - "name": "savedSearchId", - "in": "path", - "required": true, - "type": "string", - "description": "The id of the saved search." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition." - } - } - }, - "put": { - "tags": [ - "SavedSearches" - ], - "x-ms-examples": { - "SavedSearchCreateOrUpdate": { - "$ref": "./examples/WorkspacesSavedSearchesCreateOrUpdate.json" - } - }, - "operationId": "SavedSearches_CreateOrUpdate", - "description": "Creates or updates a saved search for a given 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" - }, - { - "name": "savedSearchId", - "in": "path", - "required": true, - "type": "string", - "description": "The id of the saved search." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/SavedSearch" - }, - "description": "The parameters required to save a search." - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/SavedSearch" - } - } - } - }, - "get": { - "tags": [ - "SavedSearches" - ], - "x-ms-examples": { - "SavedSearchesGet": { - "$ref": "./examples/WorkspacesSavedSearchesGet.json" - } - }, - "operationId": "SavedSearches_Get", - "description": "Gets the specified saved search for a given 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" - }, - { - "name": "savedSearchId", - "in": "path", - "required": true, - "type": "string", - "description": "The id of the saved search." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/SavedSearch" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches": { - "get": { - "tags": [ - "SavedSearches" - ], - "x-ms-examples": { - "SavedSearchesList": { - "$ref": "./examples/SavedSearchesListByWorkspace.json" - } - }, - "operationId": "SavedSearches_ListByWorkspace", - "description": "Gets the saved searches for a given Log Analytics Workspace", - "parameters": [ - { - "$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#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Returns the list of saved searches for the given Log Analytics Workspace.", - "schema": { - "$ref": "#/definitions/SavedSearchesListResult" - } - } - } - } - } - }, - "definitions": { - "Tag": { - "properties": { - "name": { - "type": "string", - "description": "The tag name." - }, - "value": { - "type": "string", - "description": "The tag value." - } - }, - "required": [ - "name", - "value" - ], - "description": "A tag of a saved search." - }, - "SavedSearchProperties": { - "properties": { - "category": { - "type": "string", - "description": "The category of the saved search. This helps the user to find a saved search faster. " - }, - "displayName": { - "type": "string", - "description": "Saved search display name." - }, - "query": { - "type": "string", - "description": "The query expression for the saved search." - }, - "functionAlias": { - "type": "string", - "description": "The function alias if query serves as a function." - }, - "functionParameters": { - "type": "string", - "description": "The optional function parameters if query serves as a function. Value should be in the following format: 'param-name1:type1 = default_value1, param-name2:type2 = default_value2'. For more examples and proper syntax please refer to https://docs.microsoft.com/en-us/azure/kusto/query/functions/user-defined-functions." - }, - "version": { - "type": "integer", - "format": "int64", - "description": "The version number of the query language. The current version is 2 and is the default." - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/definitions/Tag" - }, - "description": "The tags attached to the saved search." - } - }, - "required": [ - "category", - "displayName", - "query" - ], - "description": "Value object for saved search results." - }, - "SavedSearch": { - "properties": { - "etag": { - "type": "string", - "description": "The ETag of the saved search. To override an existing saved search, use \"*\" or specify the current Etag" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SavedSearchProperties", - "description": "The properties of the saved search." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true - } - }, - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Value object for saved search results." - }, - "SavedSearchesListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SavedSearch" - }, - "description": "The array of result values." - } - }, - "description": "The saved search list operation response." - } - }, - "parameters": {} -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Schema.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Schema.json deleted file mode 100644 index f996061bf293..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Schema.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2021-12-01-preview" - }, - "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}/schema": { - "post": { - "tags": [ - "Workspaces" - ], - "x-ms-examples": { - "WorkspacesGetSchema": { - "$ref": "./examples/SavedSearchesGetSchema.json" - } - }, - "operationId": "Schema_Get", - "description": "Gets the schema for a given workspace.", - "parameters": [ - { - "$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#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/SearchGetSchemaResponse" - } - } - } - } - } - }, - "definitions": { - "CoreSummary": { - "properties": { - "status": { - "type": "string", - "description": "The status of a core summary." - }, - "numberOfDocuments": { - "type": "integer", - "format": "int64", - "description": "The number of documents of a core summary." - } - }, - "required": [ - "numberOfDocuments" - ], - "description": "The core summary of a search." - }, - "SearchSort": { - "properties": { - "name": { - "type": "string", - "description": "The name of the field the search query is sorted on." - }, - "order": { - "type": "string", - "description": "The sort order of the search.", - "enum": [ - "asc", - "desc" - ], - "x-ms-enum": { - "name": "SearchSortEnum", - "modelAsString": true - } - } - }, - "description": "The sort parameters for search." - }, - "SearchMetadataSchema": { - "properties": { - "name": { - "type": "string", - "description": "The name of the metadata schema." - }, - "version": { - "type": "integer", - "format": "int32", - "description": "The version of the metadata schema." - } - }, - "description": "Schema metadata for search." - }, - "SearchMetadata": { - "properties": { - "requestId": { - "x-ms-client-name": "SearchId", - "type": "string", - "description": "The request id of the search." - }, - "resultType": { - "type": "string", - "description": "The search result type." - }, - "total": { - "type": "integer", - "format": "int64", - "description": "The total number of search results." - }, - "top": { - "type": "integer", - "format": "int64", - "description": "The number of top search results." - }, - "id": { - "type": "string", - "description": "The id of the search results request." - }, - "coreSummaries": { - "type": "array", - "items": { - "$ref": "#/definitions/CoreSummary" - }, - "description": "The core summaries." - }, - "status": { - "type": "string", - "description": "The status of the search results." - }, - "startTime": { - "type": "string", - "format": "date-time", - "description": "The start time for the search." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "The time of last update." - }, - "eTag": { - "type": "string", - "description": "The ETag of the search results." - }, - "sort": { - "type": "array", - "items": { - "$ref": "#/definitions/SearchSort" - }, - "description": "How the results are sorted." - }, - "requestTime": { - "type": "integer", - "format": "int64", - "description": "The request time." - }, - "aggregatedValueField": { - "type": "string", - "description": "The aggregated value field." - }, - "aggregatedGroupingFields": { - "type": "string", - "description": "The aggregated grouping fields." - }, - "sum": { - "type": "integer", - "format": "int64", - "description": "The sum of all aggregates returned in the result set." - }, - "max": { - "type": "integer", - "format": "int64", - "description": "The max of all aggregates returned in the result set." - }, - "schema": { - "$ref": "#/definitions/SearchMetadataSchema", - "description": "The schema." - } - }, - "description": "Metadata for search results." - }, - "SearchSchemaValue": { - "properties": { - "name": { - "type": "string", - "description": "The name of the schema." - }, - "displayName": { - "type": "string", - "description": "The display name of the schema." - }, - "type": { - "type": "string", - "description": "The type." - }, - "indexed": { - "type": "boolean", - "description": "The boolean that indicates the field is searchable as free text." - }, - "stored": { - "type": "boolean", - "description": "The boolean that indicates whether or not the field is stored." - }, - "facet": { - "type": "boolean", - "description": "The boolean that indicates whether or not the field is a facet." - }, - "ownerType": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The array of workflows containing the field." - } - }, - "required": [ - "facet", - "stored", - "indexed" - ], - "description": "Value object for schema results." - }, - "SearchGetSchemaResponse": { - "properties": { - "metadata": { - "x-ms-client-name": "Metadata", - "$ref": "#/definitions/SearchMetadata", - "description": "The metadata from search results." - }, - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SearchSchemaValue" - }, - "description": "The array of result values." - } - }, - "description": "The get schema operation response." - } - }, - "parameters": {} -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SharedKeys.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SharedKeys.json deleted file mode 100644 index 790a4acd0161..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/SharedKeys.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2021-12-01-preview" - }, - "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}/sharedKeys": { - "post": { - "tags": [ - "Workspaces" - ], - "x-ms-examples": { - "SharedKeysList": { - "$ref": "./examples/WorkspacesGetSharedKeys.json" - } - }, - "operationId": "SharedKeys_GetSharedKeys", - "description": "Gets the shared keys for a workspace.", - "parameters": [ - { - "$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#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/SharedKeys" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/regenerateSharedKey": { - "post": { - "tags": [ - "Workspaces" - ], - "x-ms-examples": { - "RegenerateSharedKeys": { - "$ref": "./examples/WorkspacesRegenerateSharedKeys.json" - } - }, - "operationId": "SharedKeys_Regenerate", - "description": "Regenerates the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the 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": "Returns the new shared keys associated with the Log Analytics Workspace.", - "schema": { - "$ref": "#/definitions/SharedKeys" - } - } - } - } - } - }, - "definitions": { - "SharedKeys": { - "properties": { - "primarySharedKey": { - "type": "string", - "description": "The primary shared key of a workspace." - }, - "secondarySharedKey": { - "type": "string", - "description": "The secondary shared key of a workspace." - } - }, - "description": "The shared keys for a workspace." - } - }, - "parameters": {} -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/StorageInsightConfigs.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/StorageInsightConfigs.json deleted file mode 100644 index aa83021e1dd1..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/StorageInsightConfigs.json +++ /dev/null @@ -1,344 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference.", - "version": "2021-12-01-preview" - }, - "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}/storageInsightConfigs/{storageInsightName}": { - "put": { - "tags": [ - "StorageInsights" - ], - "x-ms-examples": { - "StorageInsightsCreate": { - "$ref": "./examples/StorageInsightsCreateOrUpdate.json" - } - }, - "operationId": "StorageInsightConfigs_CreateOrUpdate", - "description": "Create or update a storage insight.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "storageInsightName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the storageInsightsConfigs resource" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StorageInsight" - }, - "description": "The parameters required to create or update a storage insight." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "201": { - "description": "Created response definition.", - "schema": { - "$ref": "#/definitions/StorageInsight" - } - }, - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/StorageInsight" - } - } - } - }, - "get": { - "tags": [ - "StorageInsights" - ], - "x-ms-examples": { - "StorageInsightsGet": { - "$ref": "./examples/StorageInsightsGet.json" - } - }, - "operationId": "StorageInsightConfigs_Get", - "description": "Gets a storage insight instance.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "storageInsightName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the storageInsightsConfigs resource" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/StorageInsight" - } - } - } - }, - "delete": { - "tags": [ - "StorageInsights" - ], - "x-ms-examples": { - "StorageInsightsDelete": { - "$ref": "./examples/StorageInsightsDelete.json" - } - }, - "operationId": "StorageInsightConfigs_Delete", - "description": "Deletes a storageInsightsConfigs resource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "storageInsightName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the storageInsightsConfigs resource" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition." - }, - "204": { - "description": "NoContent response definition." - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs": { - "get": { - "tags": [ - "StorageInsights" - ], - "x-ms-examples": { - "StorageInsightsList": { - "$ref": "./examples/StorageInsightsListByWorkspace.json" - } - }, - "operationId": "StorageInsightConfigs_ListByWorkspace", - "description": "Lists the storage insight instances within a workspace", - "parameters": [ - { - "$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#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/StorageInsightListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "@odata.nextLink" - } - } - } - }, - "definitions": { - "StorageAccount": { - "properties": { - "id": { - "type": "string", - "description": "The Azure Resource Manager ID of the storage account resource." - }, - "key": { - "type": "string", - "description": "The storage account key." - } - }, - "required": [ - "id", - "key" - ], - "description": "Describes a storage account connection." - }, - "StorageInsightStatus": { - "properties": { - "state": { - "type": "string", - "description": "The state of the storage insight connection to the workspace", - "enum": [ - "OK", - "ERROR" - ], - "x-ms-enum": { - "name": "StorageInsightState", - "modelAsString": true - } - }, - "description": { - "type": "string", - "description": "Description of the state of the storage insight." - } - }, - "required": [ - "state" - ], - "description": "The status of the storage insight." - }, - "StorageInsightProperties": { - "properties": { - "containers": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The names of the blob containers that the workspace should read" - }, - "tables": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The names of the Azure tables that the workspace should read" - }, - "storageAccount": { - "$ref": "#/definitions/StorageAccount", - "description": "The storage account connection details" - }, - "status": { - "$ref": "#/definitions/StorageInsightStatus", - "description": "The status of the storage insight", - "readOnly": true - } - }, - "required": [ - "storageAccount" - ], - "description": "Storage insight properties." - }, - "StorageInsight": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageInsightProperties", - "description": "Storage insight properties." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true - }, - "eTag": { - "type": "string", - "description": "The ETag of the storage insight." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "The top level storage insight resource container." - }, - "StorageInsightListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/StorageInsight" - }, - "description": "A list of storage insight items." - }, - "@odata.nextLink": { - "type": "string", - "description": "The link (url) to the next page of results.", - "x-ms-client-name": "odataNextLink" - } - }, - "description": "The list storage insights operation response." - } - }, - "parameters": {} -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json index 917a91968dc4..f5c1b8fcba6e 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json @@ -549,7 +549,7 @@ "description": "The table to search data from." } }, - "description": "Search job parameters." + "description": "Parameters of the search job that initiated this table." }, "RestoredLogs": { "type": "object", diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Usages.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Usages.json deleted file mode 100644 index a4e83b624e41..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Usages.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2021-12-01-preview" - }, - "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}/usages": { - "get": { - "tags": [ - "Workspaces" - ], - "x-ms-examples": { - "UsagesList": { - "$ref": "./examples/WorkspacesListUsages.json" - } - }, - "operationId": "Usages_List", - "description": "Gets a list of usage metrics for a workspace.", - "parameters": [ - { - "$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#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK response definition.", - "schema": { - "$ref": "#/definitions/WorkspaceListUsagesResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - } - }, - "definitions": { - "MetricName": { - "properties": { - "value": { - "type": "string", - "description": "The system name of the metric." - }, - "localizedValue": { - "type": "string", - "description": "The localized name of the metric." - } - }, - "description": "The name of a metric." - }, - "UsageMetric": { - "properties": { - "name": { - "$ref": "#/definitions/MetricName", - "description": "The name of the metric." - }, - "unit": { - "type": "string", - "description": "The units used for the metric." - }, - "currentValue": { - "type": "number", - "format": "double", - "description": "The current value of the metric." - }, - "limit": { - "type": "number", - "format": "double", - "description": "The quota limit for the metric." - }, - "nextResetTime": { - "type": "string", - "format": "date-time", - "description": "The time that the metric's value will reset." - }, - "quotaPeriod": { - "type": "string", - "description": "The quota period that determines the length of time between value resets." - } - }, - "description": "A metric describing the usage of a resource." - }, - "WorkspaceListUsagesResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/UsageMetric" - }, - "description": "Gets or sets a list of usage metrics for a workspace." - } - }, - "description": "The list workspace usages operation response." - } - }, - "parameters": {} -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/WorkspacePurge.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/WorkspacePurge.json deleted file mode 100644 index ba93bb7ebc11..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/WorkspacePurge.json +++ /dev/null @@ -1,216 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference", - "version": "2021-12-01-preview" - }, - "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}/purge": { - "post": { - "tags": [ - "Workspaces" - ], - "description": "Purges data in an Log Analytics workspace by a set of user-defined filters.\n\nIn order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch the execution of purge requests by sending a single command whose predicate includes all user identities that require purging. Use the in operator to specify multiple identities. You should run the query prior to using for a purge request to verify that the results are expected.", - "operationId": "WorkspacePurge_Purge", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/WorkspacePurgeParameter" - } - ], - "responses": { - "202": { - "description": "Accepted request for purging an Log Analytics workspace.", - "schema": { - "$ref": "#/definitions/WorkspacePurgeResponse" - }, - "headers": { - "x-ms-status-location": { - "type": "string", - "description": "The location from which to request the operation status." - } - } - } - }, - "x-ms-examples": { - "WorkspacePurge": { - "$ref": "./examples/WorkspacesPurge.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/operations/{purgeId}": { - "get": { - "tags": [ - "Workspaces" - ], - "description": "Gets status of an ongoing purge operation.", - "operationId": "WorkspacePurge_GetPurgeStatus", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/WorkspacePurgeIdParameter" - } - ], - "responses": { - "200": { - "description": "Returns status of purge operation in body of response. e.g.: running, completed.", - "schema": { - "$ref": "#/definitions/WorkspacePurgeStatusResponse" - } - } - }, - "x-ms-examples": { - "WorkspacePurgeOperation": { - "$ref": "./examples/WorkspacesPurgeOperation.json" - } - } - } - } - }, - "definitions": { - "WorkspacePurgeBody": { - "description": "Describes the body of a purge request for an App Insights Workspace", - "required": [ - "table", - "filters" - ], - "properties": { - "table": { - "type": "string", - "description": "Table from which to purge data." - }, - "filters": { - "type": "array", - "description": "The set of columns and filters (queries) to run over them to purge the resulting data.", - "items": { - "$ref": "#/definitions/WorkspacePurgeBodyFilters" - } - } - } - }, - "WorkspacePurgeBodyFilters": { - "description": "User-defined filters to return data which will be purged from the table.", - "properties": { - "column": { - "description": "The column of the table over which the given query should run", - "type": "string" - }, - "operator": { - "description": "A query operator to evaluate over the provided column and value(s). Supported operators are ==, =~, in, in~, >, >=, <, <=, between, and have the same behavior as they would in a KQL query.", - "type": "string" - }, - "value": { - "description": "the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of values." - }, - "key": { - "description": "When filtering over custom dimensions, this key will be used as the name of the custom dimension.", - "type": "string" - } - } - }, - "WorkspacePurgeResponse": { - "description": "Response containing operationId for a specific purge action.", - "properties": { - "operationId": { - "description": "Id to use when querying for status for a particular purge operation.", - "type": "string" - } - }, - "required": [ - "operationId" - ] - }, - "WorkspacePurgeStatusResponse": { - "description": "Response containing status for a specific purge operation.", - "properties": { - "status": { - "description": "Status of the operation represented by the requested Id.", - "type": "string", - "enum": [ - "pending", - "completed" - ], - "x-ms-enum": { - "name": "PurgeState", - "modelAsString": true - } - } - }, - "required": [ - "status" - ] - } - }, - "parameters": { - "WorkspacePurgeParameter": { - "name": "body", - "in": "body", - "description": "Describes the body of a request to purge data in a single table of an Log Analytics Workspace", - "required": true, - "schema": { - "$ref": "#/definitions/WorkspacePurgeBody" - }, - "x-ms-parameter-location": "method" - }, - "WorkspacePurgeIdParameter": { - "name": "purgeId", - "in": "path", - "required": true, - "type": "string", - "description": "In a purge status request, this is the Id of the operation the status of which is returned.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersCreate.json deleted file mode 100644 index c3bb55c20cbe..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersCreate.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "oiautorest6685", - "clusterName": "oiautorest6685", - "parameters": { - "sku": { - "name": "CapacityReservation", - "capacity": 1000 - }, - "location": "australiasoutheast", - "tags": { - "tag1": "val1" - } - }, - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "202": {}, - "200": { - "body": { - "properties": { - "keyVaultProperties": { - "keyVaultUri": "https://aztest2170.vault.azure.net", - "keyName": "aztest2170cert", - "keyVersion": "654ft6c4e63845cbb50fd6fg51540429" - }, - "provisioningState": "ProvisioningAccount", - "clusterId": "1c3f2afc-9ec1-4e74-bfe8-022b83bcd7b1", - "billingType": "Cluster", - "lastModifiedDate": "Sun, 04 Jan 2020 17:10:56 GMT", - "createdDate": "Mon, 13 Jan 2020 14:40:33 GMT", - "associatedWorkspaces": [], - "capacityReservationProperties": { - "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", - "minCapacity": 1000 - } - }, - "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/clusters/oiautorest6685", - "identity": { - "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "type": "SystemAssigned" - }, - "sku": { - "name": "CapacityReservation", - "capacity": 1000 - }, - "name": "oiautorest6685", - "type": "Microsoft.OperationalInsights/clusters", - "location": "australiasoutheast" - } - }, - "201": { - "body": { - "properties": { - "keyVaultProperties": { - "keyVaultUri": "https://aztest2170.vault.azure.net", - "keyName": "aztest2170cert", - "keyVersion": "654ft6c4e63845cbb50fd6fg51540429" - }, - "provisioningState": "ProvisioningAccount", - "clusterId": "1c3f2afc-9ec1-4e74-bfe8-022b83bcd7b1", - "billingType": "Cluster", - "lastModifiedDate": "Sun, 04 Jan 2020 17:10:56 GMT", - "createdDate": "Mon, 13 Jan 2020 14:40:33 GMT", - "associatedWorkspaces": [], - "capacityReservationProperties": { - "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", - "minCapacity": 1000 - } - }, - "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/clusters/oiautorest6685", - "identity": { - "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "type": "SystemAssigned" - }, - "sku": { - "name": "CapacityReservation", - "capacity": 1000 - }, - "name": "oiautorest6685", - "type": "Microsoft.OperationalInsights/clusters", - "location": "australiasoutheast" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersDelete.json deleted file mode 100644 index 042230e66c89..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "oiautorest6685", - "clusterName": "oiautorest6685", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersGet.json deleted file mode 100644 index ea2a5c9a65bb..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersGet.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "oiautorest6685", - "clusterName": "oiautorest6685", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": [ - { - "properties": { - "keyVaultProperties": { - "keyVaultUri": "https://aztest2170.vault.azure.net", - "keyName": "aztest2170cert", - "keyVersion": "654ft6c4e63845cbb50fd6fg51540429" - }, - "provisioningState": "Succeeded", - "clusterId": "1c3f2afc-9ec1-4e74-bfe8-022b83bcd7b1", - "billingType": "Cluster", - "lastModifiedDate": "Sun, 04 Jan 2020 17:10:56 GMT", - "createdDate": "Mon, 13 Jan 2020 14:40:33 GMT", - "isDoubleEncryptionEnabled": false, - "isAvailabilityZonesEnabled": false, - "associatedWorkspaces": [ - { - "workspaceId": "942bdefd-e6c9-411c-ac69-70ffad564363", - "workspaceName": "testWs1", - "resourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/testRG/providers/microsoft.operationalinsights/workspaces/testWs1", - "associateDate": "Tue, 07 Jul 2020 07:35:51 GMT" - }, - { - "workspaceId": "c7edb8f8-67f7-41f2-bddb-aecf22507e3f", - "workspaceName": "testWs2", - "resourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/testRG/providers/microsoft.operationalinsights/workspaces/testWs2", - "associateDate": "Mon, 13 Jan 2020 16:03:39 GMT" - } - ], - "capacityReservationProperties": { - "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", - "minCapacity": 1000 - } - }, - "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/clusters/testresourcelock", - "identity": { - "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "type": "SystemAssigned" - }, - "sku": { - "name": "CapacityReservation", - "capacity": 1000 - }, - "name": "TestResourceLock", - "type": "Microsoft.OperationalInsights/clusters", - "location": "eastus" - } - ] - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersListByResourceGroup.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersListByResourceGroup.json deleted file mode 100644 index ee5e958f52bb..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersListByResourceGroup.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "oiautorest6685", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "keyVaultProperties": { - "keyVaultUri": "https://aztest2170.vault.azure.net", - "keyName": "aztest2170cert", - "keyVersion": "654ft6c4e63845cbb50fd6fg51540429" - }, - "provisioningState": "Succeeded", - "clusterId": "5b02755b-5bf4-430c-9487-45502a2a7e62" - }, - "sku": { - "name": "CapacityReservation", - "capacity": 1000 - }, - "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/clusters/testresourcelock", - "identity": { - "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "type": "SystemAssigned" - }, - "name": "TestResourceLock", - "type": "Microsoft.OperationalInsights/clusters", - "location": "eastus" - } - ] - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersSubscriptionList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersSubscriptionList.json deleted file mode 100644 index 73acdcac0400..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersSubscriptionList.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "keyVaultProperties": { - "keyVaultUri": "https://aztest2170.vault.azure.net", - "keyName": "aztest2170cert", - "keyVersion": "654ft6c4e63845cbb50fd6fg51540429" - }, - "provisioningState": "Succeeded", - "clusterId": "5b02755b-5bf4-430c-9487-45502a2a7e62" - }, - "sku": { - "name": "CapacityReservation", - "capacity": 1000 - }, - "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/clusters/testresourcelock", - "identity": { - "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "type": "SystemAssigned" - }, - "name": "TestResourceLock", - "type": "Microsoft.OperationalInsights/clusters", - "location": "eastus" - } - ] - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersUpdate.json deleted file mode 100644 index 2b9edffd804f..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/ClustersUpdate.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "oiautorest6685", - "clusterName": "oiautorest6685", - "parameters": { - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity": {} - } - }, - "properties": { - "keyVaultProperties": { - "keyVaultUri": "https://aztest2170.vault.azure.net", - "keyName": "aztest2170cert", - "keyVersion": "654ft6c4e63845cbb50fd6fg51540429", - "keyRsaSize": 1024 - } - }, - "sku": { - "name": "CapacityReservation", - "capacity": 1000 - }, - "tags": { - "tag1": "val1" - } - }, - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "UserAssigned", - "tenantId": "72f999bf-acf1-41af-91ab-2d7cd011db47", - "userAssignedIdentities": { - "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/oiautorest6685/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myidentity": { - "clientId": "eb3a943d-6b12-48a6-b585-ac2316e15ab2", - "principalId": "b31776d4-ee80-4860-9433-ec0101be1891" - } - } - }, - "properties": { - "keyVaultProperties": { - "keyVaultUri": "https://aztest2170.vault.azure.net", - "keyName": "aztest2170cert", - "keyVersion": "654ft6c4e63845cbb50fd6fg51540429" - }, - "provisioningState": "Succeeded", - "clusterId": "1c3f2afc-9ec1-4e74-bfe8-022b83bcd7b1", - "billingType": "Cluster", - "lastModifiedDate": "Sun, 04 Jan 2020 17:10:56 GMT", - "createdDate": "Mon, 13 Jan 2020 14:40:33 GMT", - "associatedWorkspaces": [ - { - "workspaceId": "942bdefd-e6c9-411c-ac69-70ffad564363", - "workspaceName": "testWs1", - "resourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/testRG/providers/microsoft.operationalinsights/workspaces/testWs1", - "associateDate": "Tue, 07 Jul 2020 07:35:51 GMT" - }, - { - "workspaceId": "c7edb8f8-67f7-41f2-bddb-aecf22507e3f", - "workspaceName": "testWs2", - "resourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/testRG/providers/microsoft.operationalinsights/workspaces/testWs2", - "associateDate": "Mon, 13 Jan 2020 16:03:39 GMT" - } - ], - "capacityReservationProperties": { - "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", - "minCapacity": 1000 - } - }, - "sku": { - "name": "CapacityReservation", - "capacity": 1000 - }, - "location": "australiasoutheast", - "tags": { - "tag1": "val1" - } - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportCreateOrUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportCreateOrUpdate.json deleted file mode 100644 index bdfbafaa0613..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportCreateOrUpdate.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "RgTest1", - "workspaceName": "DeWnTest1234", - "dataExportName": "export1", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000", - "parameters": { - "properties": { - "destination": { - "resourceId": "/subscriptions/192b9f85-a39a-4276-b96d-d5cd351703f9/resourceGroups/OIAutoRest1234/providers/Microsoft.EventHub/namespaces/test" - }, - "tableNames": [ - "Heartbeat" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "dataExportId": "d5233afc-7829-4b89-c594-08d7975e19a5", - "destination": { - "resourceId": "/subscriptions/192b9f85-a39a-4276-b96d-d5cd351703f9/resourceGroups/OIAutoRest1234/providers/Microsoft.EventHub/namespaces/test", - "type": "EventHub" - }, - "tableNames": [ - "Heartbeat" - ], - "enable": true, - "createdDate": "Sun, 12 Jan 2020 12:51:10 GMT", - "lastModifiedDate": "Sun, 12 Jan 2020 12:51:10 GMT" - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/RgTest1/providers/microsoft.operationalinsights/workspaces/DeWnTest1234/export/export1", - "name": "export1", - "type": "Microsoft.OperationalInsights/workspaces/export" - } - }, - "201": { - "body": { - "properties": { - "dataExportId": "d5233afc-7829-4b89-c594-08d7975e19a5", - "destination": { - "resourceId": "/subscriptions/192b9f85-a39a-4276-b96d-d5cd351703f9/resourceGroups/OIAutoRest1234/providers/Microsoft.EventHub/namespaces/test", - "type": "EventHub" - }, - "tableNames": [ - "Heartbeat" - ], - "enable": true, - "createdDate": "Sun, 12 Jan 2020 12:51:10 GMT", - "lastModifiedDate": "Sun, 12 Jan 2020 12:51:10 GMT" - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/RgTest1/providers/microsoft.operationalinsights/workspaces/DeWnTest1234/export/export1", - "name": "export1", - "type": "Microsoft.OperationalInsights/workspaces/export" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportDelete.json deleted file mode 100644 index 9cb710cb6047..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "RgTest1", - "workspaceName": "DeWnTest1234", - "dataExportName": "export1", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": {}, - "404": {} - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportGet.json deleted file mode 100644 index 71df40eff220..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportGet.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "RgTest1", - "workspaceName": "DeWnTest1234", - "dataExportName": "export1", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "properties": { - "dataExportId": "d5233afc-7829-4b89-c594-08d7975e19a5", - "destination": { - "resourceId": "/subscriptions/192b9f85-a39a-4276-b96d-d5cd351703f9/resourceGroups/OIAutoRest1234/providers/Microsoft.EventHub/namespaces/test", - "type": "EventHub" - }, - "tableNames": [ - "Heartbeat" - ], - "enable": true, - "createdDate": "Sun, 12 Jan 2020 12:51:10 GMT", - "lastModifiedDate": "Sun, 12 Jan 2020 12:51:10 GMT" - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/RgTest1/providers/microsoft.operationalinsights/workspaces/DeWnTest1234/export/export1", - "name": "export1", - "type": "Microsoft.OperationalInsights/workspaces/export" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportListByWorkspace.json deleted file mode 100644 index b888d0e199e2..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataExportListByWorkspace.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "RgTest1", - "workspaceName": "DeWnTest1234", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "dataExportId": "d5233afc-7829-4b89-c594-08d7975e19a5", - "destination": { - "resourceId": "/subscriptions/192b9f85-a39a-4276-b96d-d5cd351703f9/resourceGroups/OIAutoRest1234/providers/Microsoft.EventHub/namespaces/test", - "type": "EventHub" - }, - "tableNames": [ - "Heartbeat" - ], - "enable": true, - "createdDate": "Sun, 12 Jan 2020 12:51:10 GMT", - "lastModifiedDate": "Sun, 12 Jan 2020 12:51:10 GMT" - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/RgTest1/providers/microsoft.operationalinsights/workspaces/DeWnTest1234/export/export1", - "name": "export1", - "type": "Microsoft.OperationalInsights/workspaces/export" - } - ] - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesCreate.json deleted file mode 100644 index 47d274b0d5f8..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesCreate.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "OIAutoRest5123", - "workspaceName": "AzTest9724", - "dataSourceName": "AzTestDS774", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000", - "parameters": { - "properties": { - "LinkedResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" - }, - "kind": "AzureActivityLog" - } - }, - "responses": { - "200": { - "body": { - "kind": "AzureActivityLog", - "properties": { - "linkedResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/datasources/AzTestDS774", - "etag": "W/\"datetime'2017-10-01T08%3A01%3A21.2351243Z'\"", - "name": "AzTestDS774", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - } - }, - "201": { - "body": { - "kind": "AzureActivityLog", - "properties": { - "linkedResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/datasources/AzTestDS774", - "etag": "W/\"datetime'2017-10-01T08%3A01%3A21.2351243Z'\"", - "name": "AzTestDS774", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesDelete.json deleted file mode 100644 index 14fa677a1030..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "OIAutoRest5123", - "workspaceName": "AzTest9724", - "dataSourceName": "AzTestDS774", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesGet.json deleted file mode 100644 index b76bfb4db63e..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesGet.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "OIAutoRest5123", - "workspaceName": "AzTest9724", - "dataSourceName": "AzTestDS774", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "kind": "AzureActivityLog", - "properties": { - "linkedResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/providers/microsoft.insights/eventtypes/management" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest5123/providers/Microsoft.OperationalInsights/workspaces/AzTest9724/datasources/AzTestDS774", - "etag": "W/\"datetime'2017-10-01T08%3A01%3A21.2351243Z'\"", - "name": "AzTestDS774", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesListByWorkspace.json deleted file mode 100644 index 81339691f5f4..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/DataSourcesListByWorkspace.json +++ /dev/null @@ -1,3019 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "OIAutoRest5123", - "workspaceName": "AzTest9724", - "dataSourceName": "AzTestDS774", - "$filter": "kind='WindowsEvent'", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent14", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1011", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A08.5629323Z'\"", - "name": "AzTestDSWE1011", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent64", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1013", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A22.2533211Z'\"", - "name": "AzTestDSWE1013", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent202", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1020", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A04.4645698Z'\"", - "name": "AzTestDSWE1020", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent231", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1074", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A12.5871672Z'\"", - "name": "AzTestDSWE1074", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent86", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1117", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A28.9325389Z'\"", - "name": "AzTestDSWE1117", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent30", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1128", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A13.2185735Z'\"", - "name": "AzTestDSWE1128", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent66", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1176", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A22.7779289Z'\"", - "name": "AzTestDSWE1176", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent199", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1293", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A03.5114136Z'\"", - "name": "AzTestDSWE1293", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent102", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE134", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A33.6788897Z'\"", - "name": "AzTestDSWE134", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent111", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1352", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A36.2312139Z'\"", - "name": "AzTestDSWE1352", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent31", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1360", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A13.4685716Z'\"", - "name": "AzTestDSWE1360", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent53", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1382", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A19.2840543Z'\"", - "name": "AzTestDSWE1382", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent132", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1410", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A42.7070374Z'\"", - "name": "AzTestDSWE1410", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent211", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1417", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A06.8922838Z'\"", - "name": "AzTestDSWE1417", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent274", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1560", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A26.6932412Z'\"", - "name": "AzTestDSWE1560", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent212", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1618", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A07.1422661Z'\"", - "name": "AzTestDSWE1618", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent221", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1662", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A09.5980265Z'\"", - "name": "AzTestDSWE1662", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent121", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1675", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A39.6167744Z'\"", - "name": "AzTestDSWE1675", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent157", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE169", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A50.1064668Z'\"", - "name": "AzTestDSWE169", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent196", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1735", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A02.4954752Z'\"", - "name": "AzTestDSWE1735", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent12", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1742", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A08.0452997Z'\"", - "name": "AzTestDSWE1742", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent145", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1815", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A46.5966089Z'\"", - "name": "AzTestDSWE1815", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent69", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1828", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A23.6529754Z'\"", - "name": "AzTestDSWE1828", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent58", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE188", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A20.7216320Z'\"", - "name": "AzTestDSWE188", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent48", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1962", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A17.9341560Z'\"", - "name": "AzTestDSWE1962", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent246", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE1997", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A17.3081821Z'\"", - "name": "AzTestDSWE1997", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent154", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2046", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A49.2918213Z'\"", - "name": "AzTestDSWE2046", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent165", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2056", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A52.4111189Z'\"", - "name": "AzTestDSWE2056", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent172", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2116", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A54.7598026Z'\"", - "name": "AzTestDSWE2116", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent9", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2142", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A07.2711237Z'\"", - "name": "AzTestDSWE2142", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent150", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE22", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A48.2064500Z'\"", - "name": "AzTestDSWE22", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent218", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2208", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A08.7849248Z'\"", - "name": "AzTestDSWE2208", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent161", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2221", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A51.3306230Z'\"", - "name": "AzTestDSWE2221", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent75", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2226", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A25.5991266Z'\"", - "name": "AzTestDSWE2226", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent38", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2231", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A15.3592513Z'\"", - "name": "AzTestDSWE2231", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent208", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2242", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A06.0641077Z'\"", - "name": "AzTestDSWE2242", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent228", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2263", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A11.7829226Z'\"", - "name": "AzTestDSWE2263", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent259", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2369", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A21.5874093Z'\"", - "name": "AzTestDSWE2369", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent210", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE240", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A06.6266574Z'\"", - "name": "AzTestDSWE240", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent265", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2423", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A23.4752361Z'\"", - "name": "AzTestDSWE2423", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent112", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2463", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A36.5611370Z'\"", - "name": "AzTestDSWE2463", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent32", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2499", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A13.7187131Z'\"", - "name": "AzTestDSWE2499", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent220", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2509", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A09.3324224Z'\"", - "name": "AzTestDSWE2509", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent87", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2541", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A29.2312540Z'\"", - "name": "AzTestDSWE2541", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent2", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2578", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A05.3117461Z'\"", - "name": "AzTestDSWE2578", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent119", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2619", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A38.5379572Z'\"", - "name": "AzTestDSWE2619", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent1", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE274", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A05.0735592Z'\"", - "name": "AzTestDSWE274", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent92", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2754", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A30.6297451Z'\"", - "name": "AzTestDSWE2754", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent205", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE281", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A05.2972963Z'\"", - "name": "AzTestDSWE281", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent101", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2818", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A33.3820072Z'\"", - "name": "AzTestDSWE2818", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent236", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2860", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A14.0876077Z'\"", - "name": "AzTestDSWE2860", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent93", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2867", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A30.9266089Z'\"", - "name": "AzTestDSWE2867", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent278", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2923", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A27.9342580Z'\"", - "name": "AzTestDSWE2923", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent138", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE2979", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A44.4311007Z'\"", - "name": "AzTestDSWE2979", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent217", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3009", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A08.5349323Z'\"", - "name": "AzTestDSWE3009", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent269", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3033", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A24.9696296Z'\"", - "name": "AzTestDSWE3033", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent49", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3095", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A18.2006423Z'\"", - "name": "AzTestDSWE3095", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent118", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3114", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A38.2879169Z'\"", - "name": "AzTestDSWE3114", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent116", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3132", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A37.6889867Z'\"", - "name": "AzTestDSWE3132", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent185", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3147", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A58.9331954Z'\"", - "name": "AzTestDSWE3147", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent109", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3159", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A35.6843083Z'\"", - "name": "AzTestDSWE3159", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent46", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE317", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A17.4118415Z'\"", - "name": "AzTestDSWE317", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent107", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3175", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A35.0592573Z'\"", - "name": "AzTestDSWE3175", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent28", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3183", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A12.6247906Z'\"", - "name": "AzTestDSWE3183", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent237", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3217", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A14.4938899Z'\"", - "name": "AzTestDSWE3217", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent62", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3220", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A21.7373059Z'\"", - "name": "AzTestDSWE3220", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent51", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3228", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A18.7785353Z'\"", - "name": "AzTestDSWE3228", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent171", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3395", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A54.4936956Z'\"", - "name": "AzTestDSWE3395", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent63", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3416", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A22.0032694Z'\"", - "name": "AzTestDSWE3416", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent280", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3506", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A28.8251658Z'\"", - "name": "AzTestDSWE3506", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent23", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3517", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A11.2153209Z'\"", - "name": "AzTestDSWE3517", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent229", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3528", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A12.0402565Z'\"", - "name": "AzTestDSWE3528", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent136", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3530", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A43.8027590Z'\"", - "name": "AzTestDSWE3530", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent194", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3594", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A01.9173304Z'\"", - "name": "AzTestDSWE3594", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent191", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3615", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A00.8990889Z'\"", - "name": "AzTestDSWE3615", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent242", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3645", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A16.0877829Z'\"", - "name": "AzTestDSWE3645", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent11", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3676", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A07.8068460Z'\"", - "name": "AzTestDSWE3676", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent155", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3700", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A49.5439700Z'\"", - "name": "AzTestDSWE3700", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent117", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3738", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A38.0363694Z'\"", - "name": "AzTestDSWE3738", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent159", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3740", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A50.6390339Z'\"", - "name": "AzTestDSWE3740", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent95", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3754", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A31.5203823Z'\"", - "name": "AzTestDSWE3754", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent96", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3761", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A31.7860159Z'\"", - "name": "AzTestDSWE3761", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent56", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3787", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A20.0966078Z'\"", - "name": "AzTestDSWE3787", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent181", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3880", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A57.8394298Z'\"", - "name": "AzTestDSWE3880", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent160", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3887", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A51.0806178Z'\"", - "name": "AzTestDSWE3887", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent244", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3899", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A16.6987634Z'\"", - "name": "AzTestDSWE3899", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent127", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE3928", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A41.4223363Z'\"", - "name": "AzTestDSWE3928", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent186", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4005", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A59.1831854Z'\"", - "name": "AzTestDSWE4005", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent288", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4021", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A31.5314824Z'\"", - "name": "AzTestDSWE4021", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent193", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4054", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A01.6667691Z'\"", - "name": "AzTestDSWE4054", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent133", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE406", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A42.9581303Z'\"", - "name": "AzTestDSWE406", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent88", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4128", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A29.4890798Z'\"", - "name": "AzTestDSWE4128", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent189", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4140", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A00.2051432Z'\"", - "name": "AzTestDSWE4140", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent183", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4209", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A58.3706603Z'\"", - "name": "AzTestDSWE4209", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent67", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4216", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A23.1240354Z'\"", - "name": "AzTestDSWE4216", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent294", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4240", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A33.5368097Z'\"", - "name": "AzTestDSWE4240", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent91", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4279", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A30.3641074Z'\"", - "name": "AzTestDSWE4279", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent273", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4289", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A26.3963554Z'\"", - "name": "AzTestDSWE4289", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent148", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4317", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A47.6751803Z'\"", - "name": "AzTestDSWE4317", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent4", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4324", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A05.8120517Z'\"", - "name": "AzTestDSWE4324", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent201", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4362", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A04.1208323Z'\"", - "name": "AzTestDSWE4362", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent13", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4416", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A08.3109506Z'\"", - "name": "AzTestDSWE4416", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent153", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4424", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A48.9744951Z'\"", - "name": "AzTestDSWE4424", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent52", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4466", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A19.0457713Z'\"", - "name": "AzTestDSWE4466", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent37", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4467", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A15.0936374Z'\"", - "name": "AzTestDSWE4467", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent129", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4503", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A41.9399246Z'\"", - "name": "AzTestDSWE4503", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent276", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4521", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A27.2714771Z'\"", - "name": "AzTestDSWE4521", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent79", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4530", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A26.7419933Z'\"", - "name": "AzTestDSWE4530", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent115", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4600", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A37.4227966Z'\"", - "name": "AzTestDSWE4600", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent135", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4644", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A43.5519204Z'\"", - "name": "AzTestDSWE4644", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent162", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4694", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A51.6431386Z'\"", - "name": "AzTestDSWE4694", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent5", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4715", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A06.0530002Z'\"", - "name": "AzTestDSWE4715", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent267", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE472", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A24.3989962Z'\"", - "name": "AzTestDSWE472", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent243", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4721", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A16.3706498Z'\"", - "name": "AzTestDSWE4721", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent295", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4734", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A33.8337155Z'\"", - "name": "AzTestDSWE4734", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent270", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4755", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A25.2712759Z'\"", - "name": "AzTestDSWE4755", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent81", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4779", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A27.5076680Z'\"", - "name": "AzTestDSWE4779", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent0", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4791", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A04.6828938Z'\"", - "name": "AzTestDSWE4791", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent170", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4798", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A54.0073520Z'\"", - "name": "AzTestDSWE4798", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent263", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE480", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A22.9077505Z'\"", - "name": "AzTestDSWE480", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent25", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4847", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A11.7028912Z'\"", - "name": "AzTestDSWE4847", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent204", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4876", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A04.9847854Z'\"", - "name": "AzTestDSWE4876", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent68", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4900", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A23.4029367Z'\"", - "name": "AzTestDSWE4900", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent105", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4918", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A34.5280091Z'\"", - "name": "AzTestDSWE4918", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent296", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4928", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A34.2882196Z'\"", - "name": "AzTestDSWE4928", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent293", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4930", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A33.2381803Z'\"", - "name": "AzTestDSWE4930", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent113", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4945", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A36.8423994Z'\"", - "name": "AzTestDSWE4945", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent15", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4967", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A08.9379456Z'\"", - "name": "AzTestDSWE4967", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent180", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4969", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A57.5893926Z'\"", - "name": "AzTestDSWE4969", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent54", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE4983", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A19.5497139Z'\"", - "name": "AzTestDSWE4983", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent151", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5011", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A48.4588661Z'\"", - "name": "AzTestDSWE5011", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent290", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5082", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A32.2694295Z'\"", - "name": "AzTestDSWE5082", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent248", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5136", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A17.8863220Z'\"", - "name": "AzTestDSWE5136", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent206", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5141", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A05.5484906Z'\"", - "name": "AzTestDSWE5141", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent266", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5166", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A23.9283342Z'\"", - "name": "AzTestDSWE5166", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent282", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5207", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A29.4970655Z'\"", - "name": "AzTestDSWE5207", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent203", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5223", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A04.7146038Z'\"", - "name": "AzTestDSWE5223", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent20", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5233", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A10.3237629Z'\"", - "name": "AzTestDSWE5233", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent249", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5253", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A18.1831872Z'\"", - "name": "AzTestDSWE5253", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent286", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5255", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A30.9049829Z'\"", - "name": "AzTestDSWE5255", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent29", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5263", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A12.8904269Z'\"", - "name": "AzTestDSWE5263", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent255", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5351", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A20.4543884Z'\"", - "name": "AzTestDSWE5351", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent55", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5385", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A19.7997319Z'\"", - "name": "AzTestDSWE5385", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent89", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5394", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A29.7703365Z'\"", - "name": "AzTestDSWE5394", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent17", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE541", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A09.4692151Z'\"", - "name": "AzTestDSWE541", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent241", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5439", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A15.7994161Z'\"", - "name": "AzTestDSWE5439", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent223", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5460", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A10.3032105Z'\"", - "name": "AzTestDSWE5460", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent268", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5479", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A24.6802546Z'\"", - "name": "AzTestDSWE5479", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent192", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5483", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A01.1670463Z'\"", - "name": "AzTestDSWE5483", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent114", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5486", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A37.1393156Z'\"", - "name": "AzTestDSWE5486", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent126", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5554", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A41.1205470Z'\"", - "name": "AzTestDSWE5554", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent256", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5559", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A20.7200407Z'\"", - "name": "AzTestDSWE5559", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent50", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5585", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A18.4534330Z'\"", - "name": "AzTestDSWE5585", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent125", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE568", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A40.8861587Z'\"", - "name": "AzTestDSWE568", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent230", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5741", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A12.3059271Z'\"", - "name": "AzTestDSWE5741", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent120", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE58", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A39.0692471Z'\"", - "name": "AzTestDSWE58", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent44", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5810", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A16.9117573Z'\"", - "name": "AzTestDSWE5810", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent141", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5815", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A45.4055476Z'\"", - "name": "AzTestDSWE5815", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent173", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5858", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A55.0097893Z'\"", - "name": "AzTestDSWE5858", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent251", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5866", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A18.9931389Z'\"", - "name": "AzTestDSWE5866", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent187", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5888", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A59.4332080Z'\"", - "name": "AzTestDSWE5888", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent18", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE5905", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A09.7599986Z'\"", - "name": "AzTestDSWE5905", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent224", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6027", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A10.6395291Z'\"", - "name": "AzTestDSWE6027", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent235", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE607", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A13.7282386Z'\"", - "name": "AzTestDSWE607", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent100", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6099", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A33.1319662Z'\"", - "name": "AzTestDSWE6099", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent6", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6122", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A06.3186640Z'\"", - "name": "AzTestDSWE6122", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent24", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6218", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A11.4528829Z'\"", - "name": "AzTestDSWE6218", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent149", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE622", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A47.9407875Z'\"", - "name": "AzTestDSWE622", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent209", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6222", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A06.3453921Z'\"", - "name": "AzTestDSWE6222", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent60", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6240", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A21.2372832Z'\"", - "name": "AzTestDSWE6240", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent216", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6251", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A08.2849036Z'\"", - "name": "AzTestDSWE6251", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent195", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6274", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A02.1829375Z'\"", - "name": "AzTestDSWE6274", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent98", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6296", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A32.3491070Z'\"", - "name": "AzTestDSWE6296", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent261", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6301", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A22.1811938Z'\"", - "name": "AzTestDSWE6301", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent7", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6404", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A06.7093003Z'\"", - "name": "AzTestDSWE6404", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent3", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6406", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A05.5617435Z'\"", - "name": "AzTestDSWE6406", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent123", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6432", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A40.2886854Z'\"", - "name": "AzTestDSWE6432", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent110", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6439", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A35.9811949Z'\"", - "name": "AzTestDSWE6439", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent233", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6451", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A13.1344490Z'\"", - "name": "AzTestDSWE6451", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent22", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6486", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A10.9653354Z'\"", - "name": "AzTestDSWE6486", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent19", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6505", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A10.0582011Z'\"", - "name": "AzTestDSWE6505", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent166", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6514", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A52.8955201Z'\"", - "name": "AzTestDSWE6514", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent225", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6518", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A10.9395226Z'\"", - "name": "AzTestDSWE6518", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent70", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6537", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A24.0123335Z'\"", - "name": "AzTestDSWE6537", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent179", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6547", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A57.3394082Z'\"", - "name": "AzTestDSWE6547", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent103", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6556", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A33.9457044Z'\"", - "name": "AzTestDSWE6556", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent234", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6718", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A13.4313542Z'\"", - "name": "AzTestDSWE6718", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent108", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6724", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A35.4186784Z'\"", - "name": "AzTestDSWE6724", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent27", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6741", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A12.3279180Z'\"", - "name": "AzTestDSWE6741", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent72", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6796", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A24.5764501Z'\"", - "name": "AzTestDSWE6796", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent299", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6826", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A35.2579899Z'\"", - "name": "AzTestDSWE6826", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent297", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6829", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A34.6319483Z'\"", - "name": "AzTestDSWE6829", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent85", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6893", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A28.5887776Z'\"", - "name": "AzTestDSWE6893", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent41", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE6974", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A16.1249736Z'\"", - "name": "AzTestDSWE6974", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent279", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7008", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A28.3876585Z'\"", - "name": "AzTestDSWE7008", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent281", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7014", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A29.1220764Z'\"", - "name": "AzTestDSWE7014", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent272", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7068", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A26.0213457Z'\"", - "name": "AzTestDSWE7068", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent260", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7080", - "etag": "W/\"datetime'2017-10-02T23%3A21%3A21.8686663Z'\"", - "name": "AzTestDSWE7080", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent124", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7166", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A40.5423724Z'\"", - "name": "AzTestDSWE7166", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - }, - { - "kind": "WindowsEvent", - "properties": { - "eventLogName": "windowsEvent42", - "eventTypes": [ - { - "eventType": "Error" - } - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/datasources/AzTestDSWE7178", - "etag": "W/\"datetime'2017-10-02T23%3A20%3A16.3906307Z'\"", - "name": "AzTestDSWE7178", - "type": "Microsoft.OperationalInsights/workspaces/datasources" - } - ], - "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest7887/providers/Microsoft.OperationalInsights/workspaces/AzTest218/dataSources?$filter=kind+eq+'WindowsEvent'&api-version=2020-08-01&$skiptoken=AzTestDSWE7191" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesCreate.json deleted file mode 100644 index 35a2bb212788..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesCreate.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "mms-eus", - "workspaceName": "TestLinkWS", - "linkedServiceName": "Cluster", - "parameters": { - "properties": { - "writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/testcluster" - } - }, - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "202": {}, - "200": { - "body": { - "properties": { - "writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/testcluster", - "provisioningState": "ProvisioningAccount" - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/cluster", - "name": "TestLinkWS/Cluster", - "type": "Microsoft.OperationalInsights/workspaces/linkedServices" - } - }, - "201": { - "body": { - "properties": { - "writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/testcluster", - "provisioningState": "ProvisioningAccount" - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/cluster", - "name": "TestLinkWS/Cluster", - "type": "Microsoft.OperationalInsights/workspaces/linkedServices" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesDelete.json deleted file mode 100644 index fc1b5639b9ab..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesDelete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "linkedServiceName": "Cluster", - "workspaceName": "TestLinkWS", - "resourceGroupName": "rg1", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "202": {}, - "200": { - "body": { - "properties": { - "writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/testcluster", - "provisioningState": "Deleting" - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/cluster", - "name": "TestLinkWS/Cluster", - "type": "Microsoft.OperationalInsights/workspaces/linkedServices" - } - }, - "204": {} - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesGet.json deleted file mode 100644 index a0b0ceb850d3..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesGet.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "mms-eus", - "workspaceName": "TestLinkWS", - "linkedServiceName": "Cluster", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "properties": { - "writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/testcluster", - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/cluster", - "name": "TestLinkWS/Cluster", - "type": "Microsoft.OperationalInsights/workspaces/linkedServices" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesListByWorkspace.json deleted file mode 100644 index 8896af9e14fc..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedServicesListByWorkspace.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "mms-eus", - "workspaceName": "TestLinkWS", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.Automation/automationAccounts/TestAccount", - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/automation", - "name": "TestLinkWS/Automation", - "type": "Microsoft.OperationalInsights/workspaces/linkedServices" - }, - { - "properties": { - "writeAccessResourceId": "/subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/clusters/TestCluster", - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testlinkws/linkedservices/cluster", - "name": "TestLinkWS/Cluster", - "type": "Microsoft.OperationalInsights/workspaces/linkedServices" - } - ] - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsCreate.json deleted file mode 100644 index c746a232e3d1..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsCreate.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "mms-eus", - "workspaceName": "testLinkStorageAccountsWS", - "dataSourceType": "CustomLogs", - "parameters": { - "properties": { - "storageAccountIds": [ - "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageA", - "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageB" - ] - } - }, - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "properties": { - "dataSourceType": "CustomLogs", - "storageAccountIds": [ - "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageA", - "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageB" - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testLinkStorageAccountsWS/linkedStorageAccounts/CustomLogs", - "name": "CustomLogs", - "type": "Microsoft.OperationalInsights/workspaces/linkedStorageAccounts" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsDelete.json deleted file mode 100644 index 683a6a042621..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsDelete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "dataSourceType": "CustomLogs", - "workspaceName": "testLinkStorageAccountsWS", - "resourceGroupName": "mms-eus", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": {} - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsGet.json deleted file mode 100644 index 1afdc57efc01..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsGet.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "mms-eus", - "workspaceName": "testLinkStorageAccountsWS", - "dataSourceType": "CustomLogs", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "properties": { - "dataSourceType": "CustomLogs", - "storageAccountIds": [ - "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageA", - "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageB" - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testLinkStorageAccountsWS/linkedStorageAccounts/CustomLogs", - "name": "CustomLogs", - "type": "Microsoft.OperationalInsights/workspaces/linkedStorageAccounts" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsListByWorkspace.json deleted file mode 100644 index bd8985adeb7c..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/LinkedStorageAccountsListByWorkspace.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "mms-eus", - "workspaceName": "testLinkStorageAccountsWS", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "dataSourceType": "CustomLogs", - "storageAccountIds": [ - "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageA", - "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageB" - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testLinkStorageAccountsWS/linkedStorageAccounts/CustomLogs", - "name": "CustomLogs", - "type": "Microsoft.OperationalInsights/workspaces/linkedStorageAccounts" - }, - { - "properties": { - "dataSourceType": "AzureWatson", - "storageAccountIds": [ - "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageA", - "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageC" - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testLinkStorageAccountsWS/linkedStorageAccounts/AzureWatson", - "name": "AzureWatson", - "type": "Microsoft.OperationalInsights/workspaces/linkedStorageAccounts" - }, - { - "properties": { - "dataSourceType": "Query", - "storageAccountIds": [ - "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageA", - "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageC" - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testLinkStorageAccountsWS/linkedStorageAccounts/Query", - "name": "Query", - "type": "Microsoft.OperationalInsights/workspaces/linkedStorageAccounts" - }, - { - "properties": { - "dataSourceType": "Alerts", - "storageAccountIds": [ - "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageA", - "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/mms-eus/providers/Microsoft.Storage/storageAccounts/testStorageC" - ] - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/mms-eus/providers/microsoft.operationalinsights/workspaces/testLinkStorageAccountsWS/linkedStorageAccounts/Alerts", - "name": "Alerts", - "type": "Microsoft.OperationalInsights/workspaces/linkedStorageAccounts" - } - ] - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationStatusesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationStatusesGet.json deleted file mode 100644 index a8724943c27c..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationStatusesGet.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60", - "location": "West US", - "asyncOperationId": "713192d7-503f-477a-9cfe-4efc3ee2bd11", - "api-version": "2021-12-01-preview" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/locations/westus/operationStatuses/713192d7-503f-477a-9cfe-4efc3ee2bd11", - "name": "713192d7-503f-477a-9cfe-4efc3ee2bd11", - "startTime": "2017-01-01T13:13:13.933Z", - "endTime": "2017-01-01T16:13:13.933Z", - "status": "Succeeded" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationsListByTenant.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationsListByTenant.json deleted file mode 100644 index daa57d486f71..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationsListByTenant.json +++ /dev/null @@ -1,327 +0,0 @@ -{ - "parameters": { - "api-version": "2021-12-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.OperationalInsights/workspaces/write", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Workspace", - "operation": "Create Workspace", - "description": "Creates a new workspace or links to an existing workspace by providing the customer id from the existing workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Workspace", - "operation": "Get Workspace", - "description": "Gets an existing workspace" - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/delete", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Workspace", - "operation": "Delete Workspace", - "description": "Deletes a workspace. If the workspace was linked to an existing workspace at creation time then the workspace it was linked to is not deleted." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/generateregistrationcertificate/action", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Registration Certificate", - "operation": "Generates Registration Certificate for Workspace.", - "description": "Generates Registration Certificate for the workspace. This Certificate is used to connect Microsoft System Center Operation Manager to the workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/write", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Storage Insight Configuration", - "operation": "Create Storage Configuration", - "description": "Creates a new storage configuration. These configurations are used to pull data from a location in an existing storage account." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Storage Insight Configuration", - "operation": "Get Storage Configuration", - "description": "Gets a storage configuration." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/delete", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Storage Insight Configuration", - "operation": "Delete Storage Configuration", - "description": "Deletes a storage configuration. This will stop Microsoft Operational Insights from reading data from the storage account." - } - }, - { - "name": "Microsoft.OperationalInsights/register/action", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Register", - "operation": "Register a subscription to a resource provider.", - "description": "Register a subscription to a resource provider." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/sharedKeys/action", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Shared Keys", - "operation": "List Workspace Shared Keys", - "description": "Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/sharedKeys/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Shared Keys", - "operation": "List Workspace Shared Keys", - "description": "Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/listKeys/action", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "List Keys", - "operation": "List Workspace Keys", - "description": "Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/listKeys/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "List Keys", - "operation": "List Workspace Keys", - "description": "Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/managementGroups/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Management Group", - "operation": "Get Management Groups for Workspace", - "description": "Gets the names and metadata for System Center Operations Manager management groups connected to this workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/usages/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Usage Metric", - "operation": "Get Usage Data for Workspace", - "description": "Gets usage data for a workspace including the amount of data read by the workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/search/action", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Search", - "operation": "Search Workspace Data", - "description": "Executes a search query" - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/schema/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Search Schema", - "operation": "Get Search Schema", - "description": "Gets the search schema for the workspace. Search schema includes the exposed fields and their types." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/datasources/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Data Source", - "operation": "Get datasources under a workspace.", - "description": "Get datasources under a workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/datasources/write", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Data Source", - "operation": "Create/Update datasources under a workspace.", - "description": "Create/Update datasources under a workspace." - } - }, - {}, - {}, - {}, - {}, - { - "name": "Microsoft.OperationalInsights/workspaces/notificationSettings/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Notification Settings", - "operation": "Get Notification Settings", - "description": "Get the user's notification settings for the workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/notificationSettings/write", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Notification Settings", - "operation": "Put Notification Settings", - "description": "Set the user's notification settings for the workspace." - } - }, - {}, - {}, - {}, - { - "name": "Microsoft.OperationalInsights/workspaces/configurationScopes/delete", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Configuration Scope", - "operation": "Delete Configuration Scope", - "description": "Delete Configuration Scope" - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/linkedServices/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Linked Services", - "operation": "Get linked services under given workspace.", - "description": "Get linked services under given workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/linkedServices/write", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Linked Services", - "operation": "Create/Update linked services under given workspace.", - "description": "Create/Update linked services under given workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/linkedServices/delete", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Linked Services", - "operation": "Delete linked services under given workspace.", - "description": "Delete linked services under given workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Intelligence Packs", - "operation": "List Intelligence Packs", - "description": "Lists all intelligence packs that are visible for a given worksapce and also lists whether the pack is enabled or disabled for that workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/enable/action", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Intelligence Packs", - "operation": "Enable Intelligence Pack", - "description": "Enables an intelligence pack for a given workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/disable/action", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Intelligence Packs", - "operation": "Disable Intelligence Pack", - "description": "Disables an intelligence pack for a given workspace." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/analytics/query/action", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "analytics", - "operation": "Search using new engine.", - "description": "Search using new engine." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/analytics/query/schema/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "analytics", - "operation": "Get search schema V2.", - "description": "Get search schema V2." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/api/query/action", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "analytics", - "operation": "Search using new engine.", - "description": "Search using new engine." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/api/query/schema/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "analytics", - "operation": "Get search schema V2.", - "description": "Get search schema V2." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/purge/action", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "analytics", - "operation": "Delete specified data from workspace", - "description": "Delete specified data from workspace" - } - }, - { - "name": "Microsoft.OperationalInsights/linkTargets/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Unlinked Account", - "operation": "List Unlinked Accounts", - "description": "Lists existing accounts that are not associated with an Azure subscription. To link this Azure subscription to a workspace, use a customer id returned by this operation in the customer id property of the Create Workspace operation." - } - }, - { - "name": "Microsoft.OperationalInsights/workspaces/metricDefinitions/read", - "display": { - "provider": "Microsoft Operational Insights", - "resource": "Metric Definitions", - "operation": "Metric Definition operation", - "description": "Get Metric Definitions under workspace" - } - } - ], - "nextLink": "" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesGetSchema.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesGetSchema.json deleted file mode 100644 index 0228af67797f..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesGetSchema.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "mms-eus", - "workspaceName": "atlantisdemo", - "api-version": "2021-12-01-preview", - "parameters": { - "top": 25, - "query": "*" - }, - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "metadata": { - "schema": { - "name": "CloudOps", - "version": 2 - }, - "resultType": "schema", - "requestTime": 28 - }, - "value": [ - { - "name": "TenantId", - "displayName": "TenantId", - "type": "Guid", - "indexed": true, - "stored": false, - "facet": false, - "ownerType": [ - "Alert", - "AzureActivity", - "AzureAudit", - "AzureMetrics", - "ComputerGroup", - "ETWEvent", - "Event", - "ExtraHopDBLogin", - "ExtraHopDBTransaction", - "ExtraHopDNSResponse", - "ExtraHopFTPResponse", - "ExtraHopHTTPTransaction", - "ExtraHopSMTPMessage", - "ExtraHopSYNScanDetect", - "ExtraHopTCPOpen", - "Heartbeat", - "Operation", - "Perf", - "ReservedAzureCommonFields", - "ReservedCommonFields", - "ServiceFabricOperationalEvent", - "ServiceFabricReliableActorEvent", - "ServiceFabricReliableServiceEvent", - "Syslog", - "Usage", - "W3CIISLog" - ] - } - ] - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesListByWorkspace.json deleted file mode 100644 index 08f583c4e313..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/SavedSearchesListByWorkspace.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "TestRG", - "workspaceName": "TestWS", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": [ - { - "id": "subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/AtlantisDemo/savedSearches/test-new-saved-search-id-2015", - "etag": "W/\"datetime'2017-10-02T23%3A15%3A41.0709875Z'\"", - "properties": { - "Category": " Saved Search Test Category", - "DisplayName": "Create or Update Saved Search Test", - "Query": "* | measure Count() by Computer", - "Tags": [ - { - "Name": "Group", - "Value": "Computer" - } - ], - "Version": 1 - } - } - ] - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsCreateOrUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsCreateOrUpdate.json deleted file mode 100644 index 5d6a4fcaec0d..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsCreateOrUpdate.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "OIAutoRest5123", - "workspaceName": "aztest5048", - "storageInsightName": "AzTestSI1110", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000", - "parameters": { - "properties": { - "containers": [ - "wad-iis-logfiles" - ], - "tables": [ - "WADWindowsEventLogsTable", - "LinuxSyslogVer2v0" - ], - "storageAccount": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", - "key": "1234" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "containers": [ - "wad-iis-logfiles" - ], - "tables": [ - "WADWindowsEventLogsTable", - "LinuxSyslogVer2v0" - ], - "storageAccount": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", - "key": "Storage Key" - }, - "status": { - "state": "OK" - } - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", - "name": "AzTestSI1110", - "type": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs" - } - }, - "201": { - "body": { - "properties": { - "containers": [ - "wad-iis-logfiles" - ], - "tables": [ - "WADWindowsEventLogsTable", - "LinuxSyslogVer2v0" - ], - "storageAccount": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", - "key": "Storage Key" - }, - "status": { - "state": "OK" - } - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", - "name": "AzTestSI1110", - "type": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsDelete.json deleted file mode 100644 index 509f8a3a9248..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "OIAutoRest5123", - "workspaceName": "aztest5048", - "storageInsightName": "AzTestSI1110", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsGet.json deleted file mode 100644 index f36d9f9a234f..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsGet.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "OIAutoRest5123", - "workspaceName": "aztest5048", - "storageInsightName": "AzTestSI1110", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "properties": { - "containers": [ - "wad-iis-logfiles" - ], - "tables": [ - "WADWindowsEventLogsTable", - "LinuxSyslogVer2v0" - ], - "storageAccount": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945", - "key": "Storage Account Key" - }, - "status": { - "state": "OK" - } - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", - "name": "AzTestSI1110", - "type": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsListByWorkspace.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsListByWorkspace.json deleted file mode 100644 index a09d92a0d97b..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/StorageInsightsListByWorkspace.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "OIAutoRest5123", - "workspaceName": "aztest5048", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": [ - { - "properties": { - "containers": [ - "wad-iis-logfiles" - ], - "tables": [ - "WADWindowsEventLogsTable", - "LinuxSyslogVer2v0" - ], - "storageAccount": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/OIAutoRest6987/providers/microsoft.storage/storageaccounts/AzTestFakeSA9945" - }, - "status": { - "state": "OK" - } - }, - "id": "/subscriptions/00000000-0000-0000-0000-000000000005/resourcegroups/oiautorest6987/providers/microsoft.operationalinsights/workspaces/aztest5048/storageinsightconfigs/AzTestSI1110", - "name": "AzTestSI1110", - "type": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs" - } - ] - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesAvailableServiceTiers.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesAvailableServiceTiers.json deleted file mode 100644 index b249df5212c8..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesAvailableServiceTiers.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "rg1", - "workspaceName": "workspace1", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": [ - { - "serviceTier": "PerNode", - "enabled": true, - "minimumRetention": 7, - "maximumRetention": 30, - "defaultRetention": 7 - }, - { - "serviceTier": "CapacityReservation", - "enabled": true, - "minimumRetention": 30, - "maximumRetention": 300, - "defaultRetention": 30, - "capacityReservationLevel": 200, - "lastSkuUpdate": "2020-02-04T08:55:03.871Z" - } - ] - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDeleteSavedSearches.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDeleteSavedSearches.json deleted file mode 100644 index 96f4c9c3b376..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDeleteSavedSearches.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "TestRG", - "workspaceName": "TestWS", - "savedSearchName": "SavedSearchName", - "api-version": "2021-12-01-preview", - "savedSearchId": "00000000-0000-0000-0000-00000000000", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": {} - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDisableIntelligencePack.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDisableIntelligencePack.json deleted file mode 100644 index 31cf8e944d1a..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesDisableIntelligencePack.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "rg1", - "workspaceName": "TestLinkWS", - "intelligencePackName": "ChangeTracking", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": {} - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesEnableIntelligencePack.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesEnableIntelligencePack.json deleted file mode 100644 index 31cf8e944d1a..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesEnableIntelligencePack.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "rg1", - "workspaceName": "TestLinkWS", - "intelligencePackName": "ChangeTracking", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": {} - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGatewaysDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGatewaysDelete.json deleted file mode 100644 index 050c7de23a2b..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGatewaysDelete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-00000000000", - "resourceGroupName": "OIAutoRest5123", - "workspaceName": "aztest5048", - "gatewayId": "00000000-0000-0000-0000-00000000000", - "api-version": "2021-12-01-preview" - }, - "responses": { - "200": {} - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGetSharedKeys.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGetSharedKeys.json deleted file mode 100644 index 22aba2acd6c2..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesGetSharedKeys.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "rg1", - "workspaceName": "TestLinkWS", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "primarySharedKey": "", - "secondarySharedKey": "" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListIntelligencePacks.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListIntelligencePacks.json deleted file mode 100644 index 5c211c79b674..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListIntelligencePacks.json +++ /dev/null @@ -1,244 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "rg1", - "workspaceName": "TestLinkWS", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": [ - { - "name": "CapacityPerformance", - "enabled": false, - "displayName": "Capacity and Performance" - }, - { - "name": "AzureWebAppsAnalytics", - "enabled": false, - "displayName": "Azure Web Apps Analytics (Preview)" - }, - { - "name": "Security", - "enabled": false, - "displayName": "Security and Audit" - }, - { - "name": "Updates", - "enabled": false, - "displayName": "Update Management" - }, - { - "name": "AntiMalware", - "enabled": false, - "displayName": "Antimalware Assessment" - }, - { - "name": "LogManagement", - "enabled": true, - "displayName": "Log Management" - }, - { - "name": "ChangeTracking", - "enabled": true, - "displayName": "Change Tracking" - }, - { - "name": "SQLAssessment", - "enabled": false, - "displayName": "SQL Assessment" - }, - { - "name": "SCOMAssessment", - "enabled": false, - "displayName": "System Center Operations Manager Assessment (Preview)" - }, - { - "name": "ServiceDesk", - "enabled": false, - "displayName": "IT Service Management Connector(Preview)" - }, - { - "name": "ADAssessment", - "enabled": false, - "displayName": "AD Assessment" - }, - { - "name": "AlertManagement", - "enabled": false, - "displayName": "Alert Management" - }, - { - "name": "AzureAutomation", - "enabled": false, - "displayName": "Azure Automation" - }, - { - "name": "WireData", - "enabled": false, - "displayName": "Wire Data" - }, - { - "name": "SiteRecovery", - "enabled": true, - "displayName": "Azure Site Recovery" - }, - { - "name": "Backup", - "enabled": false, - "displayName": "Backup" - }, - { - "name": "SurfaceHub", - "enabled": false, - "displayName": "Surface Hub" - }, - { - "name": "NetworkMonitoring", - "enabled": false, - "displayName": "Network Performance Monitor" - }, - { - "name": "Containers", - "enabled": false, - "displayName": "Container Monitoring Solution" - }, - { - "name": "ServiceMap", - "enabled": false, - "displayName": "Service Map" - }, - { - "name": "AzureNetworking", - "enabled": false, - "displayName": "Azure Networking Analytics (Deprecated)" - }, - { - "name": "ADReplication", - "enabled": false, - "displayName": "AD Replication Status" - }, - { - "name": "Office365", - "enabled": false, - "displayName": "Office 365 (Preview)" - }, - { - "name": "CompatibilityAssessment", - "enabled": false, - "displayName": "Upgrade Readiness" - }, - { - "name": "KeyVault", - "enabled": false, - "displayName": "Key Vault (Deprecated)" - }, - { - "name": "ServiceFabric", - "enabled": false, - "displayName": "Service Fabric" - }, - { - "name": "DnsAnalytics", - "enabled": false, - "displayName": "DNS Analytics (Preview)" - }, - { - "name": "ApplicationInsights", - "enabled": false, - "displayName": "Application Insights (Preview)" - }, - { - "name": "WireData2", - "enabled": false, - "displayName": "Wire Data 2.0" - }, - { - "name": "WaaSUpdateInsights", - "enabled": false, - "displayName": "Update Compliance (Preview)" - }, - { - "name": "AgentHealthAssessment", - "enabled": false, - "displayName": "Agent Health " - }, - { - "name": "AzureActivity", - "enabled": false, - "displayName": "Activity Log Analytics" - }, - { - "name": "HDInsight", - "enabled": false, - "displayName": "HDInsight HBase Monitoring (Preview)" - }, - { - "name": "HDInsightKafka", - "enabled": false, - "displayName": "HDInsight Kafka Monitoring" - }, - { - "name": "HDInsightSpark", - "enabled": false, - "displayName": "HDInsight Spark Monitoring" - }, - { - "name": "VMware", - "enabled": false, - "displayName": "VMware (Preview)" - }, - { - "name": "SecurityCenterFree", - "enabled": false, - "displayName": "Security Center Free � for Azure Resources only" - }, - { - "name": "LogicAppsManagement", - "enabled": false, - "displayName": "Logic Apps Management" - }, - { - "name": "LogicAppB2B", - "enabled": false, - "displayName": "Logic Apps B2B" - }, - { - "name": "AzureSQLAnalytics", - "enabled": false, - "displayName": "Azure SQL Analytics (Preview)" - }, - { - "name": "KeyVaultAnalytics", - "enabled": false, - "displayName": "Key Vault Analytics" - }, - { - "name": "AzureNSGAnalytics", - "enabled": false, - "displayName": "Azure Network Security Group Analytics" - }, - { - "name": "AzureAppGatewayAnalytics", - "enabled": false, - "displayName": "Azure Application Gateway Analytics" - }, - { - "name": "DeviceHealthProd", - "enabled": false, - "displayName": "Device Health (Preview)" - }, - { - "name": "WindowsDefenderATP", - "enabled": false, - "displayName": "Windows Defender ATP" - }, - { - "name": "ProcessInvestigator", - "enabled": false, - "displayName": "ProcessInvestigator" - } - ] - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListManagementGroups.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListManagementGroups.json deleted file mode 100644 index 4d5d65fd5f77..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListManagementGroups.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "rg1", - "workspaceName": "TestLinkWS", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "value": [] - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListUsages.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListUsages.json deleted file mode 100644 index 84f0aa133703..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesListUsages.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "rg1", - "workspaceName": "TestLinkWS", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": { - "value": "DataAnalyzed", - "localizedValue": "Data Analyzed" - }, - "unit": "Bytes", - "currentValue": 0.0, - "limit": 524288000.0, - "nextResetTime": "2017-10-03T00:00:00Z", - "quotaPeriod": "P1D" - } - ] - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurge.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurge.json deleted file mode 100644 index e6e60442401c..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurge.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "OIAutoRest5123", - "workspaceName": "aztest5048", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000", - "body": { - "table": "Heartbeat", - "filters": [ - { - "column": "TimeGenerated", - "operator": ">", - "value": "2017-09-01T00:00:00" - } - ] - } - }, - "responses": { - "202": { - "headers": { - "x-ms-status-location": "https://management.azure.com/subscriptions/b96161de-b34a-480f-7343-59b099299283/resourceGroups/example/providers/microsoft.operationalinsights/workspaces/test/operations/purge-970318e7-b859-4edb-8903-83b1b54d0b74?api-version=2020-08-01" - }, - "body": { - "operationId": "7d7cf277-9113-4ab3-8359-d0364b74d01d" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurgeOperation.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurgeOperation.json deleted file mode 100644 index 8238d6b4db28..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesPurgeOperation.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "OIAutoRest5123", - "workspaceName": "aztest5048", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000", - "purgeId": "purge-970318e7-b859-4edb-8903-83b1b54d0b74" - }, - "responses": { - "200": { - "body": { - "status": "completed" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesRegenerateSharedKeys.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesRegenerateSharedKeys.json deleted file mode 100644 index 75c6c7ab2394..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesRegenerateSharedKeys.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "rg1", - "workspaceName": "workspace1", - "api-version": "2021-12-01-preview", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "primarySharedKey": "", - "secondarySharedKey": "" - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesCreateOrUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesCreateOrUpdate.json deleted file mode 100644 index 0223e80a7aa7..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesCreateOrUpdate.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "TestRG", - "workspaceName": "TestWS", - "savedSearchName": "SavedSearchName", - "parameters": { - "properties": { - "category": "Saved Search Test Category", - "displayName": "Create or Update Saved Search Test", - "version": 2, - "functionAlias": "heartbeat_func", - "functionParameters": "a:int=1", - "query": "Heartbeat | summarize Count() by Computer | take a", - "tags": [ - { - "name": "Group", - "value": "Computer" - } - ] - } - }, - "api-version": "2021-12-01-preview", - "savedSearchId": "00000000-0000-0000-0000-00000000000", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "id": "subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/AtlantisDemo/savedSearches/test-new-saved-search-id-2015", - "etag": "W/\"datetime'2017-10-02T23%3A15%3A41.0709875Z'\"", - "properties": { - "category": "Saved Search Test Category", - "displayName": "Create or Update Saved Search Test", - "functionAlias": "heartbeat_func", - "functionParameters": "a:int=1", - "query": "Heartbeat | summarize Count() by Computer | take a", - "version": 2 - } - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesGet.json deleted file mode 100644 index a4bca44a4c89..000000000000 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspacesSavedSearchesGet.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "resourceGroupName": "TestRG", - "workspaceName": "TestWS", - "savedSearchName": "SavedSearchName", - "api-version": "2021-12-01-preview", - "savedSearchId": "00000000-0000-0000-0000-00000000000", - "subscriptionId": "00000000-0000-0000-0000-00000000000" - }, - "responses": { - "200": { - "body": { - "id": "subscriptions/00000000-0000-0000-0000-000000000005/resourceGroups/mms-eus/providers/Microsoft.OperationalInsights/workspaces/AtlantisDemo/savedSearches/test-new-saved-search-id-2015", - "etag": "W/\"datetime'2017-10-02T23%3A15%3A41.0709875Z'\"", - "properties": { - "category": " Saved Search Test Category", - "displayName": "Create or Update Saved Search Test", - "functionAlias": "heartbeat_func", - "functionParameters": "a:int=1", - "query": "* | measure Count() by Computer | take a", - "version": 1 - } - } - } - } -} diff --git a/specification/operationalinsights/resource-manager/readme.md b/specification/operationalinsights/resource-manager/readme.md index e9284454c0a0..2e7268c1e259 100644 --- a/specification/operationalinsights/resource-manager/readme.md +++ b/specification/operationalinsights/resource-manager/readme.md @@ -113,25 +113,8 @@ These settings apply only when `--tag=package-2021-12-01-preview` is specified o ``` yaml $(tag) == 'package-2021-12-01-preview' input-file: -- Microsoft.OperationalInsights/preview/2021-12-01-preview/DataExports.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/DataSources.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/IntelligencePacks.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedServices.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/LinkedStorageAccounts.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/ManagementGroups.json - Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/OperationStatuses.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/SharedKeys.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/Usages.json - Microsoft.OperationalInsights/preview/2021-12-01-preview/Workspaces.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/Clusters.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/StorageInsightConfigs.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/SavedSearches.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/AvailableServiceTiers.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/Gateways.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/Schema.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/SharedKeys.json -- Microsoft.OperationalInsights/preview/2021-12-01-preview/WorkspacePurge.json - Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json ``` From 636e80d5330e1eb526d4c1691285316e59b26514 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Thu, 23 Dec 2021 13:04:36 +0200 Subject: [PATCH 13/22] Create OperationsListByTenant.json --- .../examples/OperationsListByTenant.json | 327 ++++++++++++++++++ 1 file changed, 327 insertions(+) create mode 100644 specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationsListByTenant.json diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationsListByTenant.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationsListByTenant.json new file mode 100644 index 000000000000..daa57d486f71 --- /dev/null +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/OperationsListByTenant.json @@ -0,0 +1,327 @@ +{ + "parameters": { + "api-version": "2021-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.OperationalInsights/workspaces/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Workspace", + "operation": "Create Workspace", + "description": "Creates a new workspace or links to an existing workspace by providing the customer id from the existing workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Workspace", + "operation": "Get Workspace", + "description": "Gets an existing workspace" + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Workspace", + "operation": "Delete Workspace", + "description": "Deletes a workspace. If the workspace was linked to an existing workspace at creation time then the workspace it was linked to is not deleted." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/generateregistrationcertificate/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Registration Certificate", + "operation": "Generates Registration Certificate for Workspace.", + "description": "Generates Registration Certificate for the workspace. This Certificate is used to connect Microsoft System Center Operation Manager to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Storage Insight Configuration", + "operation": "Create Storage Configuration", + "description": "Creates a new storage configuration. These configurations are used to pull data from a location in an existing storage account." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Storage Insight Configuration", + "operation": "Get Storage Configuration", + "description": "Gets a storage configuration." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/storageinsightconfigs/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Storage Insight Configuration", + "operation": "Delete Storage Configuration", + "description": "Deletes a storage configuration. This will stop Microsoft Operational Insights from reading data from the storage account." + } + }, + { + "name": "Microsoft.OperationalInsights/register/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Register", + "operation": "Register a subscription to a resource provider.", + "description": "Register a subscription to a resource provider." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/sharedKeys/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Shared Keys", + "operation": "List Workspace Shared Keys", + "description": "Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/sharedKeys/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Shared Keys", + "operation": "List Workspace Shared Keys", + "description": "Retrieves the shared keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/listKeys/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "List Keys", + "operation": "List Workspace Keys", + "description": "Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/listKeys/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "List Keys", + "operation": "List Workspace Keys", + "description": "Retrieves the list keys for the workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/managementGroups/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Management Group", + "operation": "Get Management Groups for Workspace", + "description": "Gets the names and metadata for System Center Operations Manager management groups connected to this workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/usages/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Usage Metric", + "operation": "Get Usage Data for Workspace", + "description": "Gets usage data for a workspace including the amount of data read by the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/search/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Search", + "operation": "Search Workspace Data", + "description": "Executes a search query" + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/schema/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Search Schema", + "operation": "Get Search Schema", + "description": "Gets the search schema for the workspace. Search schema includes the exposed fields and their types." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/datasources/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Data Source", + "operation": "Get datasources under a workspace.", + "description": "Get datasources under a workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/datasources/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Data Source", + "operation": "Create/Update datasources under a workspace.", + "description": "Create/Update datasources under a workspace." + } + }, + {}, + {}, + {}, + {}, + { + "name": "Microsoft.OperationalInsights/workspaces/notificationSettings/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Notification Settings", + "operation": "Get Notification Settings", + "description": "Get the user's notification settings for the workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/notificationSettings/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Notification Settings", + "operation": "Put Notification Settings", + "description": "Set the user's notification settings for the workspace." + } + }, + {}, + {}, + {}, + { + "name": "Microsoft.OperationalInsights/workspaces/configurationScopes/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Configuration Scope", + "operation": "Delete Configuration Scope", + "description": "Delete Configuration Scope" + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/linkedServices/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Linked Services", + "operation": "Get linked services under given workspace.", + "description": "Get linked services under given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/linkedServices/write", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Linked Services", + "operation": "Create/Update linked services under given workspace.", + "description": "Create/Update linked services under given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/linkedServices/delete", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Linked Services", + "operation": "Delete linked services under given workspace.", + "description": "Delete linked services under given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Intelligence Packs", + "operation": "List Intelligence Packs", + "description": "Lists all intelligence packs that are visible for a given worksapce and also lists whether the pack is enabled or disabled for that workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/enable/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Intelligence Packs", + "operation": "Enable Intelligence Pack", + "description": "Enables an intelligence pack for a given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/intelligencepacks/disable/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Intelligence Packs", + "operation": "Disable Intelligence Pack", + "description": "Disables an intelligence pack for a given workspace." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/analytics/query/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Search using new engine.", + "description": "Search using new engine." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/analytics/query/schema/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Get search schema V2.", + "description": "Get search schema V2." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/api/query/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Search using new engine.", + "description": "Search using new engine." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/api/query/schema/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Get search schema V2.", + "description": "Get search schema V2." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/purge/action", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "analytics", + "operation": "Delete specified data from workspace", + "description": "Delete specified data from workspace" + } + }, + { + "name": "Microsoft.OperationalInsights/linkTargets/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Unlinked Account", + "operation": "List Unlinked Accounts", + "description": "Lists existing accounts that are not associated with an Azure subscription. To link this Azure subscription to a workspace, use a customer id returned by this operation in the customer id property of the Create Workspace operation." + } + }, + { + "name": "Microsoft.OperationalInsights/workspaces/metricDefinitions/read", + "display": { + "provider": "Microsoft Operational Insights", + "resource": "Metric Definitions", + "operation": "Metric Definition operation", + "description": "Get Metric Definitions under workspace" + } + } + ], + "nextLink": "" + } + } + } +} From f3231af7c41afa0962ae0aa0c06d135501aab859 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Thu, 23 Dec 2021 13:16:16 +0200 Subject: [PATCH 14/22] Update Tables.json --- .../preview/2021-12-01-preview/Tables.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json index f5c1b8fcba6e..f252d8a51719 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json @@ -481,7 +481,7 @@ "DataCollectionRuleBased" ], "x-ms-enum": { - "name": "TableTypeEnum", + "name": "TableSubTypeEnum", "modelAsString": true, "values": [ { @@ -529,10 +529,11 @@ }, "description": { "type": "string", - "description": "Description." + "description": "Search results table's Description." }, "limit": { "type": "integer", + "format": "int32", "description": "Limit the search job to return up to specified number of rows." }, "startSearchTime": { @@ -582,6 +583,7 @@ "ingestedRecords": { "readOnly": true, "type": "integer", + "format": "int32", "description": "The number of rows that were returned by the search job." } }, @@ -607,6 +609,7 @@ "archiveRetentionInDays": { "readOnly": true, "type": "integer", + "format": "int32", "description": "The table data archive retention in days. Calculated as (totalRetentionInDays-retentionInDays)" }, "searchResults": { From 71dc17d10661e218e06c6e0841445165f6d54c29 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Sat, 25 Dec 2021 10:22:30 +0200 Subject: [PATCH 15/22] Update TablesGet.json --- .../preview/2021-12-01-preview/examples/TablesGet.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json index b649e5a6f94c..d534b569084b 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json @@ -90,7 +90,6 @@ ] }, "provisioningState": "Succeeded", - "isTroubleshootingAllowed": false, "retentionInDays": 50, "totalRetentionInDays": 50, "archiveRetentionInDays": 0, From 378fb1a97ca8df0f61df558254bfe5afad434e20 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Thu, 30 Dec 2021 11:04:31 +0200 Subject: [PATCH 16/22] Add systemData example. --- .../preview/2021-12-01-preview/Tables.json | 10 ------- .../examples/TablesGet.json | 30 ++++++++++++++----- 2 files changed, 23 insertions(+), 17 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json index f252d8a51719..0bc2f5c6bcfd 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json @@ -651,16 +651,6 @@ "type": "string", "description": "The timestamp that table plan was last modified (UTC)." }, - "createDate": { - "readOnly": true, - "type": "string", - "description": "The timestamp of resource creation (UTC)." - }, - "createdBy": { - "readOnly": true, - "type": "string", - "description": "The identity that created the table." - }, "schema": { "$ref": "#/definitions/Schema", "description": "Table schema." diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json index d534b569084b..af6ee7aa5ecb 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json @@ -4,16 +4,24 @@ "workspaceName": "oiautorest6685", "api-version": "2021-12-01-preview", "subscriptionId": "00000000-0000-0000-0000-00000000000", - "tableName": "table1_CL" + "tableName": "table1_SRCH" }, "responses": { "200": { "body": { + "systemData": { + "createdBy": "00000000-0000-0000-0000-00000000000", + "createdAt": "Sat, 28 Aug 2021 05:29:18 GMT" + }, "properties": { + "resultStatistics": { + "progress": "75", + "ingestedRecords" : 5 + }, "schema": { - "name": "table1_CL", + "name": "table1_SRCH", "tableSubType": "DataCollectionRuleBased", - "tableType": "CustomLog", + "tableType": "SearchResults", "displayName": null, "description": null, "columns": [], @@ -87,16 +95,24 @@ "source": null, "solutions": [ "LogManagement" - ] + ], + "searchResults": { + "query": "Heartbeat | where SourceSystem != '' | project SourceSystem", + "description": "This table was created using a Search Job with the following query: 'Heartbeat | where SourceSystem != '' | project SourceSystem'.", + "limit": 1000, + "startSearchTime": "Sat, 28 Aug 2021 05:29:18 GMT", + "endSearchTime": "Sat, 28 Aug 2021 08:29:18 GMT", + "sourceTable": "Heartbeat" + } }, - "provisioningState": "Succeeded", + "provisioningState": "InProgress", "retentionInDays": 50, "totalRetentionInDays": 50, "archiveRetentionInDays": 0, "plan": "Analytics" }, - "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/table1_CL", - "name": "table1_CL" + "id": "/subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/tables/table1_SRCH", + "name": "table1_SRCH" } } } From 72ad47b977d12c4cc8af331cd6410088188f2bfe Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Tue, 4 Jan 2022 10:22:06 +0200 Subject: [PATCH 17/22] Model fixes + pretty --- .../preview/2021-12-01-preview/Tables.json | 4 ++++ .../2021-12-01-preview/examples/TablesGet.json | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json index 0bc2f5c6bcfd..1088e2503187 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json @@ -538,10 +538,12 @@ }, "startSearchTime": { "type": "string", + "format": "date-time", "description": "The timestamp to start the search from (UTC)" }, "endSearchTime": { "type": "string", + "format": "date-time", "description": "The timestamp to end the search by (UTC)" }, "sourceTable": { @@ -557,10 +559,12 @@ "properties": { "startRestoreTime": { "type": "string", + "format": "date-time", "description": "The timestamp to start the restore from (UTC)." }, "endRestoreTime": { "type": "string", + "format": "date-time", "description": "The timestamp to end the restore by (UTC)." }, "sourceTable": { diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json index af6ee7aa5ecb..7ea399c2b9ec 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesGet.json @@ -11,13 +11,13 @@ "body": { "systemData": { "createdBy": "00000000-0000-0000-0000-00000000000", - "createdAt": "Sat, 28 Aug 2021 05:29:18 GMT" + "createdAt": "2020-02-03T04:05:06Z" }, "properties": { "resultStatistics": { - "progress": "75", - "ingestedRecords" : 5 - }, + "progress": 75.0, + "ingestedRecords": 5 + }, "schema": { "name": "table1_SRCH", "tableSubType": "DataCollectionRuleBased", @@ -100,8 +100,8 @@ "query": "Heartbeat | where SourceSystem != '' | project SourceSystem", "description": "This table was created using a Search Job with the following query: 'Heartbeat | where SourceSystem != '' | project SourceSystem'.", "limit": 1000, - "startSearchTime": "Sat, 28 Aug 2021 05:29:18 GMT", - "endSearchTime": "Sat, 28 Aug 2021 08:29:18 GMT", + "startSearchTime": "2020-02-03T04:05:06Z", + "endSearchTime": "2020-02-02T04:05:06Z", "sourceTable": "Heartbeat" } }, From f26bd801590f52066405a469c6813d34ca815277 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Tue, 4 Jan 2022 11:47:48 +0200 Subject: [PATCH 18/22] adding description to ip data hint. --- .../preview/2021-12-01-preview/Tables.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json index 1088e2503187..425c2a83151a 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json @@ -343,6 +343,10 @@ { "value": "armPath", "description": "An Azure Resource Model (ARM) path: /subscriptions/{...}/resourceGroups/{...}/providers/Microsoft.{...}/{...}/{...}/{...}..." + }, + { + "value": "ip", + "description": "A standard V4/V6 ip address following the standard shape, x.x.x.x/y:y:y:y:y:y:y:y" } ] } From 1c7d6b235a8cc39b30c553072496d022c60f9331 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Tue, 4 Jan 2022 20:01:22 +0200 Subject: [PATCH 19/22] Update Tables.json --- .../preview/2021-12-01-preview/Tables.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json index 425c2a83151a..495e4dfff27e 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json @@ -669,6 +669,7 @@ "description": "Table's current provisioning state. If set to 'updating', indicates a resource lock due to ongoing operation, forbidding any update to the table until the ongoing operation is concluded.", "enum": [ "Updating", + "InProgress", "Succeeded" ], "x-ms-enum": { From 0cdf651e4db05fe90debb65745cc5b1e12be3a20 Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Wed, 5 Jan 2022 17:58:28 +0200 Subject: [PATCH 20/22] Microsoft.OperationalInsights: Updating package reference list. --- .../resource-manager/readme.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/specification/operationalinsights/resource-manager/readme.md b/specification/operationalinsights/resource-manager/readme.md index 2e7268c1e259..a0420590072f 100644 --- a/specification/operationalinsights/resource-manager/readme.md +++ b/specification/operationalinsights/resource-manager/readme.md @@ -116,6 +116,23 @@ input-file: - Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json - Microsoft.OperationalInsights/preview/2021-12-01-preview/Workspaces.json - Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json +- Microsoft.OperationalInsights/stable/2020-08-01/DataExports.json +- Microsoft.OperationalInsights/stable/2020-08-01/DataSources.json +- Microsoft.OperationalInsights/stable/2020-08-01/IntelligencePacks.json +- Microsoft.OperationalInsights/stable/2020-08-01/LinkedServices.json +- Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json +- Microsoft.OperationalInsights/stable/2020-08-01/ManagementGroups.json +- Microsoft.OperationalInsights/stable/2020-08-01/OperationStatuses.json +- Microsoft.OperationalInsights/stable/2020-08-01/SharedKeys.json +- Microsoft.OperationalInsights/stable/2020-08-01/Usages.json +- Microsoft.OperationalInsights/stable/2020-08-01/StorageInsightConfigs.json +- Microsoft.OperationalInsights/stable/2020-08-01/SavedSearches.json +- Microsoft.OperationalInsights/stable/2020-08-01/AvailableServiceTiers.json +- Microsoft.OperationalInsights/stable/2020-08-01/Gateways.json +- Microsoft.OperationalInsights/stable/2020-08-01/Schema.json +- Microsoft.OperationalInsights/stable/2020-08-01/SharedKeys.json +- Microsoft.OperationalInsights/stable/2020-08-01/WorkspacePurge.json +- Microsoft.OperationalInsights/stable/2021-06-01/Clusters.json ``` ### Tag: package-2020-08 From 8c61e72c834946fe4fc41fc6183ec860118e8dac Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Thu, 6 Jan 2022 11:42:00 +0200 Subject: [PATCH 21/22] Tables: Changing operation description. --- .../preview/2021-12-01-preview/Tables.json | 2 +- .../preview/2021-12-01-preview/examples/TablesUpsert.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json index 495e4dfff27e..3c2990b7783c 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json @@ -89,7 +89,7 @@ "$ref": "./examples/TablesUpsert.json" } }, - "operationId": "Tables_Upsert", + "operationId": "Tables_CreateOrUpdate", "description": "Update or Create a Log Analytics workspace table.", "parameters": [ { diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesUpsert.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesUpsert.json index 0ed590a2a589..f9241aa463a5 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesUpsert.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/TablesUpsert.json @@ -8,6 +8,7 @@ "parameters": { "properties": { "schema": { + "name": "AzureNetworkFlow", "columns": [ { "name": "MyNewColumn", From 72f2a41a7db67f660dec9578a26ec222f8de945b Mon Sep 17 00:00:00 2001 From: Dudi Likvornik Date: Thu, 6 Jan 2022 11:53:26 +0200 Subject: [PATCH 22/22] removing in correct read only indication. --- .../preview/2021-12-01-preview/Tables.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json index 3c2990b7783c..069b0dc35bb7 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json @@ -376,7 +376,6 @@ "type": "object", "properties": { "name": { - "readOnly": true, "type": "string", "description": "Table name." },