diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/AvailabilityGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/AvailabilityGet.json
deleted file mode 100644
index 6d33f53d8138..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/AvailabilityGet.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "clientRequestId": "A72703F6-C0B1-49EF-854A-59F1994F54E7",
- "clientSessionId": "AlertCalculation_W7"
- },
- "responses": {
- "200": {
- "headers": {
- "x-ms-request-id": "0d59d156-2807-4952-87bb-0e074417dbfb"
- },
- "body": {
- "availability": {
- "intervalSize": "PT1H",
- "distribution": {
- "2019-03-27T04:00:00Z": 432447,
- "2019-03-27T05:00:00Z": 432340,
- "2019-03-27T06:00:00Z": 432451,
- "2019-03-27T07:00:00Z": 432436,
- "2019-03-26T13:00:00Z": 386247,
- "2019-03-27T00:00:00Z": 436968,
- "2019-03-27T01:00:00Z": 432509,
- "2019-03-27T02:00:00Z": 432487
- },
- "range": {
- "from": "2019-03-14T06:38:27.153Z",
- "to": "2019-03-27T03:57:11.697Z"
- }
- }
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/AvailabilityGetEmpty.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/AvailabilityGetEmpty.json
deleted file mode 100644
index 45512b7c37fa..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/AvailabilityGetEmpty.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com"
- },
- "responses": {
- "200": {
- "body": {}
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreAvailabilityGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreAvailabilityGet.json
deleted file mode 100644
index 0dc72061e3c7..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreAvailabilityGet.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "coldstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "clientRequestId": "A72703F6-C0B1-49EF-854A-59F1994F54E7",
- "clientSessionId": "AlertCalculation_W7"
- },
- "responses": {
- "200": {
- "headers": {
- "x-ms-request-id": "0d59d156-2807-4952-87bb-0e074417dbfb"
- },
- "body": {
- "availability": {
- "intervalSize": "PT1H",
- "distribution": {
- "2019-03-27T04:00:00Z": 432447,
- "2019-03-27T05:00:00Z": 432340,
- "2019-03-27T06:00:00Z": 432451,
- "2019-03-27T07:00:00Z": 432436,
- "2019-03-26T13:00:00Z": 386247,
- "2019-03-27T00:00:00Z": 436968,
- "2019-03-27T01:00:00Z": 432509,
- "2019-03-27T02:00:00Z": 432487
- },
- "range": {
- "from": "2019-03-14T06:38:27.153Z",
- "to": "2019-03-27T03:57:11.697Z"
- }
- }
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreEventSchemaGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreEventSchemaGet.json
deleted file mode 100644
index 0d7d9ecef3db..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreEventSchemaGet.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "coldstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "searchSpan": {
- "from": "2018-08-01T00:00:00.000Z",
- "to": "2018-08-31T00:00:00.000Z"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "properties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Room",
- "type": "String"
- },
- {
- "name": "DeviceId",
- "type": "Double"
- },
- {
- "name": "Temperature",
- "type": "Double"
- },
- {
- "name": "Pressure",
- "type": "Double"
- },
- {
- "name": "Status",
- "type": "String"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryAggregateSeriesPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryAggregateSeriesPage1.json
deleted file mode 100644
index 7359328a8c69..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryAggregateSeriesPage1.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "coldstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "aggregateSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "interval": "PT1M",
- "inlineVariables": {
- "Count": {
- "kind": "aggregate",
- "filter": null,
- "aggregation": {
- "tsx": "count()"
- }
- },
- "MinTemperature": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "min($value)"
- }
- },
- "MaxTemperature": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "max($value)"
- }
- }
- },
- "projectedVariables": [
- "Count",
- "MinTemperature",
- "MaxTemperature"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryAggregateSeriesPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryAggregateSeriesPage2.json
deleted file mode 100644
index a77512577cf5..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryAggregateSeriesPage2.json
+++ /dev/null
@@ -1,145 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "coldstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
- "parameters": {
- "aggregateSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "interval": "PT1M",
- "inlineVariables": {
- "Count": {
- "kind": "aggregate",
- "filter": null,
- "aggregation": {
- "tsx": "count()"
- }
- },
- "MinTemperature": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "min($value)"
- }
- },
- "MaxTemperature": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "max($value)"
- }
- }
- },
- "projectedVariables": [
- "Count",
- "MinTemperature",
- "MaxTemperature"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:00Z",
- "2016-08-01T00:01:00Z",
- "2016-08-01T00:02:00Z",
- "2016-08-01T00:03:00Z",
- "2016-08-01T00:04:00Z",
- "2016-08-01T00:05:00Z",
- "2016-08-01T00:06:00Z",
- "2016-08-01T00:07:00Z",
- "2016-08-01T00:08:00Z",
- "2016-08-01T00:09:00Z",
- "2016-08-01T00:10:00Z"
- ],
- "properties": [
- {
- "name": "Count",
- "type": "Long",
- "values": [
- 50,
- 60,
- 60,
- 60,
- 60,
- 60,
- 60,
- 60,
- 60,
- 60,
- null
- ]
- },
- {
- "name": "AverageTemperature",
- "type": "Double",
- "values": [
- 71.25,
- 85.0,
- 82.5,
- 80.0,
- 89.166666666666671,
- 75.0,
- 90.0,
- 75.833333333333329,
- 85.0,
- 82.5,
- null
- ]
- },
- {
- "name": "MinTemperature",
- "type": "Double",
- "values": [
- 65.125,
- 77.625,
- 65.125,
- 72.625,
- 65.125,
- 67.625,
- 82.625,
- 65.125,
- 77.625,
- 65.125,
- null
- ]
- },
- {
- "name": "MaxTemperature",
- "type": "Double",
- "values": [
- 77.375,
- 92.375,
- 99.875,
- 87.375,
- 99.875,
- 82.375,
- 97.375,
- 99.875,
- 92.375,
- 99.875,
- null
- ]
- }
- ],
- "progress": 100.0
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage1.json
deleted file mode 100644
index 490978a50ebd..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage1.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "coldstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "getEvents": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": {
- "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
- },
- "projectedProperties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Temperature",
- "type": "Double"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage2.json
deleted file mode 100644
index 5a56e4aba6fd..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage2.json
+++ /dev/null
@@ -1,87 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "coldstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
- "parameters": {
- "getEvents": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": {
- "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
- },
- "projectedProperties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Temperature",
- "type": "Double"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:10Z",
- "2016-08-01T00:00:11Z",
- "2016-08-01T00:00:12Z",
- "2016-08-01T00:00:13Z",
- "2016-08-01T00:00:14Z",
- "2016-08-01T00:00:15Z",
- "2016-08-01T00:00:16Z",
- "2016-08-01T00:00:17Z",
- "2016-08-01T00:00:18Z",
- "2016-08-01T00:00:19Z"
- ],
- "properties": [
- {
- "name": "Building",
- "type": "String",
- "values": [
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium"
- ]
- },
- {
- "name": "Temperature",
- "type": "Double",
- "values": [
- 65.125,
- 65.375,
- 65.625,
- 65.875,
- 66.125,
- 66.375,
- 66.625,
- 66.875,
- 67.125,
- 67.375
- ]
- }
- ],
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage3.json
deleted file mode 100644
index 0bc2757452ca..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage3.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "coldstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=",
- "parameters": {
- "getEvents": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": {
- "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
- },
- "projectedProperties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Temperature",
- "type": "Double"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:20Z"
- ],
- "properties": [
- {
- "name": "Building",
- "type": "String",
- "values": [
- "Millenium"
- ]
- },
- {
- "name": "Temperature",
- "type": "Double",
- "values": [
- 67.575
- ]
- }
- ],
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAbCDewidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage4.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage4.json
deleted file mode 100644
index db20c0bc8f59..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetEventsPage4.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "coldstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAbCDewidGFrZSI6MTAwMH0=",
- "parameters": {
- "getEvents": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": {
- "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
- },
- "projectedProperties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Temperature",
- "type": "Double"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [],
- "properties": [],
- "progress": 100.0
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage1.json
deleted file mode 100644
index c5b75b0e8141..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage1.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "coldstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "getSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": null,
- "inlineVariables": {
- "temperatures": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- },
- "projectedVariables": [
- "temperatures"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage2.json
deleted file mode 100644
index 0f98a240eae6..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage2.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "coldstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
- "parameters": {
- "getSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": null,
- "inlineVariables": {
- "temperatures": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- },
- "projectedVariables": [
- "temperatures"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:10Z",
- "2016-08-01T00:00:11Z",
- "2016-08-01T00:00:12Z",
- "2016-08-01T00:00:13Z",
- "2016-08-01T00:00:14Z",
- "2016-08-01T00:00:15Z",
- "2016-08-01T00:00:16Z",
- "2016-08-01T00:00:17Z",
- "2016-08-01T00:00:18Z",
- "2016-08-01T00:00:19Z",
- "2016-08-01T00:00:20Z"
- ],
- "properties": [
- {
- "name": "temperatures",
- "type": "Double",
- "values": [
- 65.125,
- 65.375,
- 65.625,
- 65.875,
- 66.125,
- 66.375,
- 66.625,
- 66.875,
- 67.125,
- 67.375,
- 67.625
- ]
- }
- ],
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage3.json
deleted file mode 100644
index 6e8e10631475..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ColdStoreQueryGetSeriesPage3.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "coldstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=",
- "parameters": {
- "getSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": null,
- "inlineVariables": {
- "temperatures": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- },
- "projectedVariables": [
- "temperatures"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:21Z"
- ],
- "properties": [
- {
- "name": "temperatures",
- "type": "Double",
- "values": [
- 67.825
- ]
- }
- ],
- "progress": 100.0
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/EventSchemaGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/EventSchemaGet.json
deleted file mode 100644
index bacda9fd39d6..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/EventSchemaGet.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "searchSpan": {
- "from": "2018-08-01T00:00:00.000Z",
- "to": "2018-08-31T00:00:00.000Z"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "properties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Room",
- "type": "String"
- },
- {
- "name": "DeviceId",
- "type": "Double"
- },
- {
- "name": "Temperature",
- "type": "Double"
- },
- {
- "name": "Pressure",
- "type": "Double"
- },
- {
- "name": "Status",
- "type": "String"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/EventSchemaGetEmpty.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/EventSchemaGetEmpty.json
deleted file mode 100644
index 798e8c314e30..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/EventSchemaGetEmpty.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "searchSpan": {
- "from": "2016-08-01T00:00:00.000Z",
- "to": "2016-08-31T00:00:00.000Z"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "properties": []
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchDeleteByIds.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchDeleteByIds.json
deleted file mode 100644
index 9d625e269976..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchDeleteByIds.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "delete": {
- "hierarchyIds": [
- "a28fd14c-6b98-4ab5-9301-3840f142d30e"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "delete": [
- null
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchDeleteByNames.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchDeleteByNames.json
deleted file mode 100644
index e8f1c1098374..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchDeleteByNames.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "delete": {
- "names": [
- "WindFarm"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "delete": [
- null
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchGetByIds.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchGetByIds.json
deleted file mode 100644
index dd235acc4832..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchGetByIds.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "get": {
- "hierarchyIds": [
- "6e292e54-9a26-4be1-9034-607d71492707",
- "a28fd14c-6b98-4ab5-9301-3840f142d30e"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "get": [
- {
- "hierarchy": {
- "id": "6e292e54-9a26-4be1-9034-607d71492707",
- "name": "Location",
- "source": {
- "instanceFieldNames": [
- "state",
- "city"
- ]
- }
- }
- },
- {
- "hierarchy": {
- "id": "a28fd14c-6b98-4ab5-9301-3840f142d30e",
- "name": "ManufactureDate",
- "source": {
- "instanceFieldNames": [
- "year",
- "month"
- ]
- }
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchGetByNames.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchGetByNames.json
deleted file mode 100644
index 12f91a55bab6..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchGetByNames.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "get": {
- "names": [
- "Location",
- "ManufactureDate"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "get": [
- {
- "hierarchy": {
- "id": "6e292e54-9a26-4be1-9034-607d71492707",
- "name": "Location",
- "source": {
- "instanceFieldNames": [
- "state",
- "city"
- ]
- }
- }
- },
- {
- "hierarchy": {
- "id": "a28fd14c-6b98-4ab5-9301-3840f142d30e",
- "name": "ManufactureDate",
- "source": {
- "instanceFieldNames": [
- "year",
- "month"
- ]
- }
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchPut.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchPut.json
deleted file mode 100644
index f721d4f85627..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesBatchPut.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "put": [
- {
- "id": "6e292e54-9a26-4be1-9034-607d71492707",
- "name": "Location",
- "source": {
- "instanceFieldNames": [
- "state",
- "city"
- ]
- }
- },
- {
- "id": "a28fd14c-6b98-4ab5-9301-3840f142d30e",
- "name": "ManufactureDate",
- "source": {
- "instanceFieldNames": [
- "year",
- "month"
- ]
- }
- }
- ]
- }
- },
- "responses": {
- "200": {
- "body": {
- "put": [
- {
- "hierarchy": {
- "id": "6e292e54-9a26-4be1-9034-607d71492707",
- "name": "Location",
- "source": {
- "instanceFieldNames": [
- "state",
- "city"
- ]
- }
- },
- "error": null
- },
- {
- "hierarchy": {
- "id": "a28fd14c-6b98-4ab5-9301-3840f142d30e",
- "name": "ManufactureDate",
- "source": {
- "instanceFieldNames": [
- "year",
- "month"
- ]
- }
- },
- "error": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage1.json
deleted file mode 100644
index 8e9cd4ccc56d..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage1.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com"
- },
- "responses": {
- "200": {
- "body": {
- "hierarchies": [
- {
- "id": "6e292e54-9a26-4be1-9034-607d71492707",
- "name": "Location",
- "source": {
- "instanceFieldNames": [
- "state",
- "city"
- ]
- }
- }
- ],
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage2.json
deleted file mode 100644
index ee899eade91f..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage2.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- },
- "responses": {
- "200": {
- "body": {
- "hierarchies": [
- {
- "id": "6e292e54-9a26-4be1-9034-607d71492707",
- "name": "Location",
- "source": {
- "instanceFieldNames": [
- "state",
- "city"
- ]
- }
- }
- ],
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrASI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage3.json
deleted file mode 100644
index 0efe91089d64..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/HierarchiesGetPage3.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrASI6MTAwMH0="
- },
- "responses": {
- "200": {
- "body": {
- "hierarchies": []
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchDeleteByIds.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchDeleteByIds.json
deleted file mode 100644
index d0039bcec6b0..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchDeleteByIds.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "delete": {
- "timeSeriesIds": [
- [
- "2da181d7-8346-4cf2-bd94-a17742237429",
- "T1"
- ],
- [
- "18672e3d-2beb-4007-9846-042b09ef3c72",
- "T2"
- ]
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "delete": [
- null,
- {
- "code": "InvalidInput",
- "message": "Time series instance with ID '[\"18672e3d-2beb-4007-9846-042b09ef3c72\", \"T2\"]' cannot be deleted. There are already ingested events associated with this time series ID.",
- "innerError": {
- "code": "CannotDeleteInstance"
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchDeleteByNames.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchDeleteByNames.json
deleted file mode 100644
index d8302aa70992..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchDeleteByNames.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "delete": {
- "names": [
- "F2W6.GF",
- "F1W7.GS1"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "delete": [
- null,
- {
- "code": "InvalidInput",
- "message": "Time series instance with ID '[\"18672e3d-2beb-4007-9846-042b09ef3c72\", \"T2\"]' cannot be deleted. There are already ingested events associated with this time series ID.",
- "innerError": {
- "code": "CannotDeleteInstance"
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchGetByIds.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchGetByIds.json
deleted file mode 100644
index f6bab33afcf5..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchGetByIds.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "get": {
- "timeSeriesIds": [
- [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ]
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "get": [
- {
- "instance": {
- "typeId": "9b84e946-7b36-4aa0-9d26-71bf48cb2aff",
- "name": "F1W7.GS1",
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "description": "ContosoFarm1W7_GenSpeed1",
- "hierarchyIds": [
- "33d72529-dd73-4c31-93d8-ae4e6cb5605d"
- ],
- "instanceFields": {
- "Name": "GeneratorSpeed",
- "Plant": "Contoso Plant 1",
- "Unit": "W7",
- "System": "Generator System",
- "Status": false,
- "Version": 1.3,
- "Code": 28
- }
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchGetByNames.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchGetByNames.json
deleted file mode 100644
index d2b214a70f9e..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchGetByNames.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "get": {
- "names": [
- "F1W7.GS1"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "get": [
- {
- "instance": {
- "typeId": "9b84e946-7b36-4aa0-9d26-71bf48cb2aff",
- "name": "F1W7.GS1",
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "description": "ContosoFarm1W7_GenSpeed1",
- "hierarchyIds": [
- "33d72529-dd73-4c31-93d8-ae4e6cb5605d"
- ],
- "instanceFields": {
- "Name": "GeneratorSpeed",
- "Plant": "Contoso Plant 1",
- "Unit": "W7",
- "System": "Generator System",
- "Status": false,
- "Version": 1.3,
- "Code": 28
- }
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchPut.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchPut.json
deleted file mode 100644
index c5277fe2c7eb..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchPut.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "put": [
- {
- "typeId": "9b84e946-7b36-4aa0-9d26-71bf48cb2aff",
- "name": "F1W7.GS1",
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "description": "ContosoFarm1W7_GenSpeed1",
- "hierarchyIds": [
- "33d72529-dd73-4c31-93d8-ae4e6cb5605d"
- ],
- "instanceFields": {
- "Name": "GeneratorSpeed",
- "Plant": "Contoso Plant 1",
- "Unit": "W7",
- "System": "Generator System",
- "Status": false,
- "Version": 1.3,
- "Code": 28
- }
- }
- ]
- }
- },
- "responses": {
- "200": {
- "body": {
- "put": [
- {
- "error": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchUpdate.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchUpdate.json
deleted file mode 100644
index 47a934526e4b..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesBatchUpdate.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "update": [
- {
- "typeId": "9b84e946-7b36-4aa0-9d26-71bf48cb2aff",
- "name": "F1W7.GS1",
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "description": "ContosoFarm1W7_GenSpeed1",
- "hierarchyIds": [
- "33d72529-dd73-4c31-93d8-ae4e6cb5605d"
- ],
- "instanceFields": {
- "Name": "GeneratorSpeed",
- "Plant": "Contoso Plant 1",
- "Unit": "W7",
- "System": "Generator System",
- "Status": false,
- "Version": 1.3,
- "Code": 28
- }
- }
- ]
- }
- },
- "responses": {
- "200": {
- "body": {
- "update": [
- {
- "error": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage1.json
deleted file mode 100644
index fdd897abe81e..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage1.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com"
- },
- "responses": {
- "200": {
- "body": {
- "instances": [
- {
- "typeId": "9b84e946-7b36-4aa0-9d26-71bf48cb2aff",
- "name": "F1W7.GS1",
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "description": "ContosoFarm1W7_GenSpeed1",
- "hierarchyIds": [
- "33d72529-dd73-4c31-93d8-ae4e6cb5605d"
- ],
- "instanceFields": {
- "Name": "GeneratorSpeed",
- "Plant": "Contoso Plant 1",
- "Unit": "W7",
- "System": "Generator System",
- "Status": false,
- "Version": 1.3,
- "Code": 28
- }
- }
- ],
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage2.json
deleted file mode 100644
index ec513c101c84..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage2.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- },
- "responses": {
- "200": {
- "body": {
- "instances": [
- {
- "typeId": "9b84e946-7b36-4aa0-9d26-71bf48cb2aff",
- "timeSeriesId": [
- "fe984fd0-f632-49ab-990e-3ded259e29b8",
- "T1"
- ],
- "description": "ContosoFarm1W6_GridVoltage3",
- "hierarchyIds": [
- "33d72529-dd73-4c31-93d8-ae4e6cb5605d"
- ],
- "instanceFields": {
- "Name": "GridVoltagePhase3",
- "Plant": "Contoso Plant 1",
- "Unit": "W6",
- "System": "Generator System",
- "Status": false,
- "Version": 1.3,
- "Code": 28
- }
- }
- ],
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrASI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage3.json
deleted file mode 100644
index 49b39f084b3a..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesGetPage3.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrASI6MTAwMH0="
- },
- "responses": {
- "200": {
- "body": {
- "instances": []
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSuggest.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSuggest.json
deleted file mode 100644
index 3f6783e48663..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/InstancesSuggest.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "searchString": "flo",
- "take": 3
- }
- },
- "responses": {
- "200": {
- "body": {
- "suggestions": [
- {
- "searchString": "floor 100",
- "highlightedSearchString": "floor 100"
- },
- {
- "searchString": "sensor on floor 0",
- "highlightedSearchString": "sensor on floor 0"
- },
- {
- "searchString": "sensor on floor 1",
- "highlightedSearchString": "sensor on floor 1"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ModelSettingsGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ModelSettingsGet.json
deleted file mode 100644
index 33be629b0ae6..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ModelSettingsGet.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com"
- },
- "responses": {
- "200": {
- "body": {
- "modelSettings": {
- "name": "DefaultModel",
- "timeSeriesIdProperties": [
- {
- "name": "DeviceId",
- "type": "String"
- }
- ],
- "defaultTypeId": "5AB70D71-A8CD-410E-B70D-6F04AB9C132C"
- }
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ModelSettingsUpdateName.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ModelSettingsUpdateName.json
deleted file mode 100644
index a293f2d67e83..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/ModelSettingsUpdateName.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "name": "Thermostats"
- }
- },
- "responses": {
- "200": {
- "body": {
- "modelSettings": {
- "name": "Thermostats",
- "timeSeriesIdProperties": [
- {
- "name": "DeviceId",
- "type": "String"
- }
- ],
- "defaultTypeId": "5AB70D71-A8CD-410E-B70D-6F04AB9C132C"
- }
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage1.json
deleted file mode 100644
index 927530c2be95..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage1.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "aggregateSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "interval": "PT1M",
- "inlineVariables": {
- "Count": {
- "kind": "aggregate",
- "filter": null,
- "aggregation": {
- "tsx": "count()"
- }
- },
- "MinTemperature": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "min($value)"
- }
- },
- "MaxTemperature": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "max($value)"
- }
- }
- },
- "projectedVariables": [
- "Count",
- "MinTemperature",
- "MaxTemperature"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json
deleted file mode 100644
index 9c0424d1ada5..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesPage2.json
+++ /dev/null
@@ -1,144 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
- "parameters": {
- "aggregateSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "interval": "PT1M",
- "inlineVariables": {
- "Count": {
- "kind": "aggregate",
- "filter": null,
- "aggregation": {
- "tsx": "count()"
- }
- },
- "MinTemperature": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "min($value)"
- }
- },
- "MaxTemperature": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "max($value)"
- }
- }
- },
- "projectedVariables": [
- "Count",
- "MinTemperature",
- "MaxTemperature"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:00Z",
- "2016-08-01T00:01:00Z",
- "2016-08-01T00:02:00Z",
- "2016-08-01T00:03:00Z",
- "2016-08-01T00:04:00Z",
- "2016-08-01T00:05:00Z",
- "2016-08-01T00:06:00Z",
- "2016-08-01T00:07:00Z",
- "2016-08-01T00:08:00Z",
- "2016-08-01T00:09:00Z",
- "2016-08-01T00:10:00Z"
- ],
- "properties": [
- {
- "name": "Count",
- "type": "Long",
- "values": [
- 50,
- 60,
- 60,
- 60,
- 60,
- 60,
- 60,
- 60,
- 60,
- 60,
- null
- ]
- },
- {
- "name": "AverageTemperature",
- "type": "Double",
- "values": [
- 71.25,
- 85.0,
- 82.5,
- 80.0,
- 89.166666666666671,
- 75.0,
- 90.0,
- 75.833333333333329,
- 85.0,
- 82.5,
- null
- ]
- },
- {
- "name": "MinTemperature",
- "type": "Double",
- "values": [
- 65.125,
- 77.625,
- 65.125,
- 72.625,
- 65.125,
- 67.625,
- 82.625,
- 65.125,
- 77.625,
- 65.125,
- null
- ]
- },
- {
- "name": "MaxTemperature",
- "type": "Double",
- "values": [
- 77.375,
- 92.375,
- 99.875,
- 87.375,
- 99.875,
- 82.375,
- 97.375,
- 99.875,
- 92.375,
- 99.875,
- null
- ]
- }
- ],
- "progress": 100.0
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalInterpolatedVariable.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalInterpolatedVariable.json
deleted file mode 100644
index 662161648bff..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalInterpolatedVariable.json
+++ /dev/null
@@ -1,250 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
- "parameters": {
- "aggregateSeries": {
- "searchSpan": {
- "from": "2019-10-10T23:41:04.021Z",
- "to": "2019-10-10T23:42:22.846Z"
- },
- "timeSeriesId": [
- "Sensor_58"
- ],
- "interval": "PT2S",
- "inlineVariables": {
- "Status_String": {
- "kind": "categorical",
- "value": {
- "tsx": "$event.[Status].String"
- },
- "interpolation": {
- "kind": "Step",
- "boundary": {
- "span": "PT5S"
- }
- },
- "categories": [
- {
- "label": "Good",
- "values": [
- "Good",
- "Very Good",
- "Excellent"
- ]
- },
- {
- "label": "Bad",
- "values": [
- "Bad",
- "OK"
- ]
- },
- {
- "label": "Other",
- "values": [
- "Other"
- ]
- }
- ],
- "defaultCategory": {
- "label": "Unknown"
- }
- },
- "Status_Long": {
- "kind": "categorical",
- "value": {
- "tsx": "tolong($event.[Status].Double)"
- },
- "interpolation": {
- "kind": "Step",
- "boundary": {
- "span": "PT5S"
- }
- },
- "categories": [
- {
- "label": "Good",
- "values": [
- 0,
- 1,
- 2
- ]
- },
- {
- "label": "Bad",
- "values": [
- 3,
- 4
- ]
- },
- {
- "label": "Other",
- "values": [
- 5
- ]
- }
- ],
- "defaultCategory": {
- "label": "Unknown"
- }
- }
- },
- "projectedVariables": [
- "Status_String",
- "Status_Long"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2019-10-10T23:41:04Z",
- "2019-10-10T23:41:06Z",
- "2019-10-10T23:41:08Z",
- "2019-10-10T23:41:10Z",
- "2019-10-10T23:41:12Z",
- "2019-10-10T23:41:14Z",
- "2019-10-10T23:41:16Z",
- "2019-10-10T23:41:18Z",
- "2019-10-10T23:41:20Z",
- "2019-10-10T23:41:22Z"
- ],
- "properties": [
- {
- "values": [
- 0.203,
- 0.141,
- 0.268,
- 0.398,
- 0.402,
- 0.047,
- 0.1245,
- 0.75,
- 0.206,
- 0.2635
- ],
- "name": "Status_String[Good]",
- "type": "Double"
- },
- {
- "values": [
- 0.266,
- 0.1955,
- 0.242,
- 0.148,
- 0.25,
- 0.055,
- 0.6295,
- 0.109,
- 0.41,
- 0.2125
- ],
- "name": "Status_String[Bad]",
- "type": "Double"
- },
- {
- "values": [
- 0.5205,
- 0.6635,
- 0.49,
- 0.454,
- 0.348,
- 0.898,
- 0.246,
- 0.141,
- 0.384,
- 0.524
- ],
- "name": "Status_String[Other]",
- "type": "Double"
- },
- {
- "values": [
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0
- ],
- "name": "Status_String[Unknown]",
- "type": "Double"
- },
- {
- "values": [
- 0.203,
- 0.141,
- 0.268,
- 0.398,
- 0.402,
- 0.047,
- 0.1245,
- 0.75,
- 0.206,
- 0.2635
- ],
- "name": "Status_Long[Good]",
- "type": "Double"
- },
- {
- "values": [
- 0.266,
- 0.1955,
- 0.242,
- 0.148,
- 0.25,
- 0.055,
- 0.6295,
- 0.109,
- 0.41,
- 0.2125
- ],
- "name": "Status_Long[Bad]",
- "type": "Double"
- },
- {
- "values": [
- 0.5205,
- 0.6635,
- 0.49,
- 0.454,
- 0.348,
- 0.898,
- 0.246,
- 0.141,
- 0.384,
- 0.524
- ],
- "name": "Status_Long[Other]",
- "type": "Double"
- },
- {
- "values": [
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0,
- 0.0
- ],
- "name": "Status_Long[Unknown]",
- "type": "Double"
- }
- ],
- "progress": 100.0
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalVariable.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalVariable.json
deleted file mode 100644
index 3da48c7f188f..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithCategoricalVariable.json
+++ /dev/null
@@ -1,238 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
- "parameters": {
- "aggregateSeries": {
- "searchSpan": {
- "from": "2019-10-10T23:42:00.000Z",
- "to": "2019-10-10T23:42:20.000Z"
- },
- "timeSeriesId": [
- "Sensor_58"
- ],
- "interval": "PT2S",
- "inlineVariables": {
- "Status_String": {
- "kind": "categorical",
- "value": {
- "tsx": "$event.[Status].String"
- },
- "categories": [
- {
- "label": "Good",
- "values": [
- "Good",
- "Very Good",
- "Excellent"
- ]
- },
- {
- "label": "Bad",
- "values": [
- "Bad",
- "OK"
- ]
- },
- {
- "label": "Other",
- "values": [
- "Other"
- ]
- }
- ],
- "defaultCategory": {
- "label": "Unknown"
- }
- },
- "Status_Long": {
- "kind": "categorical",
- "value": {
- "tsx": "tolong($event.[Status].Double)"
- },
- "categories": [
- {
- "label": "Good",
- "values": [
- 0,
- 1,
- 2
- ]
- },
- {
- "label": "Bad",
- "values": [
- 3,
- 4
- ]
- },
- {
- "label": "Other",
- "values": [
- 5
- ]
- }
- ],
- "defaultCategory": {
- "label": "Unknown"
- }
- }
- },
- "projectedVariables": [
- "Status_String",
- "Status_Long"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2019-10-10T23:42:00Z",
- "2019-10-10T23:42:02Z",
- "2019-10-10T23:42:04Z",
- "2019-10-10T23:42:06Z",
- "2019-10-10T23:42:08Z",
- "2019-10-10T23:42:10Z",
- "2019-10-10T23:42:12Z",
- "2019-10-10T23:42:14Z",
- "2019-10-10T23:42:16Z",
- "2019-10-10T23:42:18Z"
- ],
- "properties": [
- {
- "values": [
- 5,
- 8,
- 4,
- 6,
- 9,
- 8,
- 3,
- 6,
- 5,
- 8
- ],
- "name": "Status_String[Good]",
- "type": "Long"
- },
- {
- "values": [
- 4,
- 3,
- 3,
- 5,
- 5,
- 3,
- 9,
- 7,
- 7,
- 7
- ],
- "name": "Status_String[Bad]",
- "type": "Long"
- },
- {
- "values": [
- 11,
- 9,
- 13,
- 9,
- 6,
- 9,
- 8,
- 7,
- 8,
- 5
- ],
- "name": "Status_String[Other]",
- "type": "Long"
- },
- {
- "values": [
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0
- ],
- "name": "Status_String[Unknown]",
- "type": "Long"
- },
- {
- "values": [
- 5,
- 8,
- 4,
- 6,
- 9,
- 8,
- 3,
- 6,
- 5,
- 8
- ],
- "name": "Status_Long[Good]",
- "type": "Long"
- },
- {
- "values": [
- 4,
- 3,
- 3,
- 5,
- 5,
- 3,
- 9,
- 7,
- 7,
- 7
- ],
- "name": "Status_Long[Bad]",
- "type": "Long"
- },
- {
- "values": [
- 11,
- 9,
- 13,
- 9,
- 6,
- 9,
- 8,
- 7,
- 8,
- 5
- ],
- "name": "Status_Long[Other]",
- "type": "Long"
- },
- {
- "values": [
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0
- ],
- "name": "Status_Long[Unknown]",
- "type": "Long"
- }
- ],
- "progress": 100.0
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithSampleInterpolation.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithSampleInterpolation.json
deleted file mode 100644
index 907d9093d875..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryAggregateSeriesWithSampleInterpolation.json
+++ /dev/null
@@ -1,114 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
- "parameters": {
- "aggregateSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "interval": "PT1M",
- "inlineVariables": {
- "LinearSampleInterpolation": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "interpolation": {
- "kind": "Linear",
- "boundary": {
- "span": "P1D"
- }
- },
- "aggregation": {
- "tsx": "left($value)"
- }
- },
- "StepSampleInterpolation": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "interpolation": {
- "kind": "Step",
- "boundary": {
- "span": "P1D"
- }
- },
- "aggregation": {
- "tsx": "left($value)"
- }
- }
- },
- "projectedVariables": [
- "LinearSampleInterpolation",
- "StepSampleInterpolation"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:00Z",
- "2016-08-01T00:01:00Z",
- "2016-08-01T00:02:00Z",
- "2016-08-01T00:03:00Z",
- "2016-08-01T00:04:00Z",
- "2016-08-01T00:05:00Z",
- "2016-08-01T00:06:00Z",
- "2016-08-01T00:07:00Z",
- "2016-08-01T00:08:00Z",
- "2016-08-01T00:09:00Z",
- "2016-08-01T00:10:00Z"
- ],
- "properties": [
- {
- "name": "LinearSampleInterpolation",
- "type": "Double",
- "values": [
- 50.0,
- 60.0,
- 60.0,
- 60.0,
- 60.0,
- 60.0,
- 60.0,
- 60.0,
- 60.0,
- 60.0,
- 62.0
- ]
- },
- {
- "name": "StepSampleInterpolation",
- "type": "Double",
- "values": [
- 71.25,
- 85.0,
- 82.5,
- 80.0,
- 89.166666666666671,
- 75.0,
- 90.0,
- 75.833333333333329,
- 85.0,
- 82.5,
- 84.0
- ]
- }
- ],
- "progress": 100.0
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage1.json
deleted file mode 100644
index a67cee0911c6..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage1.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "getEvents": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": {
- "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
- },
- "projectedProperties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Temperature",
- "type": "Double"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage2.json
deleted file mode 100644
index 482e6a171bbf..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage2.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
- "parameters": {
- "getEvents": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": {
- "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
- },
- "projectedProperties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Temperature",
- "type": "Double"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:10Z",
- "2016-08-01T00:00:11Z",
- "2016-08-01T00:00:12Z",
- "2016-08-01T00:00:13Z",
- "2016-08-01T00:00:14Z",
- "2016-08-01T00:00:15Z",
- "2016-08-01T00:00:16Z",
- "2016-08-01T00:00:17Z",
- "2016-08-01T00:00:18Z",
- "2016-08-01T00:00:19Z"
- ],
- "properties": [
- {
- "name": "Building",
- "type": "String",
- "values": [
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium"
- ]
- },
- {
- "name": "Temperature",
- "type": "Double",
- "values": [
- 65.125,
- 65.375,
- 65.625,
- 65.875,
- 66.125,
- 66.375,
- 66.625,
- 66.875,
- 67.125,
- 67.375
- ]
- }
- ],
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage3.json
deleted file mode 100644
index 8a42d4e8087c..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage3.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=",
- "parameters": {
- "getEvents": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": {
- "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
- },
- "projectedProperties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Temperature",
- "type": "Double"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:20Z"
- ],
- "properties": [
- {
- "name": "Building",
- "type": "String",
- "values": [
- "Millenium"
- ]
- },
- {
- "name": "Temperature",
- "type": "Double",
- "values": [
- 67.575
- ]
- }
- ],
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAbCDewidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json
deleted file mode 100644
index 1dc95e83faf2..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsPage4.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAbCDewidGFrZSI6MTAwMH0=",
- "parameters": {
- "getEvents": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": {
- "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
- },
- "projectedProperties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Temperature",
- "type": "Double"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [],
- "properties": [],
- "progress": 100.0
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage1.json
deleted file mode 100644
index 759c1a333a30..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage1.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "getEvents": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": {
- "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
- },
- "projectedProperties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Temperature",
- "type": "Double"
- }
- ],
- "take": 10
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json
deleted file mode 100644
index 0ffea83b8f92..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetEventsWithTakePage2.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
- "parameters": {
- "getEvents": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": {
- "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
- },
- "projectedProperties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Temperature",
- "type": "Double"
- }
- ],
- "take": 10
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:10Z",
- "2016-08-01T00:00:11Z",
- "2016-08-01T00:00:12Z",
- "2016-08-01T00:00:13Z",
- "2016-08-01T00:00:14Z",
- "2016-08-01T00:00:15Z",
- "2016-08-01T00:00:16Z",
- "2016-08-01T00:00:17Z",
- "2016-08-01T00:00:18Z",
- "2016-08-01T00:00:19Z"
- ],
- "properties": [
- {
- "name": "Building",
- "type": "String",
- "values": [
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium"
- ]
- },
- {
- "name": "Temperature",
- "type": "Double",
- "values": [
- 65.125,
- 65.375,
- 65.625,
- 65.875,
- 66.125,
- 66.375,
- 66.625,
- 66.875,
- 67.125,
- 67.375
- ]
- }
- ],
- "progress": 100.0
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage1.json
deleted file mode 100644
index 768d28807304..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage1.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "getSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": null,
- "inlineVariables": {
- "temperatures": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- },
- "projectedVariables": [
- "temperatures"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage2.json
deleted file mode 100644
index d795bd8c745a..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage2.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
- "parameters": {
- "getSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": null,
- "inlineVariables": {
- "temperatures": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- },
- "projectedVariables": [
- "temperatures"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:10Z",
- "2016-08-01T00:00:11Z",
- "2016-08-01T00:00:12Z",
- "2016-08-01T00:00:13Z",
- "2016-08-01T00:00:14Z",
- "2016-08-01T00:00:15Z",
- "2016-08-01T00:00:16Z",
- "2016-08-01T00:00:17Z",
- "2016-08-01T00:00:18Z",
- "2016-08-01T00:00:19Z",
- "2016-08-01T00:00:20Z"
- ],
- "properties": [
- {
- "name": "temperatures",
- "type": "Double",
- "values": [
- 65.125,
- 65.375,
- 65.625,
- 65.875,
- 66.125,
- 66.375,
- 66.625,
- 66.875,
- 67.125,
- 67.375,
- 67.625
- ]
- }
- ],
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage3.json
deleted file mode 100644
index a138be65021e..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesPage3.json
+++ /dev/null
@@ -1,54 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=",
- "parameters": {
- "getSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": null,
- "inlineVariables": {
- "temperatures": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- },
- "projectedVariables": [
- "temperatures"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:21Z"
- ],
- "properties": [
- {
- "name": "temperatures",
- "type": "Double",
- "values": [
- 67.825
- ]
- }
- ],
- "progress": 100.0
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage1.json
deleted file mode 100644
index 380fd2ad94d3..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage1.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "getSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": null,
- "inlineVariables": {
- "temperatures": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- },
- "projectedVariables": [
- "temperatures"
- ],
- "take": 10
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json
deleted file mode 100644
index 881ca18e3ef6..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/QueryGetSeriesWithTakePage2.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
- "parameters": {
- "getSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": null,
- "inlineVariables": {
- "temperatures": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- },
- "projectedVariables": [
- "temperatures"
- ],
- "take": 10
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:10Z",
- "2016-08-01T00:00:11Z",
- "2016-08-01T00:00:12Z",
- "2016-08-01T00:00:13Z",
- "2016-08-01T00:00:14Z",
- "2016-08-01T00:00:15Z",
- "2016-08-01T00:00:16Z",
- "2016-08-01T00:00:17Z",
- "2016-08-01T00:00:18Z",
- "2016-08-01T00:00:19Z",
- "2016-08-01T00:00:20Z"
- ],
- "properties": [
- {
- "name": "temperatures",
- "type": "Double",
- "values": [
- 65.125,
- 65.375,
- 65.625,
- 65.875,
- 66.125,
- 66.375,
- 66.625,
- 66.875,
- 67.125,
- 67.375,
- 67.625
- ]
- }
- ],
- "progress": 100.0
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesDefault.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesDefault.json
deleted file mode 100644
index a1e12a720c82..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesDefault.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "searchString": "floor 100"
- }
- },
- "responses": {
- "200": {
- "body": {
- "instances": {
- "hits": [
- {
- "timeSeriesId": [
- "Id1One",
- "Id2One",
- "1.0"
- ],
- "name": "instance1",
- "typeId": "1be09af9-f089-4d6b-9f0b-48018b5f7393",
- "hierarchyIds": [
- "1643004c-0a84-48a5-80e5-7688c5ae9295"
- ],
- "highlights": null
- },
- {
- "timeSeriesId": [
- "Id1Two",
- "Id2Two",
- "2.0"
- ],
- "name": "instance2",
- "typeId": "1be09af9-f089-4d6b-9f0b-48018b5f7393",
- "hierarchyIds": [
- "1643004c-0a84-48a5-80e5-7688c5ae9295"
- ],
- "highlights": null
- }
- ],
- "hitCount": 2,
- "continuationToken": null
- },
- "hierarchyNodes": null
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesExpandHierarchiesOnly.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesExpandHierarchiesOnly.json
deleted file mode 100644
index c2443f272c75..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesExpandHierarchiesOnly.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "searchString": "floor 100",
- "path": [
- "Location"
- ],
- "instances": null,
- "hierarchies": {
- "expand": {
- "kind": "UntilChildren"
- },
- "sort": {
- "by": "Name"
- },
- "pageSize": 2
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "instances": {
- "hits": [],
- "hitCount": 0,
- "continuationToken": null
- },
- "hierarchyNodes": {
- "hits": [
- {
- "name": "California",
- "cumulativeInstanceCount": 2,
- "hierarchyNodes": {
- "hits": [
- {
- "name": "San Diego",
- "cumulativeInstanceCount": 1,
- "hierarchyNodes": null
- },
- {
- "name": "San Francisco",
- "cumulativeInstanceCount": 1,
- "hierarchyNodes": null
- }
- ],
- "hitCount": 2,
- "continuationToken": null
- }
- }
- ],
- "hitCount": 1,
- "continuationToken": null
- }
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage1.json
deleted file mode 100644
index a4053f07d4b6..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage1.json
+++ /dev/null
@@ -1,106 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "searchString": "floor 100",
- "path": null,
- "instances": {
- "recursive": true,
- "sort": {
- "by": "Rank"
- },
- "highlights": true,
- "pageSize": 1
- },
- "hierarchies": {
- "expand": {
- "kind": "UntilChildren"
- },
- "sort": {
- "by": "CumulativeInstanceCount"
- },
- "pageSize": 1
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "instances": {
- "hits": [
- {
- "timeSeriesId": [
- "Id1Two",
- "Id2Two",
- "2.0"
- ],
- "name": "instance2",
- "typeId": "1be09af9-f089-4d6b-9f0b-48018b5f7393",
- "hierarchyIds": [
- "1643004c-0a84-48a5-80e5-7688c5ae9295"
- ],
- "highlights": {
- "timeSeriesId": [
- "Id1Two",
- "Id2Two",
- "2.0"
- ],
- "typeName": "DefaultType",
- "name": "instance2",
- "description": "floor 100",
- "hierarchyIds": [
- "1643004c-0a84-48a5-80e5-7688c5ae9295"
- ],
- "hierarchyNames": [
- "Location"
- ],
- "instanceFieldNames": [
- "state",
- "city"
- ],
- "instanceFieldValues": [
- "California",
- "San Francisco"
- ]
- }
- }
- ],
- "hitCount": 2,
- "continuationToken": "c3sic2tpcCI6MiwidGFrZSI6MiwicmVxdWVzdEhhc2hDb2RlIjotNTE3MDUxOTg0LCJlbnZpcm9ubWVudElkIjoiYmY0M2YxMzMtM2Y2OC00ZWMwLWJjYjQtZmQ2NDUzMGU0MjU2In0="
- },
- "hierarchyNodes": {
- "hits": [
- {
- "name": "Location",
- "cumulativeInstanceCount": 2,
- "hierarchyNodes": {
- "hits": [
- {
- "name": "California",
- "cumulativeInstanceCount": 2,
- "hierarchyNodes": {
- "hits": [
- {
- "name": "San Francisco",
- "cumulativeInstanceCount": 1,
- "hierarchyNodes": null
- }
- ],
- "hitCount": 2,
- "continuationToken": "aHsic2tpcCI6MiwidGFrZSI6MiwicmVxdWVzdEhhc2hDb2RlIjotNzA4NTgyODU0LCJlbnZpcm9ubWVudElkIjoiYmY0M2YxMzMtM2Y2OC00ZWMwLWJjYjQtZmQ2NDUzMGU0MjU2In0="
- }
- }
- ],
- "hitCount": 1,
- "continuationToken": null
- }
- }
- ],
- "hitCount": 1,
- "continuationToken": null
- }
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage2.json
deleted file mode 100644
index 0557d31a3664..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage2.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "c3sic2tpcCI6MiwidGFrZSI6MiwicmVxdWVzdEhhc2hDb2RlIjotNTE3MDUxOTg0LCJlbnZpcm9ubWVudElkIjoiYmY0M2YxMzMtM2Y2OC00ZWMwLWJjYjQtZmQ2NDUzMGU0MjU2In0=",
- "parameters": {
- "searchString": "floor 100",
- "path": null,
- "instances": {
- "recursive": true,
- "sort": {
- "by": "Rank"
- },
- "highlights": true,
- "pageSize": 1
- },
- "hierarchies": {
- "expand": {
- "kind": "UntilChildren"
- },
- "sort": {
- "by": "CumulativeInstanceCount"
- },
- "pageSize": 1
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "instances": {
- "hits": [
- {
- "timeSeriesId": [
- "Id1One",
- "Id2One",
- "1.0"
- ],
- "name": "instance1",
- "typeId": "1be09af9-f089-4d6b-9f0b-48018b5f7393",
- "hierarchyIds": [
- "1643004c-0a84-48a5-80e5-7688c5ae9295"
- ],
- "highlights": {
- "timeSeriesId": [
- "Id1One",
- "Id2One",
- "1.0"
- ],
- "typeName": "DefaultType",
- "name": "instance1",
- "description": "floor 100",
- "hierarchyIds": [
- "1643004c-0a84-48a5-80e5-7688c5ae9295"
- ],
- "hierarchyNames": [
- "Location"
- ],
- "instanceFieldNames": [
- "state",
- "city"
- ],
- "instanceFieldValues": [
- "California",
- "Los Angeles"
- ]
- }
- }
- ],
- "hitCount": 2,
- "continuationToken": null
- },
- "hierarchyNodes": null
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage3.json
deleted file mode 100644
index f3aa7704c26c..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesHierarchiesDefaultInputPage3.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aHsic2tpcCI6MiwidGFrZSI6MiwicmVxdWVzdEhhc2hDb2RlIjotNzA4NTgyODU0LCJlbnZpcm9ubWVudElkIjoiYmY0M2YxMzMtM2Y2OC00ZWMwLWJjYjQtZmQ2NDUzMGU0MjU2In0=",
- "parameters": {
- "searchString": "floor 100",
- "path": null,
- "instances": {
- "recursive": true,
- "sort": {
- "by": "Rank"
- },
- "highlights": true,
- "pageSize": 1
- },
- "hierarchies": {
- "expand": {
- "kind": "UntilChildren"
- },
- "sort": {
- "by": "CumulativeInstanceCount"
- },
- "pageSize": 1
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "instances": null,
- "hierarchyNodes": {
- "hits": [
- {
- "name": "Location",
- "cumulativeInstanceCount": 2,
- "hierarchyNodes": {
- "hits": [
- {
- "name": "California",
- "cumulativeInstanceCount": 2,
- "hierarchyNodes": {
- "hits": [
- {
- "name": "San Diego",
- "cumulativeInstanceCount": 1,
- "hierarchyNodes": null
- }
- ],
- "hitCount": 2,
- "continuationToken": "aHsic2tpcCI6MiwidGFrZSI6MiwicmVxdWVzdEhhc2hDb2RlIjotNzA4NTgyODU0LCJlbnZpcm9ubWVudElkIjoiYmY0M2YxMzMtM2Y2OC00ZWMwLWJjYjQtZmQ2NDUzMGU0MjU2In0="
- }
- }
- ],
- "hitCount": 1,
- "continuationToken": null
- }
- }
- ],
- "hitCount": 1,
- "continuationToken": null
- }
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesOneLevel.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesOneLevel.json
deleted file mode 100644
index f59e6e7f858f..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesOneLevel.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "searchString": "floor 100",
- "path": null,
- "instances": {
- "recursive": false,
- "sort": {
- "by": "DisplayName"
- },
- "highlights": false,
- "pageSize": 2
- },
- "hierarchies": {
- "expand": {
- "kind": "OneLevel"
- },
- "sort": {
- "by": "Name"
- },
- "pageSize": 2
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "instances": {
- "hits": [],
- "hitCount": 0,
- "continuationToken": null
- },
- "hierarchyNodes": {
- "hits": [
- {
- "name": "Location",
- "cumulativeInstanceCount": 2,
- "hierarchyNodes": null
- }
- ],
- "hitCount": 1,
- "continuationToken": null
- }
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesRecursive.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesRecursive.json
deleted file mode 100644
index 74732603fcbb..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesRecursive.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "searchString": "floor 100",
- "path": null,
- "instances": {
- "recursive": true,
- "sort": {
- "by": "DisplayName"
- },
- "highlights": false,
- "pageSize": 2
- },
- "hierarchies": null
- }
- },
- "responses": {
- "200": {
- "body": {
- "instances": {
- "hits": [
- {
- "timeSeriesId": [
- "Id1One",
- "Id2One",
- "1.0"
- ],
- "name": "instance1",
- "typeId": "1be09af9-f089-4d6b-9f0b-48018b5f7393",
- "hierarchyIds": [
- "1643004c-0a84-48a5-80e5-7688c5ae9295"
- ],
- "highlights": null
- },
- {
- "timeSeriesId": [
- "Id1Two",
- "Id2Two",
- "2.0"
- ],
- "name": "instance2",
- "typeId": "1be09af9-f089-4d6b-9f0b-48018b5f7393",
- "hierarchyIds": [
- "1643004c-0a84-48a5-80e5-7688c5ae9295"
- ],
- "highlights": null
- }
- ],
- "hitCount": 2,
- "continuationToken": null
- },
- "hierarchyNodes": null
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesUntilChildren.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesUntilChildren.json
deleted file mode 100644
index 5f7b15f9c180..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/SearchInstancesUntilChildren.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "searchString": "floor 100",
- "path": [
- "Location"
- ],
- "instances": {
- "recursive": false,
- "sort": {
- "by": "DisplayName"
- },
- "highlights": false,
- "pageSize": 2
- },
- "hierarchies": {
- "expand": {
- "kind": "UntilChildren"
- },
- "sort": {
- "by": "Name"
- },
- "pageSize": 2
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "instances": {
- "hits": [],
- "hitCount": 0,
- "continuationToken": null
- },
- "hierarchyNodes": {
- "hits": [
- {
- "name": "California",
- "cumulativeInstanceCount": 2,
- "hierarchyNodes": {
- "hits": [
- {
- "name": "San Diego",
- "cumulativeInstanceCount": 1,
- "hierarchyNodes": null
- },
- {
- "name": "San Francisco",
- "cumulativeInstanceCount": 1,
- "hierarchyNodes": null
- }
- ],
- "hitCount": 2,
- "continuationToken": null
- }
- }
- ],
- "hitCount": 1,
- "continuationToken": null
- }
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchDeleteByIds.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchDeleteByIds.json
deleted file mode 100644
index 06cffe01e03d..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchDeleteByIds.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "delete": {
- "typeIds": [
- "9250f816-faed-44c4-88e6-630e5eefa38b"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "delete": [
- null
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchDeleteByNames.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchDeleteByNames.json
deleted file mode 100644
index 048590e0d8c2..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchDeleteByNames.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "delete": {
- "names": [
- "TemperatureSensor"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "delete": [
- null
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchGetByIds.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchGetByIds.json
deleted file mode 100644
index 79708427f893..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchGetByIds.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "get": {
- "typeIds": [
- "1be09af9-f089-4d6b-9f0b-48018b5f7393",
- "c1cb7a33-ed9b-4cf1-9958-f3162fed8ee8"
- ],
- "names": null
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "get": [
- {
- "timeSeriesType": {
- "id": "1be09af9-f089-4d6b-9f0b-48018b5f7393",
- "name": "DefaultType",
- "description": "Default type",
- "variables": {
- "EventCount": {
- "kind": "aggregate",
- "filter": null,
- "aggregation": {
- "tsx": "count()"
- }
- }
- }
- },
- "error": null
- },
- {
- "timeSeriesType": {
- "id": "c1cb7a33-ed9b-4cf1-9958-f3162fed8ee8",
- "name": "TemperatureSensor",
- "description": "This is a temperature sensor.",
- "variables": {
- "AverageTemperature": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature.Double"
- },
- "filter": null,
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- }
- },
- "error": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchGetByNames.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchGetByNames.json
deleted file mode 100644
index 09ba068d160b..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchGetByNames.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "get": {
- "names": [
- "DefaultType",
- "TemperatureSensor"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "get": [
- {
- "timeSeriesType": {
- "id": "1be09af9-f089-4d6b-9f0b-48018b5f7393",
- "name": "DefaultType",
- "description": "Default type",
- "variables": {
- "EventCount": {
- "kind": "aggregate",
- "filter": null,
- "aggregation": {
- "tsx": "count()"
- }
- }
- }
- },
- "error": null
- },
- {
- "timeSeriesType": {
- "id": "c1cb7a33-ed9b-4cf1-9958-f3162fed8ee8",
- "name": "TemperatureSensor",
- "description": "This is a temperature sensor.",
- "variables": {
- "AverageTemperature": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature.Double"
- },
- "filter": null,
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- }
- },
- "error": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchPut.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchPut.json
deleted file mode 100644
index cfce86fd80b8..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesBatchPut.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "put": [
- {
- "id": "1be09af9-f089-4d6b-9f0b-48018b5f7393",
- "name": "DefaultType",
- "description": "My Default type",
- "variables": {
- "EventCount": {
- "kind": "aggregate",
- "filter": null,
- "aggregation": {
- "tsx": "count()"
- }
- }
- }
- },
- {
- "id": "c1cb7a33-ed9b-4cf1-9958-f3162fed8ee8",
- "name": "OutdoorTemperatureSensor",
- "description": "This is an outdoor temperature sensor.",
- "variables": {
- "AverageTemperature": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature.Double"
- },
- "filter": {
- "tsx": "$event.Mode.String = 'outdoor'"
- },
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- }
- }
- ]
- }
- },
- "responses": {
- "200": {
- "body": {
- "put": [
- {
- "timeSeriesType": {
- "id": "1be09af9-f089-4d6b-9f0b-48018b5f7393",
- "name": "DefaultType",
- "description": "My Default type",
- "variables": {
- "EventCount": {
- "kind": "aggregate",
- "filter": null,
- "aggregation": {
- "tsx": "count()"
- }
- }
- }
- },
- "error": null
- },
- {
- "timeSeriesType": {
- "id": "c1cb7a33-ed9b-4cf1-9958-f3162fed8ee8",
- "name": "OutdoorTemperatureSensor",
- "description": "This is an outdoor temperature sensor.",
- "variables": {
- "AverageTemperature": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature.Double"
- },
- "filter": {
- "tsx": "$event.Mode.String = 'outdoor'"
- },
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- }
- },
- "error": null
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage1.json
deleted file mode 100644
index 204a4d9cca64..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage1.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com"
- },
- "responses": {
- "200": {
- "body": {
- "types": [
- {
- "id": "1be09af9-f089-4d6b-9f0b-48018b5f7393",
- "name": "DefaultType",
- "description": "My Default type",
- "variables": {
- "EventCount": {
- "kind": "aggregate",
- "filter": null,
- "aggregation": {
- "tsx": "count()"
- }
- }
- }
- }
- ],
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage2.json
deleted file mode 100644
index dacfd9da4740..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage2.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- },
- "responses": {
- "200": {
- "body": {
- "types": [
- {
- "id": "9b84e946-7b36-4aa0-9d26-71bf48cb2aff",
- "name": "TurbineSensor",
- "description": "Wind turbine sensor",
- "variables": {
- "Value": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.value.Double"
- },
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- }
- }
- ],
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrASI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage3.json
deleted file mode 100644
index 65be4bc46f2a..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/TypesGetPage3.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrASI6MTAwMH0="
- },
- "responses": {
- "200": {
- "body": {
- "types": []
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreAvailabilityGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreAvailabilityGet.json
deleted file mode 100644
index fab7a099df2f..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreAvailabilityGet.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "warmstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "clientRequestId": "A72703F6-C0B1-49EF-854A-59F1994F54E7",
- "clientSessionId": "AlertCalculation_W7"
- },
- "responses": {
- "200": {
- "headers": {
- "x-ms-request-id": "0d59d156-2807-4952-87bb-0e074417dbfb"
- },
- "body": {
- "availability": {
- "intervalSize": "PT1H",
- "distribution": {
- "2019-03-27T04:00:00Z": 432447,
- "2019-03-27T05:00:00Z": 432340,
- "2019-03-27T06:00:00Z": 432451,
- "2019-03-27T07:00:00Z": 432436,
- "2019-03-26T13:00:00Z": 386247,
- "2019-03-27T00:00:00Z": 436968,
- "2019-03-27T01:00:00Z": 432509,
- "2019-03-27T02:00:00Z": 432487
- },
- "range": {
- "from": "2019-03-14T06:38:27.153Z",
- "to": "2019-03-27T03:57:11.697Z"
- }
- }
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreEventSchemaGet.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreEventSchemaGet.json
deleted file mode 100644
index 391a7637b12d..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreEventSchemaGet.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "warmstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "searchSpan": {
- "from": "2018-08-01T00:00:00.000Z",
- "to": "2018-08-31T00:00:00.000Z"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "properties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Room",
- "type": "String"
- },
- {
- "name": "DeviceId",
- "type": "Double"
- },
- {
- "name": "Temperature",
- "type": "Double"
- },
- {
- "name": "Pressure",
- "type": "Double"
- },
- {
- "name": "Status",
- "type": "String"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryAggregateSeriesPage.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryAggregateSeriesPage.json
deleted file mode 100644
index 88518303ad1d..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryAggregateSeriesPage.json
+++ /dev/null
@@ -1,144 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "warmstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "aggregateSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "interval": "PT1M",
- "inlineVariables": {
- "Count": {
- "kind": "aggregate",
- "filter": null,
- "aggregation": {
- "tsx": "count()"
- }
- },
- "MinTemperature": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "min($value)"
- }
- },
- "MaxTemperature": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "max($value)"
- }
- }
- },
- "projectedVariables": [
- "Count",
- "MinTemperature",
- "MaxTemperature"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:00Z",
- "2016-08-01T00:01:00Z",
- "2016-08-01T00:02:00Z",
- "2016-08-01T00:03:00Z",
- "2016-08-01T00:04:00Z",
- "2016-08-01T00:05:00Z",
- "2016-08-01T00:06:00Z",
- "2016-08-01T00:07:00Z",
- "2016-08-01T00:08:00Z",
- "2016-08-01T00:09:00Z",
- "2016-08-01T00:10:00Z"
- ],
- "properties": [
- {
- "name": "Count",
- "type": "Long",
- "values": [
- 50,
- 60,
- 60,
- 60,
- 60,
- 60,
- 60,
- 60,
- 60,
- 60,
- null
- ]
- },
- {
- "name": "AverageTemperature",
- "type": "Double",
- "values": [
- 71.25,
- 85.0,
- 82.5,
- 80.0,
- 89.166666666666671,
- 75.0,
- 90.0,
- 75.833333333333329,
- 85.0,
- 82.5,
- null
- ]
- },
- {
- "name": "MinTemperature",
- "type": "Double",
- "values": [
- 65.125,
- 77.625,
- 65.125,
- 72.625,
- 65.125,
- 67.625,
- 82.625,
- 65.125,
- 77.625,
- 65.125,
- null
- ]
- },
- {
- "name": "MaxTemperature",
- "type": "Double",
- "values": [
- 77.375,
- 92.375,
- 99.875,
- 87.375,
- 99.875,
- 82.375,
- 97.375,
- 99.875,
- 92.375,
- 99.875,
- null
- ]
- }
- ],
- "progress": 100.0
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage1.json
deleted file mode 100644
index b24cbf93f2a9..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage1.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "warmstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "getEvents": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": {
- "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
- },
- "projectedProperties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Temperature",
- "type": "Double"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage2.json
deleted file mode 100644
index 4059db5e0882..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage2.json
+++ /dev/null
@@ -1,87 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "warmstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
- "parameters": {
- "getEvents": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": {
- "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
- },
- "projectedProperties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Temperature",
- "type": "Double"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:10Z",
- "2016-08-01T00:00:11Z",
- "2016-08-01T00:00:12Z",
- "2016-08-01T00:00:13Z",
- "2016-08-01T00:00:14Z",
- "2016-08-01T00:00:15Z",
- "2016-08-01T00:00:16Z",
- "2016-08-01T00:00:17Z",
- "2016-08-01T00:00:18Z",
- "2016-08-01T00:00:19Z"
- ],
- "properties": [
- {
- "name": "Building",
- "type": "String",
- "values": [
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium",
- "Millenium"
- ]
- },
- {
- "name": "Temperature",
- "type": "Double",
- "values": [
- 65.125,
- 65.375,
- 65.625,
- 65.875,
- 66.125,
- 66.375,
- 66.625,
- 66.875,
- 67.125,
- 67.375
- ]
- }
- ],
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage3.json
deleted file mode 100644
index 09c3e5be2929..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage3.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "warmstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=",
- "parameters": {
- "getEvents": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": {
- "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
- },
- "projectedProperties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Temperature",
- "type": "Double"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:20Z"
- ],
- "properties": [
- {
- "name": "Building",
- "type": "String",
- "values": [
- "Millenium"
- ]
- },
- {
- "name": "Temperature",
- "type": "Double",
- "values": [
- 67.575
- ]
- }
- ],
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAbCDewidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage4.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage4.json
deleted file mode 100644
index fc3e00c9c999..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetEventsPage4.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "warmstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAbCDewidGFrZSI6MTAwMH0=",
- "parameters": {
- "getEvents": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": {
- "tsx": "($event.Value.Double != null) OR ($event.Status.String = 'Good')"
- },
- "projectedProperties": [
- {
- "name": "Building",
- "type": "String"
- },
- {
- "name": "Temperature",
- "type": "Double"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [],
- "properties": [],
- "progress": 100.0
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage1.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage1.json
deleted file mode 100644
index 5c719a880890..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage1.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "warmstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "parameters": {
- "getSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": null,
- "inlineVariables": {
- "temperatures": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- },
- "projectedVariables": [
- "temperatures"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage2.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage2.json
deleted file mode 100644
index 7f8c824cf022..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage2.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "warmstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=",
- "parameters": {
- "getSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": null,
- "inlineVariables": {
- "temperatures": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- },
- "projectedVariables": [
- "temperatures"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:10Z",
- "2016-08-01T00:00:11Z",
- "2016-08-01T00:00:12Z",
- "2016-08-01T00:00:13Z",
- "2016-08-01T00:00:14Z",
- "2016-08-01T00:00:15Z",
- "2016-08-01T00:00:16Z",
- "2016-08-01T00:00:17Z",
- "2016-08-01T00:00:18Z",
- "2016-08-01T00:00:19Z",
- "2016-08-01T00:00:20Z"
- ],
- "properties": [
- {
- "name": "temperatures",
- "type": "Double",
- "values": [
- 65.125,
- 65.375,
- 65.625,
- 65.875,
- 66.125,
- 66.375,
- 66.625,
- 66.875,
- 67.125,
- 67.375,
- 67.625
- ]
- }
- ],
- "progress": 50.0,
- "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0="
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage3.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage3.json
deleted file mode 100644
index fb0e7a620456..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/examples/WarmStoreQueryGetSeriesPage3.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01-preview",
- "storeType": "warmstore",
- "environmentFqdn": "10000000-0000-0000-0000-100000000109.env.timeseries.azure.com",
- "continuationToken": "aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=",
- "parameters": {
- "getSeries": {
- "timeSeriesId": [
- "006dfc2d-0324-4937-998c-d16f3b4f1952",
- "T1"
- ],
- "searchSpan": {
- "from": "2016-08-01T00:00:00Z",
- "to": "2016-08-01T00:16:50Z"
- },
- "filter": null,
- "inlineVariables": {
- "temperatures": {
- "kind": "numeric",
- "value": {
- "tsx": "$event.Temperature"
- },
- "filter": null,
- "aggregation": {
- "tsx": "avg($value)"
- }
- }
- },
- "projectedVariables": [
- "temperatures"
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "timestamps": [
- "2016-08-01T00:00:21Z"
- ],
- "properties": [
- {
- "name": "temperatures",
- "type": "Double",
- "values": [
- 67.825
- ]
- }
- ],
- "progress": 100.0
- }
- }
- }
-}
diff --git a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json b/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json
deleted file mode 100644
index 20fdbb673801..000000000000
--- a/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json
+++ /dev/null
@@ -1,2517 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "TimeSeriesInsightsClient",
- "description": "Time Series Insights environment data plane client for Gen2 (Preview L1 SKU) environments.",
- "version": "2018-11-01-preview"
- },
- "x-ms-parameterized-host": {
- "hostTemplate": "{environmentFqdn}",
- "useSchemePrefix": true,
- "positionInOperation": "first",
- "parameters": [
- {
- "$ref": "#/parameters/EnvironmentFqdn"
- }
- ]
- },
- "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": {
- "/availability": {
- "get": {
- "tags": [
- "Query"
- ],
- "operationId": "Query_GetAvailability",
- "description": "Returns the time range and distribution of event count over the event timestamp ($ts). This API can be used to provide landing experience of navigating to the environment.",
- "x-ms-examples": {
- "AvailabilityGet": {
- "$ref": "./examples/AvailabilityGet.json"
- },
- "ColdStoreAvailabilityGet": {
- "$ref": "./examples/ColdStoreAvailabilityGet.json"
- },
- "WarmStoreAvailabilityGet": {
- "$ref": "./examples/WarmStoreAvailabilityGet.json"
- },
- "AvailabilityGetEmpty": {
- "$ref": "./examples/AvailabilityGetEmpty.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/StoreType"
- },
- {
- "$ref": "#/parameters/ClientRequestId"
- },
- {
- "$ref": "#/parameters/ClientSessionId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation.",
- "schema": {
- "$ref": "#/definitions/AvailabilityResponse"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- },
- "default": {
- "description": "Unexpected error.",
- "schema": {
- "$ref": "#/definitions/TsiError"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- }
- }
- }
- },
- "/eventSchema": {
- "post": {
- "tags": [
- "Query"
- ],
- "operationId": "Query_GetEventSchema",
- "description": "Returns environment event schema for a given search span. Event schema is a set of property definitions. Event schema may not be contain all persisted properties when there are too many properties.",
- "x-ms-examples": {
- "EventSchemaGet": {
- "$ref": "./examples/EventSchemaGet.json"
- },
- "EventSchemaGetEmpty": {
- "$ref": "./examples/EventSchemaGetEmpty.json"
- },
- "ColdStoreEventSchemaGet": {
- "$ref": "./examples/ColdStoreEventSchemaGet.json"
- },
- "WarmStoreEventSchemaGet": {
- "$ref": "./examples/WarmStoreEventSchemaGet.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/StoreType"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/GetEventSchemaRequest"
- },
- "description": "Parameters to get event schema."
- },
- {
- "$ref": "#/parameters/ClientRequestId"
- },
- {
- "$ref": "#/parameters/ClientSessionId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation.",
- "schema": {
- "$ref": "#/definitions/EventSchema"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- },
- "default": {
- "description": "Unexpected error.",
- "schema": {
- "$ref": "#/definitions/TsiError"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- }
- }
- }
- },
- "/timeseries/modelSettings": {
- "get": {
- "tags": [
- "ModelSettings"
- ],
- "operationId": "ModelSettings_Get",
- "description": "Returns the model settings which includes model display name, Time Series ID properties and default type ID. Every Gen2 environment has a model that is automatically created.",
- "x-ms-examples": {
- "ModelSettingsGet": {
- "$ref": "./examples/ModelSettingsGet.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/ClientRequestId"
- },
- {
- "$ref": "#/parameters/ClientSessionId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation.",
- "schema": {
- "$ref": "#/definitions/ModelSettingsResponse"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- },
- "default": {
- "description": "Unexpected error.",
- "schema": {
- "$ref": "#/definitions/TsiError"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- }
- }
- },
- "patch": {
- "tags": [
- "ModelSettings"
- ],
- "operationId": "ModelSettings_Update",
- "description": "Updates time series model settings - either the model name or default type ID.",
- "x-ms-examples": {
- "ModelSettingsUpdateName": {
- "$ref": "./examples/ModelSettingsUpdateName.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/UpdateModelSettingsRequest"
- },
- "description": "Model settings update request body."
- },
- {
- "$ref": "#/parameters/ClientRequestId"
- },
- {
- "$ref": "#/parameters/ClientSessionId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation returns new full model settings.",
- "schema": {
- "$ref": "#/definitions/ModelSettingsResponse"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- },
- "default": {
- "description": "Unexpected error.",
- "schema": {
- "$ref": "#/definitions/TsiError"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- }
- }
- }
- },
- "/timeseries/query": {
- "post": {
- "tags": [
- "Query"
- ],
- "operationId": "Query_Execute",
- "description": "Executes Time Series Query in pages of results - Get Events, Get Series or Aggregate Series.",
- "x-ms-examples": {
- "QueryAggregateSeriesPage1": {
- "$ref": "./examples/QueryAggregateSeriesPage1.json"
- },
- "QueryAggregateSeriesPage2": {
- "$ref": "./examples/QueryAggregateSeriesPage2.json"
- },
- "ColdStoreQueryAggregateSeriesPage1": {
- "$ref": "./examples/ColdStoreQueryAggregateSeriesPage1.json"
- },
- "ColdStoreQueryAggregateSeriesPage2": {
- "$ref": "./examples/ColdStoreQueryAggregateSeriesPage2.json"
- },
- "WarmStoreQueryAggregateSeriesPage": {
- "$ref": "./examples/WarmStoreQueryAggregateSeriesPage.json"
- },
- "QueryAggregateSeriesWithSampleInterpolation": {
- "$ref": "./examples/QueryAggregateSeriesWithSampleInterpolation.json"
- },
- "QueryAggregateSeriesWithCategoricalVariable": {
- "$ref": "./examples/QueryAggregateSeriesWithCategoricalVariable.json"
- },
- "QueryAggregateSeriesWithCategoricalInterpolatedVariable": {
- "$ref": "./examples/QueryAggregateSeriesWithCategoricalInterpolatedVariable.json"
- },
- "QueryGetEventsPage1": {
- "$ref": "./examples/QueryGetEventsPage1.json"
- },
- "QueryGetEventsPage2": {
- "$ref": "./examples/QueryGetEventsPage2.json"
- },
- "QueryGetEventsPage3": {
- "$ref": "./examples/QueryGetEventsPage3.json"
- },
- "QueryGetEventsPage4": {
- "$ref": "./examples/QueryGetEventsPage4.json"
- },
- "ColdStoreQueryGetEventsPage1": {
- "$ref": "./examples/ColdStoreQueryGetEventsPage1.json"
- },
- "ColdStoreQueryGetEventsPage2": {
- "$ref": "./examples/ColdStoreQueryGetEventsPage2.json"
- },
- "ColdStoreQueryGetEventsPage3": {
- "$ref": "./examples/ColdStoreQueryGetEventsPage3.json"
- },
- "ColdStoreQueryGetEventsPage4": {
- "$ref": "./examples/ColdStoreQueryGetEventsPage4.json"
- },
- "WarmStoreQueryGetEventsPage1": {
- "$ref": "./examples/WarmStoreQueryGetEventsPage1.json"
- },
- "WarmStoreQueryGetEventsPage2": {
- "$ref": "./examples/WarmStoreQueryGetEventsPage2.json"
- },
- "WarmStoreQueryGetEventsPage3": {
- "$ref": "./examples/WarmStoreQueryGetEventsPage3.json"
- },
- "WarmStoreQueryGetEventsPage4": {
- "$ref": "./examples/WarmStoreQueryGetEventsPage4.json"
- },
- "QueryGetEventsWithTakePage1": {
- "$ref": "./examples/QueryGetEventsWithTakePage1.json"
- },
- "QueryGetEventsWithTakePage2": {
- "$ref": "./examples/QueryGetEventsWithTakePage2.json"
- },
- "QueryGetSeriesPage1": {
- "$ref": "./examples/QueryGetSeriesPage1.json"
- },
- "QueryGetSeriesPage2": {
- "$ref": "./examples/QueryGetSeriesPage2.json"
- },
- "QueryGetSeriesPage3": {
- "$ref": "./examples/QueryGetSeriesPage3.json"
- },
- "QueryGetSeriesWithTakePage1": {
- "$ref": "./examples/QueryGetSeriesWithTakePage1.json"
- },
- "QueryGetSeriesWithTakePage2": {
- "$ref": "./examples/QueryGetSeriesWithTakePage2.json"
- },
- "ColdStoreQueryGetSeriesPage1": {
- "$ref": "./examples/ColdStoreQueryGetSeriesPage1.json"
- },
- "ColdStoreQueryGetSeriesPage2": {
- "$ref": "./examples/ColdStoreQueryGetSeriesPage2.json"
- },
- "ColdStoreQueryGetSeriesPage3": {
- "$ref": "./examples/ColdStoreQueryGetSeriesPage3.json"
- },
- "WarmStoreQueryGetSeriesPage1": {
- "$ref": "./examples/WarmStoreQueryGetSeriesPage1.json"
- },
- "WarmStoreQueryGetSeriesPage2": {
- "$ref": "./examples/WarmStoreQueryGetSeriesPage2.json"
- },
- "WarmStoreQueryGetSeriesPage3": {
- "$ref": "./examples/WarmStoreQueryGetSeriesPage3.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/StoreType"
- },
- {
- "$ref": "#/parameters/ContinuationToken"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/QueryRequest"
- },
- "description": "Time series query request body."
- },
- {
- "$ref": "#/parameters/ClientRequestId"
- },
- {
- "$ref": "#/parameters/ClientSessionId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful query.",
- "schema": {
- "$ref": "#/definitions/QueryResultPage"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- },
- "default": {
- "description": "Unexpected error.",
- "schema": {
- "$ref": "#/definitions/TsiError"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- }
- }
- }
- },
- "/timeseries/instances": {
- "get": {
- "tags": [
- "TimeSeriesInstances"
- ],
- "operationId": "TimeSeriesInstances_Get",
- "description": "Gets time series instances in pages.",
- "x-ms-examples": {
- "InstancesGetPage1": {
- "$ref": "./examples/InstancesGetPage1.json"
- },
- "InstancesGetPage2": {
- "$ref": "./examples/InstancesGetPage2.json"
- },
- "InstancesGetPage3": {
- "$ref": "./examples/InstancesGetPage3.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/ContinuationToken"
- },
- {
- "$ref": "#/parameters/ClientRequestId"
- },
- {
- "$ref": "#/parameters/ClientSessionId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation.",
- "schema": {
- "$ref": "#/definitions/GetInstancesPage"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- },
- "default": {
- "description": "Unexpected error.",
- "schema": {
- "$ref": "#/definitions/TsiError"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- }
- }
- }
- },
- "/timeseries/instances/$batch": {
- "post": {
- "tags": [
- "TimeSeriesInstances"
- ],
- "operationId": "TimeSeriesInstances_ExecuteBatch",
- "description": "Executes a batch get, create, update, delete operation on multiple time series instances.",
- "x-ms-examples": {
- "InstancesBatchDeleteByIds": {
- "$ref": "./examples/InstancesBatchDeleteByIds.json"
- },
- "InstancesBatchDeleteByNames": {
- "$ref": "./examples/InstancesBatchDeleteByNames.json"
- },
- "InstancesBatchGetByIds": {
- "$ref": "./examples/InstancesBatchGetByIds.json"
- },
- "InstancesBatchGetByNames": {
- "$ref": "./examples/InstancesBatchGetByNames.json"
- },
- "InstancesBatchUpdate": {
- "$ref": "./examples/InstancesBatchUpdate.json"
- },
- "InstancesBatchPut": {
- "$ref": "./examples/InstancesBatchPut.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/InstancesBatchRequest"
- },
- "description": "Time series instances suggest request body."
- },
- {
- "$ref": "#/parameters/ClientRequestId"
- },
- {
- "$ref": "#/parameters/ClientSessionId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation.",
- "schema": {
- "$ref": "#/definitions/InstancesBatchResponse"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- },
- "default": {
- "description": "Unexpected error.",
- "schema": {
- "$ref": "#/definitions/TsiError"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- }
- }
- }
- },
- "/timeseries/instances/suggest": {
- "post": {
- "tags": [
- "TimeSeriesInstances"
- ],
- "operationId": "TimeSeriesInstances_Suggest",
- "description": "Suggests keywords based on time series instance attributes to be later used in Search Instances.",
- "x-ms-examples": {
- "InstancesSuggest": {
- "$ref": "./examples/InstancesSuggest.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/InstancesSuggestRequest"
- },
- "description": "Time series instances suggest request body."
- },
- {
- "$ref": "#/parameters/ClientRequestId"
- },
- {
- "$ref": "#/parameters/ClientSessionId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation.",
- "schema": {
- "$ref": "#/definitions/InstancesSuggestResponse"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- },
- "default": {
- "description": "Unexpected error.",
- "schema": {
- "$ref": "#/definitions/TsiError"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- }
- }
- }
- },
- "/timeseries/instances/search": {
- "post": {
- "tags": [
- "TimeSeriesInstances"
- ],
- "operationId": "TimeSeriesInstances_Search",
- "description": "Partial list of hits on search for time series instances based on instance attributes.",
- "x-ms-examples": {
- "SearchInstancesHierarchiesDefaultInputPage1": {
- "$ref": "./examples/SearchInstancesHierarchiesDefaultInputPage1.json"
- },
- "SearchInstancesHierarchiesDefaultInputPage2": {
- "$ref": "./examples/SearchInstancesHierarchiesDefaultInputPage2.json"
- },
- "SearchInstancesHierarchiesDefaultInputPage3": {
- "$ref": "./examples/SearchInstancesHierarchiesDefaultInputPage3.json"
- },
- "SearchInstancesUntilChildren": {
- "$ref": "./examples/SearchInstancesUntilChildren.json"
- },
- "SearchInstancesDefault": {
- "$ref": "./examples/SearchInstancesDefault.json"
- },
- "SearchInstancesExpandHierarchiesOnly": {
- "$ref": "./examples/SearchInstancesExpandHierarchiesOnly.json"
- },
- "SearchInstancesRecursive": {
- "$ref": "./examples/SearchInstancesRecursive.json"
- },
- "SearchInstancesOneLevel": {
- "$ref": "./examples/SearchInstancesOneLevel.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/ContinuationToken"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/SearchInstancesRequest"
- },
- "description": "Time series instances search request body."
- },
- {
- "$ref": "#/parameters/ClientRequestId"
- },
- {
- "$ref": "#/parameters/ClientSessionId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful search response.",
- "schema": {
- "$ref": "#/definitions/SearchInstancesResponsePage"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- },
- "default": {
- "description": "Unexpected error.",
- "schema": {
- "$ref": "#/definitions/TsiError"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- }
- }
- }
- },
- "/timeseries/types": {
- "get": {
- "tags": [
- "TimeSeriesTypes"
- ],
- "operationId": "TimeSeriesTypes_Get",
- "description": "Gets time series types in pages.",
- "x-ms-examples": {
- "TypesGetPage1": {
- "$ref": "./examples/TypesGetPage1.json"
- },
- "TypesGetPage2": {
- "$ref": "./examples/TypesGetPage2.json"
- },
- "TypesGetPage3": {
- "$ref": "./examples/TypesGetPage3.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/ContinuationToken"
- },
- {
- "$ref": "#/parameters/ClientRequestId"
- },
- {
- "$ref": "#/parameters/ClientSessionId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation.",
- "schema": {
- "$ref": "#/definitions/GetTypesPage"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- },
- "default": {
- "description": "Unexpected error.",
- "schema": {
- "$ref": "#/definitions/TsiError"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- }
- }
- }
- },
- "/timeseries/types/$batch": {
- "post": {
- "tags": [
- "TimeSeriesTypes"
- ],
- "operationId": "TimeSeriesTypes_ExecuteBatch",
- "description": "Executes a batch get, create, update, delete operation on multiple time series types.",
- "x-ms-examples": {
- "TypesBatchGetByIds": {
- "$ref": "./examples/TypesBatchGetByIds.json"
- },
- "TypesBatchGetByNames": {
- "$ref": "./examples/TypesBatchGetByNames.json"
- },
- "TypesBatchPut": {
- "$ref": "./examples/TypesBatchPut.json"
- },
- "TypesBatchDeleteByIds": {
- "$ref": "./examples/TypesBatchDeleteByIds.json"
- },
- "TypesBatchDeleteByNames": {
- "$ref": "./examples/TypesBatchDeleteByNames.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/TypesBatchRequest"
- },
- "description": "Time series types batch request body."
- },
- {
- "$ref": "#/parameters/ClientRequestId"
- },
- {
- "$ref": "#/parameters/ClientSessionId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation.",
- "schema": {
- "$ref": "#/definitions/TypesBatchResponse"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- },
- "default": {
- "description": "Unexpected error.",
- "schema": {
- "$ref": "#/definitions/TsiError"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- }
- }
- }
- },
- "/timeseries/hierarchies": {
- "get": {
- "tags": [
- "TimeSeriesHierarchies"
- ],
- "operationId": "TimeSeriesHierarchies_Get",
- "description": "Returns time series hierarchies definitions in pages.",
- "x-ms-examples": {
- "HierarchiesGetPage1": {
- "$ref": "./examples/HierarchiesGetPage1.json"
- },
- "HierarchiesGetPage2": {
- "$ref": "./examples/HierarchiesGetPage2.json"
- },
- "HierarchiesGetPage3": {
- "$ref": "./examples/HierarchiesGetPage3.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "$ref": "#/parameters/ContinuationToken"
- },
- {
- "$ref": "#/parameters/ClientRequestId"
- },
- {
- "$ref": "#/parameters/ClientSessionId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation.",
- "schema": {
- "$ref": "#/definitions/GetHierarchiesPage"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- },
- "default": {
- "description": "Unexpected error.",
- "schema": {
- "$ref": "#/definitions/TsiError"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- }
- }
- }
- },
- "/timeseries/hierarchies/$batch": {
- "post": {
- "tags": [
- "TimeSeriesHierarchies"
- ],
- "operationId": "TimeSeriesHierarchies_ExecuteBatch",
- "description": "Executes a batch get, create, update, delete operation on multiple time series hierarchy definitions.",
- "x-ms-examples": {
- "HierarchiesBatchGetByIds": {
- "$ref": "./examples/HierarchiesBatchGetByIds.json"
- },
- "HierarchiesBatchGetByNames": {
- "$ref": "./examples/HierarchiesBatchGetByNames.json"
- },
- "HierarchiesBatchPut": {
- "$ref": "./examples/HierarchiesBatchPut.json"
- },
- "HierarchiesBatchDeleteByIds": {
- "$ref": "./examples/HierarchiesBatchDeleteByIds.json"
- },
- "HierarchiesBatchDeleteByNames": {
- "$ref": "./examples/HierarchiesBatchDeleteByNames.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/HierarchiesBatchRequest"
- },
- "description": "Time series hierarchies batch request body."
- },
- {
- "$ref": "#/parameters/ClientRequestId"
- },
- {
- "$ref": "#/parameters/ClientSessionId"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation.",
- "schema": {
- "$ref": "#/definitions/HierarchiesBatchResponse"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- },
- "default": {
- "description": "Unexpected error.",
- "schema": {
- "$ref": "#/definitions/TsiError"
- },
- "headers": {
- "x-ms-request-id": {
- "x-ms-client-name": "serverRequestId",
- "type": "string",
- "description": "Server-generated request ID. Can be used to contact support to investigate a request."
- }
- }
- }
- }
- }
- }
- },
- "definitions": {
- "AvailabilityResponse": {
- "description": "Response of Get Availability operation. When environment has no data, availability property is null.",
- "type": "object",
- "properties": {
- "availability": {
- "description": "Event availability information when environment contains events. When environment has no data yet, this property is null or not present.",
- "readOnly": true,
- "$ref": "#/definitions/Availability"
- }
- }
- },
- "Availability": {
- "description": "Event availability information when environment contains events. Contains time range of events and approximate distribution of events over time.",
- "type": "object",
- "properties": {
- "range": {
- "description": "Minimum and maximum values of event timestamp ($ts) property.",
- "$ref": "#/definitions/DateTimeRange",
- "readOnly": true
- },
- "intervalSize": {
- "description": "Interval size for the returned distribution of the events. Returned interval is selected to return a reasonable number of points. All intervals are the same size. On the wire interval is specified in ISO-8601 duration format. One month is always converted to 30 days, and one year is always 365 days. Examples: 1 minute is \"PT1M\", 1 millisecond is \"PT0.001S\". For more information, see https://www.w3.org/TR/xmlschema-2/#duration",
- "readOnly": true,
- "type": "string",
- "format": "duration"
- },
- "distribution": {
- "additionalProperties": {
- "description": "Key value pair where key represents the interval denoted by the date time of the start of the interval and the value is the number of events in that interval.",
- "readOnly": true,
- "type": "integer",
- "format": "int32"
- }
- }
- }
- },
- "GetEventSchemaRequest": {
- "description": "Request to get the event schema of all events within a given search span.",
- "type": "object",
- "properties": {
- "searchSpan": {
- "description": "The range of time on which the query is executed. Cannot be null.",
- "$ref": "#/definitions/DateTimeRange"
- }
- },
- "required": [
- "searchSpan"
- ]
- },
- "EventSchema": {
- "description": "Event schema of all events within a given search span. Event schema is a set of property definitions. Properties are identified by both name and type. Different events can have properties with same name, but different type. Event schema may not be contain all persisted properties when there are too many properties.",
- "type": "object",
- "properties": {
- "properties": {
- "description": "A set of property definitions. When environment has no data, the returned array is empty.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/EventProperty"
- }
- }
- }
- },
- "QueryRequest": {
- "type": "object",
- "description": "Request to execute a time series query over events. Exactly one of \"getEvents\", \"getSeries\" or \"aggregateSeries\" must be set.",
- "properties": {
- "getEvents": {
- "description": "Get Events query. Allows to retrieve raw events for a given Time Series ID and search span.",
- "$ref": "#/definitions/GetEvents"
- },
- "getSeries": {
- "description": "Get Series query. Allows to retrieve time series of calculated variable values from events for a given Time Series ID and search span.",
- "$ref": "#/definitions/GetSeries"
- },
- "aggregateSeries": {
- "description": "Aggregate Series query. Allows to calculate an aggregated time series from events for a given Time Series ID and search span.",
- "$ref": "#/definitions/AggregateSeries"
- }
- }
- },
- "GetEvents": {
- "description": "Get Events query. Allows to retrieve raw events for a given Time Series ID and search span.",
- "type": "object",
- "properties": {
- "timeSeriesId": {
- "description": "A single Time Series ID value that uniquely identifies a single time series instance (e.g. a device). Note that a single Time Series ID can be composite if multiple properties are specified as Time Series ID at environment creation time. The position and type of values must match Time Series ID properties specified on the environment and returned by Get Model Setting API. Cannot be null.",
- "$ref": "#/definitions/TimeSeriesId"
- },
- "searchSpan": {
- "description": "The range of time on which the query is executed. Cannot be null.",
- "$ref": "#/definitions/DateTimeRange"
- },
- "filter": {
- "description": "Optional top-level filter for the query which will be applied to all the variables in the query. Example: \"$event.Status.String='Good'\". Can be null.",
- "$ref": "#/definitions/Tsx"
- },
- "projectedProperties": {
- "description": "Projected properties is an array of properties which you want to project. These properties must appear in the events; otherwise, they are not returned.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/EventProperty"
- }
- },
- "take": {
- "description": "Maximum number of property values in the whole response set, not the maximum number of property values per page. Defaults to 10,000 when not set. Maximum value of take can be 250,000.",
- "type": "integer",
- "format": "int32"
- }
- },
- "required": [
- "timeSeriesId",
- "searchSpan"
- ]
- },
- "GetSeries": {
- "description": "Get Series query. Allows to retrieve time series of calculated variable values from events for a given Time Series ID and search span.",
- "type": "object",
- "properties": {
- "timeSeriesId": {
- "description": "A single Time Series ID value that uniquely identifies a single time series instance (e.g. a device). Note that a single Time Series ID can be composite if multiple properties are specified as Time Series ID at environment creation time. The position and type of values must match Time Series ID properties specified on the environment and returned by Get Model Setting API. Cannot be null.",
- "$ref": "#/definitions/TimeSeriesId"
- },
- "searchSpan": {
- "description": "The range of time on which the query is executed. Cannot be null.",
- "$ref": "#/definitions/DateTimeRange"
- },
- "filter": {
- "description": "Top-level filter over the events that restricts the number of events being considered for computation. This filter is AND'ed with filter in each variable. Example: \"$event.Status.String='Good'\". Optional.",
- "$ref": "#/definitions/Tsx"
- },
- "projectedVariables": {
- "description": "Selected variables that needs to be projected in the query result. When it is null or not set, all the variables from inlineVariables and time series type in the model are returned. Can be null.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "inlineVariables": {
- "description": "Optional inline variables apart from the ones already defined in the time series type in the model. When the inline variable name is the same name as in the model, the inline variable definition takes precedence. Can be null.",
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/Variable"
- }
- },
- "take": {
- "description": "Maximum number of property values in the whole response set, not the maximum number of property values per page. Defaults to 10,000 when not set. Maximum value of take can be 250,000.",
- "type": "integer",
- "format": "int32"
- }
- },
- "required": [
- "timeSeriesId",
- "searchSpan"
- ]
- },
- "AggregateSeries": {
- "description": "Aggregate Series query. Allows to calculate an aggregated time series from events for a given Time Series ID and search span.",
- "type": "object",
- "properties": {
- "timeSeriesId": {
- "description": "A single Time Series ID value that uniquely identifies a single time series instance (e.g. a device). Note that a single Time Series ID can be composite if multiple properties are specified as Time Series ID at environment creation time. The position and type of values must match Time Series ID properties specified on the environment and returned by Get Model Setting API. Cannot be null.",
- "$ref": "#/definitions/TimeSeriesId"
- },
- "searchSpan": {
- "description": "The range of time on which the query is executed. Cannot be null.",
- "$ref": "#/definitions/DateTimeRange"
- },
- "filter": {
- "description": "Top-level filter over the events that restricts the number of events being considered for computation. This filter is AND'ed with filter in each variable. Example: \"$event.Status.String='Good'\". Optional.",
- "$ref": "#/definitions/Tsx"
- },
- "interval": {
- "type": "string",
- "format": "duration",
- "description": "Interval size is specified in ISO-8601 duration format. All intervals are the same size. One month is always converted to 30 days, and one year is always 365 days. Examples: 1 minute is \"PT1M\", 1 millisecond is \"PT0.001S\". For more information, see https://www.w3.org/TR/xmlschema-2/#duration"
- },
- "projectedVariables": {
- "description": "This allows the user to optionally select the variables that needs to be projected. When it is null or not set, all the variables from inlineVariables and model are returned. Can be null.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "inlineVariables": {
- "description": "This allows the user the optionally define inline-variables apart from the ones already defined in the model. When the inline variable names have the same name as the model, the inline variable definition takes precedence. Can be null.",
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/Variable"
- }
- }
- },
- "required": [
- "timeSeriesId",
- "searchSpan",
- "interval"
- ]
- },
- "TimeSeriesId": {
- "description": "A single Time Series ID value that is an array of primitive values that uniquely identifies a time series instance (e.g. a single device). Note that a single Time Series ID can be composite if multiple properties are specified as Time Series ID at environment creation time. The position and type of values must match Time Series ID properties specified on the environment and returned by Get Model Setting API. Cannot be empty.",
- "type": "array",
- "items": {
- "description": "A single Time Series ID value that is an array of primitive values that uniquely identifies a time series instance (e.g. a single device). Note that a single Time Series ID can be composite if multiple properties are specified as Time Series ID at environment creation time. The position and type of values must match Time Series ID properties specified on the environment and returned by Get Model Setting API. Cannot be empty."
- },
- "minItems": 1
- },
- "Tsx": {
- "description": "Time series expression (TSX) written as a single string. Examples: \"$event.Status.String='Good'\", \"avg($event.Temperature)\". Refer to the documentation on how to write time series expressions.",
- "type": "object",
- "properties": {
- "tsx": {
- "description": "Time series expression (TSX) written as a single string. Examples: \"$event.Status.String='Good'\", \"avg($event.Temperature)\". Refer to the documentation on how to write time series expressions.",
- "type": "string"
- }
- },
- "required": [
- "tsx"
- ]
- },
- "Interpolation": {
- "description": "The interpolation operation to be performed on the raw data points. Currently, only sampling of interpolated time series is allowed. Allowed aggregate function - eg: left($value). Can be null if no interpolation needs to be applied.",
- "type": "object",
- "properties": {
- "kind": {
- "description": "The type of interpolation technique : \"Linear\" or \"Step\".",
- "type": "string",
- "enum": [
- "Linear",
- "Step"
- ],
- "x-ms-enum": {
- "name": "InterpolationKind",
- "modelAsString": true
- }
- },
- "boundary": {
- "description": "The time range to the left and right of the search span to be used for Interpolation. This is helpful in scenarios where the data points are missing close to the start or end of the input search span. Can be null.",
- "type": "object",
- "properties": {
- "span": {
- "type": "string",
- "format": "duration"
- }
- }
- }
- }
- },
- "DateTimeRange": {
- "description": "The range of time. Cannot be null or negative.",
- "type": "object",
- "properties": {
- "from": {
- "description": "Start timestamp of the time range. Start timestamp is inclusive when used in time series query requests. Events that have this timestamp are included.",
- "type": "string",
- "format": "date-time"
- },
- "to": {
- "description": "End timestamp of the time range. End timestamp is exclusive when used in time series query requests. Events that match this timestamp are excluded. Note that end timestamp is inclusive when returned by Get Availability (meaning that there is an event with this exact \"to\" timestamp).",
- "type": "string",
- "format": "date-time"
- }
- },
- "required": [
- "from",
- "to"
- ]
- },
- "NumericVariable": {
- "description": "Numeric variable represents a single continuous numeric signal that can be reconstructed using interpolation.",
- "x-ms-discriminator-value": "numeric",
- "allOf": [
- {
- "$ref": "#/definitions/Variable"
- },
- {
- "type": "object",
- "properties": {
- "value": {
- "description": "Value time series expression is used to represent the value of the signal that is going to be aggregated or interpolated. For example, temperature values from the event is represented like this: \"$event.Temperature.Double\".",
- "$ref": "#/definitions/Tsx"
- },
- "interpolation": {
- "$ref": "#/definitions/Interpolation"
- },
- "aggregation": {
- "description": "Aggregation time series expression when kind is \"numeric\" is used to represent the aggregation that needs to be performed on the $value expression. This requires $value to be specified and can only use $value inside the aggregate functions. For example, aggregation for calculating minimum of the $value is written as: \"min($value)\".",
- "$ref": "#/definitions/Tsx"
- }
- }
- }
- ],
- "required": [
- "kind",
- "value",
- "aggregation"
- ]
- },
- "AggregateVariable": {
- "description": "Aggregate variable represents any aggregation calculation. Aggregate Variables does not support interpolation.",
- "x-ms-discriminator-value": "aggregate",
- "allOf": [
- {
- "$ref": "#/definitions/Variable"
- },
- {
- "type": "object",
- "properties": {
- "aggregation": {
- "description": "Aggregation time series expression when kind is \"aggregate\" is used to represent the aggregation that needs to be performed directly using event properties like \"$event.Temperature\". For example, aggregation for calculating range of temperature changes can be written as: \"max($event.Temperature)-min($event.Temperature)\".",
- "$ref": "#/definitions/Tsx"
- }
- }
- }
- ],
- "required": [
- "kind",
- "aggregation"
- ]
- },
- "CategoricalVariable": {
- "description": "Categorical variable represents signal that needs to be analyzed based on the count or duration of occurrence of limited set of defined values.",
- "x-ms-discriminator-value": "categorical",
- "allOf": [
- {
- "$ref": "#/definitions/Variable"
- },
- {
- "type": "object",
- "properties": {
- "value": {
- "description": "Value time series expression is used to represent the value of the signal that is going to be categorized. It can evaluate to only 'String' or 'Long' type for categorical variables.",
- "$ref": "#/definitions/Tsx"
- },
- "interpolation": {
- "description": "Categorical variable supports only 'step' interpolation.",
- "$ref": "#/definitions/Interpolation"
- },
- "categories": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesAggregateCategory"
- }
- },
- "defaultCategory": {
- "$ref": "#/definitions/TimeSeriesDefaultCategory"
- }
- }
- }
- ],
- "required": [
- "kind",
- "value",
- "defaultCategory"
- ]
- },
- "TimeSeriesAggregateCategory": {
- "description": "Category used in categorical variables. A category is defined by 'label' and the 'values' that are assigned this label.",
- "type": "object",
- "properties": {
- "label": {
- "description": "The name of the category which will be used in constructing the output variable names.",
- "type": "string"
- },
- "values": {
- "description": "The list of values that a category maps to. Can be either a unique list of string or list of long.",
- "type": "array",
- "items": {
- "type": "object"
- }
- }
- },
- "required": [
- "label",
- "values"
- ]
- },
- "TimeSeriesDefaultCategory": {
- "description": "Represents the default category.",
- "type": "object",
- "properties": {
- "label": {
- "description": "The name of the default category which will be assigned to the values that does not match any of those that are defined in the 'categories'.",
- "type": "string"
- }
- },
- "required": [
- "label"
- ]
- },
- "Variable": {
- "description": "Variables are named calculations over values from the events. Time Series Insights variable definitions contain formula and computation rules. Variables are stored in the type definition in Time Series Model and can be provided inline via Query APIs to override the stored definition.",
- "type": "object",
- "discriminator": "kind",
- "properties": {
- "kind": {
- "description": "Allowed \"kind\" values are - \"numeric\" or \"aggregate\". While \"numeric\" allows you to specify value of the reconstructed signal and the expression to aggregate them, the \"aggregate\" kind lets you directly aggregate on the event properties without specifying value.",
- "type": "string"
- },
- "filter": {
- "description": "Filter over the events that restricts the number of events being considered for computation. Example: \"$event.Status.String='Good'\". Optional.",
- "$ref": "#/definitions/Tsx"
- }
- },
- "required": [
- "kind"
- ]
- },
- "QueryResultPage": {
- "description": "A single page of query results. If query has not finished yet, a page will have continuation token set. In this case, to get the next page of results, send the same request again with continuation token parameter. If query has completed, the continuation token is null. It is also possible to get an empty page with only continuation token set when no query results have been computed yet. If paging has completed (continuation token is null), then timestamps and properties may be empty if there is no data to return.",
- "allOf": [
- {
- "$ref": "#/definitions/PagedResponse"
- },
- {
- "type": "object",
- "properties": {
- "timestamps": {
- "description": "The timestamps of the values of the time series. If an aggregation over intervals is used, timestamps represent the start of corresponding intervals. If events are retrieved, timestamps are values of timestamp $ts property of events. Can be null if server was unable to fill the page in this request, or can be empty if there are no more objects when continuation token is null.",
- "readOnly": true,
- "type": "array",
- "items": {
- "type": "string",
- "format": "date-time"
- }
- },
- "properties": {
- "description": "Collection of time series properties and values for each of the timestamps. Can be null if server was unable to fill the page in this request, or can be empty if there are no more objects when continuation token is null.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/PropertyValues"
- }
- },
- "progress": {
- "description": "Approximate progress of the query in percentage. It can be between 0 and 100. When the continuation token in the response is null, the progress is expected to be 100.",
- "readOnly": true,
- "type": "number",
- "format": "double"
- }
- }
- }
- ]
- },
- "PropertyValues": {
- "description": "Values of a single property corresponding to the timestamps. May contain nulls. Type of values matches the type of property.",
- "allOf": [
- {
- "$ref": "#/definitions/EventProperty"
- },
- {
- "type": "object",
- "properties": {
- "values": {
- "description": "Values of a single property corresponding to the timestamps. May contain nulls. Type of values matches the type of property.",
- "type": "array",
- "items": {}
- }
- }
- }
- ]
- },
- "GetInstancesPage": {
- "description": "Partial list of time series instances returned in a single request.",
- "allOf": [
- {
- "$ref": "#/definitions/PagedResponse"
- },
- {
- "type": "object",
- "properties": {
- "instances": {
- "description": "Partial list of time series instances returned in a single request. Can be empty if server was unable to fill the page in this request, or there is no more objects when continuation token is null.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesInstance"
- }
- }
- }
- }
- ]
- },
- "TimeSeriesInstance": {
- "description": "Time series instances are the time series themselves. In most cases, the deviceId or assetId is the unique identifier of the asset in the environment. Instances have descriptive information associated with them called instance fields. At a minimum, instance fields include hierarchy information. They can also include useful, descriptive data like the manufacturer, operator, or the last service date.",
- "type": "object",
- "properties": {
- "timeSeriesId": {
- "description": "Time Series ID that uniquely identifies the instance. It matches Time Series ID properties in an environment. Immutable, never null.",
- "$ref": "#/definitions/TimeSeriesId"
- },
- "typeId": {
- "description": "This represents the type that this instance belongs to. Never null.",
- "type": "string"
- },
- "name": {
- "description": "Optional name of the instance which is unique in an environment. Names acts as a mutable alias or display name of the time series instance. Mutable, may be null.",
- "type": "string"
- },
- "description": {
- "description": "This optional field contains description about the instance.",
- "type": "string"
- },
- "hierarchyIds": {
- "description": "Set of time series hierarchy IDs that the instance belong to. May be null.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "instanceFields": {
- "description": "Set of key-value pairs that contain user-defined instance properties. It may be null. Supported property value types are: bool, string, long, double and it cannot be nested or null.",
- "type": "object",
- "additionalProperties": {}
- }
- },
- "required": [
- "timeSeriesId",
- "typeId"
- ]
- },
- "InstancesBatchRequest": {
- "description": "Request to perform a single operation on a batch of instances. Exactly one of \"get\", \"put\", \"update\" or \"delete\" must be set.",
- "type": "object",
- "properties": {
- "get": {
- "description": "Time series IDs or names of time series instances to return.",
- "$ref": "#/definitions/InstancesRequestBatchGetOrDelete"
- },
- "put": {
- "description": "Time series instances to be created or updated.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesInstance"
- }
- },
- "update": {
- "description": "Time series instance to be updated. If instance does not exist, an error is returned.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesInstance"
- }
- },
- "delete": {
- "description": "Time series instances to be deleted. Time series ID or name may be specified.",
- "$ref": "#/definitions/InstancesRequestBatchGetOrDelete"
- }
- }
- },
- "InstancesRequestBatchGetOrDelete": {
- "description": "Request to get or delete instances by time series IDs or time series names. Exactly one of \"timeSeriesIds\" or \"names\" must be set.",
- "type": "object",
- "properties": {
- "timeSeriesIds": {
- "description": "List of time series IDs of the time series instances to return or delete.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesId"
- }
- },
- "names": {
- "description": "List of names of the time series instances to return or delete.",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "InstancesBatchResponse": {
- "description": "Response of a single operation on a batch of instances. Only one of \"get\", \"put\", \"update\" or \"delete\" will be set based on the request.",
- "type": "object",
- "properties": {
- "get": {
- "description": "List of instance or error objects corresponding by position to the \"get\" array in the request. Instance object is set when operation is successful and error object is set when operation is unsuccessful.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/InstanceOrError"
- }
- },
- "put": {
- "description": "List of error objects corresponding by position to the \"put\" array in the request. Error object is set when operation is unsuccessful.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/InstanceOrError"
- }
- },
- "update": {
- "description": "List of error objects corresponding by position to the \"update\" array in the request. Instance object is set when operation is successful and error object is set when operation is unsuccessful.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/InstanceOrError"
- }
- },
- "delete": {
- "description": "List of error objects corresponding by position to the \"delete\" array in the request. Null means the instance has been deleted, or did not exist. Error object is set when operation is unsuccessful (e.g. when there are events associated with this time series instance).",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/TsiErrorBody"
- }
- }
- }
- },
- "InstanceOrError": {
- "description": "Result of a batch operation on a particular time series instance. Instance object is set when operation is successful (except put operation) and error object is set when operation is unsuccessful.",
- "type": "object",
- "properties": {
- "instance": {
- "description": "Time series instance object - set when the operation is successful (except put operation).",
- "readOnly": true,
- "$ref": "#/definitions/TimeSeriesInstance"
- },
- "error": {
- "description": "Error object - set when the operation is unsuccessful.",
- "readOnly": true,
- "$ref": "#/definitions/TsiErrorBody"
- }
- }
- },
- "GetTypesPage": {
- "description": "Partial list of time series types returned in a single request.",
- "allOf": [
- {
- "$ref": "#/definitions/PagedResponse"
- },
- {
- "type": "object",
- "properties": {
- "types": {
- "description": "Partial list of time series types returned in a single request. Can be empty if server was unable to fill the page with more types in this request, or there is no more types when continuation token is null.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesType"
- }
- }
- }
- }
- ]
- },
- "TimeSeriesType": {
- "description": "Time series type defines variables or formulas for doing computation on events associated with time series instances. Each time series instance is associated with exactly one type. A type can have one or more variables. For example, a time series instance might be of type Temperature Sensor, which consists of the variables avg temperature, min temperature, and max temperature.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Case-sensitive unique type identifier that is immutable. Can be null on create or update requests, and then server generates the ID. Not null on get and delete operations.",
- "type": "string"
- },
- "name": {
- "description": "User-given unique name for the type. Mutable, not null.",
- "type": "string"
- },
- "description": {
- "description": "Description of the type. May be null.",
- "type": "string"
- },
- "variables": {
- "description": "Different variables associated with the type. Not empty, not null.",
- "additionalProperties": {
- "$ref": "#/definitions/Variable"
- }
- }
- },
- "required": [
- "name",
- "variables"
- ]
- },
- "TypesBatchRequest": {
- "description": "Request to perform a single operation on a batch of time series types. Exactly one of \"get\", \"put\" or \"delete\" must be set.",
- "type": "object",
- "properties": {
- "get": {
- "description": "Definition of what time series types to return.",
- "$ref": "#/definitions/TypesRequestBatchGetOrDelete"
- },
- "put": {
- "description": "Definition of what time series types to update or create.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesType"
- }
- },
- "delete": {
- "description": "Definition of what time series types to delete.",
- "$ref": "#/definitions/TypesRequestBatchGetOrDelete"
- }
- }
- },
- "TypesRequestBatchGetOrDelete": {
- "description": "Request to get or delete time series types by IDs or type names. Exactly one of \"typeIds\" or \"names\" must be set.",
- "type": "object",
- "properties": {
- "typeIds": {
- "description": "List of IDs of time series types to return or delete.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "names": {
- "description": "List of names of time series types to return or delete.",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "TypesBatchResponse": {
- "description": "Response of a single operation on a batch of time series types. Exactly one of \"get\", \"put\" or \"delete\" will be set.",
- "type": "object",
- "properties": {
- "get": {
- "description": "List of types or error objects corresponding by position to the \"get\" array in the request. Type object is set when operation is successful and error object is set when operation is unsuccessful.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesTypeOrError"
- }
- },
- "put": {
- "description": "List of types or error objects corresponding by position to the \"put\" array in the request. Type object is set when operation is successful and error object is set when operation is unsuccessful.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesTypeOrError"
- }
- },
- "delete": {
- "description": "List of error objects corresponding by position to the \"delete\" array in the request - null when the operation is successful.",
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/TsiErrorBody"
- }
- }
- }
- },
- "TimeSeriesTypeOrError": {
- "description": "Result of a batch operation on a particular time series type. Type object is set when operation is successful and error object is set when operation is unsuccessful.",
- "type": "object",
- "properties": {
- "timeSeriesType": {
- "description": "Time series type object - set when the operation is successful.",
- "readOnly": true,
- "$ref": "#/definitions/TimeSeriesType"
- },
- "error": {
- "description": "Error object - set when the operation is unsuccessful.",
- "readOnly": true,
- "$ref": "#/definitions/TsiErrorBody"
- }
- }
- },
- "GetHierarchiesPage": {
- "description": "Partial list of time series hierarchies returned in a single request.",
- "allOf": [
- {
- "$ref": "#/definitions/PagedResponse"
- },
- {
- "type": "object",
- "properties": {
- "hierarchies": {
- "description": "Partial list of time series hierarchies returned in a single request. Can be empty if server was unable to fill the page in this request, or there is no more objects when continuation token is null.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesHierarchy"
- }
- }
- }
- }
- ]
- },
- "TimeSeriesHierarchy": {
- "description": "Time series hierarchy organizes time series instances into a tree.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Case-sensitive unique hierarchy identifier. Can be null while creating hierarchy objects and then server generates the id, not null on get and delete operations.",
- "type": "string"
- },
- "name": {
- "description": "User-given unique name for the type. It is mutable and not null.",
- "type": "string"
- },
- "source": {
- "description": "Definition of how time series hierarchy tree levels are created.",
- "type": "object",
- "properties": {
- "instanceFieldNames": {
- "description": "List of instance field names that must be set in all time series instances that belong to this hierarchy. The order of the instance fields defines the levels in the hierarchy.",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- }
- },
- "required": [
- "name",
- "source"
- ]
- },
- "HierarchiesBatchRequest": {
- "description": "Request to perform a single operation on a batch of hierarchies. Exactly one of \"get\", \"put\" or \"delete\" must be set.",
- "type": "object",
- "properties": {
- "get": {
- "description": "\"get\" should be set while fetching specific hierarchies either by IDs or names.",
- "$ref": "#/definitions/HierarchiesRequestBatchGetDelete"
- },
- "put": {
- "description": "\"put\" should be set while creating or updating hierarchies.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesHierarchy"
- }
- },
- "delete": {
- "description": "\"delete\" should be set while fetching specific hierarchies either by IDs or names.",
- "$ref": "#/definitions/HierarchiesRequestBatchGetDelete"
- }
- }
- },
- "HierarchiesRequestBatchGetDelete": {
- "description": "Request to get or delete multiple time series hierarchies. Exactly one of \"hierarchyIds\" or \"names\" must be set.",
- "type": "object",
- "properties": {
- "hierarchyIds": {
- "description": "List of hierarchy IDs.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "names": {
- "description": "List of hierarchy names.",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "HierarchiesBatchResponse": {
- "description": "Response of a single operation on a batch of time series hierarchies. Only one of \"get\", \"put\" or \"delete\" will be set.",
- "type": "object",
- "properties": {
- "get": {
- "description": "List of hierarchy or error objects corresponding by position to the \"get\" array in the request. Hierarchy object is set when operation is successful and error object is set when operation is unsuccessful.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesHierarchyOrError"
- }
- },
- "put": {
- "description": "List of hierarchy or error object corresponding by position to the \"put\" array in the request. Hierarchy object is set when operation is successful and error object is set when operation is unsuccessful.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesHierarchyOrError"
- }
- },
- "delete": {
- "description": "List of error objects corresponding by position to the \"delete\" array in the request - null when the operation is successful.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/TsiErrorBody"
- }
- }
- }
- },
- "TimeSeriesHierarchyOrError": {
- "description": "Result of a batch operation on a particular time series hierarchy. Hierarchy is set when operation is successful and error object is set when operation is unsuccessful.",
- "type": "object",
- "properties": {
- "hierarchy": {
- "description": "Time series hierarchy object - set when the operation is successful.",
- "readOnly": true,
- "$ref": "#/definitions/TimeSeriesHierarchy"
- },
- "error": {
- "description": "Error object - set when the operation is unsuccessful.",
- "readOnly": true,
- "$ref": "#/definitions/TsiErrorBody"
- }
- }
- },
- "ModelSettingsResponse": {
- "description": "Response containing full time series model settings which include model name, Time Series ID properties and default type ID.",
- "type": "object",
- "properties": {
- "modelSettings": {
- "description": "Model settings including model name, Time Series ID properties and default type ID.",
- "readOnly": true,
- "$ref": "#/definitions/TimeSeriesModelSettings"
- }
- }
- },
- "TimeSeriesModelSettings": {
- "description": "Time series model settings including model name, Time Series ID properties and default type ID.",
- "type": "object",
- "properties": {
- "name": {
- "description": "Time series model display name which is shown in the UX. Examples: \"Temperature Sensors\", \"MyDevices\".",
- "readOnly": true,
- "type": "string"
- },
- "timeSeriesIdProperties": {
- "description": "Time series ID properties defined during environment creation.",
- "readOnly": true,
- "$ref": "#/definitions/TimeSeriesIdProperties"
- },
- "defaultTypeId": {
- "description": "Default type ID of the model that new time series instances will automatically belong to.",
- "readOnly": true,
- "type": "string"
- }
- }
- },
- "TimeSeriesIdProperties": {
- "description": "Time series ID properties defined during environment creation.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesIdProperty"
- },
- "minItems": 1
- },
- "TimeSeriesIdProperty": {
- "description": "A definition of a single property that can be used in time series ID properties defined during environment creation.",
- "type": "object",
- "properties": {
- "name": {
- "description": "The name of the property.",
- "readOnly": true,
- "type": "string"
- },
- "type": {
- "description": "The type of the property. Currently, only \"String\" is supported.",
- "readOnly": true,
- "type": "string",
- "enum": [
- "String"
- ],
- "x-ms-enum": {
- "name": "TimeSeriesIdPropertyTypes",
- "modelAsString": true
- }
- }
- }
- },
- "UpdateModelSettingsRequest": {
- "description": "Request to update model settings. One of \"name\" or \"defaultTypeId\" must be set.",
- "type": "object",
- "properties": {
- "name": {
- "description": "Model display name which is shown in the UX and mutable by the user. Initial value is \"DefaultModel\".",
- "type": "string"
- },
- "defaultTypeId": {
- "description": "Default type id of the model that new instances will automatically belong to.",
- "type": "string"
- }
- }
- },
- "SearchInstancesRequest": {
- "description": "Request to execute a search query against time series instances and return matching time series instances.",
- "type": "object",
- "properties": {
- "searchString": {
- "description": "Query search string that will be matched to the attributes of time series instances. Example: \"floor 100\". Case-insensitive, must be present, but can be empty string.",
- "type": "string"
- },
- "path": {
- "description": "Filter on hierarchy path of time series instances. Path is represented as array of string path segments. First element should be hierarchy name. Example: [\"Location\", \"California\"]. Optional, case sensitive, never empty and can be null.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "instances": {
- "description": "Parameters of how to return time series instances. Can be null. When both the instances and hierarchies parameters are null, the instances are returned in the results based on the default values of parameters, and hierarchies are not returned.",
- "type": "object",
- "$ref": "#/definitions/SearchInstancesParameters"
- },
- "hierarchies": {
- "description": "Parameters of how to return time series instance hierarchies. If null, hierarchies are not returned. If instances parameter is null and hierarchies parameter is not null, only hierarchies with no instances are returned.",
- "type": "object",
- "$ref": "#/definitions/SearchInstancesHierarchiesParameters"
- }
- },
- "required": [
- "searchString"
- ]
- },
- "SearchInstancesParameters": {
- "description": "Parameters of how to return time series instances by search instances call.",
- "type": "object",
- "properties": {
- "recursive": {
- "description": "Definition of which instances are returned. When recursive is set to 'true', all instances that have the path that starts with path the path parameter are returned. When recursive is set to 'false', only instances that have the path that exactly matches the path parameter are returned. Using recursive search allows to implement search user experience, while using non-recursive search allows to implement navigation experience. Optional, default is 'true'.",
- "type": "boolean"
- },
- "sort": {
- "description": "Definition of how time series instances are sorted before being returned by search instances call - relevance or alphabetical. Optional, default is \"Rank\".",
- "type": "object",
- "$ref": "#/definitions/InstancesSortParameter"
- },
- "highlights": {
- "description": "Definition of highlighted search results or not. When it is set to 'true', the highlighted search results are returned. When it is set to 'false', the highlighted search results are not returned. Default is 'true'.",
- "type": "boolean"
- },
- "pageSize": {
- "description": "Maximum number of instances expected in each page of the result. Defaults to 10 when not set. Ranges from 1 to 100. If there are results beyond the page size, the user can use the continuation token to fetch the next page.",
- "type": "integer",
- "format": "int32"
- }
- }
- },
- "InstancesSortParameter": {
- "description": "Definition of how time series instances are sorted before being returned by search instances call.",
- "type": "object",
- "properties": {
- "by": {
- "description": "Value to use for sorting of the time series instances before being returned by search instances call. When it is set to 'Rank', the returned instances are sorted based on the relevance. When it is set to 'DisplayName', the returned results are sorted based on the display name. Display name is the name of the instance if it exists, otherwise, display name is the time series ID. Default is 'Rank'.",
- "type": "string",
- "enum": [
- "Rank",
- "DisplayName"
- ],
- "x-ms-enum": {
- "name": "InstancesSortBy",
- "modelAsString": true
- }
- }
- }
- },
- "SearchInstancesHierarchiesParameters": {
- "description": "Parameter of how to return time series instance hierarchies by search instances call.",
- "type": "object",
- "properties": {
- "expand": {
- "description": "Definition of whether to expand hierarchy nodes in the same search instances call. Optional, default is 'UntilChildren'.",
- "type": "object",
- "$ref": "#/definitions/HierarchiesExpandParameter"
- },
- "sort": {
- "description": "Definition of sorting of hierarchy nodes. Optional, default is 'CumulativeInstanceCount'.",
- "type": "object",
- "$ref": "#/definitions/HierarchiesSortParameter"
- },
- "pageSize": {
- "description": "Maximum number of hierarchies in the same level to return in the same page. Optional, default is 10 when not set. Range is from 1 to 100. If there are results beyond the page size, the continuation token can be used to fetch the next page.",
- "type": "integer",
- "format": "int32"
- }
- }
- },
- "HierarchiesExpandParameter": {
- "description": "Definition of whether to expand hierarchy nodes in the same search instances call.",
- "type": "object",
- "properties": {
- "kind": {
- "description": "Kind of the expansion of hierarchy nodes. When it is set to 'UntilChildren', the hierarchy nodes are expanded recursively until there is more than one child. When it is set to 'OneLevel', the hierarchies are expanded only at the single level matching path search instances parameter. Optional, default is 'UntilChildren'.",
- "type": "string",
- "enum": [
- "UntilChildren",
- "OneLevel"
- ],
- "x-ms-enum": {
- "name": "HierarchiesExpandKind",
- "modelAsString": true
- }
- }
- }
- },
- "HierarchiesSortParameter": {
- "description": "Definition of sorting of hierarchy nodes.",
- "type": "object",
- "properties": {
- "by": {
- "description": "Value to use for hierarchy node sorting. When it is set to 'CumulativeInstanceCount', the returned hierarchies are sorted based on the total instances belonging to the hierarchy node and its child hierarchy nodes. When it is set to 'Name', the returned hierarchies are sorted based on the hierarchy name. Optional, default is 'CumulativeInstanceCount'.",
- "type": "string",
- "enum": [
- "CumulativeInstanceCount",
- "Name"
- ],
- "x-ms-enum": {
- "name": "HierarchiesSortBy",
- "modelAsString": true
- }
- }
- }
- },
- "SearchInstancesResponsePage": {
- "description": "Single page of the search results.",
- "type": "object",
- "properties": {
- "instances": {
- "description": "The instances matching the query based on the input. May be empty or null.",
- "readOnly": true,
- "type": "object",
- "$ref": "#/definitions/SearchInstancesResponse"
- },
- "hierarchyNodes": {
- "description": "The hierarchy nodes which contains the instances matching the query based on the input. May be empty or null.",
- "readOnly": true,
- "type": "object",
- "$ref": "#/definitions/SearchHierarchyNodesResponse"
- }
- }
- },
- "SearchInstancesResponse": {
- "description": "The instances matching the query based on the input. May be empty or null.",
- "type": "object",
- "properties": {
- "hits": {
- "description": "The list of instances matching the query based on the input. May be empty.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/InstanceHit"
- }
- },
- "hitCount": {
- "description": "Total number of instances matching the query based on the input.",
- "readOnly": true,
- "type": "integer",
- "format": "int32"
- },
- "continuationToken": {
- "description": "If returned, this means that current results represent a partial result. Continuation token allows to get the next page of results. To get the next page of query results, send the same request with continuation token parameter in \"x-ms-continuation\" HTTP header.",
- "readOnly": true,
- "type": "string"
- }
- }
- },
- "SearchHierarchyNodesResponse": {
- "description": "The hierarchy nodes which contains the instances matching the query based on the input. May be empty or null.",
- "type": "object",
- "properties": {
- "hits": {
- "description": "The list of hierarchy nodes which contains the instances matching the query based on the input. May be empty.",
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/HierarchyHit"
- }
- },
- "hitCount": {
- "description": "Total number of hierarchy nodes which contains the instances matching the query based on the input.",
- "readOnly": true,
- "type": "integer",
- "format": "int32"
- },
- "continuationToken": {
- "description": "If returned, this means that current results represent a partial result. Continuation token allows to get the next page of results. To get the next page of query results, send the same request with continuation token parameter in \"x-ms-continuation\" HTTP header.",
- "readOnly": true,
- "type": "string"
- }
- }
- },
- "InstanceHit": {
- "description": "Time series instance that is returned by instances search call. Returned instance matched the search request and contains highlighted text to be displayed to the user if it is set to 'true'.",
- "type": "object",
- "properties": {
- "timeSeriesId": {
- "description": "Time series ID of the time series instance that matched the search request.",
- "readOnly": true,
- "type": "array",
- "$ref": "#/definitions/TimeSeriesId"
- },
- "name": {
- "description": "Name of the time series instance that matched the search request. May be null.",
- "readOnly": true,
- "type": "string"
- },
- "typeId": {
- "description": "Represents the type that time series instance which matched the search request belongs to. Never null.",
- "readOnly": true,
- "type": "string"
- },
- "hierarchyIds": {
- "description": "List of time series hierarchy IDs that time series instance which matched the search request belongs to. Cannot be used to lookup hierarchies. May be null.",
- "readOnly": true,
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "highlights": {
- "description": "Highlighted text of time series instance to be displayed to the user. Highlighting inserts and tags in the portions of text that matched the search string. Do not use any of the highlighted properties to do further API calls.",
- "readOnly": true,
- "type": "object",
- "properties": {
- "timeSeriesId": {
- "description": "List of highlighted string values of Time Series ID for displaying. Cannot be used to lookup instance.",
- "readOnly": true,
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "typeName": {
- "description": "Highlighted time series type name that this instance belongs to.",
- "readOnly": true,
- "type": "string"
- },
- "name": {
- "description": "Highlighted name of time series instance. May be null.",
- "readOnly": true,
- "type": "string"
- },
- "description": {
- "description": "Highlighted description of time series instance. May be null.",
- "readOnly": true,
- "type": "string"
- },
- "hierarchyIds": {
- "description": "List of highlighted time series hierarchy IDs that time series instance belongs to. Cannot be used to lookup hierarchies. May be null.",
- "readOnly": true,
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "hierarchyNames": {
- "description": "List of highlighted time series hierarchy names that time series instance belongs to. Cannot be used to lookup hierarchies. May be null.",
- "readOnly": true,
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "instanceFieldNames": {
- "description": "List of highlighted time series instance field names. May be null.",
- "readOnly": true,
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "instanceFieldValues": {
- "description": "List of highlighted time series instance field values. May be null.",
- "readOnly": true,
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- }
- }
- },
- "HierarchyHit": {
- "description": "The hierarchy node which contains the instances matching the query based on the input. May be empty or null.",
- "type": "object",
- "properties": {
- "name": {
- "description": "Name of the hierarchy node. May be empty, cannot be null.",
- "readOnly": true,
- "type": "string"
- },
- "cumulativeInstanceCount": {
- "description": "Total number of instances that belong to this node and it's subtrees matching the query.",
- "readOnly": true,
- "type": "integer",
- "format": "int32"
- },
- "hierarchyNodes": {
- "description": "Child hierarchy nodes of this node. May be empty or null.",
- "readOnly": true,
- "type": "object",
- "$ref": "#/definitions/SearchHierarchyNodesResponse"
- }
- }
- },
- "InstancesSuggestRequest": {
- "description": "Request to get search string suggestions for time series instances search based on prefix text.",
- "type": "object",
- "properties": {
- "searchString": {
- "description": "Search string for which suggestions are required. Empty is allowed, but not null.",
- "type": "string"
- },
- "take": {
- "description": "Maximum number of suggestions expected in the result. Defaults to 10 when not set.",
- "type": "integer",
- "format": "int32"
- }
- },
- "required": [
- "searchString"
- ]
- },
- "InstancesSuggestResponse": {
- "description": "Response of getting suggestions for search for time series instances.",
- "type": "object",
- "properties": {
- "suggestions": {
- "description": "List of instance suggestions for searching time series models.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/InstancesSearchStringSuggestion"
- }
- }
- }
- },
- "InstancesSearchStringSuggestion": {
- "description": "Suggested search string to be used for further search for time series instances.",
- "type": "object",
- "properties": {
- "searchString": {
- "description": "Suggested search string. Can be used for further search for time series instances.",
- "readOnly": true,
- "type": "string"
- },
- "highlightedSearchString": {
- "description": "Highlighted suggested search string to be displayed to the user. Highlighting inserts and tags in the portions of text that matched the search string. Do not use highlighted search string to do further search calls.",
- "readOnly": true,
- "type": "string"
- }
- }
- },
- "PagedResponse": {
- "description": "Partial result that has continuation token to fetch the next partial result.",
- "type": "object",
- "properties": {
- "continuationToken": {
- "description": "If returned, this means that current results represent a partial result. Continuation token allows to get the next page of results. To get the next page of query results, send the same request with continuation token parameter in \"x-ms-continuation\" HTTP header.",
- "readOnly": true,
- "type": "string"
- }
- }
- },
- "EventProperty": {
- "description": "Property of an event that is either stored or computed. Properties are identified by both name and type. Different events can have properties with same name, but different type.",
- "type": "object",
- "properties": {
- "name": {
- "description": "The name of the property.",
- "type": "string"
- },
- "type": {
- "description": "The type of the property.",
- "$ref": "#/definitions/PropertyType"
- }
- }
- },
- "PropertyType": {
- "description": "The type of the property that is either stored in events or computed by a calculation.",
- "type": "string",
- "enum": [
- "Bool",
- "DateTime",
- "Double",
- "String",
- "TimeSpan",
- "Long"
- ],
- "x-ms-enum": {
- "name": "PropertyTypes",
- "modelAsString": true
- }
- },
- "TsiError": {
- "description": "Information about an API error.",
- "type": "object",
- "properties": {
- "error": {
- "$ref": "#/definitions/TsiErrorBody"
- }
- },
- "x-ms-external": false
- },
- "TsiErrorBody": {
- "description": "A particular API error with an error code and a message.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Language-independent, human-readable string that defines a service-specific error code. This code serves as a more specific indicator for the HTTP error code specified in the response. Can be used to programmatically handle specific error cases.",
- "readOnly": true,
- "type": "string"
- },
- "message": {
- "description": "Human-readable, language-independent representation of the error. It is intended as an aid to developers and is not suitable for exposure to end users.",
- "readOnly": true,
- "type": "string"
- },
- "target": {
- "description": "Target of the particular error (for example, the name of the property in error). May be null.",
- "readOnly": true,
- "type": "string"
- },
- "innerError": {
- "description": "Contains more specific error that narrows down the cause. May be null.",
- "readOnly": true,
- "$ref": "#/definitions/TsiErrorBody"
- },
- "details": {
- "description": "Contains additional error information. May be null.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/TsiErrorDetails"
- }
- }
- },
- "additionalProperties": true,
- "x-ms-external": false
- },
- "TsiErrorDetails": {
- "description": "Additional error information.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Language-independent, human-readable string that defines a service-specific error code. This code serves as a more specific indicator for the HTTP error code specified in the response. Can be used to programmatically handle specific error cases.",
- "readOnly": true,
- "type": "string"
- },
- "message": {
- "description": "Human-readable, language-independent representation of the error. It is intended as an aid to developers and is not suitable for exposure to end users.",
- "readOnly": true,
- "type": "string"
- }
- },
- "additionalProperties": true,
- "x-ms-external": false
- }
- },
- "parameters": {
- "ApiVersion": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "default": "2018-11-01-preview",
- "type": "string",
- "description": "Version of the API to be used with the client request. Currently supported version is \"2018-11-01-preview\"."
- },
- "StoreType": {
- "name": "storeType",
- "in": "query",
- "required": false,
- "type": "string",
- "x-ms-parameter-location": "method",
- "description": "For the environments with warm store enabled, the query can be executed either on the 'WarmStore' or 'ColdStore'. This parameter in the query defines which store the query should be executed on. If not defined, the query will be executed on the cold store."
- },
- "EnvironmentFqdn": {
- "name": "environmentFqdn",
- "in": "path",
- "required": true,
- "type": "string",
- "x-ms-skip-url-encoding": true,
- "x-ms-parameter-location": "client",
- "description": "Per environment FQDN, for example 10000000-0000-0000-0000-100000000109.env.timeseries.azure.com. You can obtain this domain name from the response of the Get Environments API, Azure portal, or Azure Resource Manager."
- },
- "ContinuationToken": {
- "name": "x-ms-continuation",
- "x-ms-client-name": "continuationToken",
- "in": "header",
- "required": false,
- "type": "string",
- "x-ms-parameter-location": "method",
- "description": "Continuation token from previous page of results to retrieve the next page of the results in calls that support pagination. To get the first page results, specify null continuation token as parameter value. Returned continuation token is null if all results have been returned, and there is no next page of results."
- },
- "ClientRequestId": {
- "name": "x-ms-client-request-id",
- "x-ms-client-name": "clientRequestId",
- "in": "header",
- "required": false,
- "type": "string",
- "x-ms-parameter-location": "method",
- "description": "Optional client request ID. Service records this value. Allows the service to trace operation across services, and allows the customer to contact support regarding a particular request."
- },
- "ClientSessionId": {
- "name": "x-ms-client-session-id",
- "x-ms-client-name": "clientSessionId",
- "in": "header",
- "required": false,
- "type": "string",
- "x-ms-parameter-location": "method",
- "description": "Optional client session ID. Service records this value. Allows the service to trace a group of related operations across services, and allows the customer to contact support regarding a particular group of requests."
- }
- }
-}