From 924fcbec46aaa4234f2a44efbf17c954cff2d291 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 2 Dec 2022 03:05:46 +0000 Subject: [PATCH] CodeGen from PR 21632 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.StreamAnalytics to add version preview/2021-10-01-preview (#21632) * Add blockchain to latest profile * Add additional types * update enum name * update cluster max size and add default values * add gateway message bus * tenantId and principalId to readonly * add blobpathprefix * add file ref input * add missed example files * add 200 response code to scale * add to 2020GA version * change sizeWindow to int * fix api version Co-authored-by: Mark Cowlishaw Co-authored-by: Roslyn Lu --- schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json | 5 +++-- schemas/2020-03-01/Microsoft.StreamAnalytics.json | 2 +- schemas/2021-10-01-preview/Microsoft.StreamAnalytics.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json b/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json index 21950a074b..52918d63ef 100644 --- a/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json +++ b/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json @@ -2167,12 +2167,13 @@ "sizeWindow": { "oneOf": [ { - "type": "number" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "The size window to constrain a Stream Analytics output to." }, "timeWindow": { "type": "string" diff --git a/schemas/2020-03-01/Microsoft.StreamAnalytics.json b/schemas/2020-03-01/Microsoft.StreamAnalytics.json index 00fd96b4b9..ddf447b124 100644 --- a/schemas/2020-03-01/Microsoft.StreamAnalytics.json +++ b/schemas/2020-03-01/Microsoft.StreamAnalytics.json @@ -2255,7 +2255,7 @@ "sizeWindow": { "oneOf": [ { - "type": "number" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" diff --git a/schemas/2021-10-01-preview/Microsoft.StreamAnalytics.json b/schemas/2021-10-01-preview/Microsoft.StreamAnalytics.json index 7249e360f6..0855257ba5 100644 --- a/schemas/2021-10-01-preview/Microsoft.StreamAnalytics.json +++ b/schemas/2021-10-01-preview/Microsoft.StreamAnalytics.json @@ -2590,7 +2590,7 @@ "sizeWindow": { "oneOf": [ { - "type": "number" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"