From b4b9d48d17fd2625492d835635cd11834eed69b1 Mon Sep 17 00:00:00 2001 From: Anthony Pham Date: Tue, 8 Aug 2017 22:07:00 -0700 Subject: [PATCH] Add Power BI and Azure Data Lake Store output - Updated swagger spec to include support for Power BI and Azure Data Lake Store outputs - Added/updated x-ms-examples for PUT, PATCH, and GET requests with regards to outputs - Updated some descriptions to be more accurate --- ...Output_Create_AzureDataLakeStore_JSON.json | 97 ++++++++++++++ .../examples/Output_Create_PowerBI.json | 73 ++++++++++ .../Output_Get_AzureDataLakeStore_JSON.json | 42 ++++++ .../examples/Output_Get_PowerBI.json | 34 +++++ .../examples/Output_ListByStreamingJob.json | 46 +++++++ .../Output_Update_AzureDataLakeStore.json | 59 +++++++++ .../examples/Output_Update_PowerBI.json | 44 ++++++ .../2016-03-01/outputs.json | 125 +++++++++++++++++- 8 files changed, 513 insertions(+), 7 deletions(-) create mode 100644 specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_AzureDataLakeStore_JSON.json create mode 100644 specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_PowerBI.json create mode 100644 specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_AzureDataLakeStore_JSON.json create mode 100644 specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_PowerBI.json create mode 100644 specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_AzureDataLakeStore.json create mode 100644 specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_PowerBI.json diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_AzureDataLakeStore_JSON.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_AzureDataLakeStore_JSON.json new file mode 100644 index 000000000000..a5b9128fb158 --- /dev/null +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_AzureDataLakeStore_JSON.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2016-03-01", + "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", + "resourceGroupName": "sjrg6912", + "jobName": "sj3310", + "outputName": "output5195", + "output": { + "properties": { + "datasource": { + "type": "Microsoft.DataLake/Accounts", + "properties": { + "accountName": "someaccount", + "tenantId": "cea4e98b-c798-49e7-8c40-4a2b3beb47dd", + "refreshToken": "someRefreshToken==", + "tokenUserPrincipalName": "bobsmith@contoso.com", + "tokenUserDisplayName": "Bob Smith", + "filePathPrefix": "{date}/{time}", + "dateFormat": "yyyy/MM/dd", + "timeFormat": "HH" + } + }, + "serialization": { + "type": "Json", + "properties": { + "encoding": "UTF8", + "format": "Array" + } + } + } + } + }, + "responses": { + "201": { + "headers": { + "ETag": "5472168f-7317-4241-8b75-0c8d9d0ea804" + }, + "body": { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg6912/providers/Microsoft.StreamAnalytics/streamingjobs/sj3310/outputs/output5195", + "name": "output5195", + "type": "Microsoft.StreamAnalytics/streamingjobs/outputs", + "properties": { + "datasource": { + "type": "Microsoft.DataLake/Accounts", + "properties": { + "accountName": "someaccount", + "tenantId": "cea4e98b-c798-49e7-8c40-4a2b3beb47dd", + "tokenUserPrincipalName": "bobsmith@contoso.com", + "tokenUserDisplayName": "Bob Smith", + "filePathPrefix": "{date}/{time}", + "dateFormat": "yyyy/MM/dd", + "timeFormat": "HH" + } + }, + "serialization": { + "type": "Json", + "properties": { + "encoding": "UTF8", + "format": "Array" + } + } + } + } + }, + "200": { + "headers": { + "ETag": "5472168f-7317-4241-8b75-0c8d9d0ea804" + }, + "body": { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg6912/providers/Microsoft.StreamAnalytics/streamingjobs/sj3310/outputs/output5195", + "name": "output5195", + "type": "Microsoft.StreamAnalytics/streamingjobs/outputs", + "properties": { + "datasource": { + "type": "Microsoft.DataLake/Accounts", + "properties": { + "accountName": "someaccount", + "tenantId": "cea4e98b-c798-49e7-8c40-4a2b3beb47dd", + "tokenUserPrincipalName": "bobsmith@contoso.com", + "tokenUserDisplayName": "Bob Smith", + "filePathPrefix": "{date}/{time}", + "dateFormat": "yyyy/MM/dd", + "timeFormat": "HH" + } + }, + "serialization": { + "type": "Json", + "properties": { + "encoding": "UTF8", + "format": "Array" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_PowerBI.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_PowerBI.json new file mode 100644 index 000000000000..0fe9b442e1c8 --- /dev/null +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_PowerBI.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2016-03-01", + "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", + "resourceGroupName": "sjrg7983", + "jobName": "sj2331", + "outputName": "output3022", + "output": { + "properties": { + "datasource": { + "type": "PowerBI", + "properties": { + "dataset": "someDataset", + "table": "someTable", + "refreshToken": "someRefreshToken==", + "tokenUserPrincipalName": "bobsmith@contoso.com", + "tokenUserDisplayName": "Bob Smith", + "groupId": "ac40305e-3e8d-43ac-8161-c33799f43e95", + "groupName": "MyPowerBIGroup" + } + } + } + } + }, + "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": "PowerBI", + "properties": { + "dataset": "someDataset", + "table": "someTable", + "tokenUserPrincipalName": "bobsmith@contoso.com", + "tokenUserDisplayName": "Bob Smith", + "groupId": "ac40305e-3e8d-43ac-8161-c33799f43e95", + "groupName": "MyPowerBIGroup" + } + } + } + } + }, + "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": "PowerBI", + "properties": { + "dataset": "someDataset", + "table": "someTable", + "tokenUserPrincipalName": "bobsmith@contoso.com", + "tokenUserDisplayName": "Bob Smith", + "groupId": "ac40305e-3e8d-43ac-8161-c33799f43e95", + "groupName": "MyPowerBIGroup" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_AzureDataLakeStore_JSON.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_AzureDataLakeStore_JSON.json new file mode 100644 index 000000000000..5fcd511f6a20 --- /dev/null +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_AzureDataLakeStore_JSON.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2016-03-01", + "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", + "resourceGroupName": "sjrg6912", + "jobName": "sj3310", + "outputName": "output5195" + }, + "responses": { + "200": { + "headers": { + "ETag": "5472168f-7317-4241-8b75-0c8d9d0ea804" + }, + "body": { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg6912/providers/Microsoft.StreamAnalytics/streamingjobs/sj3310/outputs/output5195", + "name": "output5195", + "type": "Microsoft.StreamAnalytics/streamingjobs/outputs", + "properties": { + "datasource": { + "type": "Microsoft.DataLake/Accounts", + "properties": { + "accountName": "someaccount", + "tenantId": "cea4e98b-c798-49e7-8c40-4a2b3beb47dd", + "tokenUserPrincipalName": "bobsmith@contoso.com", + "tokenUserDisplayName": "Bob Smith", + "filePathPrefix": "{date}/{time}", + "dateFormat": "yyyy/MM/dd", + "timeFormat": "HH" + } + }, + "serialization": { + "type": "Json", + "properties": { + "encoding": "UTF8", + "format": "Array" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_PowerBI.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_PowerBI.json new file mode 100644 index 000000000000..5c57d2e6bc80 --- /dev/null +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_PowerBI.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2016-03-01", + "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", + "resourceGroupName": "sjrg7983", + "jobName": "sj2331", + "outputName": "output3022" + }, + "responses": { + "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": "PowerBI", + "properties": { + "dataset": "someDataset", + "table": "someTable", + "tokenUserPrincipalName": "bobsmith@contoso.com", + "tokenUserDisplayName": "Bob Smith", + "groupId": "ac40305e-3e8d-43ac-8161-c33799f43e95", + "groupName": "MyPowerBIGroup" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_ListByStreamingJob.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_ListByStreamingJob.json index 8128e0d5f955..abe45682709c 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_ListByStreamingJob.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_ListByStreamingJob.json @@ -172,6 +172,52 @@ }, "etag": "c1c2007f-45b2-419a-ae7d-4d2148998460" } + }, + { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg2157/providers/Microsoft.StreamAnalytics/streamingjobs/sj6458/outputs/output3021", + "name": "output3021", + "type": "Microsoft.StreamAnalytics/streamingjobs/outputs", + "properties": { + "datasource": { + "type": "PowerBI", + "properties": { + "dataset": "differentDataset", + "table": "someTable", + "tokenUserPrincipalName": "bobsmith@contoso.com", + "tokenUserDisplayName": "Bob Smith", + "groupId": "ac40305e-3e8d-43ac-8161-c33799f43e95", + "groupName": "MyPowerBIGroup" + } + } + }, + "etag": "4a492191-9672-4178-be10-043b9dbd4b9f" + }, + { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg2157/providers/Microsoft.StreamAnalytics/streamingjobs/sj6458/outputs/output5196", + "name": "output5196", + "type": "Microsoft.StreamAnalytics/streamingjobs/outputs", + "properties": { + "datasource": { + "type": "Microsoft.DataLake/Accounts", + "properties": { + "accountName": "differentaccount", + "tenantId": "cea4e98b-c798-49e7-8c40-4a2b3beb47dd", + "tokenUserPrincipalName": "bobsmith@contoso.com", + "tokenUserDisplayName": "Bob Smith", + "filePathPrefix": "{date}/{time}", + "dateFormat": "yyyy/MM/dd", + "timeFormat": "HH" + } + }, + "serialization": { + "type": "Json", + "properties": { + "encoding": "UTF8", + "format": "LineSeparated" + } + } + }, + "etag": "39ab7642-8c1e-48ed-85eb-949068d68002" } ] } diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_AzureDataLakeStore.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_AzureDataLakeStore.json new file mode 100644 index 000000000000..2ae6907a5f1e --- /dev/null +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_AzureDataLakeStore.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2016-03-01", + "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", + "resourceGroupName": "sjrg6912", + "jobName": "sj3310", + "outputName": "output5195", + "output": { + "properties": { + "datasource": { + "type": "Microsoft.DataLake/Accounts", + "properties": { + "accountName": "differentaccount" + } + }, + "serialization": { + "type": "Json", + "properties": { + "encoding": "UTF8", + "format": "LineSeparated" + } + } + } + } + }, + "responses": { + "200": { + "headers": { + "ETag": "5020de6b-5bb3-4b88-8606-f11fb3c46185" + }, + "body": { + "id": "/subscriptions/56b5e0a9-b645-407d-99b0-c64f86013e3d/resourceGroups/sjrg6912/providers/Microsoft.StreamAnalytics/streamingjobs/sj3310/outputs/output5195", + "name": "output5195", + "type": "Microsoft.StreamAnalytics/streamingjobs/outputs", + "properties": { + "datasource": { + "type": "Microsoft.DataLake/Accounts", + "properties": { + "accountName": "differentaccount", + "tenantId": "cea4e98b-c798-49e7-8c40-4a2b3beb47dd", + "tokenUserPrincipalName": "bobsmith@contoso.com", + "tokenUserDisplayName": "Bob Smith", + "filePathPrefix": "{date}/{time}", + "dateFormat": "yyyy/MM/dd", + "timeFormat": "HH" + } + }, + "serialization": { + "type": "Json", + "properties": { + "encoding": "UTF8", + "format": "LineSeparated" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_PowerBI.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_PowerBI.json new file mode 100644 index 000000000000..5f5d70d25aba --- /dev/null +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_PowerBI.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2016-03-01", + "subscriptionId": "56b5e0a9-b645-407d-99b0-c64f86013e3d", + "resourceGroupName": "sjrg7983", + "jobName": "sj2331", + "outputName": "output3022", + "output": { + "properties": { + "datasource": { + "type": "PowerBI", + "properties": { + "dataset": "differentDataset" + } + } + } + } + }, + "responses": { + "200": { + "headers": { + "ETag": "7849c132-e995-4631-91c3-931606eec432" + }, + "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": "PowerBI", + "properties": { + "dataset": "differentDataset", + "table": "someTable", + "tokenUserPrincipalName": "bobsmith@contoso.com", + "tokenUserDisplayName": "Bob Smith", + "groupId": "ac40305e-3e8d-43ac-8161-c33799f43e95", + "groupName": "MyPowerBIGroup" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/outputs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/outputs.json index 539616074367..52e1b4f3c20a 100644 --- a/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/outputs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/outputs.json @@ -47,7 +47,9 @@ "Create a DocumentDB output": { "$ref": "./examples/Output_Create_DocumentDB.json" }, "Create an Event Hub output with JSON serialization": { "$ref": "./examples/Output_Create_EventHub_JSON.json" }, "Create a Service Bus Queue output with Avro serialization": { "$ref": "./examples/Output_Create_ServiceBusQueue_Avro.json" }, - "Create a Service Bus Topic output with CSV serialization": { "$ref": "./examples/Output_Create_ServiceBusTopic_CSV.json" } + "Create a Service Bus Topic output with CSV serialization": { "$ref": "./examples/Output_Create_ServiceBusTopic_CSV.json" }, + "Create a Power BI output": { "$ref": "./examples/Output_Create_PowerBI.json" }, + "Create an Azure Data Lake Store output with JSON serialization": { "$ref": "./examples/Output_Create_AzureDataLakeStore_JSON.json" } }, "parameters": [ { @@ -131,7 +133,9 @@ "Update a DocumentDB output": { "$ref": "./examples/Output_Update_DocumentDB.json" }, "Update an Event Hub output with JSON serialization": { "$ref": "./examples/Output_Update_EventHub.json" }, "Update a Service Bus Queue output with Avro serialization": { "$ref": "./examples/Output_Update_ServiceBusQueue.json" }, - "Update a Service Bus Topic output with CSV serialization": { "$ref": "./examples/Output_Update_ServiceBusTopic.json" } + "Update a Service Bus Topic output with CSV serialization": { "$ref": "./examples/Output_Update_ServiceBusTopic.json" }, + "Update a Power BI output": { "$ref": "./examples/Output_Update_PowerBI.json" }, + "Update an Azure Data Lake Store output with JSON serialization": { "$ref": "./examples/Output_Update_AzureDataLakeStore.json" } }, "parameters": [ { @@ -230,7 +234,9 @@ "Get a DocumentDB output": { "$ref": "./examples/Output_Get_DocumentDB.json" }, "Get an Event Hub output with JSON serialization": { "$ref": "./examples/Output_Get_EventHub_JSON.json" }, "Get a Service Bus Queue output with Avro serialization": { "$ref": "./examples/Output_Get_ServiceBusQueue_Avro.json" }, - "Get a Service Bus Topic output with CSV serialization": { "$ref": "./examples/Output_Get_ServiceBusTopic_CSV.json" } + "Get a Service Bus Topic output with CSV serialization": { "$ref": "./examples/Output_Get_ServiceBusTopic_CSV.json" }, + "Get a Power BI output": { "$ref": "./examples/Output_Get_PowerBI.json" }, + "Get an Azure Data Lake Store output with JSON serialization": { "$ref": "./examples/Output_Get_AzureDataLakeStore_JSON.json" } }, "parameters": [ { @@ -435,7 +441,7 @@ "properties": {} }, "AzureTableOutputDataSource": { - "description": "Describes an Azure Table data source.", + "description": "Describes an Azure Table output data source.", "x-ms-discriminator-value": "Microsoft.Storage/Table", "allOf": [ { @@ -543,7 +549,7 @@ "properties": {} }, "DocumentDbOutputDataSource": { - "description": "Describes a DocumentDB data source.", + "description": "Describes a DocumentDB output data source.", "x-ms-discriminator-value": "Microsoft.Storage/DocumentDB", "allOf": [ { @@ -588,7 +594,7 @@ } }, "ServiceBusQueueOutputDataSource": { - "description": "Describes a Service Bus Queue data source.", + "description": "Describes a Service Bus Queue output data source.", "x-ms-discriminator-value": "Microsoft.ServiceBus/Queue", "allOf": [ { @@ -625,7 +631,7 @@ } }, "ServiceBusTopicOutputDataSource": { - "description": "Describes a Service Bus Topic data source.", + "description": "Describes a Service Bus Topic output data source.", "x-ms-discriminator-value": "Microsoft.ServiceBus/Topic", "allOf": [ { @@ -661,6 +667,94 @@ } } }, + "PowerBIOutputDataSource": { + "description": "Describes a Power BI output data source.", + "x-ms-discriminator-value": "PowerBI", + "allOf": [ + { + "$ref": "#/definitions/OutputDataSource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PowerBIOutputDataSourceProperties", + "description": "The properties that are associated with a Power BI output. Required on PUT (CreateOrReplace) requests.", + "x-ms-client-flatten": true + } + } + }, + "PowerBIOutputDataSourceProperties": { + "description": "The properties that are associated with a Power BI output.", + "allOf": [ + { + "$ref": "#/definitions/OAuthBasedDataSourceProperties" + } + ], + "properties": { + "dataset": { + "type": "string", + "description": "The name of the Power BI dataset. Required on PUT (CreateOrReplace) requests." + }, + "table": { + "type": "string", + "description": "The name of the Power BI table under the specified dataset. Required on PUT (CreateOrReplace) requests." + }, + "groupId": { + "type": "string", + "description": "The ID of the Power BI group." + }, + "groupName": { + "type": "string", + "description": "The name of the Power BI group. Use this property to help remember which specific Power BI group id was used." + } + } + }, + "AzureDataLakeStoreOutputDataSource": { + "description": "Describes an Azure Data Lake Store output data source.", + "x-ms-discriminator-value": "Microsoft.DataLake/Accounts", + "allOf": [ + { + "$ref": "#/definitions/OutputDataSource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/AzureDataLakeStoreOutputDataSourceProperties", + "description": "The properties that are associated with an Azure Data Lake Store output. Required on PUT (CreateOrReplace) requests.", + "x-ms-client-flatten": true + } + } + }, + "AzureDataLakeStoreOutputDataSourceProperties": { + "description": "The properties that are associated with an Azure Data Lake Store.", + "allOf": [ + { + "$ref": "#/definitions/OAuthBasedDataSourceProperties" + } + ], + "properties": { + "accountName": { + "type": "string", + "description": "The name of the Azure Data Lake Store account. Required on PUT (CreateOrReplace) requests." + }, + "tenantId": { + "type": "string", + "description": "The tenant id of the user used to obtain the refresh token. Required on PUT (CreateOrReplace) requests." + }, + "filePathPrefix": { + "type": "string", + "description": "The location of the file to which the output should be written to. Required on PUT (CreateOrReplace) requests." + }, + "dateFormat": { + "type": "string", + "description": "The date format. Wherever {date} appears in filePathPrefix, the value of this property is used as the date format instead." + }, + "timeFormat": { + "type": "string", + "description": "The time format. Wherever {time} appears in filePathPrefix, the value of this property is used as the time format instead." + } + } + }, "OutputListResult": { "properties": { "value": { @@ -704,6 +798,23 @@ } } }, + "OAuthBasedDataSourceProperties": { + "description": "The properties that are associated with data sources that use OAuth as their authentication model.", + "properties": { + "refreshToken": { + "type": "string", + "description": "A refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests." + }, + "tokenUserPrincipalName": { + "type": "string", + "description": "The user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token." + }, + "tokenUserDisplayName": { + "type": "string", + "description": "The user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token." + } + } + }, "SubResource": { "description": "The base sub-resource model definition.", "properties": {