From b46c7473bf840fb320a7836393e2047133a53c26 Mon Sep 17 00:00:00 2001 From: Roslyn Lu Date: Tue, 21 Jun 2022 20:28:24 -0700 Subject: [PATCH 1/7] update enum name --- .../preview/2021-10-01-preview/streamingjobs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/streamingjobs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/streamingjobs.json index bf56d8b827a6..d3b2ed7428dc 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/streamingjobs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/streamingjobs.json @@ -1007,7 +1007,7 @@ "Nonblocking" ], "x-ms-enum": { - "name": "RefreshType", + "name": "UpdatableUdfRefreshType", "modelAsString": true } } From 93b96fd2e9b0968bba46009c8395f6f95ab1d835 Mon Sep 17 00:00:00 2001 From: Roslyn Lu Date: Thu, 23 Jun 2022 17:34:30 -0700 Subject: [PATCH 2/7] update cluster max size and add default values --- .../Microsoft.StreamAnalytics/common/v1/definitions.json | 3 ++- .../preview/2020-03-01-preview/clusters.json | 2 +- .../preview/2021-10-01-preview/inputs.json | 3 ++- .../preview/2021-10-01-preview/transformations.json | 3 ++- .../Microsoft.StreamAnalytics/stable/2020-03-01/clusters.json | 2 +- .../Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json | 3 ++- .../stable/2020-03-01/transformations.json | 3 ++- 7 files changed, 12 insertions(+), 7 deletions(-) diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/common/v1/definitions.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/common/v1/definitions.json index 632741319486..cbaaec913549 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/common/v1/definitions.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/common/v1/definitions.json @@ -35,7 +35,8 @@ "x-ms-enum": { "name": "AuthenticationMode", "modelAsString": true - } + }, + "default": "ConnectionString" }, "Resource": { "type": "object", diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/clusters.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/clusters.json index c06405bb7968..1d1740c1541c 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/clusters.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/clusters.json @@ -498,7 +498,7 @@ "type": "integer", "format": "int32", "minimum": 36, - "maximum": 216 + "maximum": 396 } } }, diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/inputs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/inputs.json index 4a246448c8da..14f82f106a50 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/inputs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/inputs.json @@ -1185,7 +1185,8 @@ "x-ms-enum": { "name": "CompressionType", "modelAsString": true - } + }, + "default": "None" }, "AzureSqlReferenceInputDataSource": { "type": "object", diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/transformations.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/transformations.json index ea984fd8c45c..91763726ec02 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/transformations.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/transformations.json @@ -261,7 +261,8 @@ "streamingUnits": { "type": "integer", "format": "int32", - "description": "Specifies the number of streaming units that the streaming job uses." + "description": "Specifies the number of streaming units that the streaming job uses.", + "default": 3 }, "validStreamingUnits": { "type": "array", diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/clusters.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/clusters.json index 3ae5ccff6c58..7ec5dcafdb4f 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/clusters.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/clusters.json @@ -505,7 +505,7 @@ "type": "integer", "format": "int32", "minimum": 36, - "maximum": 216 + "maximum": 396 } } }, diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json index 0588368d5806..6882561e1e3e 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json @@ -1060,7 +1060,8 @@ "x-ms-enum": { "name": "CompressionType", "modelAsString": true - } + }, + "default": "None" }, "AzureSqlReferenceInputDataSource": { "type": "object", diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/transformations.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/transformations.json index c62eea89d688..f10accae8fb4 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/transformations.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/transformations.json @@ -261,7 +261,8 @@ "streamingUnits": { "type": "integer", "format": "int32", - "description": "Specifies the number of streaming units that the streaming job uses." + "description": "Specifies the number of streaming units that the streaming job uses.", + "default": 3 }, "validStreamingUnits": { "type": "array", From 09e5d70895e5dd03c6fb677f608740cd2abf852d Mon Sep 17 00:00:00 2001 From: Roslyn Lu Date: Thu, 23 Jun 2022 17:47:29 -0700 Subject: [PATCH 3/7] add gateway message bus --- .../stable/2020-03-01/inputs.json | 39 +++++++++++++++++++ .../stable/2020-03-01/outputs.json | 29 ++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json index 6882561e1e3e..f96c5024e19e 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json @@ -52,6 +52,9 @@ }, "Create a stream IoT Hub input with Avro serialization": { "$ref": "./examples/Input_Create_Stream_IoTHub_Avro.json" + }, + "Create a Gateway Message Bus input": { + "$ref": "./examples/Input_Create_GatewayMessageBus.json" } }, "parameters": [ @@ -1124,6 +1127,42 @@ } } }, + "GatewayMessageBusStreamInputDataSource": { + "description": "Describes a blob input data source that contains stream data.", + "type": "object", + "x-ms-discriminator-value": "GatewayMessageBus", + "allOf": [ + { + "$ref": "#/definitions/StreamInputDataSource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/GatewayMessageBusStreamInputDataSourceProperties", + "description": "The properties that are associated with a gateway message bus input containing stream data.", + "x-ms-client-flatten": true + } + } + }, + "GatewayMessageBusStreamInputDataSourceProperties": { + "description": "The properties that are associated with a gateway message bus input containing stream data.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/GatewayMessageBusSourceProperties" + } + ] + }, + "GatewayMessageBusSourceProperties": { + "description": "The properties that are associated with a gateway message bus datasource.", + "type": "object", + "properties": { + "topic": { + "type": "string", + "description": "The name of the Service Bus topic." + } + } + }, "RefreshType": { "type": "string", "description": "Indicates the type of data refresh option.", diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/outputs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/outputs.json index 1e5ac0667c8e..5c5db49b3e65 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/outputs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/outputs.json @@ -73,6 +73,9 @@ }, "Create an Azure Data Lake Store output with JSON serialization": { "$ref": "./examples/Output_Create_AzureDataLakeStore_JSON.json" + }, + "Create a Gateway Message Bus output": { + "$ref": "./examples/Output_Create_GatewayMessageBus.json" } }, "parameters": [ @@ -1041,6 +1044,32 @@ } } }, + "GatewayMessageBusOutputDataSource": { + "type": "object", + "description": "Describes a Gateway Message Bus output data source.", + "x-ms-discriminator-value": "GatewayMessageBus", + "allOf": [ + { + "$ref": "#/definitions/OutputDataSource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/GatewayMessageBusOutputDataSourceProperties", + "description": "The properties that are associated with a Gateway Message Bus output. Required on PUT (CreateOrReplace) requests.", + "x-ms-client-flatten": true + } + } + }, + "GatewayMessageBusOutputDataSourceProperties": { + "type": "object", + "description": "The properties that are associated with a Gateway Message Bus.", + "allOf": [ + { + "$ref": "./inputs.json#/definitions/GatewayMessageBusSourceProperties" + } + ] + }, "OutputListResult": { "type": "object", "properties": { From 6cb4bb59b57e38dc2e96ef588663893cbf6a543c Mon Sep 17 00:00:00 2001 From: Roslyn Lu Date: Thu, 23 Jun 2022 17:48:59 -0700 Subject: [PATCH 4/7] tenantId and principalId to readonly --- .../preview/2021-10-01-preview/streamingjobs.json | 6 ++++-- .../stable/2020-03-01/streamingjobs.json | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/streamingjobs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/streamingjobs.json index d3b2ed7428dc..55fcf3c27d72 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/streamingjobs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/streamingjobs.json @@ -936,11 +936,13 @@ "properties": { "tenantId": { "type": "string", - "description": "The tenantId of the identity." + "description": "The tenantId of the identity.", + "readOnly": true }, "principalId": { "type": "string", - "description": "The principalId of the identity." + "description": "The principalId of the identity.", + "readOnly": true }, "type": { "type": "string", diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/streamingjobs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/streamingjobs.json index 5ffcdc4a0348..8ac7fcbb86e9 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/streamingjobs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/streamingjobs.json @@ -935,11 +935,13 @@ "properties": { "tenantId": { "type": "string", - "description": "The identity tenantId" + "description": "The identity tenantId", + "readOnly": true }, "principalId": { "type": "string", - "description": "The identity principal ID" + "description": "The identity principal ID", + "readOnly": true }, "type": { "type": "string", From 9d7a59c4ee9822c6bbd93839d10aed2eb4433de5 Mon Sep 17 00:00:00 2001 From: Roslyn Lu Date: Thu, 23 Jun 2022 19:53:43 -0700 Subject: [PATCH 5/7] add blobpathprefix --- .../stable/2020-03-01/outputs.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/outputs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/outputs.json index 5c5db49b3e65..51845944f6fd 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/outputs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/outputs.json @@ -570,7 +570,13 @@ { "$ref": "./inputs.json#/definitions/BlobDataSourceProperties" } - ] + ], + "properties": { + "blobPathPrefix": { + "type": "string", + "description": "Blob path prefix." + } + } }, "AzureTableOutputDataSource": { "type": "object", From 6e12733feda144af3ef43f66483a69c14d454d9b Mon Sep 17 00:00:00 2001 From: Roslyn Lu Date: Thu, 23 Jun 2022 19:54:39 -0700 Subject: [PATCH 6/7] add file ref input --- .../examples/Input_Create_Reference_File.json | 60 +++++++++++++++++++ .../preview/2021-10-01-preview/inputs.json | 30 ++++++++++ .../examples/Input_Create_Reference_File.json | 60 +++++++++++++++++++ .../stable/2020-03-01/inputs.json | 30 ++++++++++ 4 files changed, 180 insertions(+) create mode 100644 specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Create_Reference_File.json create mode 100644 specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Reference_File.json diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Create_Reference_File.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Create_Reference_File.json new file mode 100644 index 000000000000..b593b05a1f0b --- /dev/null +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Create_Reference_File.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2020-03-01", + "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", + "resourceGroupName": "sjrg8440", + "jobName": "sj9597", + "inputName": "input7225", + "input": { + "properties": { + "type": "Reference", + "datasource": { + "type": "File", + "properties": { + "path": "my/path" + } + } + } + } + }, + "responses": { + "201": { + "headers": { + "ETag": "c987701d-4039-47aa-a115-ad84f67d07c5" + }, + "body": { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg8440/providers/Microsoft.StreamAnalytics/streamingjobs/sj9597/inputs/input7225", + "name": "input7225", + "type": "Microsoft.StreamAnalytics/streamingjobs/inputs", + "properties": { + "type": "Reference", + "datasource": { + "type": "File", + "properties": { + "path": "my/path" + } + } + } + } + }, + "200": { + "headers": { + "ETag": "c987701d-4039-47aa-a115-ad84f67d07c5" + }, + "body": { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg8440/providers/Microsoft.StreamAnalytics/streamingjobs/sj9597/inputs/input7225", + "name": "input7225", + "type": "Microsoft.StreamAnalytics/streamingjobs/inputs", + "properties": { + "type": "Reference", + "datasource": { + "type": "File", + "properties": { + "path": "my/path" + } + } + } + } + } + } +} diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/inputs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/inputs.json index 14f82f106a50..0ecc594b9b5e 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/inputs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/inputs.json @@ -58,6 +58,9 @@ }, "Create an Event Grid input": { "$ref": "./examples/Input_Create_EventGrid.json" + }, + "Create a reference file input": { + "$ref": "./examples/Input_Create_Reference_File.json" } }, "parameters": [ @@ -690,6 +693,33 @@ "type" ] }, + "FileReferenceInputDataSource": { + "type": "object", + "description": "Describes a file input data source that contains reference data.", + "x-ms-discriminator-value": "File", + "allOf": [ + { + "$ref": "#/definitions/ReferenceInputDataSource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/FileReferenceInputDataSourceProperties", + "description": "The properties that are associated with a file input containing reference data. Required on PUT (CreateOrReplace) requests.", + "x-ms-client-flatten": true + } + } + }, + "FileReferenceInputDataSourceProperties": { + "type": "object", + "description": "The properties that are associated with a file input containing reference data.", + "properties": { + "path": { + "type": "string", + "description": "The path of the file." + } + } + }, "BlobReferenceInputDataSource": { "type": "object", "description": "Describes a blob input data source that contains reference data.", diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Reference_File.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Reference_File.json new file mode 100644 index 000000000000..b593b05a1f0b --- /dev/null +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_Reference_File.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2020-03-01", + "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", + "resourceGroupName": "sjrg8440", + "jobName": "sj9597", + "inputName": "input7225", + "input": { + "properties": { + "type": "Reference", + "datasource": { + "type": "File", + "properties": { + "path": "my/path" + } + } + } + } + }, + "responses": { + "201": { + "headers": { + "ETag": "c987701d-4039-47aa-a115-ad84f67d07c5" + }, + "body": { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg8440/providers/Microsoft.StreamAnalytics/streamingjobs/sj9597/inputs/input7225", + "name": "input7225", + "type": "Microsoft.StreamAnalytics/streamingjobs/inputs", + "properties": { + "type": "Reference", + "datasource": { + "type": "File", + "properties": { + "path": "my/path" + } + } + } + } + }, + "200": { + "headers": { + "ETag": "c987701d-4039-47aa-a115-ad84f67d07c5" + }, + "body": { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg8440/providers/Microsoft.StreamAnalytics/streamingjobs/sj9597/inputs/input7225", + "name": "input7225", + "type": "Microsoft.StreamAnalytics/streamingjobs/inputs", + "properties": { + "type": "Reference", + "datasource": { + "type": "File", + "properties": { + "path": "my/path" + } + } + } + } + } + } +} diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json index f96c5024e19e..098dc213290e 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/inputs.json @@ -55,6 +55,9 @@ }, "Create a Gateway Message Bus input": { "$ref": "./examples/Input_Create_GatewayMessageBus.json" + }, + "Create a reference file input": { + "$ref": "./examples/Input_Create_Reference_File.json" } }, "parameters": [ @@ -660,6 +663,33 @@ "type" ] }, + "FileReferenceInputDataSource": { + "type": "object", + "description": "Describes a file input data source that contains reference data.", + "x-ms-discriminator-value": "File", + "allOf": [ + { + "$ref": "#/definitions/ReferenceInputDataSource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/FileReferenceInputDataSourceProperties", + "description": "The properties that are associated with a file input containing reference data. Required on PUT (CreateOrReplace) requests.", + "x-ms-client-flatten": true + } + } + }, + "FileReferenceInputDataSourceProperties": { + "type": "object", + "description": "The properties that are associated with a file input containing reference data.", + "properties": { + "path": { + "type": "string", + "description": "The path of the file." + } + } + }, "BlobReferenceInputDataSource": { "type": "object", "description": "Describes a blob input data source that contains reference data.", From 5bbdd43001e965e34bc6f892ee4faa1e0a4cc238 Mon Sep 17 00:00:00 2001 From: Roslyn Lu Date: Tue, 28 Jun 2022 18:59:59 -0700 Subject: [PATCH 7/7] add missed example files --- .../Input_Create_GatewayMessageBus.json | 60 +++++++++++++++++++ .../Output_Create_GatewayMessageBus.json | 57 ++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_GatewayMessageBus.json create mode 100644 specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_GatewayMessageBus.json diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_GatewayMessageBus.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_GatewayMessageBus.json new file mode 100644 index 000000000000..60ee2b82c07e --- /dev/null +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Input_Create_GatewayMessageBus.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2021-10-01-preview", + "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", + "resourceGroupName": "sjrg3467", + "jobName": "sj9742", + "inputName": "input7970", + "input": { + "properties": { + "type": "Stream", + "datasource": { + "type": "GatewayMessageBus", + "properties": { + "topic": "EdgeTopic1" + } + } + } + } + }, + "responses": { + "201": { + "headers": { + "ETag": "bd8009b3-8165-4bd3-aad2-29a2b378dd14" + }, + "body": { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg3467/providers/Microsoft.StreamAnalytics/streamingjobs/sj9742/inputs/input7970", + "name": "input7970", + "type": "Microsoft.StreamAnalytics/streamingjobs/inputs", + "properties": { + "type": "Stream", + "datasource": { + "type": "GatewayMessageBus", + "properties": { + "topic": "EdgeTopic1" + } + } + } + } + }, + "200": { + "headers": { + "ETag": "bd8009b3-8165-4bd3-aad2-29a2b378dd14" + }, + "body": { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg3467/providers/Microsoft.StreamAnalytics/streamingjobs/sj9742/inputs/input7970", + "name": "input7970", + "type": "Microsoft.StreamAnalytics/streamingjobs/inputs", + "properties": { + "type": "Stream", + "datasource": { + "type": "GatewayMessageBus", + "properties": { + "topic": "EdgeTopic1" + } + } + } + } + } + } +} diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_GatewayMessageBus.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_GatewayMessageBus.json new file mode 100644 index 000000000000..7fc9e0200cb6 --- /dev/null +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/stable/2020-03-01/examples/Output_Create_GatewayMessageBus.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2021-10-01-preview", + "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", + "resourceGroupName": "sjrg7983", + "jobName": "sj2331", + "outputName": "output3022", + "output": { + "properties": { + "datasource": { + "type": "GatewayMessageBus", + "properties": { + "topic": "EdgeTopic1" + } + } + } + } + }, + "responses": { + "201": { + "headers": { + "ETag": "ccf8b864-259e-43c5-a628-ba10858b2c07" + }, + "body": { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg7983/providers/Microsoft.StreamAnalytics/streamingjobs/sj2331/outputs/output3022", + "name": "output3022", + "type": "Microsoft.StreamAnalytics/streamingjobs/outputs", + "properties": { + "datasource": { + "type": "GatewayMessageBus", + "properties": { + "topic": "EdgeTopic1" + } + } + } + } + }, + "200": { + "headers": { + "ETag": "ccf8b864-259e-43c5-a628-ba10858b2c07" + }, + "body": { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg7983/providers/Microsoft.StreamAnalytics/streamingjobs/sj2331/outputs/output3022", + "name": "output3022", + "type": "Microsoft.StreamAnalytics/streamingjobs/outputs", + "properties": { + "datasource": { + "type": "GatewayMessageBus", + "properties": { + "topic": "EdgeTopic1" + } + } + } + } + } + } +}