From 9e9828cb378ccd19c6cbbdeb651c483bebbf1b84 Mon Sep 17 00:00:00 2001 From: Jian Hui Date: Tue, 23 Jun 2026 11:19:43 +0800 Subject: [PATCH] feat: migrate stream analytics input command to aaz --- Commands/stream-analytics/input/_create.md | 9 + Commands/stream-analytics/input/_delete.md | 9 + Commands/stream-analytics/input/_list.md | 9 + Commands/stream-analytics/input/_show.md | 9 + Commands/stream-analytics/input/_test.md | 9 + Commands/stream-analytics/input/_update.md | 9 + Commands/stream-analytics/input/readme.md | 23 + Commands/stream-analytics/readme.md | 3 + .../2021-10-01-preview.json | 1 + .../2021-10-01-preview.xml | 338 +++ .../2021-10-01-preview.json | 1 + .../2021-10-01-preview.xml | 2280 +++++++++++++++++ .../2021-10-01-preview.json | 1 + .../2021-10-01-preview.xml | 660 +++++ 14 files changed, 3361 insertions(+) create mode 100644 Commands/stream-analytics/input/_create.md create mode 100644 Commands/stream-analytics/input/_delete.md create mode 100644 Commands/stream-analytics/input/_list.md create mode 100644 Commands/stream-analytics/input/_show.md create mode 100644 Commands/stream-analytics/input/_test.md create mode 100644 Commands/stream-analytics/input/_update.md create mode 100644 Commands/stream-analytics/input/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHM=/2021-10-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHM=/2021-10-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30=/2021-10-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30=/2021-10-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30vdGVzdA==/2021-10-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30vdGVzdA==/2021-10-01-preview.xml diff --git a/Commands/stream-analytics/input/_create.md b/Commands/stream-analytics/input/_create.md new file mode 100644 index 000000000..f7705a45f --- /dev/null +++ b/Commands/stream-analytics/input/_create.md @@ -0,0 +1,9 @@ +# [Command] _stream-analytics input create_ + +Create an input or replaces an already existing input under an existing streaming job. + +## Versions + +### [2021-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30=/2021-10-01-preview.xml) **Stable** + + diff --git a/Commands/stream-analytics/input/_delete.md b/Commands/stream-analytics/input/_delete.md new file mode 100644 index 000000000..1fd0c8e2c --- /dev/null +++ b/Commands/stream-analytics/input/_delete.md @@ -0,0 +1,9 @@ +# [Command] _stream-analytics input delete_ + +Delete an input from the streaming job. + +## Versions + +### [2021-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30=/2021-10-01-preview.xml) **Stable** + + diff --git a/Commands/stream-analytics/input/_list.md b/Commands/stream-analytics/input/_list.md new file mode 100644 index 000000000..a868fa158 --- /dev/null +++ b/Commands/stream-analytics/input/_list.md @@ -0,0 +1,9 @@ +# [Command] _stream-analytics input list_ + +List all of the inputs under the specified streaming job. + +## Versions + +### [2021-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHM=/2021-10-01-preview.xml) **Stable** + + diff --git a/Commands/stream-analytics/input/_show.md b/Commands/stream-analytics/input/_show.md new file mode 100644 index 000000000..efbed677d --- /dev/null +++ b/Commands/stream-analytics/input/_show.md @@ -0,0 +1,9 @@ +# [Command] _stream-analytics input show_ + +Get details about the specified input. + +## Versions + +### [2021-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30=/2021-10-01-preview.xml) **Stable** + + diff --git a/Commands/stream-analytics/input/_test.md b/Commands/stream-analytics/input/_test.md new file mode 100644 index 000000000..949ff125e --- /dev/null +++ b/Commands/stream-analytics/input/_test.md @@ -0,0 +1,9 @@ +# [Command] _stream-analytics input test_ + +Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service. + +## Versions + +### [2021-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30vdGVzdA==/2021-10-01-preview.xml) **Stable** + + diff --git a/Commands/stream-analytics/input/_update.md b/Commands/stream-analytics/input/_update.md new file mode 100644 index 000000000..b4e8581eb --- /dev/null +++ b/Commands/stream-analytics/input/_update.md @@ -0,0 +1,9 @@ +# [Command] _stream-analytics input update_ + +Update an input or replaces an already existing input under an existing streaming job. + +## Versions + +### [2021-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30=/2021-10-01-preview.xml) **Stable** + + diff --git a/Commands/stream-analytics/input/readme.md b/Commands/stream-analytics/input/readme.md new file mode 100644 index 000000000..d3326d054 --- /dev/null +++ b/Commands/stream-analytics/input/readme.md @@ -0,0 +1,23 @@ +# [Group] _stream-analytics input_ + +Manage Input + +## Commands + +- [create](/Commands/stream-analytics/input/_create.md) +: Create an input or replaces an already existing input under an existing streaming job. + +- [delete](/Commands/stream-analytics/input/_delete.md) +: Delete an input from the streaming job. + +- [list](/Commands/stream-analytics/input/_list.md) +: List all of the inputs under the specified streaming job. + +- [show](/Commands/stream-analytics/input/_show.md) +: Get details about the specified input. + +- [test](/Commands/stream-analytics/input/_test.md) +: Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service. + +- [update](/Commands/stream-analytics/input/_update.md) +: Update an input or replaces an already existing input under an existing streaming job. diff --git a/Commands/stream-analytics/readme.md b/Commands/stream-analytics/readme.md index e94d61376..9942aec10 100644 --- a/Commands/stream-analytics/readme.md +++ b/Commands/stream-analytics/readme.md @@ -4,5 +4,8 @@ Manage Stream Analytics ## Subgroups +- [input](/Commands/stream-analytics/input/readme.md) +: Manage Input + - [output](/Commands/stream-analytics/output/readme.md) : Manage output with stream analytics. diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHM=/2021-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHM=/2021-10-01-preview.json new file mode 100644 index 000000000..9f3b3ea90 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHM=/2021-10-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.streamanalytics/streamingjobs/{}/inputs", "version": "2021-10-01-preview", "swagger": "mgmt-plane/streamanalytics/ResourceProviders/Microsoft.StreamAnalytics/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RyZWFtQW5hbHl0aWNzL3N0cmVhbWluZ2pvYnMve2pvYk5hbWV9L2lucHV0cw==/V/MjAyMS0xMC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "stream-analytics input", "commands": [{"name": "list", "version": "2021-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.streamanalytics/streamingjobs/{}/inputs", "version": "2021-10-01-preview", "swagger": "mgmt-plane/streamanalytics/ResourceProviders/Microsoft.StreamAnalytics/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RyZWFtQW5hbHl0aWNzL3N0cmVhbWluZ2pvYnMve2pvYk5hbWV9L2lucHV0cw==/V/MjAyMS0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.jobName", "options": ["job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the streaming job."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Query.select", "options": ["select"], "help": {"short": "The $select OData query parameter. This is a comma-separated list of structural properties to include in the response, or \"*\" to include all properties. By default, all properties are returned except diagnostics. Currently only accepts '*' as a valid value."}}]}], "operations": [{"operationId": "Inputs_ListByStreamingJob", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"params": [{"type": "string", "name": "$select", "arg": "$Query.select"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourcegroups/{}/providers/Microsoft.StreamAnalytics/streamingjobs/{}/inputs/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "compression", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Deflate"}, {"value": "GZip"}, {"value": "None"}]}}]}, {"readOnly": true, "type": "object", "name": "diagnostics", "props": [{"readOnly": true, "type": "array", "name": "conditions", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "since"}]}}]}, {"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "partitionKey"}, {"type": "object", "name": "serialization", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Avro"}, {"value": "Csv"}, {"value": "CustomClr"}, {"value": "Delta"}, {"value": "Json"}, {"value": "Parquet"}]}}], "discriminators": [{"property": "type", "value": "Avro", "props": [{"type": "object", "name": "properties", "clientFlatten": true}]}, {"property": "type", "value": "Csv", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "encoding", "enum": {"items": [{"value": "UTF8"}]}}, {"type": "string", "name": "fieldDelimiter"}], "clientFlatten": true}]}, {"property": "type", "value": "CustomClr", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "serializationClassName"}, {"type": "string", "name": "serializationDllPath"}], "clientFlatten": true}]}, {"property": "type", "value": "Delta", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "deltaTablePath", "required": true}, {"type": "array", "name": "partitionColumns", "item": {"type": "string"}}], "clientFlatten": true}]}, {"property": "type", "value": "Json", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "encoding", "enum": {"items": [{"value": "UTF8"}]}}, {"type": "string", "name": "format", "enum": {"items": [{"value": "Array"}, {"value": "LineSeparated"}]}}], "clientFlatten": true}]}, {"property": "type", "value": "Parquet", "props": [{"type": "object", "name": "properties", "clientFlatten": true}]}]}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Reference"}, {"value": "Stream"}]}}, {"type": "object", "name": "watermarkSettings", "props": [{"type": "string", "name": "watermarkMode", "enum": {"items": [{"value": "None"}, {"value": "ReadWatermark"}]}}]}], "discriminators": [{"property": "type", "value": "Reference", "props": [{"type": "object", "name": "datasource", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "File"}, {"value": "Microsoft.Sql/Server/Database"}, {"value": "Microsoft.Storage/Blob"}, {"value": "Raw"}]}}], "discriminators": [{"property": "type", "value": "File", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "path"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Sql/Server/Database", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "database"}, {"type": "string", "name": "deltaSnapshotQuery"}, {"type": "string", "name": "fullSnapshotQuery"}, {"type": "string", "name": "password", "secret": true}, {"type": "string", "name": "refreshRate"}, {"type": "string", "name": "refreshType", "enum": {"items": [{"value": "RefreshPeriodicallyWithDelta"}, {"value": "RefreshPeriodicallyWithFull"}, {"value": "Static"}]}}, {"type": "string", "name": "server"}, {"type": "string", "name": "user"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Storage/Blob", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "blobName"}, {"type": "string", "name": "container"}, {"type": "string", "name": "dateFormat"}, {"type": "string", "name": "deltaPathPattern"}, {"type": "string", "name": "deltaSnapshotRefreshRate"}, {"type": "string", "name": "fullSnapshotRefreshRate"}, {"type": "string", "name": "pathPattern"}, {"type": "integer32", "name": "sourcePartitionCount"}, {"type": "array<@StorageAccount_read>", "name": "storageAccounts", "item": {"type": "@StorageAccount_read"}}, {"type": "string", "name": "timeFormat"}], "clientFlatten": true}]}, {"property": "type", "value": "Raw", "props": [{"type": "@RawInputDatasourceProperties_read", "name": "properties", "clientFlatten": true}]}]}]}, {"property": "type", "value": "Stream", "props": [{"type": "object", "name": "datasource", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "GatewayMessageBus"}, {"value": "Microsoft.Devices/IotHubs"}, {"value": "Microsoft.EventGrid/EventSubscriptions"}, {"value": "Microsoft.EventHub/EventHub"}, {"value": "Microsoft.ServiceBus/EventHub"}, {"value": "Microsoft.Storage/Blob"}, {"value": "Raw"}]}}], "discriminators": [{"property": "type", "value": "GatewayMessageBus", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "topic"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Devices/IotHubs", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "consumerGroupName"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "iotHubNamespace"}, {"type": "string", "name": "sharedAccessPolicyKey", "secret": true}, {"type": "string", "name": "sharedAccessPolicyName"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.EventGrid/EventSubscriptions", "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "eventTypes", "item": {"type": "string"}}, {"type": "string", "name": "schema", "enum": {"items": [{"value": "CloudEventSchema"}, {"value": "EventGridEventSchema"}]}}, {"type": "array<@StorageAccount_read>", "name": "storageAccounts", "item": {"type": "@StorageAccount_read"}}, {"type": "object", "name": "subscriber", "props": [{"type": "@EventHubStreamInputDataSourceProperties_read", "name": "properties", "clientFlatten": true}]}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.EventHub/EventHub", "props": [{"type": "@EventHubStreamInputDataSourceProperties_read", "name": "properties", "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.ServiceBus/EventHub", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "consumerGroupName"}, {"type": "string", "name": "eventHubName"}, {"type": "integer32", "name": "partitionCount"}, {"type": "integer32", "name": "prefetchCount"}, {"type": "string", "name": "serviceBusNamespace"}, {"type": "string", "name": "sharedAccessPolicyKey", "secret": true}, {"type": "string", "name": "sharedAccessPolicyName"}], "cls": "EventHubStreamInputDataSourceProperties_read", "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Storage/Blob", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "container"}, {"type": "string", "name": "dateFormat"}, {"type": "string", "name": "pathPattern"}, {"type": "integer32", "name": "sourcePartitionCount"}, {"type": "array", "name": "storageAccounts", "item": {"type": "object", "props": [{"type": "string", "name": "accountKey", "secret": true}, {"type": "string", "name": "accountName"}, {"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}], "cls": "StorageAccount_read"}}, {"type": "string", "name": "timeFormat"}], "clientFlatten": true}]}, {"property": "type", "value": "Raw", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "payload"}, {"type": "string", "name": "payloadUri"}], "cls": "RawInputDatasourceProperties_read", "clientFlatten": true}]}]}]}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHM=/2021-10-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHM=/2021-10-01-preview.xml new file mode 100644 index 000000000..b63dcd671 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHM=/2021-10-01-preview.xml @@ -0,0 +1,338 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30=/2021-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30=/2021-10-01-preview.json new file mode 100644 index 000000000..57dcdc592 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30=/2021-10-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.streamanalytics/streamingjobs/{}/inputs/{}", "version": "2021-10-01-preview", "swagger": "mgmt-plane/streamanalytics/ResourceProviders/Microsoft.StreamAnalytics/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RyZWFtQW5hbHl0aWNzL3N0cmVhbWluZ2pvYnMve2pvYk5hbWV9L2lucHV0cy97aW5wdXROYW1lfQ==/V/MjAyMS0xMC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "stream-analytics input", "commands": [{"name": "show", "version": "2021-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.streamanalytics/streamingjobs/{}/inputs/{}", "version": "2021-10-01-preview", "swagger": "mgmt-plane/streamanalytics/ResourceProviders/Microsoft.StreamAnalytics/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RyZWFtQW5hbHl0aWNzL3N0cmVhbWluZ2pvYnMve2pvYk5hbWV9L2lucHV0cy97aW5wdXROYW1lfQ==/V/MjAyMS0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.inputName", "options": ["n", "name", "input-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the input."}}, {"type": "string", "var": "$Path.jobName", "options": ["job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the streaming job."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Inputs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "inputName", "arg": "$Path.inputName", "required": true}, {"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourcegroups/{}/providers/Microsoft.StreamAnalytics/streamingjobs/{}/inputs/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "compression", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Deflate"}, {"value": "GZip"}, {"value": "None"}]}}]}, {"readOnly": true, "type": "object", "name": "diagnostics", "props": [{"readOnly": true, "type": "array", "name": "conditions", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "since"}]}}]}, {"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "partitionKey"}, {"type": "object", "name": "serialization", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Avro"}, {"value": "Csv"}, {"value": "CustomClr"}, {"value": "Delta"}, {"value": "Json"}, {"value": "Parquet"}]}}], "discriminators": [{"property": "type", "value": "Avro", "props": [{"type": "object", "name": "properties", "clientFlatten": true}]}, {"property": "type", "value": "Csv", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "encoding", "enum": {"items": [{"value": "UTF8"}]}}, {"type": "string", "name": "fieldDelimiter"}], "clientFlatten": true}]}, {"property": "type", "value": "CustomClr", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "serializationClassName"}, {"type": "string", "name": "serializationDllPath"}], "clientFlatten": true}]}, {"property": "type", "value": "Delta", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "deltaTablePath", "required": true}, {"type": "array", "name": "partitionColumns", "item": {"type": "string"}}], "clientFlatten": true}]}, {"property": "type", "value": "Json", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "encoding", "enum": {"items": [{"value": "UTF8"}]}}, {"type": "string", "name": "format", "enum": {"items": [{"value": "Array"}, {"value": "LineSeparated"}]}}], "clientFlatten": true}]}, {"property": "type", "value": "Parquet", "props": [{"type": "object", "name": "properties", "clientFlatten": true}]}]}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Reference"}, {"value": "Stream"}]}}, {"type": "object", "name": "watermarkSettings", "props": [{"type": "string", "name": "watermarkMode", "enum": {"items": [{"value": "None"}, {"value": "ReadWatermark"}]}}]}], "discriminators": [{"property": "type", "value": "Reference", "props": [{"type": "object", "name": "datasource", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "File"}, {"value": "Microsoft.Sql/Server/Database"}, {"value": "Microsoft.Storage/Blob"}, {"value": "Raw"}]}}], "discriminators": [{"property": "type", "value": "File", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "path"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Sql/Server/Database", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "database"}, {"type": "string", "name": "deltaSnapshotQuery"}, {"type": "string", "name": "fullSnapshotQuery"}, {"type": "string", "name": "password", "secret": true}, {"type": "string", "name": "refreshRate"}, {"type": "string", "name": "refreshType", "enum": {"items": [{"value": "RefreshPeriodicallyWithDelta"}, {"value": "RefreshPeriodicallyWithFull"}, {"value": "Static"}]}}, {"type": "string", "name": "server"}, {"type": "string", "name": "user"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Storage/Blob", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "blobName"}, {"type": "string", "name": "container"}, {"type": "string", "name": "dateFormat"}, {"type": "string", "name": "deltaPathPattern"}, {"type": "string", "name": "deltaSnapshotRefreshRate"}, {"type": "string", "name": "fullSnapshotRefreshRate"}, {"type": "string", "name": "pathPattern"}, {"type": "integer32", "name": "sourcePartitionCount"}, {"type": "array<@StorageAccount_read>", "name": "storageAccounts", "item": {"type": "@StorageAccount_read"}}, {"type": "string", "name": "timeFormat"}], "clientFlatten": true}]}, {"property": "type", "value": "Raw", "props": [{"type": "@RawInputDatasourceProperties_read", "name": "properties", "clientFlatten": true}]}]}]}, {"property": "type", "value": "Stream", "props": [{"type": "object", "name": "datasource", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "GatewayMessageBus"}, {"value": "Microsoft.Devices/IotHubs"}, {"value": "Microsoft.EventGrid/EventSubscriptions"}, {"value": "Microsoft.EventHub/EventHub"}, {"value": "Microsoft.ServiceBus/EventHub"}, {"value": "Microsoft.Storage/Blob"}, {"value": "Raw"}]}}], "discriminators": [{"property": "type", "value": "GatewayMessageBus", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "topic"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Devices/IotHubs", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "consumerGroupName"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "iotHubNamespace"}, {"type": "string", "name": "sharedAccessPolicyKey", "secret": true}, {"type": "string", "name": "sharedAccessPolicyName"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.EventGrid/EventSubscriptions", "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "eventTypes", "item": {"type": "string"}}, {"type": "string", "name": "schema", "enum": {"items": [{"value": "CloudEventSchema"}, {"value": "EventGridEventSchema"}]}}, {"type": "array<@StorageAccount_read>", "name": "storageAccounts", "item": {"type": "@StorageAccount_read"}}, {"type": "object", "name": "subscriber", "props": [{"type": "@EventHubStreamInputDataSourceProperties_read", "name": "properties", "clientFlatten": true}]}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.EventHub/EventHub", "props": [{"type": "@EventHubStreamInputDataSourceProperties_read", "name": "properties", "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.ServiceBus/EventHub", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "consumerGroupName"}, {"type": "string", "name": "eventHubName"}, {"type": "integer32", "name": "partitionCount"}, {"type": "integer32", "name": "prefetchCount"}, {"type": "string", "name": "serviceBusNamespace"}, {"type": "string", "name": "sharedAccessPolicyKey", "secret": true}, {"type": "string", "name": "sharedAccessPolicyName"}], "cls": "EventHubStreamInputDataSourceProperties_read", "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Storage/Blob", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "container"}, {"type": "string", "name": "dateFormat"}, {"type": "string", "name": "pathPattern"}, {"type": "integer32", "name": "sourcePartitionCount"}, {"type": "array", "name": "storageAccounts", "item": {"type": "object", "props": [{"type": "string", "name": "accountKey", "secret": true}, {"type": "string", "name": "accountName"}, {"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}], "cls": "StorageAccount_read"}}, {"type": "string", "name": "timeFormat"}], "clientFlatten": true}]}, {"property": "type", "value": "Raw", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "payload"}, {"type": "string", "name": "payloadUri"}], "cls": "RawInputDatasourceProperties_read", "clientFlatten": true}]}]}]}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2021-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.streamanalytics/streamingjobs/{}/inputs/{}", "version": "2021-10-01-preview", "swagger": "mgmt-plane/streamanalytics/ResourceProviders/Microsoft.StreamAnalytics/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RyZWFtQW5hbHl0aWNzL3N0cmVhbWluZ2pvYnMve2pvYk5hbWV9L2lucHV0cy97aW5wdXROYW1lfQ==/V/MjAyMS0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.inputName", "options": ["n", "name", "input-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the input."}}, {"type": "string", "var": "$Path.jobName", "options": ["job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the streaming job."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Inputs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "inputName", "arg": "$Path.inputName", "required": true}, {"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2021-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.streamanalytics/streamingjobs/{}/inputs/{}", "version": "2021-10-01-preview", "swagger": "mgmt-plane/streamanalytics/ResourceProviders/Microsoft.StreamAnalytics/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RyZWFtQW5hbHl0aWNzL3N0cmVhbWluZ2pvYnMve2pvYk5hbWV9L2lucHV0cy97aW5wdXROYW1lfQ==/V/MjAyMS0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "help": {"short": "The ETag of the input. Omit this value to always overwrite the current input. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes."}}, {"type": "string", "var": "$Header.If-None-Match", "options": ["if-none-match"], "help": {"short": "Set to '*' to allow a new input to be created, but to prevent updating an existing input. Other values will result in a 412 Pre-condition Failed response."}}, {"type": "string", "var": "$Path.inputName", "options": ["n", "name", "input-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the input."}}, {"type": "string", "var": "$Path.jobName", "options": ["job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the streaming job."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$input.properties.Reference", "options": ["reference"], "group": "Properties", "args": [{"type": "object", "var": "$input.properties.Reference.datasource", "options": ["datasource"], "help": {"short": "Describes an input data source that contains reference data. Required on PUT (CreateOrReplace) requests."}, "args": [{"type": "object", "var": "$input.properties.Reference.datasource.File", "options": ["file"], "args": [{"type": "string", "var": "$input.properties.Reference.datasource.File.properties.path", "options": ["path"], "group": "Properties", "help": {"short": "The path of the file."}}]}, {"type": "object", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database", "options": ["microsoft-sql-server-database"], "args": [{"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.authenticationMode", "options": ["authentication-mode"], "group": "Properties", "help": {"short": "Authentication Mode."}, "default": {"value": "ConnectionString"}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.database", "options": ["database"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This is the name of the database that output will be written to."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.deltaSnapshotQuery", "options": ["delta-snapshot-query"], "group": "Properties", "help": {"short": "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."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.fullSnapshotQuery", "options": ["full-snapshot-query"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This query is used to fetch data from the sql database."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.password", "options": ["password"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This is the password that will be used to connect to the SQL Database instance."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.refreshRate", "options": ["refresh-rate"], "group": "Properties", "help": {"short": "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."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.refreshType", "options": ["refresh-type"], "group": "Properties", "help": {"short": "Indicates the type of data refresh option."}, "enum": {"items": [{"name": "RefreshPeriodicallyWithDelta", "value": "RefreshPeriodicallyWithDelta"}, {"name": "RefreshPeriodicallyWithFull", "value": "RefreshPeriodicallyWithFull"}, {"name": "Static", "value": "Static"}]}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This is the name of the server that contains the database that will be written to."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.user", "options": ["user"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This is the user name that will be used to connect to the SQL Database instance."}}]}, {"type": "object", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob", "options": ["microsoft-storage-blob"], "args": [{"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.authenticationMode", "options": ["authentication-mode"], "group": "Properties", "help": {"short": "Authentication Mode."}, "default": {"value": "ConnectionString"}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.blobName", "options": ["blob-name"], "group": "Properties", "help": {"short": "The name of the blob input."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.container", "options": ["container"], "group": "Properties", "help": {"short": "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."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.dateFormat", "options": ["date-format"], "group": "Properties", "help": {"short": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.deltaPathPattern", "options": ["delta-path-pattern"], "group": "Properties", "help": {"short": "The path pattern of the delta snapshot."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.deltaSnapshotRefreshRate", "options": ["delta-snapshot-refresh-rate"], "group": "Properties", "help": {"short": "The interval that the user generates a delta snapshot of this reference blob input data source."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.fullSnapshotRefreshRate", "options": ["full-snapshot-refresh-rate"], "group": "Properties", "help": {"short": "The refresh interval of the blob input data source."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.pathPattern", "options": ["path-pattern"], "group": "Properties", "help": {"short": "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."}}, {"type": "integer32", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.sourcePartitionCount", "options": ["source-partition-count"], "group": "Properties", "help": {"short": "The partition count of the blob input data source. Range 1 - 256."}}, {"type": "array<@StorageAccount_create>", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.storageAccounts", "options": ["storage-accounts"], "group": "Properties", "help": {"short": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests."}, "item": {"type": "@StorageAccount_create"}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.timeFormat", "options": ["time-format"], "group": "Properties", "help": {"short": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead."}}]}, {"type": "object", "var": "$input.properties.Reference.datasource.Raw", "options": ["raw"], "args": [{"type": "@RawInputDatasourceProperties_create", "var": "$input.properties.Reference.datasource.Raw.properties", "options": ["properties"], "help": {"short": "The properties that are associated with a raw input containing reference data. Required on PUT (CreateOrReplace) requests."}}]}]}]}, {"type": "object", "var": "$input.properties.Stream", "options": ["stream"], "group": "Properties", "args": [{"type": "object", "var": "$input.properties.Stream.datasource", "options": ["datasource"], "help": {"short": "Describes an input data source that contains stream data. Required on PUT (CreateOrReplace) requests."}, "args": [{"type": "object", "var": "$input.properties.Stream.datasource.GatewayMessageBus", "options": ["gateway-message-bus"], "args": [{"type": "string", "var": "$input.properties.Stream.datasource.GatewayMessageBus.properties.topic", "options": ["topic"], "group": "Properties", "help": {"short": "The name of the Service Bus topic."}}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs", "options": ["microsoft-devices-iot-hubs"], "args": [{"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.consumerGroupName", "options": ["consumer-group-name"], "group": "Properties", "help": {"short": "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."}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.endpoint", "options": ["endpoint"], "group": "Properties", "help": {"short": "The IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents, etc.)."}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.iotHubNamespace", "options": ["iot-hub-namespace"], "group": "Properties", "help": {"short": "The name or the URI of the IoT Hub. Required on PUT (CreateOrReplace) requests."}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.sharedAccessPolicyKey", "options": ["shared-access-policy-key"], "group": "Properties", "help": {"short": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests."}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.sharedAccessPolicyName", "options": ["shared-access-policy-name"], "group": "Properties", "help": {"short": "The shared access policy name for the IoT Hub. This policy must contain at least the Service connect permission. Required on PUT (CreateOrReplace) requests."}}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions", "options": ["microsoft-event-grid-event-subscriptions"], "args": [{"type": "array", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.eventTypes", "options": ["event-types"], "group": "Properties", "help": {"short": "List of Event Types that are supported by the Event Grid adapter."}, "item": {"type": "string"}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.schema", "options": ["schema"], "group": "Properties", "help": {"short": "Indicates the Event Grid schema type."}, "enum": {"items": [{"name": "CloudEventSchema", "value": "CloudEventSchema"}, {"name": "EventGridEventSchema", "value": "EventGridEventSchema"}]}}, {"type": "array<@StorageAccount_create>", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.storageAccounts", "options": ["storage-accounts"], "group": "Properties", "help": {"short": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests."}, "item": {"type": "@StorageAccount_create"}}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.subscriber", "options": ["subscriber"], "group": "Properties", "help": {"short": "Subscribers for the Event Grid. Currently only EventHub Subscriber is supported."}, "args": [{"type": "@EventHubStreamInputDataSourceProperties_create", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.subscriber.properties", "options": ["properties"], "help": {"short": "The properties that are associated with an Event Hub input containing stream data. Required on PUT (CreateOrReplace) requests."}}]}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_EventHub_EventHub", "options": ["microsoft-event-hub-event-hub"], "args": [{"type": "@EventHubStreamInputDataSourceProperties_create", "var": "$input.properties.Stream.datasource.Microsoft_EventHub_EventHub.properties", "options": ["properties"], "help": {"short": "The properties that are associated with an Event Hub input containing stream data. Required on PUT (CreateOrReplace) requests."}}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_ServiceBus_EventHub", "options": ["microsoft-service-bus-event-hub"], "args": [{"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_ServiceBus_EventHub.properties", "options": ["properties"], "help": {"short": "The properties that are associated with an Event Hub input containing stream data. Required on PUT (CreateOrReplace) requests."}, "args": [{"type": "string", "var": "@EventHubStreamInputDataSourceProperties_create.authenticationMode", "options": ["authentication-mode"], "help": {"short": "Authentication Mode."}, "default": {"value": "ConnectionString"}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}, {"type": "string", "var": "@EventHubStreamInputDataSourceProperties_create.consumerGroupName", "options": ["consumer-group-name"], "help": {"short": "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."}}, {"type": "string", "var": "@EventHubStreamInputDataSourceProperties_create.eventHubName", "options": ["event-hub-name"], "help": {"short": "The name of the Event Hub. Required on PUT (CreateOrReplace) requests."}}, {"type": "integer32", "var": "@EventHubStreamInputDataSourceProperties_create.partitionCount", "options": ["partition-count"], "help": {"short": "The partition count of the event hub data source. Range 1 - 256."}}, {"type": "integer32", "var": "@EventHubStreamInputDataSourceProperties_create.prefetchCount", "options": ["prefetch-count"], "help": {"short": "The number of messages that the message receiver can simultaneously request."}}, {"type": "string", "var": "@EventHubStreamInputDataSourceProperties_create.serviceBusNamespace", "options": ["service-bus-namespace"], "help": {"short": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests."}}, {"type": "string", "var": "@EventHubStreamInputDataSourceProperties_create.sharedAccessPolicyKey", "options": ["shared-access-policy-key"], "help": {"short": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests."}}, {"type": "string", "var": "@EventHubStreamInputDataSourceProperties_create.sharedAccessPolicyName", "options": ["shared-access-policy-name"], "help": {"short": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests."}}], "cls": "EventHubStreamInputDataSourceProperties_create"}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob", "options": ["microsoft-storage-blob"], "args": [{"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.authenticationMode", "options": ["authentication-mode"], "group": "Properties", "help": {"short": "Authentication Mode."}, "default": {"value": "ConnectionString"}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.container", "options": ["container"], "group": "Properties", "help": {"short": "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."}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.dateFormat", "options": ["date-format"], "group": "Properties", "help": {"short": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead."}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.pathPattern", "options": ["path-pattern"], "group": "Properties", "help": {"short": "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."}}, {"type": "integer32", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.sourcePartitionCount", "options": ["source-partition-count"], "group": "Properties", "help": {"short": "The partition count of the blob input data source. Range 1 - 1024."}}, {"type": "array", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.storageAccounts", "options": ["storage-accounts"], "group": "Properties", "help": {"short": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests."}, "item": {"type": "object", "args": [{"type": "string", "var": "@StorageAccount_create.accountKey", "options": ["account-key"], "help": {"short": "The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests."}}, {"type": "string", "var": "@StorageAccount_create.accountName", "options": ["account-name"], "help": {"short": "The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests."}}, {"type": "string", "var": "@StorageAccount_create.authenticationMode", "options": ["authentication-mode"], "help": {"short": "Authentication Mode."}, "default": {"value": "ConnectionString"}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}], "cls": "StorageAccount_create"}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.timeFormat", "options": ["time-format"], "group": "Properties", "help": {"short": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead."}}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Raw", "options": ["raw"], "args": [{"type": "object", "var": "$input.properties.Stream.datasource.Raw.properties", "options": ["properties"], "help": {"short": "The properties that are associated with a raw input. Required on PUT (CreateOrReplace) requests."}, "args": [{"type": "string", "var": "@RawInputDatasourceProperties_create.payload", "options": ["payload"], "help": {"short": "The JSON serialized content of the input data. Either payload or payloadUri must be set, but not both. "}}, {"type": "string", "var": "@RawInputDatasourceProperties_create.payloadUri", "options": ["payload-uri"], "help": {"short": "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."}}], "cls": "RawInputDatasourceProperties_create"}]}]}]}, {"type": "object", "var": "$input.properties.compression", "options": ["compression"], "group": "Properties", "help": {"short": "Describes how input data is compressed"}, "args": [{"type": "string", "var": "$input.properties.compression.type", "options": ["type"], "required": true, "help": {"short": "Indicates the type of compression that the input uses. Required on PUT (CreateOrReplace) requests."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Deflate", "value": "Deflate"}, {"name": "GZip", "value": "GZip"}, {"name": "None", "value": "None"}]}}]}, {"type": "string", "var": "$input.properties.partitionKey", "options": ["partition-key"], "group": "Properties", "help": {"short": "partitionKey Describes a key in the input data which is used for partitioning the input data"}}, {"type": "object", "var": "$input.properties.serialization", "options": ["serialization"], "group": "Properties", "help": {"short": "Describes how data from an input is serialized or how data is serialized when written to an output. Required on PUT (CreateOrReplace) requests."}, "args": [{"blank": {"value": {}}, "type": "object", "var": "$input.properties.serialization.Avro", "options": ["avro"]}, {"type": "object", "var": "$input.properties.serialization.Csv", "options": ["csv"], "args": [{"type": "string", "var": "$input.properties.serialization.Csv.properties.encoding", "options": ["encoding"], "group": "Properties", "help": {"short": "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."}, "enum": {"items": [{"name": "UTF8", "value": "UTF8"}]}}, {"type": "string", "var": "$input.properties.serialization.Csv.properties.fieldDelimiter", "options": ["field-delimiter"], "group": "Properties", "help": {"short": "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."}}]}, {"type": "object", "var": "$input.properties.serialization.CustomClr", "options": ["custom-clr"], "args": [{"type": "string", "var": "$input.properties.serialization.CustomClr.properties.serializationClassName", "options": ["serialization-class-name"], "group": "Properties", "help": {"short": "The serialization class name."}}, {"type": "string", "var": "$input.properties.serialization.CustomClr.properties.serializationDllPath", "options": ["serialization-dll-path"], "group": "Properties", "help": {"short": "The serialization library path."}}]}, {"type": "object", "var": "$input.properties.serialization.Delta", "options": ["delta"], "args": [{"type": "string", "var": "$input.properties.serialization.Delta.properties.deltaTablePath", "options": ["delta-table-path"], "group": "Properties", "help": {"short": "Specifies the path of the Delta Lake table that the output will be written to."}}, {"type": "array", "var": "$input.properties.serialization.Delta.properties.partitionColumns", "options": ["partition-columns"], "group": "Properties", "help": {"short": "Specifies the names of the columns for which the Delta Lake table will be partitioned. We are only supporting 1 partition column, but keeping it as an array for extensibility."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$input.properties.serialization.Json", "options": ["json"], "args": [{"type": "string", "var": "$input.properties.serialization.Json.properties.encoding", "options": ["encoding"], "group": "Properties", "help": {"short": "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."}, "enum": {"items": [{"name": "UTF8", "value": "UTF8"}]}}, {"type": "string", "var": "$input.properties.serialization.Json.properties.format", "options": ["format"], "group": "Properties", "help": {"short": "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."}, "enum": {"items": [{"name": "Array", "value": "Array"}, {"name": "LineSeparated", "value": "LineSeparated"}]}}]}, {"blank": {"value": {}}, "type": "object", "var": "$input.properties.serialization.Parquet", "options": ["parquet"]}]}, {"type": "object", "var": "$input.properties.watermarkSettings", "options": ["watermark-settings"], "group": "Properties", "help": {"short": "Settings which determine whether to read watermark events."}, "args": [{"type": "string", "var": "$input.properties.watermarkSettings.watermarkMode", "options": ["watermark-mode"], "help": {"short": "The input watermark mode."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "ReadWatermark", "value": "ReadWatermark"}]}}]}]}], "operations": [{"operationId": "Inputs_CreateOrReplace", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "inputName", "arg": "$Path.inputName", "required": true}, {"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}, {"type": "string", "name": "If-None-Match", "arg": "$Header.If-None-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "input", "required": true, "props": [{"type": "string", "name": "name", "arg": "$Path.inputName"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "compression", "arg": "$input.properties.compression", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$input.properties.compression.type", "required": true, "enum": {"items": [{"value": "Deflate"}, {"value": "GZip"}, {"value": "None"}]}}]}, {"type": "string", "name": "partitionKey", "arg": "$input.properties.partitionKey"}, {"type": "object", "name": "serialization", "arg": "$input.properties.serialization", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$input.properties.serialization.Avro", "value": "Avro"}, {"arg": "$input.properties.serialization.Csv", "value": "Csv"}, {"arg": "$input.properties.serialization.CustomClr", "value": "CustomClr"}, {"arg": "$input.properties.serialization.Delta", "value": "Delta"}, {"arg": "$input.properties.serialization.Json", "value": "Json"}, {"arg": "$input.properties.serialization.Parquet", "value": "Parquet"}]}}], "discriminators": [{"property": "type", "value": "Avro", "props": [{"type": "object", "name": "properties", "clientFlatten": true}]}, {"property": "type", "value": "Csv", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "encoding", "arg": "$input.properties.serialization.Csv.properties.encoding", "enum": {"items": [{"value": "UTF8"}]}}, {"type": "string", "name": "fieldDelimiter", "arg": "$input.properties.serialization.Csv.properties.fieldDelimiter"}], "clientFlatten": true}]}, {"property": "type", "value": "CustomClr", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "serializationClassName", "arg": "$input.properties.serialization.CustomClr.properties.serializationClassName"}, {"type": "string", "name": "serializationDllPath", "arg": "$input.properties.serialization.CustomClr.properties.serializationDllPath"}], "clientFlatten": true}]}, {"property": "type", "value": "Delta", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "deltaTablePath", "arg": "$input.properties.serialization.Delta.properties.deltaTablePath", "required": true}, {"type": "array", "name": "partitionColumns", "arg": "$input.properties.serialization.Delta.properties.partitionColumns", "item": {"type": "string"}}], "clientFlatten": true}]}, {"property": "type", "value": "Json", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "encoding", "arg": "$input.properties.serialization.Json.properties.encoding", "enum": {"items": [{"value": "UTF8"}]}}, {"type": "string", "name": "format", "arg": "$input.properties.serialization.Json.properties.format", "enum": {"items": [{"value": "Array"}, {"value": "LineSeparated"}]}}], "clientFlatten": true}]}, {"property": "type", "value": "Parquet", "props": [{"type": "object", "name": "properties", "clientFlatten": true}]}]}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$input.properties.Reference", "value": "Reference"}, {"arg": "$input.properties.Stream", "value": "Stream"}]}}, {"type": "object", "name": "watermarkSettings", "arg": "$input.properties.watermarkSettings", "props": [{"type": "string", "name": "watermarkMode", "arg": "$input.properties.watermarkSettings.watermarkMode", "enum": {"items": [{"value": "None"}, {"value": "ReadWatermark"}]}}]}], "discriminators": [{"property": "type", "value": "Reference", "props": [{"type": "object", "name": "datasource", "arg": "$input.properties.Reference.datasource", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$input.properties.Reference.datasource.File", "value": "File"}, {"arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database", "value": "Microsoft.Sql/Server/Database"}, {"arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob", "value": "Microsoft.Storage/Blob"}, {"arg": "$input.properties.Reference.datasource.Raw", "value": "Raw"}]}}], "discriminators": [{"property": "type", "value": "File", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "path", "arg": "$input.properties.Reference.datasource.File.properties.path"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Sql/Server/Database", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "database", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.database"}, {"type": "string", "name": "deltaSnapshotQuery", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.deltaSnapshotQuery"}, {"type": "string", "name": "fullSnapshotQuery", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.fullSnapshotQuery"}, {"type": "string", "name": "password", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.password", "secret": true}, {"type": "string", "name": "refreshRate", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.refreshRate"}, {"type": "string", "name": "refreshType", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.refreshType", "enum": {"items": [{"value": "RefreshPeriodicallyWithDelta"}, {"value": "RefreshPeriodicallyWithFull"}, {"value": "Static"}]}}, {"type": "string", "name": "server", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.server"}, {"type": "string", "name": "user", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.user"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Storage/Blob", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "blobName", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.blobName"}, {"type": "string", "name": "container", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.container"}, {"type": "string", "name": "dateFormat", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.dateFormat"}, {"type": "string", "name": "deltaPathPattern", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.deltaPathPattern"}, {"type": "string", "name": "deltaSnapshotRefreshRate", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.deltaSnapshotRefreshRate"}, {"type": "string", "name": "fullSnapshotRefreshRate", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.fullSnapshotRefreshRate"}, {"type": "string", "name": "pathPattern", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.pathPattern"}, {"type": "integer32", "name": "sourcePartitionCount", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.sourcePartitionCount"}, {"type": "array<@StorageAccount_create>", "name": "storageAccounts", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.storageAccounts", "item": {"type": "@StorageAccount_create"}}, {"type": "string", "name": "timeFormat", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.timeFormat"}], "clientFlatten": true}]}, {"property": "type", "value": "Raw", "props": [{"type": "@RawInputDatasourceProperties_create", "name": "properties", "arg": "$input.properties.Reference.datasource.Raw.properties", "clientFlatten": true}]}]}]}, {"property": "type", "value": "Stream", "props": [{"type": "object", "name": "datasource", "arg": "$input.properties.Stream.datasource", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$input.properties.Stream.datasource.GatewayMessageBus", "value": "GatewayMessageBus"}, {"arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs", "value": "Microsoft.Devices/IotHubs"}, {"arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions", "value": "Microsoft.EventGrid/EventSubscriptions"}, {"arg": "$input.properties.Stream.datasource.Microsoft_EventHub_EventHub", "value": "Microsoft.EventHub/EventHub"}, {"arg": "$input.properties.Stream.datasource.Microsoft_ServiceBus_EventHub", "value": "Microsoft.ServiceBus/EventHub"}, {"arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob", "value": "Microsoft.Storage/Blob"}, {"arg": "$input.properties.Stream.datasource.Raw", "value": "Raw"}]}}], "discriminators": [{"property": "type", "value": "GatewayMessageBus", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "topic", "arg": "$input.properties.Stream.datasource.GatewayMessageBus.properties.topic"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Devices/IotHubs", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "consumerGroupName", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.consumerGroupName"}, {"type": "string", "name": "endpoint", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.endpoint"}, {"type": "string", "name": "iotHubNamespace", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.iotHubNamespace"}, {"type": "string", "name": "sharedAccessPolicyKey", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.sharedAccessPolicyKey", "secret": true}, {"type": "string", "name": "sharedAccessPolicyName", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.sharedAccessPolicyName"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.EventGrid/EventSubscriptions", "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "eventTypes", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.eventTypes", "item": {"type": "string"}}, {"type": "string", "name": "schema", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.schema", "enum": {"items": [{"value": "CloudEventSchema"}, {"value": "EventGridEventSchema"}]}}, {"type": "array<@StorageAccount_create>", "name": "storageAccounts", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.storageAccounts", "item": {"type": "@StorageAccount_create"}}, {"type": "object", "name": "subscriber", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.subscriber", "props": [{"type": "@EventHubStreamInputDataSourceProperties_create", "name": "properties", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.subscriber.properties", "clientFlatten": true}]}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.EventHub/EventHub", "props": [{"type": "@EventHubStreamInputDataSourceProperties_create", "name": "properties", "arg": "$input.properties.Stream.datasource.Microsoft_EventHub_EventHub.properties", "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.ServiceBus/EventHub", "props": [{"type": "object", "name": "properties", "arg": "$input.properties.Stream.datasource.Microsoft_ServiceBus_EventHub.properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "@EventHubStreamInputDataSourceProperties_create.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "consumerGroupName", "arg": "@EventHubStreamInputDataSourceProperties_create.consumerGroupName"}, {"type": "string", "name": "eventHubName", "arg": "@EventHubStreamInputDataSourceProperties_create.eventHubName"}, {"type": "integer32", "name": "partitionCount", "arg": "@EventHubStreamInputDataSourceProperties_create.partitionCount"}, {"type": "integer32", "name": "prefetchCount", "arg": "@EventHubStreamInputDataSourceProperties_create.prefetchCount"}, {"type": "string", "name": "serviceBusNamespace", "arg": "@EventHubStreamInputDataSourceProperties_create.serviceBusNamespace"}, {"type": "string", "name": "sharedAccessPolicyKey", "arg": "@EventHubStreamInputDataSourceProperties_create.sharedAccessPolicyKey", "secret": true}, {"type": "string", "name": "sharedAccessPolicyName", "arg": "@EventHubStreamInputDataSourceProperties_create.sharedAccessPolicyName"}], "cls": "EventHubStreamInputDataSourceProperties_create", "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Storage/Blob", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "container", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.container"}, {"type": "string", "name": "dateFormat", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.dateFormat"}, {"type": "string", "name": "pathPattern", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.pathPattern"}, {"type": "integer32", "name": "sourcePartitionCount", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.sourcePartitionCount"}, {"type": "array", "name": "storageAccounts", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.storageAccounts", "item": {"type": "object", "props": [{"type": "string", "name": "accountKey", "arg": "@StorageAccount_create.accountKey", "secret": true}, {"type": "string", "name": "accountName", "arg": "@StorageAccount_create.accountName"}, {"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "@StorageAccount_create.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}], "cls": "StorageAccount_create"}}, {"type": "string", "name": "timeFormat", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.timeFormat"}], "clientFlatten": true}]}, {"property": "type", "value": "Raw", "props": [{"type": "object", "name": "properties", "arg": "$input.properties.Stream.datasource.Raw.properties", "props": [{"type": "string", "name": "payload", "arg": "@RawInputDatasourceProperties_create.payload"}, {"type": "string", "name": "payloadUri", "arg": "@RawInputDatasourceProperties_create.payloadUri"}], "cls": "RawInputDatasourceProperties_create", "clientFlatten": true}]}]}]}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourcegroups/{}/providers/Microsoft.StreamAnalytics/streamingjobs/{}/inputs/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "compression", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Deflate"}, {"value": "GZip"}, {"value": "None"}]}}]}, {"readOnly": true, "type": "object", "name": "diagnostics", "props": [{"readOnly": true, "type": "array", "name": "conditions", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "since"}]}}]}, {"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "partitionKey"}, {"type": "object", "name": "serialization", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Avro"}, {"value": "Csv"}, {"value": "CustomClr"}, {"value": "Delta"}, {"value": "Json"}, {"value": "Parquet"}]}}], "discriminators": [{"property": "type", "value": "Avro", "props": [{"type": "object", "name": "properties", "clientFlatten": true}]}, {"property": "type", "value": "Csv", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "encoding", "enum": {"items": [{"value": "UTF8"}]}}, {"type": "string", "name": "fieldDelimiter"}], "clientFlatten": true}]}, {"property": "type", "value": "CustomClr", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "serializationClassName"}, {"type": "string", "name": "serializationDllPath"}], "clientFlatten": true}]}, {"property": "type", "value": "Delta", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "deltaTablePath", "required": true}, {"type": "array", "name": "partitionColumns", "item": {"type": "string"}}], "clientFlatten": true}]}, {"property": "type", "value": "Json", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "encoding", "enum": {"items": [{"value": "UTF8"}]}}, {"type": "string", "name": "format", "enum": {"items": [{"value": "Array"}, {"value": "LineSeparated"}]}}], "clientFlatten": true}]}, {"property": "type", "value": "Parquet", "props": [{"type": "object", "name": "properties", "clientFlatten": true}]}]}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Reference"}, {"value": "Stream"}]}}, {"type": "object", "name": "watermarkSettings", "props": [{"type": "string", "name": "watermarkMode", "enum": {"items": [{"value": "None"}, {"value": "ReadWatermark"}]}}]}], "discriminators": [{"property": "type", "value": "Reference", "props": [{"type": "object", "name": "datasource", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "File"}, {"value": "Microsoft.Sql/Server/Database"}, {"value": "Microsoft.Storage/Blob"}, {"value": "Raw"}]}}], "discriminators": [{"property": "type", "value": "File", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "path"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Sql/Server/Database", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "database"}, {"type": "string", "name": "deltaSnapshotQuery"}, {"type": "string", "name": "fullSnapshotQuery"}, {"type": "string", "name": "password", "secret": true}, {"type": "string", "name": "refreshRate"}, {"type": "string", "name": "refreshType", "enum": {"items": [{"value": "RefreshPeriodicallyWithDelta"}, {"value": "RefreshPeriodicallyWithFull"}, {"value": "Static"}]}}, {"type": "string", "name": "server"}, {"type": "string", "name": "user"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Storage/Blob", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "blobName"}, {"type": "string", "name": "container"}, {"type": "string", "name": "dateFormat"}, {"type": "string", "name": "deltaPathPattern"}, {"type": "string", "name": "deltaSnapshotRefreshRate"}, {"type": "string", "name": "fullSnapshotRefreshRate"}, {"type": "string", "name": "pathPattern"}, {"type": "integer32", "name": "sourcePartitionCount"}, {"type": "array<@StorageAccount_read>", "name": "storageAccounts", "item": {"type": "@StorageAccount_read"}}, {"type": "string", "name": "timeFormat"}], "clientFlatten": true}]}, {"property": "type", "value": "Raw", "props": [{"type": "@RawInputDatasourceProperties_read", "name": "properties", "clientFlatten": true}]}]}]}, {"property": "type", "value": "Stream", "props": [{"type": "object", "name": "datasource", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "GatewayMessageBus"}, {"value": "Microsoft.Devices/IotHubs"}, {"value": "Microsoft.EventGrid/EventSubscriptions"}, {"value": "Microsoft.EventHub/EventHub"}, {"value": "Microsoft.ServiceBus/EventHub"}, {"value": "Microsoft.Storage/Blob"}, {"value": "Raw"}]}}], "discriminators": [{"property": "type", "value": "GatewayMessageBus", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "topic"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Devices/IotHubs", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "consumerGroupName"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "iotHubNamespace"}, {"type": "string", "name": "sharedAccessPolicyKey", "secret": true}, {"type": "string", "name": "sharedAccessPolicyName"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.EventGrid/EventSubscriptions", "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "eventTypes", "item": {"type": "string"}}, {"type": "string", "name": "schema", "enum": {"items": [{"value": "CloudEventSchema"}, {"value": "EventGridEventSchema"}]}}, {"type": "array<@StorageAccount_read>", "name": "storageAccounts", "item": {"type": "@StorageAccount_read"}}, {"type": "object", "name": "subscriber", "props": [{"type": "@EventHubStreamInputDataSourceProperties_read", "name": "properties", "clientFlatten": true}]}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.EventHub/EventHub", "props": [{"type": "@EventHubStreamInputDataSourceProperties_read", "name": "properties", "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.ServiceBus/EventHub", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "consumerGroupName"}, {"type": "string", "name": "eventHubName"}, {"type": "integer32", "name": "partitionCount"}, {"type": "integer32", "name": "prefetchCount"}, {"type": "string", "name": "serviceBusNamespace"}, {"type": "string", "name": "sharedAccessPolicyKey", "secret": true}, {"type": "string", "name": "sharedAccessPolicyName"}], "cls": "EventHubStreamInputDataSourceProperties_read", "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Storage/Blob", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "container"}, {"type": "string", "name": "dateFormat"}, {"type": "string", "name": "pathPattern"}, {"type": "integer32", "name": "sourcePartitionCount"}, {"type": "array", "name": "storageAccounts", "item": {"type": "object", "props": [{"type": "string", "name": "accountKey", "secret": true}, {"type": "string", "name": "accountName"}, {"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}], "cls": "StorageAccount_read"}}, {"type": "string", "name": "timeFormat"}], "clientFlatten": true}]}, {"property": "type", "value": "Raw", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "payload"}, {"type": "string", "name": "payloadUri"}], "cls": "RawInputDatasourceProperties_read", "clientFlatten": true}]}]}]}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2021-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.streamanalytics/streamingjobs/{}/inputs/{}", "version": "2021-10-01-preview", "swagger": "mgmt-plane/streamanalytics/ResourceProviders/Microsoft.StreamAnalytics/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RyZWFtQW5hbHl0aWNzL3N0cmVhbWluZ2pvYnMve2pvYk5hbWV9L2lucHV0cy97aW5wdXROYW1lfQ==/V/MjAyMS0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "help": {"short": "The ETag of the input. Omit this value to always overwrite the current input. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes."}}, {"type": "string", "var": "$Header.If-None-Match", "options": ["if-none-match"], "help": {"short": "Set to '*' to allow a new input to be created, but to prevent updating an existing input. Other values will result in a 412 Pre-condition Failed response."}}, {"type": "string", "var": "$Path.inputName", "options": ["n", "name", "input-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the input."}}, {"type": "string", "var": "$Path.jobName", "options": ["job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the streaming job."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$input.properties.Reference", "options": ["reference"], "group": "Properties", "args": [{"nullable": true, "type": "object", "var": "$input.properties.Reference.datasource", "options": ["datasource"], "help": {"short": "Describes an input data source that contains reference data. Required on PUT (CreateOrReplace) requests."}, "args": [{"type": "object", "var": "$input.properties.Reference.datasource.File", "options": ["file"], "args": [{"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.File.properties.path", "options": ["path"], "group": "Properties", "help": {"short": "The path of the file."}}]}, {"type": "object", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database", "options": ["microsoft-sql-server-database"], "args": [{"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.authenticationMode", "options": ["authentication-mode"], "group": "Properties", "help": {"short": "Authentication Mode."}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.database", "options": ["database"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This is the name of the database that output will be written to."}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.deltaSnapshotQuery", "options": ["delta-snapshot-query"], "group": "Properties", "help": {"short": "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."}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.fullSnapshotQuery", "options": ["full-snapshot-query"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This query is used to fetch data from the sql database."}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.password", "options": ["password"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This is the password that will be used to connect to the SQL Database instance."}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.refreshRate", "options": ["refresh-rate"], "group": "Properties", "help": {"short": "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."}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.refreshType", "options": ["refresh-type"], "group": "Properties", "help": {"short": "Indicates the type of data refresh option."}, "enum": {"items": [{"name": "RefreshPeriodicallyWithDelta", "value": "RefreshPeriodicallyWithDelta"}, {"name": "RefreshPeriodicallyWithFull", "value": "RefreshPeriodicallyWithFull"}, {"name": "Static", "value": "Static"}]}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This is the name of the server that contains the database that will be written to."}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.user", "options": ["user"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This is the user name that will be used to connect to the SQL Database instance."}}]}, {"type": "object", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob", "options": ["microsoft-storage-blob"], "args": [{"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.authenticationMode", "options": ["authentication-mode"], "group": "Properties", "help": {"short": "Authentication Mode."}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.blobName", "options": ["blob-name"], "group": "Properties", "help": {"short": "The name of the blob input."}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.container", "options": ["container"], "group": "Properties", "help": {"short": "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."}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.dateFormat", "options": ["date-format"], "group": "Properties", "help": {"short": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead."}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.deltaPathPattern", "options": ["delta-path-pattern"], "group": "Properties", "help": {"short": "The path pattern of the delta snapshot."}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.deltaSnapshotRefreshRate", "options": ["delta-snapshot-refresh-rate"], "group": "Properties", "help": {"short": "The interval that the user generates a delta snapshot of this reference blob input data source."}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.fullSnapshotRefreshRate", "options": ["full-snapshot-refresh-rate"], "group": "Properties", "help": {"short": "The refresh interval of the blob input data source."}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.pathPattern", "options": ["path-pattern"], "group": "Properties", "help": {"short": "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."}}, {"nullable": true, "type": "integer32", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.sourcePartitionCount", "options": ["source-partition-count"], "group": "Properties", "help": {"short": "The partition count of the blob input data source. Range 1 - 256."}}, {"nullable": true, "type": "array<@StorageAccount_update>", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.storageAccounts", "options": ["storage-accounts"], "group": "Properties", "help": {"short": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests."}, "item": {"nullable": true, "type": "@StorageAccount_update"}}, {"nullable": true, "type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.timeFormat", "options": ["time-format"], "group": "Properties", "help": {"short": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead."}}]}, {"type": "object", "var": "$input.properties.Reference.datasource.Raw", "options": ["raw"], "args": [{"nullable": true, "type": "@RawInputDatasourceProperties_update", "var": "$input.properties.Reference.datasource.Raw.properties", "options": ["properties"], "help": {"short": "The properties that are associated with a raw input containing reference data. Required on PUT (CreateOrReplace) requests."}}]}]}]}, {"type": "object", "var": "$input.properties.Stream", "options": ["stream"], "group": "Properties", "args": [{"nullable": true, "type": "object", "var": "$input.properties.Stream.datasource", "options": ["datasource"], "help": {"short": "Describes an input data source that contains stream data. Required on PUT (CreateOrReplace) requests."}, "args": [{"type": "object", "var": "$input.properties.Stream.datasource.GatewayMessageBus", "options": ["gateway-message-bus"], "args": [{"nullable": true, "type": "string", "var": "$input.properties.Stream.datasource.GatewayMessageBus.properties.topic", "options": ["topic"], "group": "Properties", "help": {"short": "The name of the Service Bus topic."}}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs", "options": ["microsoft-devices-iot-hubs"], "args": [{"nullable": true, "type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.consumerGroupName", "options": ["consumer-group-name"], "group": "Properties", "help": {"short": "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."}}, {"nullable": true, "type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.endpoint", "options": ["endpoint"], "group": "Properties", "help": {"short": "The IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents, etc.)."}}, {"nullable": true, "type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.iotHubNamespace", "options": ["iot-hub-namespace"], "group": "Properties", "help": {"short": "The name or the URI of the IoT Hub. Required on PUT (CreateOrReplace) requests."}}, {"nullable": true, "type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.sharedAccessPolicyKey", "options": ["shared-access-policy-key"], "group": "Properties", "help": {"short": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests."}}, {"nullable": true, "type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.sharedAccessPolicyName", "options": ["shared-access-policy-name"], "group": "Properties", "help": {"short": "The shared access policy name for the IoT Hub. This policy must contain at least the Service connect permission. Required on PUT (CreateOrReplace) requests."}}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions", "options": ["microsoft-event-grid-event-subscriptions"], "args": [{"nullable": true, "type": "array", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.eventTypes", "options": ["event-types"], "group": "Properties", "help": {"short": "List of Event Types that are supported by the Event Grid adapter."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.schema", "options": ["schema"], "group": "Properties", "help": {"short": "Indicates the Event Grid schema type."}, "enum": {"items": [{"name": "CloudEventSchema", "value": "CloudEventSchema"}, {"name": "EventGridEventSchema", "value": "EventGridEventSchema"}]}}, {"nullable": true, "type": "array<@StorageAccount_update>", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.storageAccounts", "options": ["storage-accounts"], "group": "Properties", "help": {"short": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests."}, "item": {"nullable": true, "type": "@StorageAccount_update"}}, {"nullable": true, "type": "object", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.subscriber", "options": ["subscriber"], "group": "Properties", "help": {"short": "Subscribers for the Event Grid. Currently only EventHub Subscriber is supported."}, "args": [{"nullable": true, "type": "@EventHubStreamInputDataSourceProperties_update", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.subscriber.properties", "options": ["properties"], "help": {"short": "The properties that are associated with an Event Hub input containing stream data. Required on PUT (CreateOrReplace) requests."}}]}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_EventHub_EventHub", "options": ["microsoft-event-hub-event-hub"], "args": [{"nullable": true, "type": "@EventHubStreamInputDataSourceProperties_update", "var": "$input.properties.Stream.datasource.Microsoft_EventHub_EventHub.properties", "options": ["properties"], "help": {"short": "The properties that are associated with an Event Hub input containing stream data. Required on PUT (CreateOrReplace) requests."}}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_ServiceBus_EventHub", "options": ["microsoft-service-bus-event-hub"], "args": [{"nullable": true, "type": "object", "var": "$input.properties.Stream.datasource.Microsoft_ServiceBus_EventHub.properties", "options": ["properties"], "help": {"short": "The properties that are associated with an Event Hub input containing stream data. Required on PUT (CreateOrReplace) requests."}, "args": [{"nullable": true, "type": "string", "var": "@EventHubStreamInputDataSourceProperties_update.authenticationMode", "options": ["authentication-mode"], "help": {"short": "Authentication Mode."}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}, {"nullable": true, "type": "string", "var": "@EventHubStreamInputDataSourceProperties_update.consumerGroupName", "options": ["consumer-group-name"], "help": {"short": "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."}}, {"nullable": true, "type": "string", "var": "@EventHubStreamInputDataSourceProperties_update.eventHubName", "options": ["event-hub-name"], "help": {"short": "The name of the Event Hub. Required on PUT (CreateOrReplace) requests."}}, {"nullable": true, "type": "integer32", "var": "@EventHubStreamInputDataSourceProperties_update.partitionCount", "options": ["partition-count"], "help": {"short": "The partition count of the event hub data source. Range 1 - 256."}}, {"nullable": true, "type": "integer32", "var": "@EventHubStreamInputDataSourceProperties_update.prefetchCount", "options": ["prefetch-count"], "help": {"short": "The number of messages that the message receiver can simultaneously request."}}, {"nullable": true, "type": "string", "var": "@EventHubStreamInputDataSourceProperties_update.serviceBusNamespace", "options": ["service-bus-namespace"], "help": {"short": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests."}}, {"nullable": true, "type": "string", "var": "@EventHubStreamInputDataSourceProperties_update.sharedAccessPolicyKey", "options": ["shared-access-policy-key"], "help": {"short": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests."}}, {"nullable": true, "type": "string", "var": "@EventHubStreamInputDataSourceProperties_update.sharedAccessPolicyName", "options": ["shared-access-policy-name"], "help": {"short": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests."}}], "cls": "EventHubStreamInputDataSourceProperties_update"}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob", "options": ["microsoft-storage-blob"], "args": [{"nullable": true, "type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.authenticationMode", "options": ["authentication-mode"], "group": "Properties", "help": {"short": "Authentication Mode."}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}, {"nullable": true, "type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.container", "options": ["container"], "group": "Properties", "help": {"short": "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."}}, {"nullable": true, "type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.dateFormat", "options": ["date-format"], "group": "Properties", "help": {"short": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead."}}, {"nullable": true, "type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.pathPattern", "options": ["path-pattern"], "group": "Properties", "help": {"short": "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."}}, {"nullable": true, "type": "integer32", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.sourcePartitionCount", "options": ["source-partition-count"], "group": "Properties", "help": {"short": "The partition count of the blob input data source. Range 1 - 1024."}}, {"nullable": true, "type": "array", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.storageAccounts", "options": ["storage-accounts"], "group": "Properties", "help": {"short": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@StorageAccount_update.accountKey", "options": ["account-key"], "help": {"short": "The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests."}}, {"nullable": true, "type": "string", "var": "@StorageAccount_update.accountName", "options": ["account-name"], "help": {"short": "The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests."}}, {"nullable": true, "type": "string", "var": "@StorageAccount_update.authenticationMode", "options": ["authentication-mode"], "help": {"short": "Authentication Mode."}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}], "cls": "StorageAccount_update"}}, {"nullable": true, "type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.timeFormat", "options": ["time-format"], "group": "Properties", "help": {"short": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead."}}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Raw", "options": ["raw"], "args": [{"nullable": true, "type": "object", "var": "$input.properties.Stream.datasource.Raw.properties", "options": ["properties"], "help": {"short": "The properties that are associated with a raw input. Required on PUT (CreateOrReplace) requests."}, "args": [{"nullable": true, "type": "string", "var": "@RawInputDatasourceProperties_update.payload", "options": ["payload"], "help": {"short": "The JSON serialized content of the input data. Either payload or payloadUri must be set, but not both. "}}, {"nullable": true, "type": "string", "var": "@RawInputDatasourceProperties_update.payloadUri", "options": ["payload-uri"], "help": {"short": "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."}}], "cls": "RawInputDatasourceProperties_update"}]}]}]}, {"nullable": true, "type": "object", "var": "$input.properties.compression", "options": ["compression"], "group": "Properties", "help": {"short": "Describes how input data is compressed"}, "args": [{"type": "string", "var": "$input.properties.compression.type", "options": ["type"], "help": {"short": "Indicates the type of compression that the input uses. Required on PUT (CreateOrReplace) requests."}, "enum": {"items": [{"name": "Deflate", "value": "Deflate"}, {"name": "GZip", "value": "GZip"}, {"name": "None", "value": "None"}]}}]}, {"nullable": true, "type": "string", "var": "$input.properties.partitionKey", "options": ["partition-key"], "group": "Properties", "help": {"short": "partitionKey Describes a key in the input data which is used for partitioning the input data"}}, {"nullable": true, "type": "object", "var": "$input.properties.serialization", "options": ["serialization"], "group": "Properties", "help": {"short": "Describes how data from an input is serialized or how data is serialized when written to an output. Required on PUT (CreateOrReplace) requests."}, "args": [{"blank": {"value": {}}, "type": "object", "var": "$input.properties.serialization.Avro", "options": ["avro"]}, {"type": "object", "var": "$input.properties.serialization.Csv", "options": ["csv"], "args": [{"nullable": true, "type": "string", "var": "$input.properties.serialization.Csv.properties.encoding", "options": ["encoding"], "group": "Properties", "help": {"short": "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."}, "enum": {"items": [{"name": "UTF8", "value": "UTF8"}]}}, {"nullable": true, "type": "string", "var": "$input.properties.serialization.Csv.properties.fieldDelimiter", "options": ["field-delimiter"], "group": "Properties", "help": {"short": "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."}}]}, {"type": "object", "var": "$input.properties.serialization.CustomClr", "options": ["custom-clr"], "args": [{"nullable": true, "type": "string", "var": "$input.properties.serialization.CustomClr.properties.serializationClassName", "options": ["serialization-class-name"], "group": "Properties", "help": {"short": "The serialization class name."}}, {"nullable": true, "type": "string", "var": "$input.properties.serialization.CustomClr.properties.serializationDllPath", "options": ["serialization-dll-path"], "group": "Properties", "help": {"short": "The serialization library path."}}]}, {"type": "object", "var": "$input.properties.serialization.Delta", "options": ["delta"], "args": [{"type": "string", "var": "$input.properties.serialization.Delta.properties.deltaTablePath", "options": ["delta-table-path"], "group": "Properties", "help": {"short": "Specifies the path of the Delta Lake table that the output will be written to."}}, {"nullable": true, "type": "array", "var": "$input.properties.serialization.Delta.properties.partitionColumns", "options": ["partition-columns"], "group": "Properties", "help": {"short": "Specifies the names of the columns for which the Delta Lake table will be partitioned. We are only supporting 1 partition column, but keeping it as an array for extensibility."}, "item": {"nullable": true, "type": "string"}}]}, {"type": "object", "var": "$input.properties.serialization.Json", "options": ["json"], "args": [{"nullable": true, "type": "string", "var": "$input.properties.serialization.Json.properties.encoding", "options": ["encoding"], "group": "Properties", "help": {"short": "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."}, "enum": {"items": [{"name": "UTF8", "value": "UTF8"}]}}, {"nullable": true, "type": "string", "var": "$input.properties.serialization.Json.properties.format", "options": ["format"], "group": "Properties", "help": {"short": "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."}, "enum": {"items": [{"name": "Array", "value": "Array"}, {"name": "LineSeparated", "value": "LineSeparated"}]}}]}, {"blank": {"value": {}}, "type": "object", "var": "$input.properties.serialization.Parquet", "options": ["parquet"]}]}, {"nullable": true, "type": "object", "var": "$input.properties.watermarkSettings", "options": ["watermark-settings"], "group": "Properties", "help": {"short": "Settings which determine whether to read watermark events."}, "args": [{"nullable": true, "type": "string", "var": "$input.properties.watermarkSettings.watermarkMode", "options": ["watermark-mode"], "help": {"short": "The input watermark mode."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "ReadWatermark", "value": "ReadWatermark"}]}}]}]}], "operations": [{"operationId": "Inputs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "inputName", "arg": "$Path.inputName", "required": true}, {"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourcegroups/{}/providers/Microsoft.StreamAnalytics/streamingjobs/{}/inputs/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "compression", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Deflate"}, {"value": "GZip"}, {"value": "None"}]}}]}, {"readOnly": true, "type": "object", "name": "diagnostics", "props": [{"readOnly": true, "type": "array", "name": "conditions", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "since"}]}}]}, {"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "partitionKey"}, {"type": "object", "name": "serialization", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Avro"}, {"value": "Csv"}, {"value": "CustomClr"}, {"value": "Delta"}, {"value": "Json"}, {"value": "Parquet"}]}}], "discriminators": [{"property": "type", "value": "Avro", "props": [{"type": "object", "name": "properties", "clientFlatten": true}]}, {"property": "type", "value": "Csv", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "encoding", "enum": {"items": [{"value": "UTF8"}]}}, {"type": "string", "name": "fieldDelimiter"}], "clientFlatten": true}]}, {"property": "type", "value": "CustomClr", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "serializationClassName"}, {"type": "string", "name": "serializationDllPath"}], "clientFlatten": true}]}, {"property": "type", "value": "Delta", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "deltaTablePath", "required": true}, {"type": "array", "name": "partitionColumns", "item": {"type": "string"}}], "clientFlatten": true}]}, {"property": "type", "value": "Json", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "encoding", "enum": {"items": [{"value": "UTF8"}]}}, {"type": "string", "name": "format", "enum": {"items": [{"value": "Array"}, {"value": "LineSeparated"}]}}], "clientFlatten": true}]}, {"property": "type", "value": "Parquet", "props": [{"type": "object", "name": "properties", "clientFlatten": true}]}]}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Reference"}, {"value": "Stream"}]}}, {"type": "object", "name": "watermarkSettings", "props": [{"type": "string", "name": "watermarkMode", "enum": {"items": [{"value": "None"}, {"value": "ReadWatermark"}]}}]}], "discriminators": [{"property": "type", "value": "Reference", "props": [{"type": "object", "name": "datasource", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "File"}, {"value": "Microsoft.Sql/Server/Database"}, {"value": "Microsoft.Storage/Blob"}, {"value": "Raw"}]}}], "discriminators": [{"property": "type", "value": "File", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "path"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Sql/Server/Database", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "database"}, {"type": "string", "name": "deltaSnapshotQuery"}, {"type": "string", "name": "fullSnapshotQuery"}, {"type": "string", "name": "password", "secret": true}, {"type": "string", "name": "refreshRate"}, {"type": "string", "name": "refreshType", "enum": {"items": [{"value": "RefreshPeriodicallyWithDelta"}, {"value": "RefreshPeriodicallyWithFull"}, {"value": "Static"}]}}, {"type": "string", "name": "server"}, {"type": "string", "name": "user"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Storage/Blob", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "blobName"}, {"type": "string", "name": "container"}, {"type": "string", "name": "dateFormat"}, {"type": "string", "name": "deltaPathPattern"}, {"type": "string", "name": "deltaSnapshotRefreshRate"}, {"type": "string", "name": "fullSnapshotRefreshRate"}, {"type": "string", "name": "pathPattern"}, {"type": "integer32", "name": "sourcePartitionCount"}, {"type": "array<@StorageAccount_read>", "name": "storageAccounts", "item": {"type": "@StorageAccount_read"}}, {"type": "string", "name": "timeFormat"}], "clientFlatten": true}]}, {"property": "type", "value": "Raw", "props": [{"type": "@RawInputDatasourceProperties_read", "name": "properties", "clientFlatten": true}]}]}]}, {"property": "type", "value": "Stream", "props": [{"type": "object", "name": "datasource", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "GatewayMessageBus"}, {"value": "Microsoft.Devices/IotHubs"}, {"value": "Microsoft.EventGrid/EventSubscriptions"}, {"value": "Microsoft.EventHub/EventHub"}, {"value": "Microsoft.ServiceBus/EventHub"}, {"value": "Microsoft.Storage/Blob"}, {"value": "Raw"}]}}], "discriminators": [{"property": "type", "value": "GatewayMessageBus", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "topic"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Devices/IotHubs", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "consumerGroupName"}, {"type": "string", "name": "endpoint"}, {"type": "string", "name": "iotHubNamespace"}, {"type": "string", "name": "sharedAccessPolicyKey", "secret": true}, {"type": "string", "name": "sharedAccessPolicyName"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.EventGrid/EventSubscriptions", "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "eventTypes", "item": {"type": "string"}}, {"type": "string", "name": "schema", "enum": {"items": [{"value": "CloudEventSchema"}, {"value": "EventGridEventSchema"}]}}, {"type": "array<@StorageAccount_read>", "name": "storageAccounts", "item": {"type": "@StorageAccount_read"}}, {"type": "object", "name": "subscriber", "props": [{"type": "@EventHubStreamInputDataSourceProperties_read", "name": "properties", "clientFlatten": true}]}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.EventHub/EventHub", "props": [{"type": "@EventHubStreamInputDataSourceProperties_read", "name": "properties", "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.ServiceBus/EventHub", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "consumerGroupName"}, {"type": "string", "name": "eventHubName"}, {"type": "integer32", "name": "partitionCount"}, {"type": "integer32", "name": "prefetchCount"}, {"type": "string", "name": "serviceBusNamespace"}, {"type": "string", "name": "sharedAccessPolicyKey", "secret": true}, {"type": "string", "name": "sharedAccessPolicyName"}], "cls": "EventHubStreamInputDataSourceProperties_read", "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Storage/Blob", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "container"}, {"type": "string", "name": "dateFormat"}, {"type": "string", "name": "pathPattern"}, {"type": "integer32", "name": "sourcePartitionCount"}, {"type": "array", "name": "storageAccounts", "item": {"type": "object", "props": [{"type": "string", "name": "accountKey", "secret": true}, {"type": "string", "name": "accountName"}, {"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}], "cls": "StorageAccount_read"}}, {"type": "string", "name": "timeFormat"}], "clientFlatten": true}]}, {"property": "type", "value": "Raw", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "payload"}, {"type": "string", "name": "payloadUri"}], "cls": "RawInputDatasourceProperties_read", "clientFlatten": true}]}]}]}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Input_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "input", "required": true, "props": [{"type": "string", "name": "name", "arg": "$Path.inputName"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "compression", "arg": "$input.properties.compression", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$input.properties.compression.type", "required": true, "enum": {"items": [{"value": "Deflate"}, {"value": "GZip"}, {"value": "None"}]}}]}, {"type": "string", "name": "partitionKey", "arg": "$input.properties.partitionKey"}, {"type": "object", "name": "serialization", "arg": "$input.properties.serialization", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$input.properties.serialization.Avro", "value": "Avro"}, {"arg": "$input.properties.serialization.Csv", "value": "Csv"}, {"arg": "$input.properties.serialization.CustomClr", "value": "CustomClr"}, {"arg": "$input.properties.serialization.Delta", "value": "Delta"}, {"arg": "$input.properties.serialization.Json", "value": "Json"}, {"arg": "$input.properties.serialization.Parquet", "value": "Parquet"}]}}], "discriminators": [{"property": "type", "value": "Avro", "props": [{"type": "object", "name": "properties", "clientFlatten": true}]}, {"property": "type", "value": "Csv", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "encoding", "arg": "$input.properties.serialization.Csv.properties.encoding", "enum": {"items": [{"value": "UTF8"}]}}, {"type": "string", "name": "fieldDelimiter", "arg": "$input.properties.serialization.Csv.properties.fieldDelimiter"}], "clientFlatten": true}]}, {"property": "type", "value": "CustomClr", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "serializationClassName", "arg": "$input.properties.serialization.CustomClr.properties.serializationClassName"}, {"type": "string", "name": "serializationDllPath", "arg": "$input.properties.serialization.CustomClr.properties.serializationDllPath"}], "clientFlatten": true}]}, {"property": "type", "value": "Delta", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "deltaTablePath", "arg": "$input.properties.serialization.Delta.properties.deltaTablePath", "required": true}, {"type": "array", "name": "partitionColumns", "arg": "$input.properties.serialization.Delta.properties.partitionColumns", "item": {"type": "string"}}], "clientFlatten": true}]}, {"property": "type", "value": "Json", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "encoding", "arg": "$input.properties.serialization.Json.properties.encoding", "enum": {"items": [{"value": "UTF8"}]}}, {"type": "string", "name": "format", "arg": "$input.properties.serialization.Json.properties.format", "enum": {"items": [{"value": "Array"}, {"value": "LineSeparated"}]}}], "clientFlatten": true}]}, {"property": "type", "value": "Parquet", "props": [{"type": "object", "name": "properties", "clientFlatten": true}]}]}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$input.properties.Reference", "value": "Reference"}, {"arg": "$input.properties.Stream", "value": "Stream"}]}}, {"type": "object", "name": "watermarkSettings", "arg": "$input.properties.watermarkSettings", "props": [{"type": "string", "name": "watermarkMode", "arg": "$input.properties.watermarkSettings.watermarkMode", "enum": {"items": [{"value": "None"}, {"value": "ReadWatermark"}]}}]}], "discriminators": [{"property": "type", "value": "Reference", "props": [{"type": "object", "name": "datasource", "arg": "$input.properties.Reference.datasource", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$input.properties.Reference.datasource.File", "value": "File"}, {"arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database", "value": "Microsoft.Sql/Server/Database"}, {"arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob", "value": "Microsoft.Storage/Blob"}, {"arg": "$input.properties.Reference.datasource.Raw", "value": "Raw"}]}}], "discriminators": [{"property": "type", "value": "File", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "path", "arg": "$input.properties.Reference.datasource.File.properties.path"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Sql/Server/Database", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "database", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.database"}, {"type": "string", "name": "deltaSnapshotQuery", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.deltaSnapshotQuery"}, {"type": "string", "name": "fullSnapshotQuery", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.fullSnapshotQuery"}, {"type": "string", "name": "password", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.password", "secret": true}, {"type": "string", "name": "refreshRate", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.refreshRate"}, {"type": "string", "name": "refreshType", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.refreshType", "enum": {"items": [{"value": "RefreshPeriodicallyWithDelta"}, {"value": "RefreshPeriodicallyWithFull"}, {"value": "Static"}]}}, {"type": "string", "name": "server", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.server"}, {"type": "string", "name": "user", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.user"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Storage/Blob", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "blobName", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.blobName"}, {"type": "string", "name": "container", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.container"}, {"type": "string", "name": "dateFormat", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.dateFormat"}, {"type": "string", "name": "deltaPathPattern", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.deltaPathPattern"}, {"type": "string", "name": "deltaSnapshotRefreshRate", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.deltaSnapshotRefreshRate"}, {"type": "string", "name": "fullSnapshotRefreshRate", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.fullSnapshotRefreshRate"}, {"type": "string", "name": "pathPattern", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.pathPattern"}, {"type": "integer32", "name": "sourcePartitionCount", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.sourcePartitionCount"}, {"type": "array<@StorageAccount_update>", "name": "storageAccounts", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.storageAccounts", "item": {"type": "@StorageAccount_update"}}, {"type": "string", "name": "timeFormat", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.timeFormat"}], "clientFlatten": true}]}, {"property": "type", "value": "Raw", "props": [{"type": "@RawInputDatasourceProperties_update", "name": "properties", "arg": "$input.properties.Reference.datasource.Raw.properties", "clientFlatten": true}]}]}]}, {"property": "type", "value": "Stream", "props": [{"type": "object", "name": "datasource", "arg": "$input.properties.Stream.datasource", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$input.properties.Stream.datasource.GatewayMessageBus", "value": "GatewayMessageBus"}, {"arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs", "value": "Microsoft.Devices/IotHubs"}, {"arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions", "value": "Microsoft.EventGrid/EventSubscriptions"}, {"arg": "$input.properties.Stream.datasource.Microsoft_EventHub_EventHub", "value": "Microsoft.EventHub/EventHub"}, {"arg": "$input.properties.Stream.datasource.Microsoft_ServiceBus_EventHub", "value": "Microsoft.ServiceBus/EventHub"}, {"arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob", "value": "Microsoft.Storage/Blob"}, {"arg": "$input.properties.Stream.datasource.Raw", "value": "Raw"}]}}], "discriminators": [{"property": "type", "value": "GatewayMessageBus", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "topic", "arg": "$input.properties.Stream.datasource.GatewayMessageBus.properties.topic"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Devices/IotHubs", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "consumerGroupName", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.consumerGroupName"}, {"type": "string", "name": "endpoint", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.endpoint"}, {"type": "string", "name": "iotHubNamespace", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.iotHubNamespace"}, {"type": "string", "name": "sharedAccessPolicyKey", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.sharedAccessPolicyKey", "secret": true}, {"type": "string", "name": "sharedAccessPolicyName", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.sharedAccessPolicyName"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.EventGrid/EventSubscriptions", "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "eventTypes", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.eventTypes", "item": {"type": "string"}}, {"type": "string", "name": "schema", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.schema", "enum": {"items": [{"value": "CloudEventSchema"}, {"value": "EventGridEventSchema"}]}}, {"type": "array<@StorageAccount_update>", "name": "storageAccounts", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.storageAccounts", "item": {"type": "@StorageAccount_update"}}, {"type": "object", "name": "subscriber", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.subscriber", "props": [{"type": "@EventHubStreamInputDataSourceProperties_update", "name": "properties", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.subscriber.properties", "clientFlatten": true}]}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.EventHub/EventHub", "props": [{"type": "@EventHubStreamInputDataSourceProperties_update", "name": "properties", "arg": "$input.properties.Stream.datasource.Microsoft_EventHub_EventHub.properties", "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.ServiceBus/EventHub", "props": [{"type": "object", "name": "properties", "arg": "$input.properties.Stream.datasource.Microsoft_ServiceBus_EventHub.properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "@EventHubStreamInputDataSourceProperties_update.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "consumerGroupName", "arg": "@EventHubStreamInputDataSourceProperties_update.consumerGroupName"}, {"type": "string", "name": "eventHubName", "arg": "@EventHubStreamInputDataSourceProperties_update.eventHubName"}, {"type": "integer32", "name": "partitionCount", "arg": "@EventHubStreamInputDataSourceProperties_update.partitionCount"}, {"type": "integer32", "name": "prefetchCount", "arg": "@EventHubStreamInputDataSourceProperties_update.prefetchCount"}, {"type": "string", "name": "serviceBusNamespace", "arg": "@EventHubStreamInputDataSourceProperties_update.serviceBusNamespace"}, {"type": "string", "name": "sharedAccessPolicyKey", "arg": "@EventHubStreamInputDataSourceProperties_update.sharedAccessPolicyKey", "secret": true}, {"type": "string", "name": "sharedAccessPolicyName", "arg": "@EventHubStreamInputDataSourceProperties_update.sharedAccessPolicyName"}], "cls": "EventHubStreamInputDataSourceProperties_update", "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Storage/Blob", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "container", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.container"}, {"type": "string", "name": "dateFormat", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.dateFormat"}, {"type": "string", "name": "pathPattern", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.pathPattern"}, {"type": "integer32", "name": "sourcePartitionCount", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.sourcePartitionCount"}, {"type": "array", "name": "storageAccounts", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.storageAccounts", "item": {"type": "object", "props": [{"type": "string", "name": "accountKey", "arg": "@StorageAccount_update.accountKey", "secret": true}, {"type": "string", "name": "accountName", "arg": "@StorageAccount_update.accountName"}, {"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "@StorageAccount_update.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}], "cls": "StorageAccount_update"}}, {"type": "string", "name": "timeFormat", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.timeFormat"}], "clientFlatten": true}]}, {"property": "type", "value": "Raw", "props": [{"type": "object", "name": "properties", "arg": "$input.properties.Stream.datasource.Raw.properties", "props": [{"type": "string", "name": "payload", "arg": "@RawInputDatasourceProperties_update.payload"}, {"type": "string", "name": "payloadUri", "arg": "@RawInputDatasourceProperties_update.payloadUri"}], "cls": "RawInputDatasourceProperties_update", "clientFlatten": true}]}]}]}]}], "clientFlatten": true}}}}, {"operationId": "Inputs_CreateOrReplace", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "inputName", "arg": "$Path.inputName", "required": true}, {"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}, {"type": "string", "name": "If-None-Match", "arg": "$Header.If-None-Match"}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "header": {"items": [{"name": "ETag"}]}, "body": {"json": {"var": "$Instance", "schema": {"type": "@Input_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30=/2021-10-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30=/2021-10-01-preview.xml new file mode 100644 index 000000000..706a80ba6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30=/2021-10-01-preview.xml @@ -0,0 +1,2280 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + +
+ +
+ +
+ + + + + +
+ + + + + + + +
+
+ +
+
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30vdGVzdA==/2021-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30vdGVzdA==/2021-10-01-preview.json new file mode 100644 index 000000000..1dce1b192 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30vdGVzdA==/2021-10-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.streamanalytics/streamingjobs/{}/inputs/{}/test", "version": "2021-10-01-preview", "swagger": "mgmt-plane/streamanalytics/ResourceProviders/Microsoft.StreamAnalytics/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RyZWFtQW5hbHl0aWNzL3N0cmVhbWluZ2pvYnMve2pvYk5hbWV9L2lucHV0cy97aW5wdXROYW1lfS90ZXN0/V/MjAyMS0xMC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "stream-analytics input", "commands": [{"name": "test", "version": "2021-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.streamanalytics/streamingjobs/{}/inputs/{}/test", "version": "2021-10-01-preview", "swagger": "mgmt-plane/streamanalytics/ResourceProviders/Microsoft.StreamAnalytics/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RyZWFtQW5hbHl0aWNzL3N0cmVhbWluZ2pvYnMve2pvYk5hbWV9L2lucHV0cy97aW5wdXROYW1lfS90ZXN0/V/MjAyMS0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.inputName", "options": ["input-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the input."}}, {"type": "string", "var": "$Path.jobName", "options": ["job-name"], "required": true, "idPart": "name", "help": {"short": "The name of the streaming job."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Input", "args": [{"type": "string", "var": "$input.name", "options": ["name"], "group": "Input", "help": {"short": "Resource name"}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$input.properties.Reference", "options": ["reference"], "group": "Properties", "args": [{"type": "object", "var": "$input.properties.Reference.datasource", "options": ["datasource"], "help": {"short": "Describes an input data source that contains reference data. Required on PUT (CreateOrReplace) requests."}, "args": [{"type": "object", "var": "$input.properties.Reference.datasource.File", "options": ["file"], "args": [{"type": "string", "var": "$input.properties.Reference.datasource.File.properties.path", "options": ["path"], "group": "Properties", "help": {"short": "The path of the file."}}]}, {"type": "object", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database", "options": ["microsoft-sql-server-database"], "args": [{"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.authenticationMode", "options": ["authentication-mode"], "group": "Properties", "help": {"short": "Authentication Mode."}, "default": {"value": "ConnectionString"}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.database", "options": ["database"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This is the name of the database that output will be written to."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.deltaSnapshotQuery", "options": ["delta-snapshot-query"], "group": "Properties", "help": {"short": "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."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.fullSnapshotQuery", "options": ["full-snapshot-query"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This query is used to fetch data from the sql database."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.password", "options": ["password"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This is the password that will be used to connect to the SQL Database instance."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.refreshRate", "options": ["refresh-rate"], "group": "Properties", "help": {"short": "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."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.refreshType", "options": ["refresh-type"], "group": "Properties", "help": {"short": "Indicates the type of data refresh option."}, "enum": {"items": [{"name": "RefreshPeriodicallyWithDelta", "value": "RefreshPeriodicallyWithDelta"}, {"name": "RefreshPeriodicallyWithFull", "value": "RefreshPeriodicallyWithFull"}, {"name": "Static", "value": "Static"}]}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.server", "options": ["server"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This is the name of the server that contains the database that will be written to."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.user", "options": ["user"], "group": "Properties", "help": {"short": "This element is associated with the datasource element. This is the user name that will be used to connect to the SQL Database instance."}}]}, {"type": "object", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob", "options": ["microsoft-storage-blob"], "args": [{"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.authenticationMode", "options": ["authentication-mode"], "group": "Properties", "help": {"short": "Authentication Mode."}, "default": {"value": "ConnectionString"}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.blobName", "options": ["blob-name"], "group": "Properties", "help": {"short": "The name of the blob input."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.container", "options": ["container"], "group": "Properties", "help": {"short": "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."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.dateFormat", "options": ["date-format"], "group": "Properties", "help": {"short": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.deltaPathPattern", "options": ["delta-path-pattern"], "group": "Properties", "help": {"short": "The path pattern of the delta snapshot."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.deltaSnapshotRefreshRate", "options": ["delta-snapshot-refresh-rate"], "group": "Properties", "help": {"short": "The interval that the user generates a delta snapshot of this reference blob input data source."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.fullSnapshotRefreshRate", "options": ["full-snapshot-refresh-rate"], "group": "Properties", "help": {"short": "The refresh interval of the blob input data source."}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.pathPattern", "options": ["path-pattern"], "group": "Properties", "help": {"short": "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."}}, {"type": "integer32", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.sourcePartitionCount", "options": ["source-partition-count"], "group": "Properties", "help": {"short": "The partition count of the blob input data source. Range 1 - 256."}}, {"type": "array<@StorageAccount_create>", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.storageAccounts", "options": ["storage-accounts"], "group": "Properties", "help": {"short": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests."}, "item": {"type": "@StorageAccount_create"}}, {"type": "string", "var": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.timeFormat", "options": ["time-format"], "group": "Properties", "help": {"short": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead."}}]}, {"type": "object", "var": "$input.properties.Reference.datasource.Raw", "options": ["raw"], "args": [{"type": "@RawInputDatasourceProperties_create", "var": "$input.properties.Reference.datasource.Raw.properties", "options": ["properties"], "help": {"short": "The properties that are associated with a raw input containing reference data. Required on PUT (CreateOrReplace) requests."}}]}]}]}, {"type": "object", "var": "$input.properties.Stream", "options": ["stream"], "group": "Properties", "args": [{"type": "object", "var": "$input.properties.Stream.datasource", "options": ["datasource"], "help": {"short": "Describes an input data source that contains stream data. Required on PUT (CreateOrReplace) requests."}, "args": [{"type": "object", "var": "$input.properties.Stream.datasource.GatewayMessageBus", "options": ["gateway-message-bus"], "args": [{"type": "string", "var": "$input.properties.Stream.datasource.GatewayMessageBus.properties.topic", "options": ["topic"], "group": "Properties", "help": {"short": "The name of the Service Bus topic."}}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs", "options": ["microsoft-devices-iot-hubs"], "args": [{"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.consumerGroupName", "options": ["consumer-group-name"], "group": "Properties", "help": {"short": "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."}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.endpoint", "options": ["endpoint"], "group": "Properties", "help": {"short": "The IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents, etc.)."}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.iotHubNamespace", "options": ["iot-hub-namespace"], "group": "Properties", "help": {"short": "The name or the URI of the IoT Hub. Required on PUT (CreateOrReplace) requests."}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.sharedAccessPolicyKey", "options": ["shared-access-policy-key"], "group": "Properties", "help": {"short": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests."}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.sharedAccessPolicyName", "options": ["shared-access-policy-name"], "group": "Properties", "help": {"short": "The shared access policy name for the IoT Hub. This policy must contain at least the Service connect permission. Required on PUT (CreateOrReplace) requests."}}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions", "options": ["microsoft-event-grid-event-subscriptions"], "args": [{"type": "array", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.eventTypes", "options": ["event-types"], "group": "Properties", "help": {"short": "List of Event Types that are supported by the Event Grid adapter."}, "item": {"type": "string"}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.schema", "options": ["schema"], "group": "Properties", "help": {"short": "Indicates the Event Grid schema type."}, "enum": {"items": [{"name": "CloudEventSchema", "value": "CloudEventSchema"}, {"name": "EventGridEventSchema", "value": "EventGridEventSchema"}]}}, {"type": "array<@StorageAccount_create>", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.storageAccounts", "options": ["storage-accounts"], "group": "Properties", "help": {"short": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests."}, "item": {"type": "@StorageAccount_create"}}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.subscriber", "options": ["subscriber"], "group": "Properties", "help": {"short": "Subscribers for the Event Grid. Currently only EventHub Subscriber is supported."}, "args": [{"type": "@EventHubStreamInputDataSourceProperties_create", "var": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.subscriber.properties", "options": ["properties"], "help": {"short": "The properties that are associated with an Event Hub input containing stream data. Required on PUT (CreateOrReplace) requests."}}]}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_EventHub_EventHub", "options": ["microsoft-event-hub-event-hub"], "args": [{"type": "@EventHubStreamInputDataSourceProperties_create", "var": "$input.properties.Stream.datasource.Microsoft_EventHub_EventHub.properties", "options": ["properties"], "help": {"short": "The properties that are associated with an Event Hub input containing stream data. Required on PUT (CreateOrReplace) requests."}}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_ServiceBus_EventHub", "options": ["microsoft-service-bus-event-hub"], "args": [{"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_ServiceBus_EventHub.properties", "options": ["properties"], "help": {"short": "The properties that are associated with an Event Hub input containing stream data. Required on PUT (CreateOrReplace) requests."}, "args": [{"type": "string", "var": "@EventHubStreamInputDataSourceProperties_create.authenticationMode", "options": ["authentication-mode"], "help": {"short": "Authentication Mode."}, "default": {"value": "ConnectionString"}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}, {"type": "string", "var": "@EventHubStreamInputDataSourceProperties_create.consumerGroupName", "options": ["consumer-group-name"], "help": {"short": "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."}}, {"type": "string", "var": "@EventHubStreamInputDataSourceProperties_create.eventHubName", "options": ["event-hub-name"], "help": {"short": "The name of the Event Hub. Required on PUT (CreateOrReplace) requests."}}, {"type": "integer32", "var": "@EventHubStreamInputDataSourceProperties_create.partitionCount", "options": ["partition-count"], "help": {"short": "The partition count of the event hub data source. Range 1 - 256."}}, {"type": "integer32", "var": "@EventHubStreamInputDataSourceProperties_create.prefetchCount", "options": ["prefetch-count"], "help": {"short": "The number of messages that the message receiver can simultaneously request."}}, {"type": "string", "var": "@EventHubStreamInputDataSourceProperties_create.serviceBusNamespace", "options": ["service-bus-namespace"], "help": {"short": "The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests."}}, {"type": "string", "var": "@EventHubStreamInputDataSourceProperties_create.sharedAccessPolicyKey", "options": ["shared-access-policy-key"], "help": {"short": "The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests."}}, {"type": "string", "var": "@EventHubStreamInputDataSourceProperties_create.sharedAccessPolicyName", "options": ["shared-access-policy-name"], "help": {"short": "The shared access policy name for the Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests."}}], "cls": "EventHubStreamInputDataSourceProperties_create"}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob", "options": ["microsoft-storage-blob"], "args": [{"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.authenticationMode", "options": ["authentication-mode"], "group": "Properties", "help": {"short": "Authentication Mode."}, "default": {"value": "ConnectionString"}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.container", "options": ["container"], "group": "Properties", "help": {"short": "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."}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.dateFormat", "options": ["date-format"], "group": "Properties", "help": {"short": "The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead."}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.pathPattern", "options": ["path-pattern"], "group": "Properties", "help": {"short": "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."}}, {"type": "integer32", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.sourcePartitionCount", "options": ["source-partition-count"], "group": "Properties", "help": {"short": "The partition count of the blob input data source. Range 1 - 1024."}}, {"type": "array", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.storageAccounts", "options": ["storage-accounts"], "group": "Properties", "help": {"short": "A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests."}, "item": {"type": "object", "args": [{"type": "string", "var": "@StorageAccount_create.accountKey", "options": ["account-key"], "help": {"short": "The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests."}}, {"type": "string", "var": "@StorageAccount_create.accountName", "options": ["account-name"], "help": {"short": "The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests."}}, {"type": "string", "var": "@StorageAccount_create.authenticationMode", "options": ["authentication-mode"], "help": {"short": "Authentication Mode."}, "default": {"value": "ConnectionString"}, "enum": {"items": [{"name": "ConnectionString", "value": "ConnectionString"}, {"name": "Msi", "value": "Msi"}, {"name": "UserToken", "value": "UserToken"}]}}], "cls": "StorageAccount_create"}}, {"type": "string", "var": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.timeFormat", "options": ["time-format"], "group": "Properties", "help": {"short": "The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead."}}]}, {"type": "object", "var": "$input.properties.Stream.datasource.Raw", "options": ["raw"], "args": [{"type": "object", "var": "$input.properties.Stream.datasource.Raw.properties", "options": ["properties"], "help": {"short": "The properties that are associated with a raw input. Required on PUT (CreateOrReplace) requests."}, "args": [{"type": "string", "var": "@RawInputDatasourceProperties_create.payload", "options": ["payload"], "help": {"short": "The JSON serialized content of the input data. Either payload or payloadUri must be set, but not both. "}}, {"type": "string", "var": "@RawInputDatasourceProperties_create.payloadUri", "options": ["payload-uri"], "help": {"short": "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."}}], "cls": "RawInputDatasourceProperties_create"}]}]}]}, {"type": "object", "var": "$input.properties.compression", "options": ["compression"], "group": "Properties", "help": {"short": "Describes how input data is compressed"}, "args": [{"type": "string", "var": "$input.properties.compression.type", "options": ["type"], "required": true, "help": {"short": "Indicates the type of compression that the input uses. Required on PUT (CreateOrReplace) requests."}, "default": {"value": "None"}, "enum": {"items": [{"name": "Deflate", "value": "Deflate"}, {"name": "GZip", "value": "GZip"}, {"name": "None", "value": "None"}]}}]}, {"type": "string", "var": "$input.properties.partitionKey", "options": ["partition-key"], "group": "Properties", "help": {"short": "partitionKey Describes a key in the input data which is used for partitioning the input data"}}, {"type": "object", "var": "$input.properties.serialization", "options": ["serialization"], "group": "Properties", "help": {"short": "Describes how data from an input is serialized or how data is serialized when written to an output. Required on PUT (CreateOrReplace) requests."}, "args": [{"blank": {"value": {}}, "type": "object", "var": "$input.properties.serialization.Avro", "options": ["avro"]}, {"type": "object", "var": "$input.properties.serialization.Csv", "options": ["csv"], "args": [{"type": "string", "var": "$input.properties.serialization.Csv.properties.encoding", "options": ["encoding"], "group": "Properties", "help": {"short": "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."}, "enum": {"items": [{"name": "UTF8", "value": "UTF8"}]}}, {"type": "string", "var": "$input.properties.serialization.Csv.properties.fieldDelimiter", "options": ["field-delimiter"], "group": "Properties", "help": {"short": "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."}}]}, {"type": "object", "var": "$input.properties.serialization.CustomClr", "options": ["custom-clr"], "args": [{"type": "string", "var": "$input.properties.serialization.CustomClr.properties.serializationClassName", "options": ["serialization-class-name"], "group": "Properties", "help": {"short": "The serialization class name."}}, {"type": "string", "var": "$input.properties.serialization.CustomClr.properties.serializationDllPath", "options": ["serialization-dll-path"], "group": "Properties", "help": {"short": "The serialization library path."}}]}, {"type": "object", "var": "$input.properties.serialization.Delta", "options": ["delta"], "args": [{"type": "string", "var": "$input.properties.serialization.Delta.properties.deltaTablePath", "options": ["delta-table-path"], "group": "Properties", "help": {"short": "Specifies the path of the Delta Lake table that the output will be written to."}}, {"type": "array", "var": "$input.properties.serialization.Delta.properties.partitionColumns", "options": ["partition-columns"], "group": "Properties", "help": {"short": "Specifies the names of the columns for which the Delta Lake table will be partitioned. We are only supporting 1 partition column, but keeping it as an array for extensibility."}, "item": {"type": "string"}}]}, {"type": "object", "var": "$input.properties.serialization.Json", "options": ["json"], "args": [{"type": "string", "var": "$input.properties.serialization.Json.properties.encoding", "options": ["encoding"], "group": "Properties", "help": {"short": "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."}, "enum": {"items": [{"name": "UTF8", "value": "UTF8"}]}}, {"type": "string", "var": "$input.properties.serialization.Json.properties.format", "options": ["format"], "group": "Properties", "help": {"short": "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."}, "enum": {"items": [{"name": "Array", "value": "Array"}, {"name": "LineSeparated", "value": "LineSeparated"}]}}]}, {"blank": {"value": {}}, "type": "object", "var": "$input.properties.serialization.Parquet", "options": ["parquet"]}]}, {"type": "object", "var": "$input.properties.watermarkSettings", "options": ["watermark-settings"], "group": "Properties", "help": {"short": "Settings which determine whether to read watermark events."}, "args": [{"type": "string", "var": "$input.properties.watermarkSettings.watermarkMode", "options": ["watermark-mode"], "help": {"short": "The input watermark mode."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "ReadWatermark", "value": "ReadWatermark"}]}}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Inputs_Test", "http": {"path": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/streamingjobs/{jobName}/inputs/{inputName}/test", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "inputName", "arg": "$Path.inputName", "required": true}, {"type": "string", "name": "jobName", "arg": "$Path.jobName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2021-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "input", "props": [{"type": "string", "name": "name", "arg": "$input.name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "compression", "arg": "$input.properties.compression", "props": [{"default": {"value": "None"}, "type": "string", "name": "type", "arg": "$input.properties.compression.type", "required": true, "enum": {"items": [{"value": "Deflate"}, {"value": "GZip"}, {"value": "None"}]}}]}, {"type": "string", "name": "partitionKey", "arg": "$input.properties.partitionKey"}, {"type": "object", "name": "serialization", "arg": "$input.properties.serialization", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$input.properties.serialization.Avro", "value": "Avro"}, {"arg": "$input.properties.serialization.Csv", "value": "Csv"}, {"arg": "$input.properties.serialization.CustomClr", "value": "CustomClr"}, {"arg": "$input.properties.serialization.Delta", "value": "Delta"}, {"arg": "$input.properties.serialization.Json", "value": "Json"}, {"arg": "$input.properties.serialization.Parquet", "value": "Parquet"}]}}], "discriminators": [{"property": "type", "value": "Avro", "props": [{"type": "object", "name": "properties", "clientFlatten": true}]}, {"property": "type", "value": "Csv", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "encoding", "arg": "$input.properties.serialization.Csv.properties.encoding", "enum": {"items": [{"value": "UTF8"}]}}, {"type": "string", "name": "fieldDelimiter", "arg": "$input.properties.serialization.Csv.properties.fieldDelimiter"}], "clientFlatten": true}]}, {"property": "type", "value": "CustomClr", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "serializationClassName", "arg": "$input.properties.serialization.CustomClr.properties.serializationClassName"}, {"type": "string", "name": "serializationDllPath", "arg": "$input.properties.serialization.CustomClr.properties.serializationDllPath"}], "clientFlatten": true}]}, {"property": "type", "value": "Delta", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "deltaTablePath", "arg": "$input.properties.serialization.Delta.properties.deltaTablePath", "required": true}, {"type": "array", "name": "partitionColumns", "arg": "$input.properties.serialization.Delta.properties.partitionColumns", "item": {"type": "string"}}], "clientFlatten": true}]}, {"property": "type", "value": "Json", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "encoding", "arg": "$input.properties.serialization.Json.properties.encoding", "enum": {"items": [{"value": "UTF8"}]}}, {"type": "string", "name": "format", "arg": "$input.properties.serialization.Json.properties.format", "enum": {"items": [{"value": "Array"}, {"value": "LineSeparated"}]}}], "clientFlatten": true}]}, {"property": "type", "value": "Parquet", "props": [{"type": "object", "name": "properties", "clientFlatten": true}]}]}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$input.properties.Reference", "value": "Reference"}, {"arg": "$input.properties.Stream", "value": "Stream"}]}}, {"type": "object", "name": "watermarkSettings", "arg": "$input.properties.watermarkSettings", "props": [{"type": "string", "name": "watermarkMode", "arg": "$input.properties.watermarkSettings.watermarkMode", "enum": {"items": [{"value": "None"}, {"value": "ReadWatermark"}]}}]}], "discriminators": [{"property": "type", "value": "Reference", "props": [{"type": "object", "name": "datasource", "arg": "$input.properties.Reference.datasource", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$input.properties.Reference.datasource.File", "value": "File"}, {"arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database", "value": "Microsoft.Sql/Server/Database"}, {"arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob", "value": "Microsoft.Storage/Blob"}, {"arg": "$input.properties.Reference.datasource.Raw", "value": "Raw"}]}}], "discriminators": [{"property": "type", "value": "File", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "path", "arg": "$input.properties.Reference.datasource.File.properties.path"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Sql/Server/Database", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "database", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.database"}, {"type": "string", "name": "deltaSnapshotQuery", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.deltaSnapshotQuery"}, {"type": "string", "name": "fullSnapshotQuery", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.fullSnapshotQuery"}, {"type": "string", "name": "password", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.password", "secret": true}, {"type": "string", "name": "refreshRate", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.refreshRate"}, {"type": "string", "name": "refreshType", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.refreshType", "enum": {"items": [{"value": "RefreshPeriodicallyWithDelta"}, {"value": "RefreshPeriodicallyWithFull"}, {"value": "Static"}]}}, {"type": "string", "name": "server", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.server"}, {"type": "string", "name": "user", "arg": "$input.properties.Reference.datasource.Microsoft_Sql_Server_Database.properties.user"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Storage/Blob", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "blobName", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.blobName"}, {"type": "string", "name": "container", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.container"}, {"type": "string", "name": "dateFormat", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.dateFormat"}, {"type": "string", "name": "deltaPathPattern", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.deltaPathPattern"}, {"type": "string", "name": "deltaSnapshotRefreshRate", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.deltaSnapshotRefreshRate"}, {"type": "string", "name": "fullSnapshotRefreshRate", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.fullSnapshotRefreshRate"}, {"type": "string", "name": "pathPattern", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.pathPattern"}, {"type": "integer32", "name": "sourcePartitionCount", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.sourcePartitionCount"}, {"type": "array<@StorageAccount_create>", "name": "storageAccounts", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.storageAccounts", "item": {"type": "@StorageAccount_create"}}, {"type": "string", "name": "timeFormat", "arg": "$input.properties.Reference.datasource.Microsoft_Storage_Blob.properties.timeFormat"}], "clientFlatten": true}]}, {"property": "type", "value": "Raw", "props": [{"type": "@RawInputDatasourceProperties_create", "name": "properties", "arg": "$input.properties.Reference.datasource.Raw.properties", "clientFlatten": true}]}]}]}, {"property": "type", "value": "Stream", "props": [{"type": "object", "name": "datasource", "arg": "$input.properties.Stream.datasource", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$input.properties.Stream.datasource.GatewayMessageBus", "value": "GatewayMessageBus"}, {"arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs", "value": "Microsoft.Devices/IotHubs"}, {"arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions", "value": "Microsoft.EventGrid/EventSubscriptions"}, {"arg": "$input.properties.Stream.datasource.Microsoft_EventHub_EventHub", "value": "Microsoft.EventHub/EventHub"}, {"arg": "$input.properties.Stream.datasource.Microsoft_ServiceBus_EventHub", "value": "Microsoft.ServiceBus/EventHub"}, {"arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob", "value": "Microsoft.Storage/Blob"}, {"arg": "$input.properties.Stream.datasource.Raw", "value": "Raw"}]}}], "discriminators": [{"property": "type", "value": "GatewayMessageBus", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "topic", "arg": "$input.properties.Stream.datasource.GatewayMessageBus.properties.topic"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Devices/IotHubs", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "consumerGroupName", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.consumerGroupName"}, {"type": "string", "name": "endpoint", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.endpoint"}, {"type": "string", "name": "iotHubNamespace", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.iotHubNamespace"}, {"type": "string", "name": "sharedAccessPolicyKey", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.sharedAccessPolicyKey", "secret": true}, {"type": "string", "name": "sharedAccessPolicyName", "arg": "$input.properties.Stream.datasource.Microsoft_Devices_IotHubs.properties.sharedAccessPolicyName"}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.EventGrid/EventSubscriptions", "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "eventTypes", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.eventTypes", "item": {"type": "string"}}, {"type": "string", "name": "schema", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.schema", "enum": {"items": [{"value": "CloudEventSchema"}, {"value": "EventGridEventSchema"}]}}, {"type": "array<@StorageAccount_create>", "name": "storageAccounts", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.storageAccounts", "item": {"type": "@StorageAccount_create"}}, {"type": "object", "name": "subscriber", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.subscriber", "props": [{"type": "@EventHubStreamInputDataSourceProperties_create", "name": "properties", "arg": "$input.properties.Stream.datasource.Microsoft_EventGrid_EventSubscriptions.properties.subscriber.properties", "clientFlatten": true}]}], "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.EventHub/EventHub", "props": [{"type": "@EventHubStreamInputDataSourceProperties_create", "name": "properties", "arg": "$input.properties.Stream.datasource.Microsoft_EventHub_EventHub.properties", "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.ServiceBus/EventHub", "props": [{"type": "object", "name": "properties", "arg": "$input.properties.Stream.datasource.Microsoft_ServiceBus_EventHub.properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "@EventHubStreamInputDataSourceProperties_create.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "consumerGroupName", "arg": "@EventHubStreamInputDataSourceProperties_create.consumerGroupName"}, {"type": "string", "name": "eventHubName", "arg": "@EventHubStreamInputDataSourceProperties_create.eventHubName"}, {"type": "integer32", "name": "partitionCount", "arg": "@EventHubStreamInputDataSourceProperties_create.partitionCount"}, {"type": "integer32", "name": "prefetchCount", "arg": "@EventHubStreamInputDataSourceProperties_create.prefetchCount"}, {"type": "string", "name": "serviceBusNamespace", "arg": "@EventHubStreamInputDataSourceProperties_create.serviceBusNamespace"}, {"type": "string", "name": "sharedAccessPolicyKey", "arg": "@EventHubStreamInputDataSourceProperties_create.sharedAccessPolicyKey", "secret": true}, {"type": "string", "name": "sharedAccessPolicyName", "arg": "@EventHubStreamInputDataSourceProperties_create.sharedAccessPolicyName"}], "cls": "EventHubStreamInputDataSourceProperties_create", "clientFlatten": true}]}, {"property": "type", "value": "Microsoft.Storage/Blob", "props": [{"type": "object", "name": "properties", "props": [{"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}, {"type": "string", "name": "container", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.container"}, {"type": "string", "name": "dateFormat", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.dateFormat"}, {"type": "string", "name": "pathPattern", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.pathPattern"}, {"type": "integer32", "name": "sourcePartitionCount", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.sourcePartitionCount"}, {"type": "array", "name": "storageAccounts", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.storageAccounts", "item": {"type": "object", "props": [{"type": "string", "name": "accountKey", "arg": "@StorageAccount_create.accountKey", "secret": true}, {"type": "string", "name": "accountName", "arg": "@StorageAccount_create.accountName"}, {"default": {"value": "ConnectionString"}, "type": "string", "name": "authenticationMode", "arg": "@StorageAccount_create.authenticationMode", "enum": {"items": [{"value": "ConnectionString"}, {"value": "Msi"}, {"value": "UserToken"}]}}], "cls": "StorageAccount_create"}}, {"type": "string", "name": "timeFormat", "arg": "$input.properties.Stream.datasource.Microsoft_Storage_Blob.properties.timeFormat"}], "clientFlatten": true}]}, {"property": "type", "value": "Raw", "props": [{"type": "object", "name": "properties", "arg": "$input.properties.Stream.datasource.Raw.properties", "props": [{"type": "string", "name": "payload", "arg": "@RawInputDatasourceProperties_create.payload"}, {"type": "string", "name": "payloadUri", "arg": "@RawInputDatasourceProperties_create.payloadUri"}], "cls": "RawInputDatasourceProperties_create", "clientFlatten": true}]}]}]}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "object", "name": "error", "props": [{"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "string", "name": "message"}]}, {"readOnly": true, "type": "string", "name": "status"}]}}}}, {"statusCode": [202]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30vdGVzdA==/2021-10-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30vdGVzdA==/2021-10-01-preview.xml new file mode 100644 index 000000000..60469cb75 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdHJlYW1hbmFseXRpY3Mvc3RyZWFtaW5nam9icy97fS9pbnB1dHMve30vdGVzdA==/2021-10-01-preview.xml @@ -0,0 +1,660 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +