From 9f5c2558a0489528346696e20b6b5ca5ef3d6da6 Mon Sep 17 00:00:00 2001 From: Go Blue Date: Thu, 18 Feb 2021 17:35:40 -0800 Subject: [PATCH 1/9] add ingressStartAt --- .npmrc | 3 ++ .../examples/EventSourcesCreateEventHub.json | 15 +++++++-- .../examples/EventSourcesGetEventHub.json | 5 ++- .../EventSourcesListByEnvironment.json | 5 ++- .../examples/EventSourcesPatchTags.json | 5 ++- .../stable/2020-05-15/timeseriesinsights.json | 31 +++++++++++++++++-- 6 files changed, 55 insertions(+), 9 deletions(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000000..50a8a9e3cb4a --- /dev/null +++ b/.npmrc @@ -0,0 +1,3 @@ +registry=https://msazure.pkgs.visualstudio.com/_packaging/AzurePortal/npm/registry/ +always-auth=true +allow-same-version=true \ No newline at end of file diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHub.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHub.json index 70ada05d2e07..8c02f7ae7cc0 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHub.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHub.json @@ -14,7 +14,10 @@ "eventHubName": "ehn", "keyName": "managementKey", "sharedAccessKey": "someSecretvalue", - "timestampPropertyName": "someTimestampProperty" + "timestampPropertyName": "someTimestampProperty", + "ingressStartAt": { + "type": "EarliestAvailable" + } } }, "api-version": "2020-05-15" @@ -35,7 +38,10 @@ "eventHubName": "ehn", "keyName": "managementKey", "provisioningState": "Succeeded", - "creationTime": "2017-04-18T19:20:33.2288820Z" + "creationTime": "2017-04-18T19:20:33.2288820Z", + "ingressStartAt": { + "type": "EarliestAvailable" + } } } }, @@ -54,7 +60,10 @@ "eventHubName": "ehn", "keyName": "managementKey", "provisioningState": "Succeeded", - "creationTime": "2017-04-18T19:20:33.2288820Z" + "creationTime": "2017-04-18T19:20:33.2288820Z", + "ingressStartAt": { + "type": "EarliestAvailable" + } } } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesGetEventHub.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesGetEventHub.json index 610270bd8d01..9f1a5a882f35 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesGetEventHub.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesGetEventHub.json @@ -22,7 +22,10 @@ "eventHubName": "ehn", "keyName": "managementKey", "provisioningState": "Succeeded", - "creationTime": "2017-04-18T19:20:33.2288820Z" + "creationTime": "2017-04-18T19:20:33.2288820Z", + "ingressStartAt": { + "type": "EarliestAvailable" + } } } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesListByEnvironment.json index 09aae4112733..892a4985c9c4 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesListByEnvironment.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesListByEnvironment.json @@ -23,7 +23,10 @@ "eventHubName": "ehn", "keyName": "managementKey", "provisioningState": "Succeeded", - "creationTime": "2017-04-18T19:20:33.2288820Z" + "creationTime": "2017-04-18T19:20:33.2288820Z", + "ingressStartAt": { + "type": "EarliestAvailable" + } } } ] diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesPatchTags.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesPatchTags.json index 0473904851c2..be607cb4feac 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesPatchTags.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesPatchTags.json @@ -30,7 +30,10 @@ "keyName": "managementKey", "provisioningState": "Succeeded", "creationTime": "2017-04-18T19:20:33.2288820Z", - "timestampPropertyName": "someOtherTimestampProperty" + "timestampPropertyName": "someOtherTimestampProperty", + "ingressStartAt": { + "type": "EarliestAvailable" + } } } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json index 4bd8ce2a695c..3bb9deb0012f 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json @@ -1410,7 +1410,6 @@ "properties": { "kind": { "type": "string", - "readOnly": true, "description": "The kind of the environment.", "enum": [ "Gen1", @@ -1843,6 +1842,28 @@ } } }, + "IngressStartAtProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of the ingressStartAt, It can be \"EarliestAvailable\", \"EventSourceCreationTime\", \"CustomEnqueuedTime\".", + "enum": [ + "EarliestAvailable", + "EventSourceCreationTime", + "CustomEnqueuedTime" + ], + "x-ms-enum": { + "name": "IngressStartAtType", + "modelAsString": true + } + }, + "time": { + "type": "string", + "description": "ISO8601 timespan specifying the date and time that will be the starting point for Events to be consumed." + } + } + }, "EventSourceCreateOrUpdateParameters": { "discriminator": "kind", "properties": { @@ -1915,7 +1936,6 @@ "properties": { "kind": { "type": "string", - "readOnly": true, "description": "The kind of the event source.", "enum": [ "Microsoft.EventHub", @@ -2046,6 +2066,11 @@ "timestampPropertyName": { "type": "string", "description": "The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used." + }, + "ingressStartAt": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IngressStartAtProperties", + "description:": "An object that contains the details about ingressStartAt state." } }, "allOf": [ @@ -2573,4 +2598,4 @@ "x-ms-parameter-location": "method" } } -} +} \ No newline at end of file From 8a2a18a372225045065c7dfc7f47ed90d687e019 Mon Sep 17 00:00:00 2001 From: Go Blue Date: Fri, 19 Feb 2021 14:57:12 -0800 Subject: [PATCH 2/9] prettier --- .../examples/EventSourcesCreateEventHub.json | 14 +++++++------- .../examples/EventSourcesGetEventHub.json | 4 ++-- .../examples/EventSourcesListByEnvironment.json | 4 ++-- .../2020-05-15/examples/EventSourcesPatchTags.json | 4 ++-- .../stable/2020-05-15/timeseriesinsights.json | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHub.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHub.json index 8c02f7ae7cc0..7e26c29ba56a 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHub.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHub.json @@ -15,9 +15,9 @@ "keyName": "managementKey", "sharedAccessKey": "someSecretvalue", "timestampPropertyName": "someTimestampProperty", - "ingressStartAt": { - "type": "EarliestAvailable" - } + "ingressStartAt": { + "type": "EarliestAvailable" + } } }, "api-version": "2020-05-15" @@ -39,8 +39,8 @@ "keyName": "managementKey", "provisioningState": "Succeeded", "creationTime": "2017-04-18T19:20:33.2288820Z", - "ingressStartAt": { - "type": "EarliestAvailable" + "ingressStartAt": { + "type": "EarliestAvailable" } } } @@ -61,8 +61,8 @@ "keyName": "managementKey", "provisioningState": "Succeeded", "creationTime": "2017-04-18T19:20:33.2288820Z", - "ingressStartAt": { - "type": "EarliestAvailable" + "ingressStartAt": { + "type": "EarliestAvailable" } } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesGetEventHub.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesGetEventHub.json index 9f1a5a882f35..8f36cdfadf48 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesGetEventHub.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesGetEventHub.json @@ -23,8 +23,8 @@ "keyName": "managementKey", "provisioningState": "Succeeded", "creationTime": "2017-04-18T19:20:33.2288820Z", - "ingressStartAt": { - "type": "EarliestAvailable" + "ingressStartAt": { + "type": "EarliestAvailable" } } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesListByEnvironment.json index 892a4985c9c4..5201d9baafcf 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesListByEnvironment.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesListByEnvironment.json @@ -24,8 +24,8 @@ "keyName": "managementKey", "provisioningState": "Succeeded", "creationTime": "2017-04-18T19:20:33.2288820Z", - "ingressStartAt": { - "type": "EarliestAvailable" + "ingressStartAt": { + "type": "EarliestAvailable" } } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesPatchTags.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesPatchTags.json index be607cb4feac..fc2c6b53920c 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesPatchTags.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesPatchTags.json @@ -31,8 +31,8 @@ "provisioningState": "Succeeded", "creationTime": "2017-04-18T19:20:33.2288820Z", "timestampPropertyName": "someOtherTimestampProperty", - "ingressStartAt": { - "type": "EarliestAvailable" + "ingressStartAt": { + "type": "EarliestAvailable" } } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json index 3bb9deb0012f..fd6ce29524b3 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json @@ -2598,4 +2598,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} From a84b339a2ac9d360f4af06b963a5142cfbdf165f Mon Sep 17 00:00:00 2001 From: Go Blue Date: Wed, 24 Feb 2021 10:47:23 -0800 Subject: [PATCH 3/9] add a new example --- ...cesCreateEventHubWithCustomEnquedTime.json | 74 +++++++++++++++++++ .../stable/2020-05-15/timeseriesinsights.json | 5 +- 2 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHubWithCustomEnquedTime.json diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHubWithCustomEnquedTime.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHubWithCustomEnquedTime.json new file mode 100644 index 000000000000..7d11c5d7136c --- /dev/null +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHubWithCustomEnquedTime.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "environmentName": "env1", + "eventSourceName": "es1", + "parameters": { + "location": "West US", + "kind": "Microsoft.EventHub", + "properties": { + "eventSourceResourceId": "somePathInArm", + "serviceBusNamespace": "sbn", + "consumerGroupName": "cgn", + "eventHubName": "ehn", + "keyName": "managementKey", + "sharedAccessKey": "someSecretvalue", + "timestampPropertyName": "someTimestampProperty", + "ingressStartAt": { + "type": "CustomEnqueuedTime", + "time": "2017-04-01T19:20:33.2288820Z" + } + } + }, + "api-version": "2020-05-15" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/eventSources/es1", + "location": "West US", + "name": "es1", + "type": "Microsoft.TimeSeriesInsights/Environments/EventSources", + "tags": {}, + "kind": "Microsoft.EventHub", + "properties": { + "eventSourceResourceId": "somePathInArm", + "serviceBusNamespace": "sbn", + "consumerGroupName": "cgn", + "eventHubName": "ehn", + "keyName": "managementKey", + "provisioningState": "Succeeded", + "creationTime": "2017-04-18T19:20:33.2288820Z", + "ingressStartAt": { + "type": "CustomEnqueuedTime", + "time": "2017-04-01T19:20:33.2288820Z" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/eventSources/es1", + "location": "West US", + "name": "es1", + "type": "Microsoft.TimeSeriesInsights/Environments/EventSources", + "tags": {}, + "kind": "Microsoft.EventHub", + "properties": { + "eventSourceResourceId": "somePathInArm", + "serviceBusNamespace": "sbn", + "consumerGroupName": "cgn", + "eventHubName": "ehn", + "keyName": "managementKey", + "provisioningState": "Succeeded", + "creationTime": "2017-04-18T19:20:33.2288820Z", + "ingressStartAt": { + "type": "CustomEnqueuedTime", + "time": "2017-04-01T19:20:33.2288820Z" + } + } + } + } + } +} diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json index fd6ce29524b3..2969be2b1e12 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json @@ -355,6 +355,9 @@ "x-ms-examples": { "CreateEventHubEventSource": { "$ref": "./examples/EventSourcesCreateEventHub.json" + }, + "EventSourcesCreateEventHubWithCustomEnquedTime": { + "$ref": "./examples/EventSourcesCreateEventHubWithCustomEnquedTime.json" } }, "description": "Create or update an event source under the specified environment.", @@ -1860,7 +1863,7 @@ }, "time": { "type": "string", - "description": "ISO8601 timespan specifying the date and time that will be the starting point for Events to be consumed." + "description": "ISO8601 UTC datetime with seconds precision (milliseconds are optional), specifying the date and time that will be the starting point for Events to be consumed." } } }, From 35d8a028b153d390c8088c8fb2c9a33dc01570c4 Mon Sep 17 00:00:00 2001 From: Go Blue Date: Wed, 24 Feb 2021 13:34:29 -0800 Subject: [PATCH 4/9] Delete .npmrc remove .npmrc --- .npmrc | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 .npmrc diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 50a8a9e3cb4a..000000000000 --- a/.npmrc +++ /dev/null @@ -1,3 +0,0 @@ -registry=https://msazure.pkgs.visualstudio.com/_packaging/AzurePortal/npm/registry/ -always-auth=true -allow-same-version=true \ No newline at end of file From 7922ccec0afc168223216dfea0068cac56b9a93e Mon Sep 17 00:00:00 2001 From: Go Blue Date: Wed, 24 Feb 2021 16:27:04 -0800 Subject: [PATCH 5/9] fix prettier fix prettier --- .../EventSourcesCreateEventHubWithCustomEnquedTime.json | 6 +++--- .../stable/2020-05-15/timeseriesinsights.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHubWithCustomEnquedTime.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHubWithCustomEnquedTime.json index 7d11c5d7136c..67397fde8632 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHubWithCustomEnquedTime.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHubWithCustomEnquedTime.json @@ -16,7 +16,7 @@ "sharedAccessKey": "someSecretvalue", "timestampPropertyName": "someTimestampProperty", "ingressStartAt": { - "type": "CustomEnqueuedTime", + "type": "CustomEnqueuedTime", "time": "2017-04-01T19:20:33.2288820Z" } } @@ -41,7 +41,7 @@ "provisioningState": "Succeeded", "creationTime": "2017-04-18T19:20:33.2288820Z", "ingressStartAt": { - "type": "CustomEnqueuedTime", + "type": "CustomEnqueuedTime", "time": "2017-04-01T19:20:33.2288820Z" } } @@ -64,7 +64,7 @@ "provisioningState": "Succeeded", "creationTime": "2017-04-18T19:20:33.2288820Z", "ingressStartAt": { - "type": "CustomEnqueuedTime", + "type": "CustomEnqueuedTime", "time": "2017-04-01T19:20:33.2288820Z" } } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json index 2969be2b1e12..b8c073b1e429 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json @@ -1847,6 +1847,7 @@ }, "IngressStartAtProperties": { "type": "object", + "description": "An object that contains the details about the starting point in time to ingest events.", "properties": { "type": { "type": "string", @@ -2072,8 +2073,7 @@ }, "ingressStartAt": { "x-ms-client-flatten": true, - "$ref": "#/definitions/IngressStartAtProperties", - "description:": "An object that contains the details about ingressStartAt state." + "$ref": "#/definitions/IngressStartAtProperties" } }, "allOf": [ From 829c04c51af7be31eda75a229298c2ea3b49dd0f Mon Sep 17 00:00:00 2001 From: Go Blue Date: Wed, 24 Feb 2021 16:50:16 -0800 Subject: [PATCH 6/9] put readonly back for kind --- .../stable/2020-05-15/timeseriesinsights.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json index b8c073b1e429..564f2ae0d99e 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json @@ -1413,6 +1413,7 @@ "properties": { "kind": { "type": "string", + "readOnly": true, "description": "The kind of the environment.", "enum": [ "Gen1", @@ -1940,6 +1941,7 @@ "properties": { "kind": { "type": "string", + "readOnly": true, "description": "The kind of the event source.", "enum": [ "Microsoft.EventHub", From b99f9901ecde9a2a1ed7907b72703a36c70dbf50 Mon Sep 17 00:00:00 2001 From: Ric Serradas Date: Thu, 15 Apr 2021 21:13:45 -0700 Subject: [PATCH 7/9] Adding descriptin to ingressStartAt --- .../stable/2020-05-15/timeseriesinsights.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json index 564f2ae0d99e..06a45d2a3775 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json @@ -2075,7 +2075,8 @@ }, "ingressStartAt": { "x-ms-client-flatten": true, - "$ref": "#/definitions/IngressStartAtProperties" + "$ref": "#/definitions/IngressStartAtProperties", + "description": "An object that contains the details about the starting point in time to ingest events." } }, "allOf": [ From 344f64ac071a5c84c5893315926c2d41ff0b202b Mon Sep 17 00:00:00 2001 From: msyyc <70930885+msyyc@users.noreply.github.com> Date: Wed, 2 Jun 2021 11:06:26 +0800 Subject: [PATCH 8/9] fix failure for python track2 --- .../stable/2020-05-15/timeseriesinsights.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json index 06a45d2a3775..2ad2cc24a173 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json @@ -1432,6 +1432,9 @@ "description": "Key-value pairs of additional properties for the environment." } }, + "required": [ + "kind" + ], "description": "Parameters supplied to the Update Environment operation." }, "Gen1EnvironmentUpdateParameters": { @@ -1960,6 +1963,9 @@ "description": "Key-value pairs of additional properties for the event source." } }, + "required": [ + "kind" + ], "description": "Parameters supplied to the Update Event Source operation." }, "EventHubEventSourceUpdateParameters": { From 60587c81f0d80252da760904179103358da8cbcd Mon Sep 17 00:00:00 2001 From: Ric Serradas Date: Tue, 8 Jun 2021 15:03:10 -0400 Subject: [PATCH 9/9] Removing readonly from kind --- .../stable/2020-05-15/timeseriesinsights.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json index 2ad2cc24a173..f41cffee5c2c 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json @@ -1413,7 +1413,6 @@ "properties": { "kind": { "type": "string", - "readOnly": true, "description": "The kind of the environment.", "enum": [ "Gen1", @@ -1944,7 +1943,6 @@ "properties": { "kind": { "type": "string", - "readOnly": true, "description": "The kind of the event source.", "enum": [ "Microsoft.EventHub",