diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2017-04-01-preview/examples/Input_Test.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2017-04-01-preview/examples/Input_Test.json index 8677f0617442..85faf9022961 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2017-04-01-preview/examples/Input_Test.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2017-04-01-preview/examples/Input_Test.json @@ -9,7 +9,7 @@ "responses": { "200": { "headers": { - "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.StreamAnalytics/streamingjobs/jobName/inputs/inputName?api-version=2017-04-01-preview" + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2017-04-01-preview" }, "body": { "status": "TestSucceeded" @@ -17,7 +17,7 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.StreamAnalytics/streamingjobs/jobName/inputs/inputName?api-version=2017-04-01-preview" + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2017-04-01-preview" } } } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2017-04-01-preview/examples/Output_Test.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2017-04-01-preview/examples/Output_Test.json index d84c4ea4ad4c..65b7c5d26d83 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2017-04-01-preview/examples/Output_Test.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2017-04-01-preview/examples/Output_Test.json @@ -9,7 +9,7 @@ "responses": { "200": { "headers": { - "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.StreamAnalytics/streamingjobs/jobName/outputs/outputName?api-version=2017-04-01-preview" + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2017-04-01-preview" }, "body": { "status": "TestSucceeded" @@ -17,7 +17,7 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.StreamAnalytics/streamingjobs/jobName/outputs/outputName?api-version=2017-04-01-preview" + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2017-04-01-preview" } } } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Test_AzureML.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Test_AzureML.json index d519167d092e..e5cc3c6717d5 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Test_AzureML.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Test_AzureML.json @@ -2,16 +2,23 @@ "parameters": { "api-version": "2021-10-01-preview", "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", - "resourceGroupName": "sjrg7", - "jobName": "sj9093", + "resourceGroupName": "sjrg", + "jobName": "sjName", "functionName": "function588" }, "responses": { "200": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + }, "body": { "status": "TestSucceeded" } }, - "202": {} + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + } } } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Test_JavaScript.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Test_JavaScript.json index 7e8ef2555190..170200fcd09c 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Test_JavaScript.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Test_JavaScript.json @@ -8,6 +8,9 @@ }, "responses": { "200": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + }, "body": { "status": "TestFailed", "error": { @@ -16,6 +19,10 @@ } } }, - "202": {} + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + } } } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Test.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Test.json index 49fba488da9f..d7e80ef29da2 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Test.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Test.json @@ -9,7 +9,7 @@ "responses": { "200": { "headers": { - "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.StreamAnalytics/streamingjobs/jobName/inputs/inputName?api-version=2021-10-01-preview" + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" }, "body": { "status": "TestSucceeded" @@ -17,7 +17,7 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.StreamAnalytics/streamingjobs/jobName/inputs/inputName?api-version=2021-10-01-preview" + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" } } } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_AzureDataExplorer.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_AzureDataExplorer.json new file mode 100644 index 000000000000..f6510356afc1 --- /dev/null +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_AzureDataExplorer.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2021-10-01-preview", + "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", + "resourceGroupName": "sjrg", + "jobName": "sjName", + "outputName": "adxOutput", + "output": { + "properties": { + "datasource": { + "type": "Microsoft.Kusto/clusters/databases", + "properties": { + "cluster": "https://asakustotest.eastus.kusto.windows.net", + "database": "dbname", + "table": "mytable", + "authenticationMode": "Msi" + } + } + } + } + }, + "responses": { + "201": { + "headers": { + "ETag": "731a47c6-ff67-4439-bde6-a2a3da4c1ecf" + }, + "body": { + "id": "/subscriptions/7f31cba8-b597-4129-b158-8f21a7395bd0/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/outputs/adxOutput", + "name": "adxOutput", + "type": "Microsoft.StreamAnalytics/streamingjobs/outputs", + "properties": { + "datasource": { + "type": "Microsoft.Kusto/clusters/databases", + "properties": { + "cluster": "https://asakustotest.eastus.kusto.windows.net", + "database": "dbname", + "table": "mytable", + "authenticationMode": "Msi" + } + }, + "etag": "7b912929-346d-432e-9495-6972dbd63179" + } + } + }, + "200": { + "headers": { + "ETag": "731a47c6-ff67-4439-bde6-a2a3da4c1ecf" + }, + "body": { + "id": "/subscriptions/7f31cba8-b597-4129-b158-8f21a7395bd0/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/outputs/adxOutput", + "name": "adxOutput", + "type": "Microsoft.StreamAnalytics/streamingjobs/outputs", + "properties": { + "datasource": { + "type": "Microsoft.Kusto/clusters/databases", + "properties": { + "cluster": "https://asakustotest.eastus.kusto.windows.net", + "database": "dbname", + "table": "mytable", + "authenticationMode": "Msi" + } + }, + "etag": "7b912929-346d-432e-9495-6972dbd63179" + } + } + } + } +} diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Test.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Test.json index a32d6ac80bf5..c6a8f7e8c126 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Test.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Test.json @@ -9,7 +9,7 @@ "responses": { "200": { "headers": { - "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.StreamAnalytics/streamingjobs/jobName/outputs/outputName?api-version=2021-10-01-preview" + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" }, "body": { "status": "TestSucceeded" @@ -17,7 +17,7 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.StreamAnalytics/streamingjobs/jobName/outputs/outputName?api-version=2021-10-01-preview" + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" } } } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Create_UserAssignedIdentity.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Create_UserAssignedIdentity.json new file mode 100644 index 000000000000..32a944ec18bd --- /dev/null +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Create_UserAssignedIdentity.json @@ -0,0 +1,122 @@ +{ + "parameters": { + "api-version": "2021-10-01-preview", + "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", + "resourceGroupName": "sjrg", + "jobName": "sjName", + "streamingJob": { + "properties": { + "sku": { + "name": "Standard" + }, + "eventsOutOfOrderPolicy": "Drop", + "outputErrorPolicy": "Drop", + "eventsOutOfOrderMaxDelayInSeconds": 5, + "eventsLateArrivalMaxDelayInSeconds": 16, + "dataLocale": "en-US", + "compatibilityLevel": "1.0", + "inputs": [], + "outputs": [], + "functions": [] + }, + "location": "West US", + "tags": { + "key1": "value1", + "randomKey": "randomValue", + "key3": "value3" + }, + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sdkIdentity": {} + } + } + } + }, + "responses": { + "201": { + "headers": { + "ETag": "3e6872bc-c9d0-45b6-91b6-da66f1773056" + }, + "body": { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName", + "name": "sjName", + "type": "Microsoft.StreamAnalytics/streamingjobs", + "location": "West US", + "tags": { + "key1": "value1", + "randomKey": "randomValue", + "key3": "value3" + }, + "identity": { + "principalId": "c10a9ec7-7136-441f-9e90-d17cd1a51b94", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sdkIdentity": {} + } + }, + "properties": { + "sku": { + "name": "Standard" + }, + "jobId": "d53ecc3c-fcb0-485d-9caf-25e20fcb2061", + "provisioningState": "Succeeded", + "jobState": "Created", + "eventsOutOfOrderPolicy": "Drop", + "outputErrorPolicy": "Drop", + "eventsOutOfOrderMaxDelayInSeconds": 5, + "eventsLateArrivalMaxDelayInSeconds": 16, + "dataLocale": "en-US", + "createdDate": "2017-05-11T04:37:04.697Z", + "compatibilityLevel": "1.0", + "inputs": [], + "functions": [], + "outputs": [] + } + } + }, + "200": { + "headers": { + "ETag": "3e6872bc-c9d0-45b6-91b6-da66f1773056" + }, + "body": { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName", + "name": "sjName", + "type": "Microsoft.StreamAnalytics/streamingjobs", + "location": "West US", + "tags": { + "key1": "value1", + "randomKey": "randomValue", + "key3": "value3" + }, + "identity": { + "principalId": "c10a9ec7-7136-441f-9e90-d17cd1a51b94", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/akvenkat/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sdkIdentity": {} + } + }, + "properties": { + "sku": { + "name": "Standard" + }, + "jobId": "d53ecc3c-fcb0-485d-9caf-25e20fcb2061", + "provisioningState": "Succeeded", + "jobState": "Created", + "eventsOutOfOrderPolicy": "Drop", + "outputErrorPolicy": "Drop", + "eventsOutOfOrderMaxDelayInSeconds": 5, + "eventsLateArrivalMaxDelayInSeconds": 16, + "dataLocale": "en-US", + "createdDate": "2017-05-11T04:37:04.697Z", + "compatibilityLevel": "1.0", + "inputs": [], + "functions": [], + "outputs": [] + } + } + } + } +} diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Delete.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Delete.json index 1cbce6980940..2bbc69d21923 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Delete.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Delete.json @@ -6,8 +6,20 @@ "jobName": "sj59" }, "responses": { - "200": {}, - "202": {}, - "204": {} + "200": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + }, + "204": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + } } } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Scale.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Scale.json index 57926e80ba7e..6d1fb4423c71 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Scale.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Scale.json @@ -2,14 +2,22 @@ "parameters": { "api-version": "2021-10-01-preview", "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", - "resourceGroupName": "sjrg6936", - "jobName": "sj59", + "resourceGroupName": "sjrg", + "jobName": "sjName", "scaleJobParameters": { "streamingUnits": 36 } }, "responses": { - "200": {}, - "202": {} + "200": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + } } } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_CustomTime.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_CustomTime.json index 40af15fa3333..10c34a8f9fb6 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_CustomTime.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_CustomTime.json @@ -10,7 +10,15 @@ } }, "responses": { - "200": {}, - "202": {} + "200": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + } } } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_JobStartTime.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_JobStartTime.json index 987837d5e4f6..6aea25efb6f3 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_JobStartTime.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_JobStartTime.json @@ -9,7 +9,15 @@ } }, "responses": { - "200": {}, - "202": {} + "200": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + } } } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_LastOutputEventTime.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_LastOutputEventTime.json index d83dd9dabe99..57a0de493f5c 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_LastOutputEventTime.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_LastOutputEventTime.json @@ -9,7 +9,15 @@ } }, "responses": { - "200": {}, - "202": {} + "200": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + } } } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Stop.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Stop.json index b949b0cc07b7..b6fdc63853c6 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Stop.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Stop.json @@ -6,7 +6,15 @@ "jobName": "sj59" }, "responses": { - "200": {}, - "202": {} + "200": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + } } } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_SampleInput.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_SampleInput.json index f9d552b12b60..c32b7b28a2d8 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_SampleInput.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_SampleInput.json @@ -39,6 +39,9 @@ }, "responses": { "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + }, "body": { "status": "ReadAllEventsInRange", "diagnostics": [ diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestInput.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestInput.json index 6990e3b2fb9b..ad4bd69ee9b0 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestInput.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestInput.json @@ -36,6 +36,9 @@ }, "responses": { "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + }, "body": { "status": "TestSuceeded" } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestOutput.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestOutput.json index fd66b742501d..eef007073870 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestOutput.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestOutput.json @@ -34,6 +34,9 @@ }, "responses": { "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + }, "body": { "status": "TestSuceeded" } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestQuery.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestQuery.json index 0c7a22183575..36b74db3582f 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestQuery.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestQuery.json @@ -75,11 +75,18 @@ }, "responses": { "200": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + }, "body": { "status": "Success", "outputUri": "http://myoutput.com" } }, - "202": {} + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/streamingjobs/sjName/OperationResults/0cc50cef-de8c-48d4-b60b-7750cbaf4f76?api-version=2021-10-01-preview" + } + } } } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/outputs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/outputs.json index 5e7952ed3cd7..d01f8597d447 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/outputs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/outputs.json @@ -82,6 +82,9 @@ }, "Create a Delta Lake output": { "$ref": "./examples/Output_Create_DeltaLake.json" + }, + "Create an Azure Data Explorer output": { + "$ref": "./examples/Output_Create_AzureDataExplorer.json" } }, "parameters": [ @@ -1273,6 +1276,45 @@ } } }, + "AzureDataExplorerOutputDataSource": { + "type": "object", + "description": "Describes an Azure Data Explorer output data source.", + "x-ms-discriminator-value": "Microsoft.Kusto/clusters/databases", + "allOf": [ + { + "$ref": "#/definitions/OutputDataSource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/AzureDataExplorerOutputDataSourceProperties", + "description": "The properties that are associated with an Azure Data Explorer output. Required on PUT (CreateOrReplace) requests.", + "x-ms-client-flatten": true + } + } + }, + "AzureDataExplorerOutputDataSourceProperties": { + "type": "object", + "description": "The properties that are associated with an Azure Data Explorer output.", + "properties": { + "cluster": { + "type": "string", + "description": "The name of the Azure Data Explorer cluster. Required on PUT (CreateOrReplace) requests." + }, + "database": { + "type": "string", + "description": "The name of the Azure Data Explorer database. Required on PUT (CreateOrReplace) requests." + }, + "table": { + "type": "string", + "description": "The name of the Azure Table. Required on PUT (CreateOrReplace) requests." + }, + "authenticationMode": { + "$ref": "../../common/v1/definitions.json#/definitions/AuthenticationMode", + "description": "Authentication Mode." + } + } + }, "OAuthBasedDataSourceProperties": { "type": "object", "description": "The properties that are associated with data sources that use OAuth as their authentication model.", 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 bcceabaf0012..3549f4e3706d 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 @@ -82,6 +82,9 @@ }, "Create a complete streaming job (a streaming job with a transformation, at least 1 input and at least 1 output)": { "$ref": "./examples/StreamingJob_Create_CompleteJob.json" + }, + "Create a streaming job shell (a streaming job with no inputs, outputs, transformation, or functions) with user assigned identity": { + "$ref": "./examples/StreamingJob_Create_UserAssignedIdentity.json" } }, "parameters": [ @@ -1008,7 +1011,10 @@ }, "userAssignedIdentities": { "type": "object", - "description": "The user assigned identities associated with the streaming job resource." + "description": "The user assigned identities associated with the streaming job resource.", + "additionalProperties": { + "type": "object" + } } } },