From f8142a0cd19368f8febea1f1e85676c5ad534599 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 28 Oct 2021 01:30:09 +0000 Subject: [PATCH] CodeGen from PR 16573 in Azure/azure-rest-api-specs Merge 0cf76677ed10799f796572ec9fa872c82a514606 into 94afa345211759e1f109f325dcdfcd56cf933c0a --- .../2016-03-01/Microsoft.StreamAnalytics.json | 2094 ----------- .../Microsoft.StreamAnalytics.json | 3117 ----------------- .../Microsoft.StreamAnalytics.json | 303 -- .../2020-03-01/Microsoft.StreamAnalytics.json | 2688 -------------- schemas/common/autogeneratedResources.json | 51 - 5 files changed, 8253 deletions(-) delete mode 100644 schemas/2016-03-01/Microsoft.StreamAnalytics.json delete mode 100644 schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json delete mode 100644 schemas/2020-03-01-preview/Microsoft.StreamAnalytics.json delete mode 100644 schemas/2020-03-01/Microsoft.StreamAnalytics.json diff --git a/schemas/2016-03-01/Microsoft.StreamAnalytics.json b/schemas/2016-03-01/Microsoft.StreamAnalytics.json deleted file mode 100644 index 403591c7bc..0000000000 --- a/schemas/2016-03-01/Microsoft.StreamAnalytics.json +++ /dev/null @@ -1,2094 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-03-01/Microsoft.StreamAnalytics.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.StreamAnalytics", - "description": "Microsoft StreamAnalytics Resource Types", - "resourceDefinitions": { - "streamingjobs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-01" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the streaming job." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/StreamingJobProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a streaming job." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/streamingjobs_inputs_childResource" - }, - { - "$ref": "#/definitions/streamingjobs_outputs_childResource" - }, - { - "$ref": "#/definitions/streamingjobs_transformations_childResource" - }, - { - "$ref": "#/definitions/streamingjobs_functions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs" - }, - "streamingjobs_functions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the function." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a function." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs/functions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/functions" - }, - "streamingjobs_inputs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the input." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/InputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an input." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs/inputs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/inputs" - }, - "streamingjobs_outputs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the output." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OutputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs/outputs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/outputs" - }, - "streamingjobs_transformations": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the transformation." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TransformationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a transformation." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs/transformations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/transformations" - } - }, - "definitions": { - "AvroSerialization": { - "type": "object", - "properties": { - "properties": { - "type": "object", - "properties": {}, - "description": "The properties that are associated with the Avro serialization type." - }, - "type": { - "type": "string", - "enum": [ - "Avro" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output in Avro format." - }, - "AzureDataLakeStoreOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureDataLakeStoreOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Azure Data Lake Store." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DataLake/Accounts" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Azure Data Lake Store output data source." - }, - "AzureDataLakeStoreOutputDataSourceProperties": { - "type": "object", - "properties": { - "accountName": { - "type": "string", - "description": "The name of the Azure Data Lake Store account. Required on PUT (CreateOrReplace) requests." - }, - "dateFormat": { - "type": "string", - "description": "The date format. Wherever {date} appears in filePathPrefix, the value of this property is used as the date format instead." - }, - "filePathPrefix": { - "type": "string", - "description": "The location of the file to which the output should be written to. Required on PUT (CreateOrReplace) requests." - }, - "refreshToken": { - "type": "string", - "description": "A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests." - }, - "tenantId": { - "type": "string", - "description": "The tenant id of the user used to obtain the refresh token. Required on PUT (CreateOrReplace) requests." - }, - "timeFormat": { - "type": "string", - "description": "The time format. Wherever {time} appears in filePathPrefix, the value of this property is used as the time format instead." - }, - "tokenUserDisplayName": { - "type": "string", - "description": "The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token." - }, - "tokenUserPrincipalName": { - "type": "string", - "description": "The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token." - } - }, - "description": "The properties that are associated with an Azure Data Lake Store." - }, - "AzureMachineLearningWebServiceFunctionBinding": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureMachineLearningWebServiceFunctionBindingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The binding properties associated with an Azure Machine learning web service." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.MachineLearning/WebService" - ] - } - }, - "required": [ - "type" - ], - "description": "The binding to an Azure Machine Learning web service." - }, - "AzureMachineLearningWebServiceFunctionBindingProperties": { - "type": "object", - "properties": { - "apiKey": { - "type": "string", - "description": "The API key used to authenticate with Request-Response endpoint." - }, - "batchSize": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000." - }, - "endpoint": { - "type": "string", - "description": "The Request-Response execute endpoint of the Azure Machine Learning web service. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs" - }, - "inputs": { - "oneOf": [ - { - "$ref": "#/definitions/AzureMachineLearningWebServiceInputs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The inputs for the Azure Machine Learning web service endpoint." - }, - "outputs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AzureMachineLearningWebServiceOutputColumn" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of outputs from the Azure Machine Learning web service endpoint execution." - } - }, - "description": "The binding properties associated with an Azure Machine learning web service." - }, - "AzureMachineLearningWebServiceInputColumn": { - "type": "object", - "properties": { - "dataType": { - "type": "string", - "description": "The (Azure Machine Learning supported) data type of the input column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx ." - }, - "mapTo": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The zero based index of the function parameter this input maps to." - }, - "name": { - "type": "string", - "description": "The name of the input column." - } - }, - "description": "Describes an input column for the Azure Machine Learning web service endpoint." - }, - "AzureMachineLearningWebServiceInputs": { - "type": "object", - "properties": { - "columnNames": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AzureMachineLearningWebServiceInputColumn" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of input columns for the Azure Machine Learning web service endpoint." - }, - "name": { - "type": "string", - "description": "The name of the input. This is the name provided while authoring the endpoint." - } - }, - "description": "The inputs for the Azure Machine Learning web service endpoint." - }, - "AzureMachineLearningWebServiceOutputColumn": { - "type": "object", - "properties": { - "dataType": { - "type": "string", - "description": "The (Azure Machine Learning supported) data type of the output column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx ." - }, - "name": { - "type": "string", - "description": "The name of the output column." - } - }, - "description": "Describes an output column for the Azure Machine Learning web service endpoint." - }, - "AzureSqlDatabaseOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureSqlDatabaseOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Azure SQL database output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Sql/Server/Database" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Azure SQL database output data source." - }, - "AzureSqlDatabaseOutputDataSourceProperties": { - "type": "object", - "properties": { - "database": { - "type": "string", - "description": "The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "password": { - "type": "string", - "description": "The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "server": { - "type": "string", - "description": "The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "table": { - "type": "string", - "description": "The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "user": { - "type": "string", - "description": "The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with an Azure SQL database output." - }, - "AzureTableOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureTableOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Azure Table output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/Table" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Azure Table output data source." - }, - "AzureTableOutputDataSourceProperties": { - "type": "object", - "properties": { - "accountKey": { - "type": "string", - "description": "The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests." - }, - "accountName": { - "type": "string", - "description": "The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests." - }, - "batchSize": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of rows to write to the Azure Table at a time." - }, - "columnsToRemove": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If specified, each item in the array is the name of a column to remove (if present) from output event entities." - }, - "partitionKey": { - "type": "string", - "description": "This element indicates the name of a column from the SELECT statement in the query that will be used as the partition key for the Azure Table. Required on PUT (CreateOrReplace) requests." - }, - "rowKey": { - "type": "string", - "description": "This element indicates the name of a column from the SELECT statement in the query that will be used as the row key for the Azure Table. Required on PUT (CreateOrReplace) requests." - }, - "table": { - "type": "string", - "description": "The name of the Azure Table. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with an Azure Table output." - }, - "BlobOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BlobOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a blob output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/Blob" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a blob output data source." - }, - "BlobOutputDataSourceProperties": { - "type": "object", - "properties": { - "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." - }, - "dateFormat": { - "type": "string", - "description": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead." - }, - "pathPattern": { - "type": "string", - "description": "The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example." - }, - "storageAccounts": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/StorageAccount" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests." - }, - "timeFormat": { - "type": "string", - "description": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead." - } - }, - "description": "The properties that are associated with a blob output." - }, - "BlobReferenceInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BlobReferenceInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a blob input containing reference data." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/Blob" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a blob input data source that contains reference data." - }, - "BlobReferenceInputDataSourceProperties": { - "type": "object", - "properties": { - "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." - }, - "dateFormat": { - "type": "string", - "description": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead." - }, - "pathPattern": { - "type": "string", - "description": "The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example." - }, - "storageAccounts": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/StorageAccount" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests." - }, - "timeFormat": { - "type": "string", - "description": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead." - } - }, - "description": "The properties that are associated with a blob input containing reference data." - }, - "BlobStreamInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BlobStreamInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a blob input containing stream data." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/Blob" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a blob input data source that contains stream data." - }, - "BlobStreamInputDataSourceProperties": { - "type": "object", - "properties": { - "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." - }, - "dateFormat": { - "type": "string", - "description": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead." - }, - "pathPattern": { - "type": "string", - "description": "The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example." - }, - "sourcePartitionCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The partition count of the blob input data source. Range 1 - 256." - }, - "storageAccounts": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/StorageAccount" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests." - }, - "timeFormat": { - "type": "string", - "description": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead." - } - }, - "description": "The properties that are associated with a blob input containing stream data." - }, - "CsvSerialization": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CsvSerializationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with the CSV serialization type." - }, - "type": { - "type": "string", - "enum": [ - "Csv" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output in CSV format." - }, - "CsvSerializationProperties": { - "type": "object", - "properties": { - "encoding": { - "oneOf": [ - { - "type": "string", - "enum": [ - "UTF8" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests." - }, - "fieldDelimiter": { - "type": "string", - "description": "Specifies the delimiter that will be used to separate comma-separated value (CSV) records. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a list of supported values. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with the CSV serialization type." - }, - "DocumentDbOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DocumentDbOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a DocumentDB output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/DocumentDB" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a DocumentDB output data source." - }, - "DocumentDbOutputDataSourceProperties": { - "type": "object", - "properties": { - "accountId": { - "type": "string", - "description": "The DocumentDB account name or ID. Required on PUT (CreateOrReplace) requests." - }, - "accountKey": { - "type": "string", - "description": "The account key for the DocumentDB account. Required on PUT (CreateOrReplace) requests." - }, - "collectionNamePattern": { - "type": "string", - "description": "The collection name pattern for the collections to be used. The collection name format can be constructed using the optional {partition} token, where partitions start from 0. See the DocumentDB section of https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for more information. Required on PUT (CreateOrReplace) requests." - }, - "database": { - "type": "string", - "description": "The name of the DocumentDB database. Required on PUT (CreateOrReplace) requests." - }, - "documentId": { - "type": "string", - "description": "The name of the field in output events used to specify the primary key which insert or update operations are based on." - }, - "partitionKey": { - "type": "string", - "description": "The name of the field in output events used to specify the key for partitioning output across collections. If 'collectionNamePattern' contains the {partition} token, this property is required to be specified." - } - }, - "description": "The properties that are associated with a DocumentDB output." - }, - "EventHubOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Event Hub output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ServiceBus/EventHub" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Event Hub output data source." - }, - "EventHubOutputDataSourceProperties": { - "type": "object", - "properties": { - "eventHubName": { - "type": "string", - "description": "The name of the Event Hub. Required on PUT (CreateOrReplace) requests." - }, - "partitionKey": { - "type": "string", - "description": "The key/column that is used to determine to which partition to send event data." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with an Event Hub output." - }, - "EventHubStreamInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubStreamInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a Event Hub input containing stream data." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ServiceBus/EventHub" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Event Hub input data source that contains stream data." - }, - "EventHubStreamInputDataSourceProperties": { - "type": "object", - "properties": { - "consumerGroupName": { - "type": "string", - "description": "The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group." - }, - "eventHubName": { - "type": "string", - "description": "The name of the Event Hub. Required on PUT (CreateOrReplace) requests." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with a Event Hub input containing stream data." - }, - "Function": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Resource name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a function." - } - }, - "description": "A function object, containing all information associated with the named function. All functions are contained under a streaming job." - }, - "FunctionBinding": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/AzureMachineLearningWebServiceFunctionBinding" - }, - { - "$ref": "#/definitions/JavaScriptFunctionBinding" - } - ], - "properties": {}, - "description": "The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint." - }, - "FunctionInput": { - "type": "object", - "properties": { - "dataType": { - "type": "string", - "description": "The (Azure Stream Analytics supported) data type of the function input parameter. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx" - }, - "isConfigurationParameter": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A flag indicating if the parameter is a configuration parameter. True if this input parameter is expected to be a constant. Default is false." - } - }, - "description": "Describes one input parameter of a function." - }, - "FunctionOutput": { - "type": "object", - "properties": { - "dataType": { - "type": "string", - "description": "The (Azure Stream Analytics supported) data type of the function output. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx" - } - }, - "description": "Describes the output of a function." - }, - "FunctionProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ScalarFunctionProperties" - } - ], - "properties": {}, - "description": "The properties that are associated with a function." - }, - "Input": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Resource name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/InputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an input." - } - }, - "description": "An input object, containing all information associated with the named input. All inputs are contained under a streaming job." - }, - "InputProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/StreamInputProperties" - }, - { - "$ref": "#/definitions/ReferenceInputProperties" - } - ], - "properties": { - "serialization": { - "oneOf": [ - { - "$ref": "#/definitions/Serialization" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output." - } - }, - "description": "The properties that are associated with an input." - }, - "IoTHubStreamInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IoTHubStreamInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a IoT Hub input containing stream data." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Devices/IotHubs" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an IoT Hub input data source that contains stream data." - }, - "IoTHubStreamInputDataSourceProperties": { - "type": "object", - "properties": { - "consumerGroupName": { - "type": "string", - "description": "The name of an IoT Hub Consumer Group that should be used to read events from the IoT Hub. If not specified, the input uses the Iot Hub’s default consumer group." - }, - "endpoint": { - "type": "string", - "description": "The IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents, etc.)." - }, - "iotHubNamespace": { - "type": "string", - "description": "The name or the URI of the IoT Hub. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the IoT Hub. This policy must contain at least the Service connect permission. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with a IoT Hub input containing stream data." - }, - "JavaScriptFunctionBinding": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/JavaScriptFunctionBindingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The binding properties associated with a JavaScript function." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/JavascriptUdf" - ] - } - }, - "required": [ - "type" - ], - "description": "The binding to a JavaScript function." - }, - "JavaScriptFunctionBindingProperties": { - "type": "object", - "properties": { - "script": { - "type": "string", - "description": "The JavaScript code containing a single function definition. For example: 'function (x, y) { return x + y; }'" - } - }, - "description": "The binding properties associated with a JavaScript function." - }, - "JsonSerialization": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/JsonSerializationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with the JSON serialization type." - }, - "type": { - "type": "string", - "enum": [ - "Json" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output in JSON format." - }, - "JsonSerializationProperties": { - "type": "object", - "properties": { - "encoding": { - "oneOf": [ - { - "type": "string", - "enum": [ - "UTF8" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests." - }, - "format": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LineSeparated", - "Array" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This property only applies to JSON serialization of outputs only. It is not applicable to inputs. This property specifies the format of the JSON the output will be written in. The currently supported values are 'lineSeparated' indicating the output will be formatted by having each JSON object separated by a new line and 'array' indicating the output will be formatted as an array of JSON objects. Default value is 'lineSeparated' if left null." - } - }, - "description": "The properties that are associated with the JSON serialization type." - }, - "Output": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Resource name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OutputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an output." - } - }, - "description": "An output object, containing all information associated with the named output. All outputs are contained under a streaming job." - }, - "OutputDataSource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/BlobOutputDataSource" - }, - { - "$ref": "#/definitions/AzureTableOutputDataSource" - }, - { - "$ref": "#/definitions/EventHubOutputDataSource" - }, - { - "$ref": "#/definitions/AzureSqlDatabaseOutputDataSource" - }, - { - "$ref": "#/definitions/DocumentDbOutputDataSource" - }, - { - "$ref": "#/definitions/ServiceBusQueueOutputDataSource" - }, - { - "$ref": "#/definitions/ServiceBusTopicOutputDataSource" - }, - { - "$ref": "#/definitions/PowerBIOutputDataSource" - }, - { - "$ref": "#/definitions/AzureDataLakeStoreOutputDataSource" - } - ], - "properties": {}, - "description": "Describes the data source that output will be written to." - }, - "OutputProperties": { - "type": "object", - "properties": { - "datasource": { - "oneOf": [ - { - "$ref": "#/definitions/OutputDataSource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the data source that output will be written to." - }, - "serialization": { - "oneOf": [ - { - "$ref": "#/definitions/Serialization" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output." - } - }, - "description": "The properties that are associated with an output." - }, - "PowerBIOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PowerBIOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a Power BI output." - }, - "type": { - "type": "string", - "enum": [ - "PowerBI" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a Power BI output data source." - }, - "PowerBIOutputDataSourceProperties": { - "type": "object", - "properties": { - "dataset": { - "type": "string", - "description": "The name of the Power BI dataset. Required on PUT (CreateOrReplace) requests." - }, - "groupId": { - "type": "string", - "description": "The ID of the Power BI group." - }, - "groupName": { - "type": "string", - "description": "The name of the Power BI group. Use this property to help remember which specific Power BI group id was used." - }, - "refreshToken": { - "type": "string", - "description": "A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests." - }, - "table": { - "type": "string", - "description": "The name of the Power BI table under the specified dataset. Required on PUT (CreateOrReplace) requests." - }, - "tokenUserDisplayName": { - "type": "string", - "description": "The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token." - }, - "tokenUserPrincipalName": { - "type": "string", - "description": "The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token." - } - }, - "description": "The properties that are associated with a Power BI output." - }, - "ReferenceInputDataSource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/BlobReferenceInputDataSource" - } - ], - "properties": {}, - "description": "Describes an input data source that contains reference data." - }, - "ReferenceInputProperties": { - "type": "object", - "properties": { - "datasource": { - "oneOf": [ - { - "$ref": "#/definitions/ReferenceInputDataSource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes an input data source that contains reference data." - }, - "type": { - "type": "string", - "enum": [ - "Reference" - ] - } - }, - "required": [ - "type" - ], - "description": "The properties that are associated with an input containing reference data." - }, - "ScalarFunctionConfiguration": { - "type": "object", - "properties": { - "binding": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionBinding" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint." - }, - "inputs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/FunctionInput" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of inputs describing the parameters of the function." - }, - "output": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionOutput" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the output of a function." - } - }, - "description": "Describes the configuration of the scalar function." - }, - "ScalarFunctionProperties": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalarFunctionConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the configuration of the scalar function." - }, - "type": { - "type": "string", - "enum": [ - "Scalar" - ] - } - }, - "required": [ - "type" - ], - "description": "The properties that are associated with a scalar function." - }, - "Serialization": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/CsvSerialization" - }, - { - "$ref": "#/definitions/JsonSerialization" - }, - { - "$ref": "#/definitions/AvroSerialization" - } - ], - "properties": {}, - "description": "Describes how data from an input is serialized or how data is serialized when written to an output." - }, - "ServiceBusQueueOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceBusQueueOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a Service Bus Queue output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ServiceBus/Queue" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a Service Bus Queue output data source." - }, - "ServiceBusQueueOutputDataSourceProperties": { - "type": "object", - "properties": { - "propertyColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A string array of the names of output columns to be attached to Service Bus messages as custom properties." - }, - "queueName": { - "type": "string", - "description": "The name of the Service Bus Queue. Required on PUT (CreateOrReplace) requests." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with a Service Bus Queue output." - }, - "ServiceBusTopicOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceBusTopicOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a Service Bus Topic output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ServiceBus/Topic" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a Service Bus Topic output data source." - }, - "ServiceBusTopicOutputDataSourceProperties": { - "type": "object", - "properties": { - "propertyColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A string array of the names of output columns to be attached to Service Bus messages as custom properties." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "topicName": { - "type": "string", - "description": "The name of the Service Bus Topic. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with a Service Bus Topic output." - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the SKU. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with a SKU." - }, - "StorageAccount": { - "type": "object", - "properties": { - "accountKey": { - "type": "string", - "description": "The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests." - }, - "accountName": { - "type": "string", - "description": "The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with an Azure Storage account" - }, - "StreamingJobProperties": { - "type": "object", - "properties": { - "compatibilityLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1.0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Controls certain runtime behaviors of the streaming job." - }, - "dataLocale": { - "type": "string", - "description": "The data locale of the stream analytics job. Value should be the name of a supported .NET Culture from the set https://msdn.microsoft.com/en-us/library/system.globalization.culturetypes(v=vs.110).aspx. Defaults to 'en-US' if none specified." - }, - "eventsLateArrivalMaxDelayInSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum tolerable delay in seconds where events arriving late could be included. Supported range is -1 to 1814399 (20.23:59:59 days) and -1 is used to specify wait indefinitely. If the property is absent, it is interpreted to have a value of -1." - }, - "eventsOutOfOrderMaxDelayInSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order." - }, - "eventsOutOfOrderPolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Adjust", - "Drop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the policy to apply to events that arrive out of order in the input event stream." - }, - "functions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Function" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more functions for the streaming job. The name property for each function is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual transformation." - }, - "inputs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Input" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more inputs to the streaming job. The name property for each input is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual input." - }, - "outputErrorPolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Stop", - "Drop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the policy to apply to events that arrive at the output and cannot be written to the external storage due to being malformed (missing column values, column values of wrong type or size)." - }, - "outputs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Output" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more outputs for the streaming job. The name property for each output is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual output." - }, - "outputStartMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "JobStartTime", - "CustomTime", - "LastOutputEventTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This property should only be utilized when it is desired that the job be started immediately upon creation. Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time." - }, - "outputStartTime": { - "type": "string", - "format": "date-time", - "description": "Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a SKU." - }, - "transformation": { - "oneOf": [ - { - "$ref": "#/definitions/Transformation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job." - } - }, - "description": "The properties that are associated with a streaming job." - }, - "streamingjobs_functions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the function." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a function." - }, - "type": { - "type": "string", - "enum": [ - "functions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/functions" - }, - "streamingjobs_inputs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the input." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/InputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an input." - }, - "type": { - "type": "string", - "enum": [ - "inputs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/inputs" - }, - "streamingjobs_outputs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the output." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OutputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an output." - }, - "type": { - "type": "string", - "enum": [ - "outputs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/outputs" - }, - "streamingjobs_transformations_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the transformation." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TransformationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a transformation." - }, - "type": { - "type": "string", - "enum": [ - "transformations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/transformations" - }, - "StreamInputDataSource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/BlobStreamInputDataSource" - }, - { - "$ref": "#/definitions/EventHubStreamInputDataSource" - }, - { - "$ref": "#/definitions/IoTHubStreamInputDataSource" - } - ], - "properties": {}, - "description": "Describes an input data source that contains stream data." - }, - "StreamInputProperties": { - "type": "object", - "properties": { - "datasource": { - "oneOf": [ - { - "$ref": "#/definitions/StreamInputDataSource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes an input data source that contains stream data." - }, - "type": { - "type": "string", - "enum": [ - "Stream" - ] - } - }, - "required": [ - "type" - ], - "description": "The properties that are associated with an input containing stream data." - }, - "Transformation": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Resource name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TransformationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a transformation." - } - }, - "description": "A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job." - }, - "TransformationProperties": { - "type": "object", - "properties": { - "query": { - "type": "string", - "description": "Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests." - }, - "streamingUnits": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the number of streaming units that the streaming job uses." - } - }, - "description": "The properties that are associated with a transformation." - } - } -} \ No newline at end of file diff --git a/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json b/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json deleted file mode 100644 index a05d327d50..0000000000 --- a/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json +++ /dev/null @@ -1,3117 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.StreamAnalytics", - "description": "Microsoft StreamAnalytics Resource Types", - "resourceDefinitions": { - "streamingjobs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes how identity is verified" - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the streaming job." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/StreamingJobProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a streaming job." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/streamingjobs_functions_childResource" - }, - { - "$ref": "#/definitions/streamingjobs_inputs_childResource" - }, - { - "$ref": "#/definitions/streamingjobs_outputs_childResource" - }, - { - "$ref": "#/definitions/streamingjobs_transformations_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs" - }, - "streamingjobs_functions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the function." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a function." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs/functions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/functions" - }, - "streamingjobs_inputs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the input." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/InputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an input." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs/inputs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/inputs" - }, - "streamingjobs_outputs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the output." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OutputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs/outputs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/outputs" - }, - "streamingjobs_transformations": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the transformation." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TransformationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a transformation." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs/transformations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/transformations" - } - }, - "definitions": { - "AggregateFunctionProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Aggregate" - ] - } - }, - "required": [ - "type" - ], - "description": "The properties that are associated with an aggregate function." - }, - "AvroSerialization": { - "type": "object", - "properties": { - "properties": { - "type": "object", - "properties": {}, - "description": "The properties that are associated with the Avro serialization type." - }, - "type": { - "type": "string", - "enum": [ - "Avro" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output in Avro format." - }, - "AzureDataLakeStoreOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureDataLakeStoreOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Azure Data Lake Store." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DataLake/Accounts" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Azure Data Lake Store output data source." - }, - "AzureDataLakeStoreOutputDataSourceProperties": { - "type": "object", - "properties": { - "accountName": { - "type": "string", - "description": "The name of the Azure Data Lake Store account. Required on PUT (CreateOrReplace) requests." - }, - "authenticationMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Msi", - "UserToken", - "ConnectionString" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Authentication Mode." - }, - "dateFormat": { - "type": "string", - "description": "The date format. Wherever {date} appears in filePathPrefix, the value of this property is used as the date format instead." - }, - "filePathPrefix": { - "type": "string", - "description": "The location of the file to which the output should be written to. Required on PUT (CreateOrReplace) requests." - }, - "refreshToken": { - "type": "string", - "description": "A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests." - }, - "tenantId": { - "type": "string", - "description": "The tenant id of the user used to obtain the refresh token. Required on PUT (CreateOrReplace) requests." - }, - "timeFormat": { - "type": "string", - "description": "The time format. Wherever {time} appears in filePathPrefix, the value of this property is used as the time format instead." - }, - "tokenUserDisplayName": { - "type": "string", - "description": "The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token." - }, - "tokenUserPrincipalName": { - "type": "string", - "description": "The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token." - } - }, - "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 a DocumentDB 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 a DocumentDB output." - }, - "AzureMachineLearningServiceFunctionBinding": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureMachineLearningServiceFunctionBindingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The binding properties associated with an Azure Machine learning web service." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.MachineLearningServices" - ] - } - }, - "required": [ - "type" - ], - "description": "The binding to an Azure Machine Learning web service." - }, - "AzureMachineLearningServiceFunctionBindingProperties": { - "type": "object", - "properties": { - "apiKey": { - "type": "string", - "description": "The API key used to authenticate with Request-Response endpoint." - }, - "batchSize": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000." - }, - "endpoint": { - "type": "string", - "description": "The Request-Response execute endpoint of the Azure Machine Learning web service." - }, - "inputs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AzureMachineLearningServiceInputColumn" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The inputs for the Azure Machine Learning web service endpoint." - }, - "numberOfParallelRequests": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of parallel requests that will be sent per partition of your job to the machine learning service. Default is 1." - }, - "outputs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AzureMachineLearningServiceOutputColumn" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of outputs from the Azure Machine Learning web service endpoint execution." - } - }, - "description": "The binding properties associated with an Azure Machine learning web service." - }, - "AzureMachineLearningServiceInputColumn": { - "type": "object", - "properties": { - "dataType": { - "type": "string", - "description": "The (Azure Machine Learning supported) data type of the input column." - }, - "mapTo": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The zero based index of the function parameter this input maps to." - }, - "name": { - "type": "string", - "description": "The name of the input column." - } - }, - "description": "Describes an input column for the Azure Machine Learning web service endpoint." - }, - "AzureMachineLearningServiceOutputColumn": { - "type": "object", - "properties": { - "dataType": { - "type": "string", - "description": "The (Azure Machine Learning supported) data type of the output column." - }, - "mapTo": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The zero based index of the function parameter this input maps to." - }, - "name": { - "type": "string", - "description": "The name of the output column." - } - }, - "description": "Describes an output column for the Azure Machine Learning web service endpoint." - }, - "AzureMachineLearningStudioFunctionBinding": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureMachineLearningStudioFunctionBindingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The binding properties associated with an Azure Machine learning Studio." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.MachineLearning/WebService" - ] - } - }, - "required": [ - "type" - ], - "description": "The binding to an Azure Machine Learning Studio." - }, - "AzureMachineLearningStudioFunctionBindingProperties": { - "type": "object", - "properties": { - "apiKey": { - "type": "string", - "description": "The API key used to authenticate with Request-Response endpoint." - }, - "batchSize": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000." - }, - "endpoint": { - "type": "string", - "description": "The Request-Response execute endpoint of the Azure Machine Learning Studio. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs" - }, - "inputs": { - "oneOf": [ - { - "$ref": "#/definitions/AzureMachineLearningStudioInputs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The inputs for the Azure Machine Learning Studio endpoint." - }, - "outputs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AzureMachineLearningStudioOutputColumn" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of outputs from the Azure Machine Learning Studio endpoint execution." - } - }, - "description": "The binding properties associated with an Azure Machine learning Studio." - }, - "AzureMachineLearningStudioInputColumn": { - "type": "object", - "properties": { - "dataType": { - "type": "string", - "description": "The (Azure Machine Learning supported) data type of the input column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx ." - }, - "mapTo": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The zero based index of the function parameter this input maps to." - }, - "name": { - "type": "string", - "description": "The name of the input column." - } - }, - "description": "Describes an input column for the Azure Machine Learning Studio endpoint." - }, - "AzureMachineLearningStudioInputs": { - "type": "object", - "properties": { - "columnNames": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AzureMachineLearningStudioInputColumn" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of input columns for the Azure Machine Learning Studio endpoint." - }, - "name": { - "type": "string", - "description": "The name of the input. This is the name provided while authoring the endpoint." - } - }, - "description": "The inputs for the Azure Machine Learning Studio endpoint." - }, - "AzureMachineLearningStudioOutputColumn": { - "type": "object", - "properties": { - "dataType": { - "type": "string", - "description": "The (Azure Machine Learning supported) data type of the output column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx ." - }, - "name": { - "type": "string", - "description": "The name of the output column." - } - }, - "description": "Describes an output column for the Azure Machine Learning Studio endpoint." - }, - "AzureSqlDatabaseOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureSqlDatabaseOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Azure SQL database output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Sql/Server/Database" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Azure SQL database output data source." - }, - "AzureSqlDatabaseOutputDataSourceProperties": { - "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." - }, - "database": { - "type": "string", - "description": "The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "maxBatchCount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Max Batch count for write to Sql database, the default value is 10,000. Optional on PUT requests." - }, - "maxWriterCount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Max Write r count, currently only 1(single writer) and 0(based on query partition) are available. Optional on PUT requests." - }, - "password": { - "type": "string", - "description": "The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "server": { - "type": "string", - "description": "The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "table": { - "type": "string", - "description": "The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "user": { - "type": "string", - "description": "The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with an Azure SQL database output." - }, - "AzureSqlReferenceInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureSqlReferenceInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes Azure SQL database reference input data source properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Sql/Server/Database" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Azure SQL database reference input data source." - }, - "AzureSqlReferenceInputDataSourceProperties": { - "type": "object", - "properties": { - "database": { - "type": "string", - "description": "This element is associated with the datasource element. This is the name of the database that output will be written to." - }, - "deltaSnapshotQuery": { - "type": "string", - "description": "This element is associated with the datasource element. This query is used to fetch incremental changes from the SQL database. To use this option, we recommend using temporal tables in Azure SQL Database." - }, - "fullSnapshotQuery": { - "type": "string", - "description": "This element is associated with the datasource element. This query is used to fetch data from the sql database." - }, - "password": { - "type": "string", - "description": "This element is associated with the datasource element. This is the password that will be used to connect to the SQL Database instance." - }, - "refreshRate": { - "type": "string", - "description": "This element is associated with the datasource element. This indicates how frequently the data will be fetched from the database. It is of DateTime format." - }, - "refreshType": { - "type": "string", - "description": "This element is associated with the datasource element. This element is of enum type. It indicates what kind of data refresh option do we want to use:Static/RefreshPeriodicallyWithFull/RefreshPeriodicallyWithDelta" - }, - "server": { - "type": "string", - "description": "This element is associated with the datasource element. This is the name of the server that contains the database that will be written to." - }, - "table": { - "type": "string", - "description": "This element is associated with the datasource element. The name of the table in the Azure SQL database.." - }, - "user": { - "type": "string", - "description": "This element is associated with the datasource element. This is the user name that will be used to connect to the SQL Database instance." - } - }, - "description": "Describes Azure SQL database reference input data source properties." - }, - "AzureSynapseOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureSynapseOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Azure Synapse output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Sql/Server/DataWarehouse" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Azure Synapse output data source." - }, - "AzureSynapseOutputDataSourceProperties": { - "type": "object", - "properties": { - "database": { - "type": "string", - "description": "The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "password": { - "type": "string", - "description": "The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "server": { - "type": "string", - "description": "The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "table": { - "type": "string", - "description": "The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "user": { - "type": "string", - "description": "The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with an Azure Synapse output." - }, - "AzureTableOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureTableOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Azure Table output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/Table" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Azure Table output data source." - }, - "AzureTableOutputDataSourceProperties": { - "type": "object", - "properties": { - "accountKey": { - "type": "string", - "description": "The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests." - }, - "accountName": { - "type": "string", - "description": "The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests." - }, - "batchSize": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of rows to write to the Azure Table at a time." - }, - "columnsToRemove": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If specified, each item in the array is the name of a column to remove (if present) from output event entities." - }, - "partitionKey": { - "type": "string", - "description": "This element indicates the name of a column from the SELECT statement in the query that will be used as the partition key for the Azure Table. Required on PUT (CreateOrReplace) requests." - }, - "rowKey": { - "type": "string", - "description": "This element indicates the name of a column from the SELECT statement in the query that will be used as the row key for the Azure Table. Required on PUT (CreateOrReplace) requests." - }, - "table": { - "type": "string", - "description": "The name of the Azure Table. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with an Azure Table output." - }, - "BlobOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BlobOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a blob output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/Blob" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a blob output data source." - }, - "BlobOutputDataSourceProperties": { - "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." - }, - "dateFormat": { - "type": "string", - "description": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead." - }, - "pathPattern": { - "type": "string", - "description": "The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example." - }, - "storageAccounts": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/StorageAccount" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests." - }, - "timeFormat": { - "type": "string", - "description": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead." - } - }, - "description": "The properties that are associated with a blob output." - }, - "BlobReferenceInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BlobReferenceInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a blob input containing reference data." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/Blob" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a blob input data source that contains reference data." - }, - "BlobReferenceInputDataSourceProperties": { - "type": "object", - "properties": { - "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." - }, - "dateFormat": { - "type": "string", - "description": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead." - }, - "pathPattern": { - "type": "string", - "description": "The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example." - }, - "storageAccounts": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/StorageAccount" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests." - }, - "timeFormat": { - "type": "string", - "description": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead." - } - }, - "description": "The properties that are associated with a blob input containing reference data." - }, - "BlobStreamInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BlobStreamInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a blob input containing stream data." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/Blob" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a blob input data source that contains stream data." - }, - "BlobStreamInputDataSourceProperties": { - "type": "object", - "properties": { - "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." - }, - "dateFormat": { - "type": "string", - "description": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead." - }, - "pathPattern": { - "type": "string", - "description": "The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example." - }, - "sourcePartitionCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The partition count of the blob input data source. Range 1 - 256." - }, - "storageAccounts": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/StorageAccount" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests." - }, - "timeFormat": { - "type": "string", - "description": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead." - } - }, - "description": "The properties that are associated with a blob input containing stream data." - }, - "ClusterInfo": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The resource id of cluster." - } - }, - "description": "The properties associated with a Stream Analytics cluster." - }, - "Compression": { - "type": "object", - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], - "description": "Describes how input data is compressed" - }, - "CSharpFunctionBinding": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CSharpFunctionBindingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The binding properties associated with a CSharp function." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/CLRUdf" - ] - } - }, - "required": [ - "type" - ], - "description": "The binding to a CSharp function." - }, - "CSharpFunctionBindingProperties": { - "type": "object", - "properties": { - "class": { - "type": "string", - "description": "The Csharp code containing a single function definition." - }, - "dllPath": { - "type": "string", - "description": "The Csharp code containing a single function definition." - }, - "method": { - "type": "string", - "description": "The Csharp code containing a single function definition." - }, - "script": { - "type": "string", - "description": "The Csharp code containing a single function definition." - } - }, - "description": "The binding properties associated with a CSharp function." - }, - "CsvSerialization": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CsvSerializationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with the CSV serialization type." - }, - "type": { - "type": "string", - "enum": [ - "Csv" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output in CSV format." - }, - "CsvSerializationProperties": { - "type": "object", - "properties": { - "encoding": { - "oneOf": [ - { - "type": "string", - "enum": [ - "UTF8" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests." - }, - "fieldDelimiter": { - "type": "string", - "description": "Specifies the delimiter that will be used to separate comma-separated value (CSV) records. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a list of supported values. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with the CSV serialization type." - }, - "CustomClrSerialization": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomClrSerializationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with the CustomClr serialization type." - }, - "type": { - "type": "string", - "enum": [ - "CustomClr" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output in custom format." - }, - "CustomClrSerializationProperties": { - "type": "object", - "properties": { - "serializationClassName": { - "type": "string", - "description": "The serialization class name." - }, - "serializationDllPath": { - "type": "string", - "description": "The serialization library path." - } - }, - "description": "The properties that are associated with the CustomClr serialization type." - }, - "DocumentDbOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DocumentDbOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a DocumentDB output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/DocumentDB" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a DocumentDB output data source." - }, - "DocumentDbOutputDataSourceProperties": { - "type": "object", - "properties": { - "accountId": { - "type": "string", - "description": "The DocumentDB account name or ID. Required on PUT (CreateOrReplace) requests." - }, - "accountKey": { - "type": "string", - "description": "The account key for the DocumentDB account. Required on PUT (CreateOrReplace) requests." - }, - "collectionNamePattern": { - "type": "string", - "description": "The collection name pattern for the collections to be used. The collection name format can be constructed using the optional {partition} token, where partitions start from 0. See the DocumentDB section of https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for more information. Required on PUT (CreateOrReplace) requests." - }, - "database": { - "type": "string", - "description": "The name of the DocumentDB database. Required on PUT (CreateOrReplace) requests." - }, - "documentId": { - "type": "string", - "description": "The name of the field in output events used to specify the primary key which insert or update operations are based on." - }, - "partitionKey": { - "type": "string", - "description": "The name of the field in output events used to specify the key for partitioning output across collections. If 'collectionNamePattern' contains the {partition} token, this property is required to be specified." - } - }, - "description": "The properties that are associated with a DocumentDB output." - }, - "EventHubOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Event Hub output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ServiceBus/EventHub" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Event Hub output data source." - }, - "EventHubOutputDataSourceProperties": { - "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." - }, - "eventHubName": { - "type": "string", - "description": "The name of the Event Hub. Required on PUT (CreateOrReplace) requests." - }, - "partitionKey": { - "type": "string", - "description": "The key/column that is used to determine to which partition to send event data." - }, - "propertyColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "serviceBusNamespace": { - "type": "string", - "description": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with an Event Hub output." - }, - "EventHubStreamInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubStreamInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a Event Hub input containing stream data." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ServiceBus/EventHub" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Event Hub input data source that contains stream data." - }, - "EventHubStreamInputDataSourceProperties": { - "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." - }, - "consumerGroupName": { - "type": "string", - "description": "The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group." - }, - "eventHubName": { - "type": "string", - "description": "The name of the Event Hub. Required on PUT (CreateOrReplace) requests." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with a Event Hub input containing stream data." - }, - "EventHubV2OutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Event Hub output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.EventHub/EventHub" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Event Hub output data source." - }, - "EventHubV2StreamInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubStreamInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a Event Hub input containing stream data." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.EventHub/EventHub" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Event Hub input data source that contains stream data." - }, - "External": { - "type": "object", - "properties": { - "container": { - "type": "string" - }, - "path": { - "type": "string" - }, - "storageAccount": { - "oneOf": [ - { - "$ref": "#/definitions/StorageAccount" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Azure Storage account" - } - }, - "description": "The storage account where the custom code artifacts are located." - }, - "Function": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Resource name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a function." - } - }, - "description": "A function object, containing all information associated with the named function. All functions are contained under a streaming job." - }, - "FunctionBinding": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/AzureMachineLearningStudioFunctionBinding" - }, - { - "$ref": "#/definitions/JavaScriptFunctionBinding" - }, - { - "$ref": "#/definitions/CSharpFunctionBinding" - }, - { - "$ref": "#/definitions/AzureMachineLearningServiceFunctionBinding" - } - ], - "properties": {}, - "description": "The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint." - }, - "FunctionConfiguration": { - "type": "object", - "properties": { - "binding": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionBinding" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint." - }, - "inputs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/FunctionInput" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "output": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionOutput" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the output of a function." - } - } - }, - "FunctionInput": { - "type": "object", - "properties": { - "dataType": { - "type": "string", - "description": "The (Azure Stream Analytics supported) data type of the function input parameter. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx" - }, - "isConfigurationParameter": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A flag indicating if the parameter is a configuration parameter. True if this input parameter is expected to be a constant. Default is false." - } - }, - "description": "Describes one input parameter of a function." - }, - "FunctionOutput": { - "type": "object", - "properties": { - "dataType": { - "type": "string", - "description": "The (Azure Stream Analytics supported) data type of the function output. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx" - } - }, - "description": "Describes the output of a function." - }, - "FunctionProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ScalarFunctionProperties" - }, - { - "$ref": "#/definitions/AggregateFunctionProperties" - } - ], - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "The properties that are associated with a function." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string" - }, - "tenantId": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "description": "Describes how identity is verified" - }, - "Input": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Resource name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/InputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an input." - } - }, - "description": "An input object, containing all information associated with the named input. All inputs are contained under a streaming job." - }, - "InputProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/StreamInputProperties" - }, - { - "$ref": "#/definitions/ReferenceInputProperties" - } - ], - "properties": { - "compression": { - "oneOf": [ - { - "$ref": "#/definitions/Compression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes how input data is compressed" - }, - "partitionKey": { - "type": "string", - "description": "partitionKey Describes a key in the input data which is used for partitioning the input data" - }, - "serialization": { - "oneOf": [ - { - "$ref": "#/definitions/Serialization" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output." - } - }, - "description": "The properties that are associated with an input." - }, - "IoTHubStreamInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IoTHubStreamInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a IoT Hub input containing stream data." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Devices/IotHubs" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an IoT Hub input data source that contains stream data." - }, - "IoTHubStreamInputDataSourceProperties": { - "type": "object", - "properties": { - "consumerGroupName": { - "type": "string", - "description": "The name of an IoT Hub Consumer Group that should be used to read events from the IoT Hub. If not specified, the input uses the Iot Hub’s default consumer group." - }, - "endpoint": { - "type": "string", - "description": "The IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents, etc.)." - }, - "iotHubNamespace": { - "type": "string", - "description": "The name or the URI of the IoT Hub. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the IoT Hub. This policy must contain at least the Service connect permission. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with a IoT Hub input containing stream data." - }, - "JavaScriptFunctionBinding": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/JavaScriptFunctionBindingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The binding properties associated with a JavaScript function." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/JavascriptUdf" - ] - } - }, - "required": [ - "type" - ], - "description": "The binding to a JavaScript function." - }, - "JavaScriptFunctionBindingProperties": { - "type": "object", - "properties": { - "script": { - "type": "string", - "description": "The JavaScript code containing a single function definition. For example: 'function (x, y) { return x + y; }'" - } - }, - "description": "The binding properties associated with a JavaScript function." - }, - "JobStorageAccount": { - "type": "object", - "properties": { - "accountKey": { - "type": "string", - "description": "The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests." - }, - "accountName": { - "type": "string", - "description": "The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests." - }, - "authenticationMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Msi", - "UserToken", - "ConnectionString" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Authentication Mode." - } - }, - "description": "The properties that are associated with an Azure Storage account with MSI" - }, - "JsonSerialization": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/JsonSerializationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with the JSON serialization type." - }, - "type": { - "type": "string", - "enum": [ - "Json" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output in JSON format." - }, - "JsonSerializationProperties": { - "type": "object", - "properties": { - "encoding": { - "oneOf": [ - { - "type": "string", - "enum": [ - "UTF8" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests." - }, - "format": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LineSeparated", - "Array" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This property only applies to JSON serialization of outputs only. It is not applicable to inputs. This property specifies the format of the JSON the output will be written in. The currently supported values are 'lineSeparated' indicating the output will be formatted by having each JSON object separated by a new line and 'array' indicating the output will be formatted as an array of JSON objects. Default value is 'lineSeparated' if left null." - } - }, - "description": "The properties that are associated with the JSON serialization type." - }, - "Output": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Resource name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OutputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an output." - } - }, - "description": "An output object, containing all information associated with the named output. All outputs are contained under a streaming job." - }, - "OutputDataSource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/RawOutputDatasource" - }, - { - "$ref": "#/definitions/BlobOutputDataSource" - }, - { - "$ref": "#/definitions/AzureTableOutputDataSource" - }, - { - "$ref": "#/definitions/EventHubOutputDataSource" - }, - { - "$ref": "#/definitions/EventHubV2OutputDataSource" - }, - { - "$ref": "#/definitions/AzureSqlDatabaseOutputDataSource" - }, - { - "$ref": "#/definitions/AzureSynapseOutputDataSource" - }, - { - "$ref": "#/definitions/DocumentDbOutputDataSource" - }, - { - "$ref": "#/definitions/AzureFunctionOutputDataSource" - }, - { - "$ref": "#/definitions/ServiceBusQueueOutputDataSource" - }, - { - "$ref": "#/definitions/ServiceBusTopicOutputDataSource" - }, - { - "$ref": "#/definitions/PowerBIOutputDataSource" - }, - { - "$ref": "#/definitions/AzureDataLakeStoreOutputDataSource" - } - ], - "properties": {}, - "description": "Describes the data source that output will be written to." - }, - "OutputProperties": { - "type": "object", - "properties": { - "datasource": { - "oneOf": [ - { - "$ref": "#/definitions/OutputDataSource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the data source that output will be written to." - }, - "serialization": { - "oneOf": [ - { - "$ref": "#/definitions/Serialization" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output." - }, - "sizeWindow": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "timeWindow": { - "type": "string" - } - }, - "description": "The properties that are associated with an output." - }, - "ParquetSerialization": { - "type": "object", - "properties": { - "properties": { - "type": "object", - "properties": {}, - "description": "The properties that are associated with the Parquet serialization type." - }, - "type": { - "type": "string", - "enum": [ - "Parquet" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output in Parquet format." - }, - "PowerBIOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PowerBIOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a Power BI output." - }, - "type": { - "type": "string", - "enum": [ - "PowerBI" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a Power BI output data source." - }, - "PowerBIOutputDataSourceProperties": { - "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." - }, - "dataset": { - "type": "string", - "description": "The name of the Power BI dataset. Required on PUT (CreateOrReplace) requests." - }, - "groupId": { - "type": "string", - "description": "The ID of the Power BI group." - }, - "groupName": { - "type": "string", - "description": "The name of the Power BI group. Use this property to help remember which specific Power BI group id was used." - }, - "refreshToken": { - "type": "string", - "description": "A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests." - }, - "table": { - "type": "string", - "description": "The name of the Power BI table under the specified dataset. Required on PUT (CreateOrReplace) requests." - }, - "tokenUserDisplayName": { - "type": "string", - "description": "The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token." - }, - "tokenUserPrincipalName": { - "type": "string", - "description": "The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token." - } - }, - "description": "The properties that are associated with a Power BI output." - }, - "RawInputDatasourceProperties": { - "type": "object", - "properties": { - "payload": { - "type": "string", - "description": "The JSON serialized content of the input data. Either payload or payloadUri must be set, but not both. " - }, - "payloadUri": { - "type": "string", - "description": "The SAS URL to a blob containing the JSON serialized content of the input data. Either payload or payloadUri must be set, but not both." - } - }, - "description": "The properties that are associated with a raw input." - }, - "RawOutputDatasource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RawOutputDatasourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a raw output." - }, - "type": { - "type": "string", - "enum": [ - "Raw" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a raw output data source. This data source type is only applicable/usable when using the query testing API. You cannot create a job with this data source type or add an output of this data source type to an existing job." - }, - "RawOutputDatasourceProperties": { - "type": "object", - "properties": { - "payloadUri": { - "type": "string", - "description": "The SAS URL to a blob where the output should be written. If this property is not set, output data will be written into a temporary storage, and a SAS URL to that temporary storage will be included in the result." - } - }, - "description": "The properties that are associated with a raw output." - }, - "RawReferenceInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RawInputDatasourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a raw input." - }, - "type": { - "type": "string", - "enum": [ - "Raw" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a raw input data source that contains reference data. This data source type is only applicable/usable when using the query testing API. You cannot create a job with this data source type or add an input of this data source type to an existing job." - }, - "RawStreamInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RawInputDatasourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a raw input." - }, - "type": { - "type": "string", - "enum": [ - "Raw" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a raw input data source that contains stream data. This data source type is only applicable/usable when using the query testing API. You cannot create a job with this data source type or add an input of this data source type to an existing job." - }, - "ReferenceInputDataSource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/BlobReferenceInputDataSource" - }, - { - "$ref": "#/definitions/RawReferenceInputDataSource" - }, - { - "$ref": "#/definitions/AzureSqlReferenceInputDataSource" - } - ], - "properties": {}, - "description": "Describes an input data source that contains reference data." - }, - "ReferenceInputProperties": { - "type": "object", - "properties": { - "datasource": { - "oneOf": [ - { - "$ref": "#/definitions/ReferenceInputDataSource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes an input data source that contains reference data." - }, - "type": { - "type": "string", - "enum": [ - "Reference" - ] - } - }, - "required": [ - "type" - ], - "description": "The properties that are associated with an input containing reference data." - }, - "ScalarFunctionProperties": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Scalar" - ] - } - }, - "required": [ - "type" - ], - "description": "The properties that are associated with a scalar function." - }, - "Serialization": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ParquetSerialization" - }, - { - "$ref": "#/definitions/CustomClrSerialization" - }, - { - "$ref": "#/definitions/CsvSerialization" - }, - { - "$ref": "#/definitions/JsonSerialization" - }, - { - "$ref": "#/definitions/AvroSerialization" - } - ], - "properties": {}, - "description": "Describes how data from an input is serialized or how data is serialized when written to an output." - }, - "ServiceBusQueueOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceBusQueueOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a Service Bus Queue output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ServiceBus/Queue" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a Service Bus Queue output data source." - }, - "ServiceBusQueueOutputDataSourceProperties": { - "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." - }, - "propertyColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A string array of the names of output columns to be attached to Service Bus messages as custom properties." - }, - "queueName": { - "type": "string", - "description": "The name of the Service Bus Queue. Required on PUT (CreateOrReplace) requests." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "systemPropertyColumns": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "The properties that are associated with a Service Bus Queue output." - }, - "ServiceBusTopicOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceBusTopicOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a Service Bus Topic output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ServiceBus/Topic" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a Service Bus Topic output data source." - }, - "ServiceBusTopicOutputDataSourceProperties": { - "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." - }, - "propertyColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A string array of the names of output columns to be attached to Service Bus messages as custom properties." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "systemPropertyColumns": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "topicName": { - "type": "string", - "description": "The name of the Service Bus Topic. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with a Service Bus Topic output." - }, - "StorageAccount": { - "type": "object", - "properties": { - "accountKey": { - "type": "string", - "description": "The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests." - }, - "accountName": { - "type": "string", - "description": "The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with an Azure Storage account" - }, - "StreamingJobProperties": { - "type": "object", - "properties": { - "cluster": { - "oneOf": [ - { - "$ref": "#/definitions/ClusterInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties associated with a Stream Analytics cluster." - }, - "compatibilityLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1.0" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Controls certain runtime behaviors of the streaming job." - }, - "contentStoragePolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAccount", - "JobStorageAccount" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Valid values are JobStorageAccount and SystemAccount. If set to JobStorageAccount, this requires the user to also specify jobStorageAccount property." - }, - "dataLocale": { - "type": "string", - "description": "The data locale of the stream analytics job. Value should be the name of a supported .NET Culture from the set https://msdn.microsoft.com/en-us/library/system.globalization.culturetypes(v=vs.110).aspx. Defaults to 'en-US' if none specified." - }, - "eventsLateArrivalMaxDelayInSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum tolerable delay in seconds where events arriving late could be included. Supported range is -1 to 1814399 (20.23:59:59 days) and -1 is used to specify wait indefinitely. If the property is absent, it is interpreted to have a value of -1." - }, - "eventsOutOfOrderMaxDelayInSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order." - }, - "eventsOutOfOrderPolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Adjust", - "Drop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the policy to apply to events that arrive out of order in the input event stream." - }, - "externals": { - "oneOf": [ - { - "$ref": "#/definitions/External" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The storage account where the custom code artifacts are located." - }, - "functions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Function" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more functions for the streaming job. The name property for each function is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual transformation." - }, - "inputs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Input" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more inputs to the streaming job. The name property for each input is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual input." - }, - "jobStorageAccount": { - "oneOf": [ - { - "$ref": "#/definitions/JobStorageAccount" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Azure Storage account with MSI" - }, - "jobType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cloud", - "Edge" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the type of the job. Valid modes are `Cloud` and 'Edge'." - }, - "outputErrorPolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Stop", - "Drop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the policy to apply to events that arrive at the output and cannot be written to the external storage due to being malformed (missing column values, column values of wrong type or size)." - }, - "outputs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Output" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more outputs for the streaming job. The name property for each output is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual output." - }, - "outputStartMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "JobStartTime", - "CustomTime", - "LastOutputEventTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This property should only be utilized when it is desired that the job be started immediately upon creation. Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time." - }, - "outputStartTime": { - "type": "string", - "format": "date-time", - "description": "Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/StreamingJobSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a SKU." - }, - "transformation": { - "oneOf": [ - { - "$ref": "#/definitions/Transformation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job." - } - }, - "description": "The properties that are associated with a streaming job." - }, - "StreamingJobSku": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the SKU. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with a SKU." - }, - "streamingjobs_functions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the function." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a function." - }, - "type": { - "type": "string", - "enum": [ - "functions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/functions" - }, - "streamingjobs_inputs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the input." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/InputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an input." - }, - "type": { - "type": "string", - "enum": [ - "inputs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/inputs" - }, - "streamingjobs_outputs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the output." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OutputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an output." - }, - "type": { - "type": "string", - "enum": [ - "outputs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/outputs" - }, - "streamingjobs_transformations_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the transformation." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TransformationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a transformation." - }, - "type": { - "type": "string", - "enum": [ - "transformations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/transformations" - }, - "StreamInputDataSource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/BlobStreamInputDataSource" - }, - { - "$ref": "#/definitions/EventHubStreamInputDataSource" - }, - { - "$ref": "#/definitions/EventHubV2StreamInputDataSource" - }, - { - "$ref": "#/definitions/IoTHubStreamInputDataSource" - }, - { - "$ref": "#/definitions/RawStreamInputDataSource" - } - ], - "properties": {}, - "description": "Describes an input data source that contains stream data." - }, - "StreamInputProperties": { - "type": "object", - "properties": { - "datasource": { - "oneOf": [ - { - "$ref": "#/definitions/StreamInputDataSource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes an input data source that contains stream data." - }, - "type": { - "type": "string", - "enum": [ - "Stream" - ] - } - }, - "required": [ - "type" - ], - "description": "The properties that are associated with an input containing stream data." - }, - "Transformation": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Resource name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TransformationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a transformation." - } - }, - "description": "A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job." - }, - "TransformationProperties": { - "type": "object", - "properties": { - "query": { - "type": "string", - "description": "Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests." - }, - "streamingUnits": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the number of streaming units that the streaming job uses." - } - }, - "description": "The properties that are associated with a transformation." - } - } -} \ No newline at end of file diff --git a/schemas/2020-03-01-preview/Microsoft.StreamAnalytics.json b/schemas/2020-03-01-preview/Microsoft.StreamAnalytics.json deleted file mode 100644 index 190a036295..0000000000 --- a/schemas/2020-03-01-preview/Microsoft.StreamAnalytics.json +++ /dev/null @@ -1,303 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.StreamAnalytics.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.StreamAnalytics", - "description": "Microsoft StreamAnalytics Resource Types", - "resourceDefinitions": { - "clusters": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the cluster." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ClusterProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties associated with a Stream Analytics cluster." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/clusters_privateEndpoints_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ClusterSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/clusters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/clusters" - }, - "clusters_privateEndpoints": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties associated with a private endpoint." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/clusters/privateEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/clusters/privateEndpoints" - } - }, - "definitions": { - "ClusterProperties": { - "type": "object", - "properties": { - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "The properties associated with a Stream Analytics cluster." - }, - "ClusterSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer", - "minimum": 36, - "maximum": 216 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Denotes the number of streaming units the cluster can support. Valid values for this property are multiples of 36 with a minimum value of 36 and maximum value of 216. Required on PUT (CreateOrUpdate) requests." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Default" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the SKU name of the cluster. Required on PUT (CreateOrUpdate) requests." - } - }, - "description": "The SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests." - }, - "clusters_privateEndpoints_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties associated with a private endpoint." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpoints" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/clusters/privateEndpoints" - }, - "PrivateEndpointProperties": { - "type": "object", - "properties": { - "manualPrivateLinkServiceConnections": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateLinkServiceConnection" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of connections to the remote resource. Immutable after it is set." - } - }, - "description": "The properties associated with a private endpoint." - }, - "PrivateLinkConnectionState": { - "type": "object", - "properties": {}, - "description": "A collection of read-only information about the state of the connection to the private remote resource." - }, - "PrivateLinkServiceConnection": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Bag of properties defining a privatelinkServiceConnection." - } - }, - "description": "A grouping of information about the connection to the remote resource." - }, - "PrivateLinkServiceConnectionProperties": { - "type": "object", - "properties": { - "groupIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of read-only information about the state of the connection to the private remote resource." - }, - "privateLinkServiceId": { - "type": "string", - "description": "The resource id of the private link service. Required on PUT (CreateOrUpdate) requests." - }, - "requestMessage": { - "type": "string", - "description": "A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars." - } - }, - "description": "Bag of properties defining a privatelinkServiceConnection." - } - } -} \ No newline at end of file diff --git a/schemas/2020-03-01/Microsoft.StreamAnalytics.json b/schemas/2020-03-01/Microsoft.StreamAnalytics.json deleted file mode 100644 index f6a6429c89..0000000000 --- a/schemas/2020-03-01/Microsoft.StreamAnalytics.json +++ /dev/null @@ -1,2688 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StreamAnalytics.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.StreamAnalytics", - "description": "Microsoft StreamAnalytics Resource Types", - "resourceDefinitions": { - "streamingjobs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes how identity is verified" - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the streaming job." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/StreamingJobProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a streaming job." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/streamingjobs_inputs_childResource" - }, - { - "$ref": "#/definitions/streamingjobs_outputs_childResource" - }, - { - "$ref": "#/definitions/streamingjobs_transformations_childResource" - }, - { - "$ref": "#/definitions/streamingjobs_functions_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs" - }, - "streamingjobs_functions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the function." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a function." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs/functions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/functions" - }, - "streamingjobs_inputs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the input." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/InputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an input." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs/inputs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/inputs" - }, - "streamingjobs_outputs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the output." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OutputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs/outputs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/outputs" - }, - "streamingjobs_transformations": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the transformation." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TransformationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a transformation." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/streamingjobs/transformations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/transformations" - } - }, - "definitions": { - "AvroSerialization": { - "type": "object", - "properties": { - "properties": { - "type": "object", - "properties": {}, - "description": "The properties that are associated with the Avro serialization type." - }, - "type": { - "type": "string", - "enum": [ - "Avro" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output in Avro format." - }, - "AzureDataLakeStoreOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureDataLakeStoreOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Azure Data Lake Store." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DataLake/Accounts" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Azure Data Lake Store output data source." - }, - "AzureDataLakeStoreOutputDataSourceProperties": { - "type": "object", - "properties": { - "accountName": { - "type": "string", - "description": "The name of the Azure Data Lake Store account. Required on PUT (CreateOrReplace) requests." - }, - "authenticationMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Msi", - "UserToken", - "ConnectionString" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Authentication Mode." - }, - "dateFormat": { - "type": "string", - "description": "The date format. Wherever {date} appears in filePathPrefix, the value of this property is used as the date format instead." - }, - "filePathPrefix": { - "type": "string", - "description": "The location of the file to which the output should be written to. Required on PUT (CreateOrReplace) requests." - }, - "refreshToken": { - "type": "string", - "description": "A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests." - }, - "tenantId": { - "type": "string", - "description": "The tenant id of the user used to obtain the refresh token. Required on PUT (CreateOrReplace) requests." - }, - "timeFormat": { - "type": "string", - "description": "The time format. Wherever {time} appears in filePathPrefix, the value of this property is used as the time format instead." - }, - "tokenUserDisplayName": { - "type": "string", - "description": "The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token." - }, - "tokenUserPrincipalName": { - "type": "string", - "description": "The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token." - } - }, - "description": "The properties that are associated with an Azure Data Lake Store." - }, - "AzureMachineLearningWebServiceFunctionBinding": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureMachineLearningWebServiceFunctionBindingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The binding properties associated with an Azure Machine learning web service." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.MachineLearning/WebService" - ] - } - }, - "required": [ - "type" - ], - "description": "The binding to an Azure Machine Learning web service." - }, - "AzureMachineLearningWebServiceFunctionBindingProperties": { - "type": "object", - "properties": { - "apiKey": { - "type": "string", - "description": "The API key used to authenticate with Request-Response endpoint." - }, - "batchSize": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number between 1 and 10000 describing maximum number of rows for every Azure ML RRS execute request. Default is 1000." - }, - "endpoint": { - "type": "string", - "description": "The Request-Response execute endpoint of the Azure Machine Learning web service. Find out more here: https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-consume-web-services#request-response-service-rrs" - }, - "inputs": { - "oneOf": [ - { - "$ref": "#/definitions/AzureMachineLearningWebServiceInputs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The inputs for the Azure Machine Learning web service endpoint." - }, - "outputs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AzureMachineLearningWebServiceOutputColumn" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of outputs from the Azure Machine Learning web service endpoint execution." - } - }, - "description": "The binding properties associated with an Azure Machine learning web service." - }, - "AzureMachineLearningWebServiceInputColumn": { - "type": "object", - "properties": { - "dataType": { - "type": "string", - "description": "The (Azure Machine Learning supported) data type of the input column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx ." - }, - "mapTo": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The zero based index of the function parameter this input maps to." - }, - "name": { - "type": "string", - "description": "The name of the input column." - } - }, - "description": "Describes an input column for the Azure Machine Learning web service endpoint." - }, - "AzureMachineLearningWebServiceInputs": { - "type": "object", - "properties": { - "columnNames": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AzureMachineLearningWebServiceInputColumn" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of input columns for the Azure Machine Learning web service endpoint." - }, - "name": { - "type": "string", - "description": "The name of the input. This is the name provided while authoring the endpoint." - } - }, - "description": "The inputs for the Azure Machine Learning web service endpoint." - }, - "AzureMachineLearningWebServiceOutputColumn": { - "type": "object", - "properties": { - "dataType": { - "type": "string", - "description": "The (Azure Machine Learning supported) data type of the output column. A list of valid Azure Machine Learning data types are described at https://msdn.microsoft.com/en-us/library/azure/dn905923.aspx ." - }, - "name": { - "type": "string", - "description": "The name of the output column." - } - }, - "description": "Describes an output column for the Azure Machine Learning web service endpoint." - }, - "AzureSqlDatabaseOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureSqlDatabaseOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Azure SQL database output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Sql/Server/Database" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Azure SQL database output data source." - }, - "AzureSqlDatabaseOutputDataSourceProperties": { - "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." - }, - "database": { - "type": "string", - "description": "The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "maxBatchCount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Max Batch count for write to Sql database, the default value is 10,000. Optional on PUT requests." - }, - "maxWriterCount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Max Writer count, currently only 1(single writer) and 0(based on query partition) are available. Optional on PUT requests." - }, - "password": { - "type": "string", - "description": "The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "server": { - "type": "string", - "description": "The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "table": { - "type": "string", - "description": "The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "user": { - "type": "string", - "description": "The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with an Azure SQL database output." - }, - "AzureSqlReferenceInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureSqlReferenceInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with SQL DB input containing reference data. Required on PUT (CreateOrReplace) requests." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Sql/Server/Database" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Azure SQL database reference input data source." - }, - "AzureSqlReferenceInputDataSourceProperties": { - "type": "object", - "properties": { - "database": { - "type": "string", - "description": "This element is associated with the datasource element. This is the name of the database that output will be written to." - }, - "deltaSnapshotQuery": { - "type": "string", - "description": "This element is associated with the datasource element. This query is used to fetch incremental changes from the SQL database. To use this option, we recommend using temporal tables in Azure SQL Database." - }, - "fullSnapshotQuery": { - "type": "string", - "description": "This element is associated with the datasource element. This query is used to fetch data from the sql database." - }, - "password": { - "type": "string", - "description": "This element is associated with the datasource element. This is the password that will be used to connect to the SQL Database instance." - }, - "refreshRate": { - "type": "string", - "description": "This element is associated with the datasource element. This indicates how frequently the data will be fetched from the database. It is of DateTime format." - }, - "refreshType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Static", - "RefreshPeriodicallyWithFull", - "RefreshPeriodicallyWithDelta" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of data refresh option." - }, - "server": { - "type": "string", - "description": "This element is associated with the datasource element. This is the name of the server that contains the database that will be written to." - }, - "table": { - "type": "string", - "description": "This element is associated with the datasource element. The name of the table in the Azure SQL database.." - }, - "user": { - "type": "string", - "description": "This element is associated with the datasource element. This is the user name that will be used to connect to the SQL Database instance." - } - }, - "description": "The properties that are associated with SQL DB input containing reference data. Required on PUT (CreateOrReplace) requests." - }, - "AzureSynapseOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureSynapseOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Azure Synapse output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Sql/Server/DataWarehouse" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Azure Synapse output data source." - }, - "AzureSynapseOutputDataSourceProperties": { - "type": "object", - "properties": { - "database": { - "type": "string", - "description": "The name of the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "password": { - "type": "string", - "description": "The password that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "server": { - "type": "string", - "description": "The name of the SQL server containing the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "table": { - "type": "string", - "description": "The name of the table in the Azure SQL database. Required on PUT (CreateOrReplace) requests." - }, - "user": { - "type": "string", - "description": "The user name that will be used to connect to the Azure SQL database. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with an Azure Synapse output." - }, - "AzureTableOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureTableOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Azure Table output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/Table" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Azure Table output data source." - }, - "AzureTableOutputDataSourceProperties": { - "type": "object", - "properties": { - "accountKey": { - "type": "string", - "description": "The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests." - }, - "accountName": { - "type": "string", - "description": "The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests." - }, - "batchSize": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of rows to write to the Azure Table at a time." - }, - "columnsToRemove": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If specified, each item in the array is the name of a column to remove (if present) from output event entities." - }, - "partitionKey": { - "type": "string", - "description": "This element indicates the name of a column from the SELECT statement in the query that will be used as the partition key for the Azure Table. Required on PUT (CreateOrReplace) requests." - }, - "rowKey": { - "type": "string", - "description": "This element indicates the name of a column from the SELECT statement in the query that will be used as the row key for the Azure Table. Required on PUT (CreateOrReplace) requests." - }, - "table": { - "type": "string", - "description": "The name of the Azure Table. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with an Azure Table output." - }, - "BlobOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BlobOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a blob output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/Blob" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a blob output data source." - }, - "BlobOutputDataSourceProperties": { - "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." - }, - "dateFormat": { - "type": "string", - "description": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead." - }, - "pathPattern": { - "type": "string", - "description": "The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example." - }, - "storageAccounts": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/StorageAccount" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests." - }, - "timeFormat": { - "type": "string", - "description": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead." - } - }, - "description": "The properties that are associated with a blob output." - }, - "BlobReferenceInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BlobReferenceInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a blob input containing reference data." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/Blob" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a blob input data source that contains reference data." - }, - "BlobReferenceInputDataSourceProperties": { - "type": "object", - "properties": { - "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." - }, - "dateFormat": { - "type": "string", - "description": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead." - }, - "pathPattern": { - "type": "string", - "description": "The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example." - }, - "storageAccounts": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/StorageAccount" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests." - }, - "timeFormat": { - "type": "string", - "description": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead." - } - }, - "description": "The properties that are associated with a blob input containing reference data." - }, - "BlobStreamInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BlobStreamInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a blob input containing stream data." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/Blob" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a blob input data source that contains stream data." - }, - "BlobStreamInputDataSourceProperties": { - "type": "object", - "properties": { - "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." - }, - "dateFormat": { - "type": "string", - "description": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead." - }, - "pathPattern": { - "type": "string", - "description": "The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example." - }, - "sourcePartitionCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The partition count of the blob input data source. Range 1 - 256." - }, - "storageAccounts": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/StorageAccount" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests." - }, - "timeFormat": { - "type": "string", - "description": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead." - } - }, - "description": "The properties that are associated with a blob input containing stream data." - }, - "ClusterInfo": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The resource id of cluster." - } - }, - "description": "The properties associated with a Stream Analytics cluster." - }, - "Compression": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "GZip", - "Deflate" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the type of compression that the input uses. Required on PUT (CreateOrReplace) requests." - } - }, - "required": [ - "type" - ], - "description": "Describes how input data is compressed" - }, - "CsvSerialization": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CsvSerializationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with the CSV serialization type." - }, - "type": { - "type": "string", - "enum": [ - "Csv" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output in CSV format." - }, - "CsvSerializationProperties": { - "type": "object", - "properties": { - "encoding": { - "oneOf": [ - { - "type": "string", - "enum": [ - "UTF8" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests." - }, - "fieldDelimiter": { - "type": "string", - "description": "Specifies the delimiter that will be used to separate comma-separated value (CSV) records. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a list of supported values. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with the CSV serialization type." - }, - "DocumentDbOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DocumentDbOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a DocumentDB output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/DocumentDB" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a DocumentDB output data source." - }, - "DocumentDbOutputDataSourceProperties": { - "type": "object", - "properties": { - "accountId": { - "type": "string", - "description": "The DocumentDB account name or ID. Required on PUT (CreateOrReplace) requests." - }, - "accountKey": { - "type": "string", - "description": "The account key for the DocumentDB account. Required on PUT (CreateOrReplace) requests." - }, - "collectionNamePattern": { - "type": "string", - "description": "The collection name pattern for the collections to be used. The collection name format can be constructed using the optional {partition} token, where partitions start from 0. See the DocumentDB section of https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for more information. Required on PUT (CreateOrReplace) requests." - }, - "database": { - "type": "string", - "description": "The name of the DocumentDB database. Required on PUT (CreateOrReplace) requests." - }, - "documentId": { - "type": "string", - "description": "The name of the field in output events used to specify the primary key which insert or update operations are based on." - }, - "partitionKey": { - "type": "string", - "description": "The name of the field in output events used to specify the key for partitioning output across collections. If 'collectionNamePattern' contains the {partition} token, this property is required to be specified." - } - }, - "description": "The properties that are associated with a DocumentDB output." - }, - "EventHubOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Event Hub output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ServiceBus/EventHub" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Event Hub output data source." - }, - "EventHubOutputDataSourceProperties": { - "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." - }, - "eventHubName": { - "type": "string", - "description": "The name of the Event Hub. Required on PUT (CreateOrReplace) requests." - }, - "partitionKey": { - "type": "string", - "description": "The key/column that is used to determine to which partition to send event data." - }, - "propertyColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties associated with this Event Hub output." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with an Event Hub output." - }, - "EventHubStreamInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubStreamInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a Event Hub input containing stream data." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ServiceBus/EventHub" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Event Hub input data source that contains stream data." - }, - "EventHubStreamInputDataSourceProperties": { - "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." - }, - "consumerGroupName": { - "type": "string", - "description": "The name of an Event Hub Consumer Group that should be used to read events from the Event Hub. Specifying distinct consumer group names for multiple inputs allows each of those inputs to receive the same events from the Event Hub. If not specified, the input uses the Event Hub’s default consumer group." - }, - "eventHubName": { - "type": "string", - "description": "The name of the Event Hub. Required on PUT (CreateOrReplace) requests." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with a Event Hub input containing stream data." - }, - "EventHubV2OutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Event Hub output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.EventHub/EventHub" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Event Hub output data source." - }, - "EventHubV2StreamInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubStreamInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a Event Hub input containing stream data." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.EventHub/EventHub" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an Event Hub input data source that contains stream data." - }, - "Function": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Resource name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a function." - } - }, - "description": "A function object, containing all information associated with the named function. All functions are contained under a streaming job." - }, - "FunctionBinding": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/AzureMachineLearningWebServiceFunctionBinding" - }, - { - "$ref": "#/definitions/JavaScriptFunctionBinding" - } - ], - "properties": {}, - "description": "The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint." - }, - "FunctionInput": { - "type": "object", - "properties": { - "dataType": { - "type": "string", - "description": "The (Azure Stream Analytics supported) data type of the function input parameter. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx" - }, - "isConfigurationParameter": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A flag indicating if the parameter is a configuration parameter. True if this input parameter is expected to be a constant. Default is false." - } - }, - "description": "Describes one input parameter of a function." - }, - "FunctionOutput": { - "type": "object", - "properties": { - "dataType": { - "type": "string", - "description": "The (Azure Stream Analytics supported) data type of the function output. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx" - } - }, - "description": "Describes the output of a function." - }, - "FunctionProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ScalarFunctionProperties" - } - ], - "properties": {}, - "description": "The properties that are associated with a function." - }, - "Identity": { - "type": "object", - "properties": { - "principalId": { - "type": "string", - "description": "The identity principal ID" - }, - "tenantId": { - "type": "string", - "description": "The identity tenantId" - }, - "type": { - "type": "string", - "description": "The identity type" - } - }, - "description": "Describes how identity is verified" - }, - "Input": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Resource name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/InputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an input." - } - }, - "description": "An input object, containing all information associated with the named input. All inputs are contained under a streaming job." - }, - "InputProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/StreamInputProperties" - }, - { - "$ref": "#/definitions/ReferenceInputProperties" - } - ], - "properties": { - "compression": { - "oneOf": [ - { - "$ref": "#/definitions/Compression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes how input data is compressed" - }, - "partitionKey": { - "type": "string", - "description": "partitionKey Describes a key in the input data which is used for partitioning the input data" - }, - "serialization": { - "oneOf": [ - { - "$ref": "#/definitions/Serialization" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output." - } - }, - "description": "The properties that are associated with an input." - }, - "IoTHubStreamInputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IoTHubStreamInputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a IoT Hub input containing stream data." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Devices/IotHubs" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes an IoT Hub input data source that contains stream data." - }, - "IoTHubStreamInputDataSourceProperties": { - "type": "object", - "properties": { - "consumerGroupName": { - "type": "string", - "description": "The name of an IoT Hub Consumer Group that should be used to read events from the IoT Hub. If not specified, the input uses the Iot Hub’s default consumer group." - }, - "endpoint": { - "type": "string", - "description": "The IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents, etc.)." - }, - "iotHubNamespace": { - "type": "string", - "description": "The name or the URI of the IoT Hub. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the IoT Hub. This policy must contain at least the Service connect permission. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with a IoT Hub input containing stream data." - }, - "JavaScriptFunctionBinding": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/JavaScriptFunctionBindingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The binding properties associated with a JavaScript function." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.StreamAnalytics/JavascriptUdf" - ] - } - }, - "required": [ - "type" - ], - "description": "The binding to a JavaScript function." - }, - "JavaScriptFunctionBindingProperties": { - "type": "object", - "properties": { - "script": { - "type": "string", - "description": "The JavaScript code containing a single function definition. For example: 'function (x, y) { return x + y; }'" - } - }, - "description": "The binding properties associated with a JavaScript function." - }, - "JobStorageAccount": { - "type": "object", - "properties": { - "accountKey": { - "type": "string", - "description": "The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests." - }, - "accountName": { - "type": "string", - "description": "The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests." - }, - "authenticationMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Msi", - "UserToken", - "ConnectionString" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Authentication Mode." - } - }, - "description": "The properties that are associated with an Azure Storage account with MSI" - }, - "JsonSerialization": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/JsonSerializationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with the JSON serialization type." - }, - "type": { - "type": "string", - "enum": [ - "Json" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output in JSON format." - }, - "JsonSerializationProperties": { - "type": "object", - "properties": { - "encoding": { - "oneOf": [ - { - "type": "string", - "enum": [ - "UTF8" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. Required on PUT (CreateOrReplace) requests." - }, - "format": { - "oneOf": [ - { - "type": "string", - "enum": [ - "LineSeparated", - "Array" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This property only applies to JSON serialization of outputs only. It is not applicable to inputs. This property specifies the format of the JSON the output will be written in. The currently supported values are 'lineSeparated' indicating the output will be formatted by having each JSON object separated by a new line and 'array' indicating the output will be formatted as an array of JSON objects. Default value is 'lineSeparated' if left null." - } - }, - "description": "The properties that are associated with the JSON serialization type." - }, - "Output": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Resource name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OutputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an output." - } - }, - "description": "An output object, containing all information associated with the named output. All outputs are contained under a streaming job." - }, - "OutputDataSource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/BlobOutputDataSource" - }, - { - "$ref": "#/definitions/AzureTableOutputDataSource" - }, - { - "$ref": "#/definitions/EventHubOutputDataSource" - }, - { - "$ref": "#/definitions/EventHubV2OutputDataSource" - }, - { - "$ref": "#/definitions/AzureSqlDatabaseOutputDataSource" - }, - { - "$ref": "#/definitions/AzureSynapseOutputDataSource" - }, - { - "$ref": "#/definitions/DocumentDbOutputDataSource" - }, - { - "$ref": "#/definitions/ServiceBusQueueOutputDataSource" - }, - { - "$ref": "#/definitions/ServiceBusTopicOutputDataSource" - }, - { - "$ref": "#/definitions/PowerBIOutputDataSource" - }, - { - "$ref": "#/definitions/AzureDataLakeStoreOutputDataSource" - } - ], - "properties": {}, - "description": "Describes the data source that output will be written to." - }, - "OutputProperties": { - "type": "object", - "properties": { - "datasource": { - "oneOf": [ - { - "$ref": "#/definitions/OutputDataSource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the data source that output will be written to." - }, - "serialization": { - "oneOf": [ - { - "$ref": "#/definitions/Serialization" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output." - }, - "sizeWindow": { - "oneOf": [ - { - "type": "number" - }, - { - "$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", - "description": "The time frame for filtering Stream Analytics job outputs." - } - }, - "description": "The properties that are associated with an output." - }, - "ParquetSerialization": { - "type": "object", - "properties": { - "properties": { - "type": "object", - "properties": {}, - "description": "The properties that are associated with the Parquet serialization type." - }, - "type": { - "type": "string", - "enum": [ - "Parquet" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes how data from an input is serialized or how data is serialized when written to an output in Parquet format." - }, - "PowerBIOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PowerBIOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a Power BI output." - }, - "type": { - "type": "string", - "enum": [ - "PowerBI" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a Power BI output data source." - }, - "PowerBIOutputDataSourceProperties": { - "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." - }, - "dataset": { - "type": "string", - "description": "The name of the Power BI dataset. Required on PUT (CreateOrReplace) requests." - }, - "groupId": { - "type": "string", - "description": "The ID of the Power BI group." - }, - "groupName": { - "type": "string", - "description": "The name of the Power BI group. Use this property to help remember which specific Power BI group id was used." - }, - "refreshToken": { - "type": "string", - "description": "A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests." - }, - "table": { - "type": "string", - "description": "The name of the Power BI table under the specified dataset. Required on PUT (CreateOrReplace) requests." - }, - "tokenUserDisplayName": { - "type": "string", - "description": "The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token." - }, - "tokenUserPrincipalName": { - "type": "string", - "description": "The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token." - } - }, - "description": "The properties that are associated with a Power BI output." - }, - "ReferenceInputDataSource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/BlobReferenceInputDataSource" - }, - { - "$ref": "#/definitions/AzureSqlReferenceInputDataSource" - } - ], - "properties": {}, - "description": "Describes an input data source that contains reference data." - }, - "ReferenceInputProperties": { - "type": "object", - "properties": { - "datasource": { - "oneOf": [ - { - "$ref": "#/definitions/ReferenceInputDataSource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes an input data source that contains reference data." - }, - "type": { - "type": "string", - "enum": [ - "Reference" - ] - } - }, - "required": [ - "type" - ], - "description": "The properties that are associated with an input containing reference data." - }, - "ScalarFunctionConfiguration": { - "type": "object", - "properties": { - "binding": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionBinding" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint." - }, - "inputs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/FunctionInput" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of inputs describing the parameters of the function." - }, - "output": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionOutput" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the output of a function." - } - }, - "description": "Describes the configuration of the scalar function." - }, - "ScalarFunctionProperties": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalarFunctionConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the configuration of the scalar function." - }, - "type": { - "type": "string", - "enum": [ - "Scalar" - ] - } - }, - "required": [ - "type" - ], - "description": "The properties that are associated with a scalar function." - }, - "Serialization": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ParquetSerialization" - }, - { - "$ref": "#/definitions/CsvSerialization" - }, - { - "$ref": "#/definitions/JsonSerialization" - }, - { - "$ref": "#/definitions/AvroSerialization" - } - ], - "properties": {}, - "description": "Describes how data from an input is serialized or how data is serialized when written to an output." - }, - "ServiceBusQueueOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceBusQueueOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a Service Bus Queue output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ServiceBus/Queue" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a Service Bus Queue output data source." - }, - "ServiceBusQueueOutputDataSourceProperties": { - "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." - }, - "propertyColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A string array of the names of output columns to be attached to Service Bus messages as custom properties." - }, - "queueName": { - "type": "string", - "description": "The name of the Service Bus Queue. Required on PUT (CreateOrReplace) requests." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "systemPropertyColumns": { - "type": "object", - "properties": {}, - "description": "The system properties associated with the Service Bus Queue. The following system properties are supported: ReplyToSessionId, ContentType, To, Subject, CorrelationId, TimeToLive, PartitionKey, SessionId, ScheduledEnqueueTime, MessageId, ReplyTo, Label, ScheduledEnqueueTimeUtc." - } - }, - "description": "The properties that are associated with a Service Bus Queue output." - }, - "ServiceBusTopicOutputDataSource": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceBusTopicOutputDataSourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a Service Bus Topic output." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ServiceBus/Topic" - ] - } - }, - "required": [ - "type" - ], - "description": "Describes a Service Bus Topic output data source." - }, - "ServiceBusTopicOutputDataSourceProperties": { - "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." - }, - "propertyColumns": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A string array of the names of output columns to be attached to Service Bus messages as custom properties." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyKey": { - "type": "string", - "description": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests." - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests." - }, - "systemPropertyColumns": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The system properties associated with the Service Bus Topic Output. The following system properties are supported: ReplyToSessionId, ContentType, To, Subject, CorrelationId, TimeToLive, PartitionKey, SessionId, ScheduledEnqueueTime, MessageId, ReplyTo, Label, ScheduledEnqueueTimeUtc." - }, - "topicName": { - "type": "string", - "description": "The name of the Service Bus Topic. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with a Service Bus Topic output." - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the SKU. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with a SKU." - }, - "StorageAccount": { - "type": "object", - "properties": { - "accountKey": { - "type": "string", - "description": "The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests." - }, - "accountName": { - "type": "string", - "description": "The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests." - } - }, - "description": "The properties that are associated with an Azure Storage account" - }, - "StreamingJobProperties": { - "type": "object", - "properties": { - "cluster": { - "oneOf": [ - { - "$ref": "#/definitions/ClusterInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties associated with a Stream Analytics cluster." - }, - "compatibilityLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1.0", - "1.2" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Controls certain runtime behaviors of the streaming job." - }, - "contentStoragePolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAccount", - "JobStorageAccount" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Valid values are JobStorageAccount and SystemAccount. If set to JobStorageAccount, this requires the user to also specify jobStorageAccount property." - }, - "dataLocale": { - "type": "string", - "description": "The data locale of the stream analytics job. Value should be the name of a supported .NET Culture from the set https://msdn.microsoft.com/en-us/library/system.globalization.culturetypes(v=vs.110).aspx. Defaults to 'en-US' if none specified." - }, - "eventsLateArrivalMaxDelayInSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum tolerable delay in seconds where events arriving late could be included. Supported range is -1 to 1814399 (20.23:59:59 days) and -1 is used to specify wait indefinitely. If the property is absent, it is interpreted to have a value of -1." - }, - "eventsOutOfOrderMaxDelayInSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order." - }, - "eventsOutOfOrderPolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Adjust", - "Drop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the policy to apply to events that arrive out of order in the input event stream." - }, - "functions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Function" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more functions for the streaming job. The name property for each function is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual transformation." - }, - "inputs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Input" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more inputs to the streaming job. The name property for each input is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual input." - }, - "jobStorageAccount": { - "oneOf": [ - { - "$ref": "#/definitions/JobStorageAccount" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an Azure Storage account with MSI" - }, - "jobType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cloud", - "Edge" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the type of the job. Valid modes are `Cloud` and 'Edge'." - }, - "outputErrorPolicy": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Stop", - "Drop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates the policy to apply to events that arrive at the output and cannot be written to the external storage due to being malformed (missing column values, column values of wrong type or size)." - }, - "outputs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Output" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of one or more outputs for the streaming job. The name property for each output is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual output." - }, - "outputStartMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "JobStartTime", - "CustomTime", - "LastOutputEventTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This property should only be utilized when it is desired that the job be started immediately upon creation. Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time." - }, - "outputStartTime": { - "type": "string", - "format": "date-time", - "description": "Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a SKU." - }, - "transformation": { - "oneOf": [ - { - "$ref": "#/definitions/Transformation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job." - } - }, - "description": "The properties that are associated with a streaming job." - }, - "streamingjobs_functions_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the function." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FunctionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a function." - }, - "type": { - "type": "string", - "enum": [ - "functions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/functions" - }, - "streamingjobs_inputs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the input." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/InputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an input." - }, - "type": { - "type": "string", - "enum": [ - "inputs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/inputs" - }, - "streamingjobs_outputs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the output." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OutputProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with an output." - }, - "type": { - "type": "string", - "enum": [ - "outputs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/outputs" - }, - "streamingjobs_transformations_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the transformation." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TransformationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a transformation." - }, - "type": { - "type": "string", - "enum": [ - "transformations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.StreamAnalytics/streamingjobs/transformations" - }, - "StreamInputDataSource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/BlobStreamInputDataSource" - }, - { - "$ref": "#/definitions/EventHubStreamInputDataSource" - }, - { - "$ref": "#/definitions/EventHubV2StreamInputDataSource" - }, - { - "$ref": "#/definitions/IoTHubStreamInputDataSource" - } - ], - "properties": {}, - "description": "Describes an input data source that contains stream data." - }, - "StreamInputProperties": { - "type": "object", - "properties": { - "datasource": { - "oneOf": [ - { - "$ref": "#/definitions/StreamInputDataSource" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes an input data source that contains stream data." - }, - "type": { - "type": "string", - "enum": [ - "Stream" - ] - } - }, - "required": [ - "type" - ], - "description": "The properties that are associated with an input containing stream data." - }, - "Transformation": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Resource name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TransformationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties that are associated with a transformation." - } - }, - "description": "A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job." - }, - "TransformationProperties": { - "type": "object", - "properties": { - "query": { - "type": "string", - "description": "Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests." - }, - "streamingUnits": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the number of streaming units that the streaming job uses." - }, - "validStreamingUnits": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "integer" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the valid streaming units a streaming job can scale to." - } - }, - "description": "The properties that are associated with a transformation." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index bbfcb896af..67ea22849f 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -13117,57 +13117,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2017-06-01/Microsoft.StorSimple.8000.json#/resourceDefinitions/managers_storageAccountCredentials" }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs_functions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs_inputs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs_outputs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs_transformations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs_functions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs_inputs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs_outputs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs_transformations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs_functions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs_inputs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs_outputs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs_transformations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.StreamAnalytics.json#/resourceDefinitions/clusters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.StreamAnalytics.json#/resourceDefinitions/clusters_privateEndpoints" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-06-01-preview/Microsoft.Synapse.json#/resourceDefinitions/privateLinkHubs" },