From aefac30dc166ed4a62b6fd72310eefd2280b07b4 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 17 Feb 2022 01:54:20 +0000 Subject: [PATCH] CodeGen from PR 17697 in Azure/azure-rest-api-specs Merge 6a2d393e781b1d0ec333fbece63126f43fc00d52 into 3f59f46d112c58cb8f6231732e88848f0f97872c --- .../Microsoft.StreamAnalytics.json | 32 ++++++ .../2020-03-01/Microsoft.StreamAnalytics.json | 101 ++++++++++++++++++ .../Microsoft.StreamAnalytics.json | 36 ++++++- 3 files changed, 167 insertions(+), 2 deletions(-) diff --git a/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json b/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json index a05d327d50..508f3e095f 100644 --- a/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json +++ b/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json @@ -1104,6 +1104,22 @@ "BlobReferenceInputDataSourceProperties": { "type": "object", "properties": { + "authenticationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Msi", + "UserToken", + "ConnectionString" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authentication Mode." + }, "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." @@ -1166,6 +1182,22 @@ "BlobStreamInputDataSourceProperties": { "type": "object", "properties": { + "authenticationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Msi", + "UserToken", + "ConnectionString" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authentication Mode." + }, "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." diff --git a/schemas/2020-03-01/Microsoft.StreamAnalytics.json b/schemas/2020-03-01/Microsoft.StreamAnalytics.json index 1a1844594f..eb276a48bd 100644 --- a/schemas/2020-03-01/Microsoft.StreamAnalytics.json +++ b/schemas/2020-03-01/Microsoft.StreamAnalytics.json @@ -468,6 +468,72 @@ }, "description": "The properties that are associated with an Azure Data Lake Store." }, + "AzureFunctionOutputDataSource": { + "type": "object", + "properties": { + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AzureFunctionOutputDataSourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties that are associated with an Azure Function output." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AzureFunction" + ] + } + }, + "required": [ + "type" + ], + "description": "Defines the metadata of AzureFunctionOutputDataSource" + }, + "AzureFunctionOutputDataSourceProperties": { + "type": "object", + "properties": { + "apiKey": { + "type": "string", + "description": "If you want to use an Azure Function from another subscription, you can do so by providing the key to access your function." + }, + "functionAppName": { + "type": "string", + "description": "The name of your Azure Functions app." + }, + "functionName": { + "type": "string", + "description": "The name of the function in your Azure Functions app." + }, + "maxBatchCount": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A property that lets you specify the maximum number of events in each batch that's sent to Azure Functions. The default value is 100." + }, + "maxBatchSize": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A property that lets you set the maximum size for each output batch that's sent to your Azure function. The input unit is in bytes. By default, this value is 262,144 bytes (256 KB)." + } + }, + "description": "The properties that are associated with an Azure Function output." + }, "AzureMachineLearningWebServiceFunctionBinding": { "type": "object", "properties": { @@ -1013,6 +1079,22 @@ "BlobReferenceInputDataSourceProperties": { "type": "object", "properties": { + "authenticationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Msi", + "UserToken", + "ConnectionString" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authentication Mode." + }, "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." @@ -1075,6 +1157,22 @@ "BlobStreamInputDataSourceProperties": { "type": "object", "properties": { + "authenticationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Msi", + "UserToken", + "ConnectionString" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authentication Mode." + }, "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." @@ -1934,6 +2032,9 @@ { "$ref": "#/definitions/DocumentDbOutputDataSource" }, + { + "$ref": "#/definitions/AzureFunctionOutputDataSource" + }, { "$ref": "#/definitions/ServiceBusQueueOutputDataSource" }, diff --git a/schemas/2021-10-01-preview/Microsoft.StreamAnalytics.json b/schemas/2021-10-01-preview/Microsoft.StreamAnalytics.json index 7a56bf7b47..dcecdffa30 100644 --- a/schemas/2021-10-01-preview/Microsoft.StreamAnalytics.json +++ b/schemas/2021-10-01-preview/Microsoft.StreamAnalytics.json @@ -377,7 +377,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The properties that are associated with a DocumentDB output." + "description": "The properties that are associated with an Azure Function output." }, "type": { "type": "string", @@ -429,7 +429,7 @@ "description": "A property that lets you set the maximum size for each output batch that's sent to your Azure function. The input unit is in bytes. By default, this value is 262,144 bytes (256 KB)." } }, - "description": "The properties that are associated with a DocumentDB output." + "description": "The properties that are associated with an Azure Function output." }, "AzureMachineLearningServiceFunctionBinding": { "type": "object", @@ -1116,6 +1116,22 @@ "BlobReferenceInputDataSourceProperties": { "type": "object", "properties": { + "authenticationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Msi", + "UserToken", + "ConnectionString" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authentication Mode." + }, "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." @@ -1178,6 +1194,22 @@ "BlobStreamInputDataSourceProperties": { "type": "object", "properties": { + "authenticationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Msi", + "UserToken", + "ConnectionString" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authentication Mode." + }, "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."