From a2a4314aa6517fa67d5f0a1c05203f73f0258c25 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 29 Jun 2022 02:07:10 +0000 Subject: [PATCH] CodeGen from PR 19556 in Azure/azure-rest-api-specs Merge 5bbdd43001e965e34bc6f892ee4faa1e0a4cc238 into ac155b972d0619a6e5bf665a863fb05ee7eeb30f --- .../Microsoft.StreamAnalytics.json | 2 +- .../2020-03-01/Microsoft.StreamAnalytics.json | 130 ++++++++++++++++-- .../Microsoft.StreamAnalytics.json | 57 ++++++-- 3 files changed, 165 insertions(+), 24 deletions(-) diff --git a/schemas/2020-03-01-preview/Microsoft.StreamAnalytics.json b/schemas/2020-03-01-preview/Microsoft.StreamAnalytics.json index 5a1bce6845..b16bbb8fd6 100644 --- a/schemas/2020-03-01-preview/Microsoft.StreamAnalytics.json +++ b/schemas/2020-03-01-preview/Microsoft.StreamAnalytics.json @@ -154,7 +154,7 @@ { "type": "integer", "minimum": 36, - "maximum": 216 + "maximum": 396 }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" diff --git a/schemas/2020-03-01/Microsoft.StreamAnalytics.json b/schemas/2020-03-01/Microsoft.StreamAnalytics.json index 687b79042a..00fd96b4b9 100644 --- a/schemas/2020-03-01/Microsoft.StreamAnalytics.json +++ b/schemas/2020-03-01/Microsoft.StreamAnalytics.json @@ -1032,6 +1032,10 @@ ], "description": "Authentication Mode." }, + "blobPathPrefix": { + "type": "string", + "description": "Blob path prefix." + }, "container": { "type": "string", "description": "The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests." @@ -1272,7 +1276,7 @@ { "type": "integer", "minimum": 36, - "maximum": 216 + "maximum": 396 }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -1669,6 +1673,42 @@ ], "description": "Describes an Event Hub input data source that contains stream data." }, + "FileReferenceInputDataSource": { + "type": "object", + "properties": { + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FileReferenceInputDataSourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties that are associated with a file input containing reference data." + }, + "type": { + "type": "string", + "enum": [ + "File" + ] + } + }, + "required": [ + "type" + ], + "description": "Describes a file input data source that contains reference data." + }, + "FileReferenceInputDataSourceProperties": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The path of the file." + } + }, + "description": "The properties that are associated with a file input containing reference data." + }, "Function": { "type": "object", "properties": { @@ -1798,17 +1838,81 @@ }, "description": "The properties that are associated with a function." }, - "Identity": { + "GatewayMessageBusOutputDataSource": { "type": "object", "properties": { - "principalId": { - "type": "string", - "description": "The identity principal ID" + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayMessageBusOutputDataSourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties that are associated with a Gateway Message Bus." }, - "tenantId": { + "type": { "type": "string", - "description": "The identity tenantId" + "enum": [ + "GatewayMessageBus" + ] + } + }, + "required": [ + "type" + ], + "description": "Describes a Gateway Message Bus output data source." + }, + "GatewayMessageBusOutputDataSourceProperties": { + "type": "object", + "properties": { + "topic": { + "type": "string", + "description": "The name of the Service Bus topic." + } + }, + "description": "The properties that are associated with a Gateway Message Bus." + }, + "GatewayMessageBusStreamInputDataSource": { + "type": "object", + "properties": { + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayMessageBusStreamInputDataSourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties that are associated with a gateway message bus input containing stream data." }, + "type": { + "type": "string", + "enum": [ + "GatewayMessageBus" + ] + } + }, + "required": [ + "type" + ], + "description": "Describes a blob input data source that contains stream data." + }, + "GatewayMessageBusStreamInputDataSourceProperties": { + "type": "object", + "properties": { + "topic": { + "type": "string", + "description": "The name of the Service Bus topic." + } + }, + "description": "The properties that are associated with a gateway message bus input containing stream data." + }, + "Identity": { + "type": "object", + "properties": { "type": { "type": "string", "description": "The identity type" @@ -2115,6 +2219,9 @@ }, { "$ref": "#/definitions/AzureDataLakeStoreOutputDataSource" + }, + { + "$ref": "#/definitions/GatewayMessageBusOutputDataSource" } ], "properties": {}, @@ -2339,6 +2446,9 @@ "ReferenceInputDataSource": { "type": "object", "oneOf": [ + { + "$ref": "#/definitions/FileReferenceInputDataSource" + }, { "$ref": "#/definitions/BlobReferenceInputDataSource" }, @@ -3003,6 +3113,9 @@ }, { "$ref": "#/definitions/IoTHubStreamInputDataSource" + }, + { + "$ref": "#/definitions/GatewayMessageBusStreamInputDataSource" } ], "properties": {}, @@ -3065,7 +3178,8 @@ "streamingUnits": { "oneOf": [ { - "type": "integer" + "type": "integer", + "default": "3" }, { "$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 a2ee498cd7..c41b769138 100644 --- a/schemas/2021-10-01-preview/Microsoft.StreamAnalytics.json +++ b/schemas/2021-10-01-preview/Microsoft.StreamAnalytics.json @@ -880,9 +880,7 @@ "enum": [ "Static", "RefreshPeriodicallyWithFull", - "RefreshPeriodicallyWithDelta", - "Blocking", - "Nonblocking" + "RefreshPeriodicallyWithDelta" ] }, { @@ -1950,6 +1948,42 @@ }, "description": "The storage account where the custom code artifacts are located." }, + "FileReferenceInputDataSource": { + "type": "object", + "properties": { + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FileReferenceInputDataSourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties that are associated with a file input containing reference data." + }, + "type": { + "type": "string", + "enum": [ + "File" + ] + } + }, + "required": [ + "type" + ], + "description": "Describes a file input data source that contains reference data." + }, + "FileReferenceInputDataSourceProperties": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The path of the file." + } + }, + "description": "The properties that are associated with a file input containing reference data." + }, "Function": { "type": "object", "properties": { @@ -2160,14 +2194,6 @@ "Identity": { "type": "object", "properties": { - "principalId": { - "type": "string", - "description": "The principalId of the identity." - }, - "tenantId": { - "type": "string", - "description": "The tenantId of the identity." - }, "type": { "type": "string", "description": "The type of identity, can be SystemAssigned or UserAssigned." @@ -2885,6 +2911,9 @@ "ReferenceInputDataSource": { "type": "object", "oneOf": [ + { + "$ref": "#/definitions/FileReferenceInputDataSource" + }, { "$ref": "#/definitions/BlobReferenceInputDataSource" }, @@ -2944,9 +2973,6 @@ { "type": "string", "enum": [ - "Static", - "RefreshPeriodicallyWithFull", - "RefreshPeriodicallyWithDelta", "Blocking", "Nonblocking" ] @@ -3693,7 +3719,8 @@ "streamingUnits": { "oneOf": [ { - "type": "integer" + "type": "integer", + "default": "3" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"