diff --git a/src/SDKs/DataFactory/DataFactory.Tests/TestData/PipelineRuns_QueryByFactory.json b/src/SDKs/DataFactory/DataFactory.Tests/TestData/PipelineRuns_QueryByFactory.json index cbb12946813b..6f8038d886c8 100644 --- a/src/SDKs/DataFactory/DataFactory.Tests/TestData/PipelineRuns_QueryByFactory.json +++ b/src/SDKs/DataFactory/DataFactory.Tests/TestData/PipelineRuns_QueryByFactory.json @@ -1,69 +1,77 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "factoryName": "exampleFactoryName", - "filterParameters": { - "lastUpdatedAfter": "2018-06-16T00:36:44.3345758Z", - "lastUpdatedBefore": "2018-06-16T00:49:48.3686473Z", - "filters": [ - { - "operand": "PipelineName", - "operator": "Equals", - "values": [ - "examplePipeline" - ] - } - ] + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "filterParameters": { + "lastUpdatedAfter": "2019-02-21T23:46:23.9907022Z", + "lastUpdatedBefore": "2019-02-22T00:04:32.2322734Z", + "filters": [ + { + "operand": "PipelineName", + "operator": "Equals", + "values": [ + "examplePipeline" + ] + } + ] + }, + "api-version": "2018-06-01" }, - "api-version": "2018-06-01" - }, "responses": { "200": { "headers": { - "Date": "Sat, 16 Jun 2018 00:40:01 GMT", + "Date": "Thu, 21 Feb 2019 23:54:48 GMT", "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14989", - "x-ms-request-id": "2f955e10-c6df-45a7-97d4-81acdb8540cd", - "x-ms-correlation-request-id": "2f955e10-c6df-45a7-97d4-81acdb8540cd" + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "a1267e2f-f7bb-442f-b2e4-c88bd2b62557", + "x-ms-correlation-request-id": "a1267e2f-f7bb-442f-b2e4-c88bd2b62557" }, "body": { "value": [ { - "runId": "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b", + "runId": "2d25e280-f4ac-4ceb-b446-4fbabff10c16", + "runGroupId": "2d25e280-f4ac-4ceb-b446-4fbabff10c16", "pipelineName": "examplePipeline", "parameters": { - "OutputBlobNameList": "[\"exampleoutput.csv\"]" + "OutputBlobNameList": "[\r\n \"exampleoutput.csv\"\r\n]" }, "invokedBy": { - "id": "80a01654a9d34ad18b3fcac5d5d76b67", - "name": "Manual" + "id": "d461d53360bb4dc1a9c42e223fd831cf", + "name": "Manual", + "invokedByType": "Manual" }, - "runStart": "2018-06-16T00:37:44.6257014Z", - "runEnd": "2018-06-16T00:38:12.7314495Z", - "durationInMs": 28105, + "runStart": "2019-02-21T23:47:35.6829232Z", + "runEnd": "2019-02-21T23:47:55.9645047Z", + "durationInMs": 20281, "status": "Succeeded", "message": "", - "lastUpdated": "2018-06-16T00:38:12.7314495Z", - "annotations": [] + "lastUpdated": "2019-02-21T23:47:55.9645047Z", + "annotations": [], + "runDimension": {}, + "isLatest": false }, { - "runId": "16ac5348-ff82-4f95-a80d-638c1d47b721", + "runId": "52742a52-e3e2-4e49-8c2f-b777b23536e6", + "runGroupId": "2d25e280-f4ac-4ceb-b446-4fbabff10c16", "pipelineName": "examplePipeline", "parameters": { - "OutputBlobNameList": "[\"exampleoutput.csv\"]" + "OutputBlobNameList": "[\r\n \"exampleoutput.csv\"\r\n]" }, "invokedBy": { - "id": "7c5fd7ef7e8a464b98b931cf15fcac66", - "name": "Manual" + "id": "5190ab7f241c4849802dd9da1cbdd314", + "name": "Manual", + "invokedByType": "Manual" }, - "runStart": "2018-06-16T00:39:49.2745128Z", - "runEnd": null, - "durationInMs": null, - "status": "Cancelled", + "runStart": "2019-02-21T23:51:24.160864Z", + "runEnd": "2019-02-21T23:51:43.4680625Z", + "durationInMs": 19307, + "status": "Succeeded", "message": "", - "lastUpdated": "2018-06-16T00:39:51.216097Z", - "annotations": [] + "lastUpdated": "2019-02-21T23:51:43.4680625Z", + "annotations": [], + "runDimension": {}, + "isLatest": true } ] } diff --git a/src/SDKs/DataFactory/DataFactory.Tests/Utils/ExampleCapture.cs b/src/SDKs/DataFactory/DataFactory.Tests/Utils/ExampleCapture.cs index d487aeeacb3f..3e1dbdabe74d 100644 --- a/src/SDKs/DataFactory/DataFactory.Tests/Utils/ExampleCapture.cs +++ b/src/SDKs/DataFactory/DataFactory.Tests/Utils/ExampleCapture.cs @@ -764,8 +764,11 @@ private string CapturePipelines_CreateRun() { "OutputBlobNameList", outputBlobNameArray } }; - CreateRunResponse rtr = client.Pipelines.CreateRun(secrets.ResourceGroupName, secrets.FactoryName, pipelineName, parameters: arguments); - return rtr.RunId; + CreateRunResponse rtr1 = client.Pipelines.CreateRun(secrets.ResourceGroupName, secrets.FactoryName, pipelineName, parameters: arguments); + System.Threading.Thread.Sleep(TimeSpan.FromSeconds(120)); + CreateRunResponse rtr2 = client.Pipelines.CreateRun(secrets.ResourceGroupName, secrets.FactoryName, pipelineName, + isRecovery: true, referencePipelineRunId: rtr1.RunId); + return rtr2.RunId; } private void CapturePipelineRuns_Cancel() diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/IPipelinesOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/IPipelinesOperations.cs index bcef7b1bb75f..48d598980f38 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/IPipelinesOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/IPipelinesOperations.cs @@ -158,6 +158,15 @@ public partial interface IPipelinesOperations /// The pipeline run identifier. If run ID is specified the parameters /// of the specified run will be used to create a new run. /// + /// + /// Recovery mode flag. If recovery mode is set to true, the specified + /// referenced pipeline run and the new run will be grouped under the + /// same groupId. + /// + /// + /// In recovery mode, the rerun will start from this activity. If not + /// specified, all activities will run. + /// /// /// Parameters of the pipeline run. These parameters will be used only /// if the runId is not specified. @@ -177,7 +186,7 @@ public partial interface IPipelinesOperations /// /// Thrown when a required parameter is null /// - Task> CreateRunWithHttpMessagesAsync(string resourceGroupName, string factoryName, string pipelineName, string referencePipelineRunId = default(string), IDictionary parameters = default(IDictionary), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateRunWithHttpMessagesAsync(string resourceGroupName, string factoryName, string pipelineName, string referencePipelineRunId = default(string), bool? isRecovery = default(bool?), string startActivityName = default(string), IDictionary parameters = default(IDictionary), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Lists pipelines. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSSource.cs index 94bd9954eba5..d74a6017eea6 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonMWSSource.cs @@ -38,10 +38,13 @@ public AmazonMWSSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public AmazonMWSSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public AmazonMWSSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftSource.cs index 47a54fe6d738..a1f13df42fab 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonRedshiftSource.cs @@ -38,6 +38,9 @@ public AmazonRedshiftSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// Database query. Type: string (or Expression /// with resultType string). /// The Amazon S3 settings needed @@ -45,8 +48,8 @@ public AmazonRedshiftSource() /// unload. With this, data from Amazon Redshift source will be /// unloaded into S3 first and then copied into the targeted sink from /// the interim S3. - public AmazonRedshiftSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object), RedshiftUnloadSettings redshiftUnloadSettings = default(RedshiftUnloadSettings)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public AmazonRedshiftSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object), RedshiftUnloadSettings redshiftUnloadSettings = default(RedshiftUnloadSettings)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; RedshiftUnloadSettings = redshiftUnloadSettings; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3Dataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3Dataset.cs index eae5f6dd3d6f..028fcc579833 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3Dataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3Dataset.cs @@ -60,16 +60,24 @@ public AmazonS3Dataset() /// Type: string (or Expression with resultType string). /// The version for the S3 object. Type: string /// (or Expression with resultType string). + /// The start of S3 object's + /// modified datetime. Type: string (or Expression with resultType + /// string). + /// The end of S3 object's modified + /// datetime. Type: string (or Expression with resultType + /// string). /// The format of files. /// The data compression method used for the /// Amazon S3 object. - public AmazonS3Dataset(LinkedServiceReference linkedServiceName, object bucketName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object key = default(object), object prefix = default(object), object version = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression)) + public AmazonS3Dataset(LinkedServiceReference linkedServiceName, object bucketName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object key = default(object), object prefix = default(object), object version = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression)) : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) { BucketName = bucketName; Key = key; Prefix = prefix; Version = version; + ModifiedDatetimeStart = modifiedDatetimeStart; + ModifiedDatetimeEnd = modifiedDatetimeEnd; Format = format; Compression = compression; CustomInit(); @@ -108,6 +116,20 @@ public AmazonS3Dataset() [JsonProperty(PropertyName = "typeProperties.version")] public object Version { get; set; } + /// + /// Gets or sets the start of S3 object's modified datetime. Type: + /// string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.modifiedDatetimeStart")] + public object ModifiedDatetimeStart { get; set; } + + /// + /// Gets or sets the end of S3 object's modified datetime. Type: string + /// (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.modifiedDatetimeEnd")] + public object ModifiedDatetimeEnd { get; set; } + /// /// Gets or sets the format of files. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3LinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3LinkedService.cs index 6ad2ef4d1b8d..62eeedfaf15d 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3LinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AmazonS3LinkedService.cs @@ -47,15 +47,21 @@ public AmazonS3LinkedService() /// Expression with resultType string). /// The secret access key of the Amazon /// S3 Identity and Access Management (IAM) user. + /// This value specifies the endpoint to + /// access with the S3 Connector. This is an optional property; change + /// it only if you want to try a different service endpoint or want to + /// switch between https and http. Type: string (or Expression with + /// resultType string). /// The encrypted credential used for /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public AmazonS3LinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object accessKeyId = default(object), SecretBase secretAccessKey = default(SecretBase), object encryptedCredential = default(object)) + public AmazonS3LinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object accessKeyId = default(object), SecretBase secretAccessKey = default(SecretBase), object serviceUrl = default(object), object encryptedCredential = default(object)) : base(additionalProperties, connectVia, description, parameters, annotations) { AccessKeyId = accessKeyId; SecretAccessKey = secretAccessKey; + ServiceUrl = serviceUrl; EncryptedCredential = encryptedCredential; CustomInit(); } @@ -80,6 +86,16 @@ public AmazonS3LinkedService() [JsonProperty(PropertyName = "typeProperties.secretAccessKey")] public SecretBase SecretAccessKey { get; set; } + /// + /// Gets or sets this value specifies the endpoint to access with the + /// S3 Connector. This is an optional property; change it only if you + /// want to try a different service endpoint or want to switch between + /// https and http. Type: string (or Expression with resultType + /// string). + /// + [JsonProperty(PropertyName = "typeProperties.serviceUrl")] + public object ServiceUrl { get; set; } + /// /// Gets or sets the encrypted credential used for authentication. /// Credentials are encrypted using the integration runtime credential diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobDataset.cs index 984693944a4b..e13696f0183f 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobDataset.cs @@ -57,15 +57,23 @@ public AzureBlobDataset() /// (or Expression with resultType string). /// The name of the Azure Blob. Type: string (or /// Expression with resultType string). + /// The start of Azure Blob's + /// modified datetime. Type: string (or Expression with resultType + /// string). + /// The end of Azure Blob's modified + /// datetime. Type: string (or Expression with resultType + /// string). /// The format of the Azure Blob storage. /// The data compression method used for the /// blob storage. - public AzureBlobDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object folderPath = default(object), object tableRootLocation = default(object), object fileName = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression)) + public AzureBlobDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object folderPath = default(object), object tableRootLocation = default(object), object fileName = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression)) : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) { FolderPath = folderPath; TableRootLocation = tableRootLocation; FileName = fileName; + ModifiedDatetimeStart = modifiedDatetimeStart; + ModifiedDatetimeEnd = modifiedDatetimeEnd; Format = format; Compression = compression; CustomInit(); @@ -97,6 +105,20 @@ public AzureBlobDataset() [JsonProperty(PropertyName = "typeProperties.fileName")] public object FileName { get; set; } + /// + /// Gets or sets the start of Azure Blob's modified datetime. Type: + /// string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.modifiedDatetimeStart")] + public object ModifiedDatetimeStart { get; set; } + + /// + /// Gets or sets the end of Azure Blob's modified datetime. Type: + /// string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.modifiedDatetimeEnd")] + public object ModifiedDatetimeEnd { get; set; } + /// /// Gets or sets the format of the Azure Blob storage. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobFSDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobFSDataset.cs new file mode 100644 index 000000000000..9a7c919d0f02 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobFSDataset.cs @@ -0,0 +1,116 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The Azure Data Lake Storage Gen2 storage. + /// + [Newtonsoft.Json.JsonObject("AzureBlobFSFile")] + [Rest.Serialization.JsonTransformation] + public partial class AzureBlobFSDataset : Dataset + { + /// + /// Initializes a new instance of the AzureBlobFSDataset class. + /// + public AzureBlobFSDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureBlobFSDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Columns that define the physical type schema + /// of the dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetSchemaDataElement. + /// Parameters for dataset. + /// List of tags that can be used for + /// describing the Dataset. + /// The folder that this Dataset is in. If not + /// specified, Dataset will appear at the root level. + /// The path of the Azure Data Lake Storage + /// Gen2 storage. Type: string (or Expression with resultType + /// string). + /// The name of the Azure Data Lake Storage + /// Gen2. Type: string (or Expression with resultType string). + /// The format of the Azure Data Lake Storage Gen2 + /// storage. + /// The data compression method used for the + /// blob storage. + public AzureBlobFSDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object folderPath = default(object), object fileName = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), DatasetCompression compression = default(DatasetCompression)) + : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) + { + FolderPath = folderPath; + FileName = fileName; + Format = format; + Compression = compression; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the path of the Azure Data Lake Storage Gen2 storage. + /// Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.folderPath")] + public object FolderPath { get; set; } + + /// + /// Gets or sets the name of the Azure Data Lake Storage Gen2. Type: + /// string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.fileName")] + public object FileName { get; set; } + + /// + /// Gets or sets the format of the Azure Data Lake Storage Gen2 + /// storage. + /// + [JsonProperty(PropertyName = "typeProperties.format")] + public DatasetStorageFormat Format { get; set; } + + /// + /// Gets or sets the data compression method used for the blob storage. + /// + [JsonProperty(PropertyName = "typeProperties.compression")] + public DatasetCompression Compression { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobFSLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobFSLinkedService.cs new file mode 100644 index 000000000000..875699635408 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobFSLinkedService.cs @@ -0,0 +1,141 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Azure Data Lake Storage Gen2 linked service. + /// + [Newtonsoft.Json.JsonObject("AzureBlobFS")] + [Rest.Serialization.JsonTransformation] + public partial class AzureBlobFSLinkedService : LinkedService + { + /// + /// Initializes a new instance of the AzureBlobFSLinkedService class. + /// + public AzureBlobFSLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureBlobFSLinkedService class. + /// + /// Endpoint for the Azure Data Lake Storage Gen2 + /// service. Type: string (or Expression with resultType + /// string). + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// Parameters for linked service. + /// List of tags that can be used for + /// describing the Dataset. + /// Account key for the Azure Data Lake + /// Storage Gen2 service. Type: string (or Expression with resultType + /// string). + /// The ID of the application used to + /// authenticate against the Azure Data Lake Storage Gen2 account. + /// Type: string (or Expression with resultType string). + /// The Key of the application used + /// to authenticate against the Azure Data Lake Storage Gen2 + /// account. + /// The name or ID of the tenant to which the + /// service principal belongs. Type: string (or Expression with + /// resultType string). + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public AzureBlobFSLinkedService(object url, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object accountKey = default(object), object servicePrincipalId = default(object), SecretBase servicePrincipalKey = default(SecretBase), object tenant = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description, parameters, annotations) + { + Url = url; + AccountKey = accountKey; + ServicePrincipalId = servicePrincipalId; + ServicePrincipalKey = servicePrincipalKey; + Tenant = tenant; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets endpoint for the Azure Data Lake Storage Gen2 service. + /// Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.url")] + public object Url { get; set; } + + /// + /// Gets or sets account key for the Azure Data Lake Storage Gen2 + /// service. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.accountKey")] + public object AccountKey { get; set; } + + /// + /// Gets or sets the ID of the application used to authenticate against + /// the Azure Data Lake Storage Gen2 account. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalId")] + public object ServicePrincipalId { get; set; } + + /// + /// Gets or sets the Key of the application used to authenticate + /// against the Azure Data Lake Storage Gen2 account. + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalKey")] + public SecretBase ServicePrincipalKey { get; set; } + + /// + /// Gets or sets the name or ID of the tenant to which the service + /// principal belongs. Type: string (or Expression with resultType + /// string). + /// + [JsonProperty(PropertyName = "typeProperties.tenant")] + public object Tenant { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Url == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Url"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobFSSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobFSSink.cs new file mode 100644 index 000000000000..306dca757488 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobFSSink.cs @@ -0,0 +1,73 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Azure Data Lake Storage Gen2 sink. + /// + public partial class AzureBlobFSSink : CopySink + { + /// + /// Initializes a new instance of the AzureBlobFSSink class. + /// + public AzureBlobFSSink() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureBlobFSSink class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Write batch size. Type: integer (or + /// Expression with resultType integer), minimum: 0. + /// Write batch timeout. Type: string + /// (or Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// Sink retry count. Type: integer (or + /// Expression with resultType integer). + /// Sink retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). + /// The type of copy behavior for copy sink. + /// Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', + /// 'MergeFiles' + public AzureBlobFSSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), string copyBehavior = default(string)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) + { + CopyBehavior = copyBehavior; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the type of copy behavior for copy sink. Possible + /// values include: 'PreserveHierarchy', 'FlattenHierarchy', + /// 'MergeFiles' + /// + [JsonProperty(PropertyName = "copyBehavior")] + public string CopyBehavior { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobFSSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobFSSource.cs new file mode 100644 index 000000000000..9542d1895e94 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureBlobFSSource.cs @@ -0,0 +1,89 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Azure BlobFS source. + /// + public partial class AzureBlobFSSource : CopySource + { + /// + /// Initializes a new instance of the AzureBlobFSSource class. + /// + public AzureBlobFSSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureBlobFSSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + /// Treat empty as null. Type: boolean + /// (or Expression with resultType boolean). + /// Number of header lines to skip + /// from each blob. Type: integer (or Expression with resultType + /// integer). + /// If true, files under the folder path will + /// be read recursively. Default is true. Type: boolean (or Expression + /// with resultType boolean). + public AzureBlobFSSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object treatEmptyAsNull = default(object), object skipHeaderLineCount = default(object), object recursive = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + { + TreatEmptyAsNull = treatEmptyAsNull; + SkipHeaderLineCount = skipHeaderLineCount; + Recursive = recursive; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets treat empty as null. Type: boolean (or Expression with + /// resultType boolean). + /// + [JsonProperty(PropertyName = "treatEmptyAsNull")] + public object TreatEmptyAsNull { get; set; } + + /// + /// Gets or sets number of header lines to skip from each blob. Type: + /// integer (or Expression with resultType integer). + /// + [JsonProperty(PropertyName = "skipHeaderLineCount")] + public object SkipHeaderLineCount { get; set; } + + /// + /// Gets or sets if true, files under the folder path will be read + /// recursively. Default is true. Type: boolean (or Expression with + /// resultType boolean). + /// + [JsonProperty(PropertyName = "recursive")] + public object Recursive { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataExplorerLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataExplorerLinkedService.cs new file mode 100644 index 000000000000..da859b3c1cc4 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataExplorerLinkedService.cs @@ -0,0 +1,147 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Azure Data Explorer (Kusto) linked service. + /// + [Newtonsoft.Json.JsonObject("AzureDataExplorer")] + [Rest.Serialization.JsonTransformation] + public partial class AzureDataExplorerLinkedService : LinkedService + { + /// + /// Initializes a new instance of the AzureDataExplorerLinkedService + /// class. + /// + public AzureDataExplorerLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureDataExplorerLinkedService + /// class. + /// + /// The endpoint of Azure Data Explorer (the + /// engine's endpoint). URL will be in the format + /// https://<clusterName>.<regionName>.kusto.windows.net. + /// Type: string (or Expression with resultType string) + /// The ID of the service principal + /// used to authenticate against Azure Data Explorer. Type: string (or + /// Expression with resultType string). + /// The key of the service principal + /// used to authenticate against Kusto. + /// Database name for connection. Type: string + /// (or Expression with resultType string). + /// The name or ID of the tenant to which the + /// service principal belongs. Type: string (or Expression with + /// resultType string). + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// Parameters for linked service. + /// List of tags that can be used for + /// describing the Dataset. + public AzureDataExplorerLinkedService(object endpoint, object servicePrincipalId, SecretBase servicePrincipalKey, object database, object tenant, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList)) + : base(additionalProperties, connectVia, description, parameters, annotations) + { + Endpoint = endpoint; + ServicePrincipalId = servicePrincipalId; + ServicePrincipalKey = servicePrincipalKey; + Database = database; + Tenant = tenant; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the endpoint of Azure Data Explorer (the engine's + /// endpoint). URL will be in the format + /// https://&lt;clusterName&gt;.&lt;regionName&gt;.kusto.windows.net. + /// Type: string (or Expression with resultType string) + /// + [JsonProperty(PropertyName = "typeProperties.endpoint")] + public object Endpoint { get; set; } + + /// + /// Gets or sets the ID of the service principal used to authenticate + /// against Azure Data Explorer. Type: string (or Expression with + /// resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalId")] + public object ServicePrincipalId { get; set; } + + /// + /// Gets or sets the key of the service principal used to authenticate + /// against Kusto. + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalKey")] + public SecretBase ServicePrincipalKey { get; set; } + + /// + /// Gets or sets database name for connection. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.database")] + public object Database { get; set; } + + /// + /// Gets or sets the name or ID of the tenant to which the service + /// principal belongs. Type: string (or Expression with resultType + /// string). + /// + [JsonProperty(PropertyName = "typeProperties.tenant")] + public object Tenant { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Endpoint == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Endpoint"); + } + if (ServicePrincipalId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ServicePrincipalId"); + } + if (ServicePrincipalKey == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ServicePrincipalKey"); + } + if (Database == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Database"); + } + if (Tenant == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Tenant"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataExplorerSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataExplorerSink.cs new file mode 100644 index 000000000000..c0cd48667b9d --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataExplorerSink.cs @@ -0,0 +1,92 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Azure Data Explorer sink. + /// + public partial class AzureDataExplorerSink : CopySink + { + /// + /// Initializes a new instance of the AzureDataExplorerSink class. + /// + public AzureDataExplorerSink() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureDataExplorerSink class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Write batch size. Type: integer (or + /// Expression with resultType integer), minimum: 0. + /// Write batch timeout. Type: string + /// (or Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// Sink retry count. Type: integer (or + /// Expression with resultType integer). + /// Sink retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). + /// A name of a pre-created csv + /// mapping that was defined on the target Kusto table. Type: + /// string. + /// An explicit column mapping + /// description provided in a json format. Type: string. + /// If set to true, any aggregation will + /// be skipped. Default is false. Type: boolean. + public AzureDataExplorerSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object ingestionMappingName = default(object), object ingestionMappingAsJson = default(object), object flushImmediately = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) + { + IngestionMappingName = ingestionMappingName; + IngestionMappingAsJson = ingestionMappingAsJson; + FlushImmediately = flushImmediately; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a name of a pre-created csv mapping that was defined + /// on the target Kusto table. Type: string. + /// + [JsonProperty(PropertyName = "ingestionMappingName")] + public object IngestionMappingName { get; set; } + + /// + /// Gets or sets an explicit column mapping description provided in a + /// json format. Type: string. + /// + [JsonProperty(PropertyName = "ingestionMappingAsJson")] + public object IngestionMappingAsJson { get; set; } + + /// + /// Gets or sets if set to true, any aggregation will be skipped. + /// Default is false. Type: boolean. + /// + [JsonProperty(PropertyName = "flushImmediately")] + public object FlushImmediately { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataExplorerSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataExplorerSource.cs new file mode 100644 index 000000000000..4d9ba47e7811 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataExplorerSource.cs @@ -0,0 +1,105 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Azure Data Explorer (Kusto) source. + /// + public partial class AzureDataExplorerSource : CopySource + { + /// + /// Initializes a new instance of the AzureDataExplorerSource class. + /// + public AzureDataExplorerSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureDataExplorerSource class. + /// + /// Database query. Should be a Kusto Query + /// Language (KQL) query. Type: string (or Expression with resultType + /// string). + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + /// The name of the Boolean option that + /// controls whether truncation is applied to result-sets that go + /// beyond a certain row-count limit. + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).. + public AzureDataExplorerSource(object query, IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object noTruncation = default(object), object queryTimeout = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + { + Query = query; + NoTruncation = noTruncation; + QueryTimeout = queryTimeout; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets database query. Should be a Kusto Query Language (KQL) + /// query. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + /// + /// Gets or sets the name of the Boolean option that controls whether + /// truncation is applied to result-sets that go beyond a certain + /// row-count limit. + /// + [JsonProperty(PropertyName = "noTruncation")] + public object NoTruncation { get; set; } + + /// + /// Gets or sets query timeout. Type: string (or Expression with + /// resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).. + /// + [JsonProperty(PropertyName = "queryTimeout")] + public object QueryTimeout { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Query == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Query"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataExplorerTableDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataExplorerTableDataset.cs new file mode 100644 index 000000000000..e3705bd7b8a6 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataExplorerTableDataset.cs @@ -0,0 +1,89 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The Azure Data Explorer (Kusto) dataset. + /// + [Newtonsoft.Json.JsonObject("AzureDataExplorerTable")] + [Rest.Serialization.JsonTransformation] + public partial class AzureDataExplorerTableDataset : Dataset + { + /// + /// Initializes a new instance of the AzureDataExplorerTableDataset + /// class. + /// + public AzureDataExplorerTableDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureDataExplorerTableDataset + /// class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Columns that define the physical type schema + /// of the dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetSchemaDataElement. + /// Parameters for dataset. + /// List of tags that can be used for + /// describing the Dataset. + /// The folder that this Dataset is in. If not + /// specified, Dataset will appear at the root level. + /// The table name of the Azure Data Explorer + /// database. Type: string (or Expression with resultType + /// string). + public AzureDataExplorerTableDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object table = default(object)) + : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) + { + Table = table; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the table name of the Azure Data Explorer database. + /// Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.table")] + public object Table { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreCosmosStructuredStreamDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreCosmosStructuredStreamDataset.cs new file mode 100644 index 000000000000..359a0775b873 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreCosmosStructuredStreamDataset.cs @@ -0,0 +1,118 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Azure Data Lake Store Cosmos Structured Stream dataset. + /// + [Newtonsoft.Json.JsonObject("AzureDataLakeStoreCosmosStructuredStreamFile")] + [Rest.Serialization.JsonTransformation] + public partial class AzureDataLakeStoreCosmosStructuredStreamDataset : Dataset + { + /// + /// Initializes a new instance of the + /// AzureDataLakeStoreCosmosStructuredStreamDataset class. + /// + public AzureDataLakeStoreCosmosStructuredStreamDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// AzureDataLakeStoreCosmosStructuredStreamDataset class. + /// + /// Linked service reference. + /// Path to the folder in the Azure Data Lake + /// Store. Type: string (or Expression with resultType string). + /// The name of the file in the Azure Data Lake + /// Store. Type: string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Columns that define the physical type schema + /// of the dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetSchemaDataElement. + /// Parameters for dataset. + /// List of tags that can be used for + /// describing the Dataset. + /// The folder that this Dataset is in. If not + /// specified, Dataset will appear at the root level. + /// Flag to indicate if this + /// dataset is been generated from Compilation Activity. Type: boolean + /// (or Expression with resultType boolean). + public AzureDataLakeStoreCosmosStructuredStreamDataset(LinkedServiceReference linkedServiceName, object folderPath, object fileName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object generatedFromActivity = default(object)) + : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) + { + FolderPath = folderPath; + FileName = fileName; + GeneratedFromActivity = generatedFromActivity; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets path to the folder in the Azure Data Lake Store. Type: + /// string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.folderPath")] + public object FolderPath { get; set; } + + /// + /// Gets or sets the name of the file in the Azure Data Lake Store. + /// Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.fileName")] + public object FileName { get; set; } + + /// + /// Gets or sets flag to indicate if this dataset is been generated + /// from Compilation Activity. Type: boolean (or Expression with + /// resultType boolean). + /// + [JsonProperty(PropertyName = "typeProperties.generatedFromActivity")] + public object GeneratedFromActivity { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (FolderPath == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "FolderPath"); + } + if (FileName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "FileName"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSink.cs index 99c67f05d95d..76ed9d1302ea 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSink.cs @@ -43,11 +43,14 @@ public AzureDataLakeStoreSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). /// The type of copy behavior for copy sink. /// Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', /// 'MergeFiles' - public AzureDataLakeStoreSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string copyBehavior = default(string)) - : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public AzureDataLakeStoreSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), string copyBehavior = default(string)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { CopyBehavior = copyBehavior; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSource.cs index 0cff267b5a9f..4d60d8925580 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureDataLakeStoreSource.cs @@ -38,11 +38,14 @@ public AzureDataLakeStoreSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// If true, files under the folder path will /// be read recursively. Default is true. Type: boolean (or Expression /// with resultType boolean). - public AzureDataLakeStoreSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object recursive = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public AzureDataLakeStoreSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object recursive = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Recursive = recursive; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlSource.cs index 037c4242055e..967cdcb49cd5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureMySqlSource.cs @@ -38,10 +38,13 @@ public AzureMySqlSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// Database query. Type: string (or Expression /// with resultType string). - public AzureMySqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public AzureMySqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlSource.cs index 59d040d07025..fbe2ca829430 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzurePostgreSqlSource.cs @@ -38,10 +38,13 @@ public AzurePostgreSqlSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public AzurePostgreSqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public AzurePostgreSqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureQueueSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureQueueSink.cs index 57627661fb9b..a3412d7745c0 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureQueueSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureQueueSink.cs @@ -42,8 +42,11 @@ public AzureQueueSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - public AzureQueueSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object)) - : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). + public AzureQueueSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexSink.cs index ead570494f63..cc1483ddc136 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureSearchIndexSink.cs @@ -43,11 +43,14 @@ public AzureSearchIndexSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). /// Specify the write behavior when /// upserting documents into Azure Search Index. Possible values /// include: 'Merge', 'Upload' - public AzureSearchIndexSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string writeBehavior = default(string)) - : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public AzureSearchIndexSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), string writeBehavior = default(string)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { WriteBehavior = writeBehavior; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSink.cs index 07d98c428594..3700867f3ad8 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSink.cs @@ -43,6 +43,9 @@ public AzureTableSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). /// Azure Table /// default partition key value. Type: string (or Expression with /// resultType string). @@ -52,8 +55,8 @@ public AzureTableSink() /// string (or Expression with resultType string). /// Azure Table insert type. Type: /// string (or Expression with resultType string). - public AzureTableSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object azureTableDefaultPartitionKeyValue = default(object), object azureTablePartitionKeyName = default(object), object azureTableRowKeyName = default(object), object azureTableInsertType = default(object)) - : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public AzureTableSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object azureTableDefaultPartitionKeyValue = default(object), object azureTablePartitionKeyName = default(object), object azureTableRowKeyName = default(object), object azureTableInsertType = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { AzureTableDefaultPartitionKeyValue = azureTableDefaultPartitionKeyValue; AzureTablePartitionKeyName = azureTablePartitionKeyName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSource.cs index 2f51fc76743d..dca42e972381 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/AzureTableSource.cs @@ -38,13 +38,16 @@ public AzureTableSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// Azure Table source query. Type: /// string (or Expression with resultType string). /// Azure Table /// source ignore table not found. Type: boolean (or Expression with /// resultType boolean). - public AzureTableSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object azureTableSourceQuery = default(object), object azureTableSourceIgnoreTableNotFound = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public AzureTableSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object azureTableSourceQuery = default(object), object azureTableSourceIgnoreTableNotFound = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { AzureTableSourceQuery = azureTableSourceQuery; AzureTableSourceIgnoreTableNotFound = azureTableSourceIgnoreTableNotFound; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSink.cs index be57e588391b..beeffd2f4268 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSink.cs @@ -43,6 +43,9 @@ public BlobSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). /// Blob writer overwrite files. /// Type: boolean (or Expression with resultType boolean). /// Blob writer date time @@ -53,8 +56,8 @@ public BlobSink() /// The type of copy behavior for copy sink. /// Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', /// 'MergeFiles' - public BlobSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object blobWriterOverwriteFiles = default(object), object blobWriterDateTimeFormat = default(object), object blobWriterAddHeader = default(object), string copyBehavior = default(string)) - : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public BlobSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object blobWriterOverwriteFiles = default(object), object blobWriterDateTimeFormat = default(object), object blobWriterAddHeader = default(object), string copyBehavior = default(string)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { BlobWriterOverwriteFiles = blobWriterOverwriteFiles; BlobWriterDateTimeFormat = blobWriterDateTimeFormat; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSource.cs index d9e0909576cb..86fe12c48633 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/BlobSource.cs @@ -38,6 +38,9 @@ public BlobSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// Treat empty as null. Type: boolean /// (or Expression with resultType boolean). /// Number of header lines to skip @@ -46,8 +49,8 @@ public BlobSource() /// If true, files under the folder path will /// be read recursively. Default is true. Type: boolean (or Expression /// with resultType boolean). - public BlobSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object treatEmptyAsNull = default(object), object skipHeaderLineCount = default(object), object recursive = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public BlobSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object treatEmptyAsNull = default(object), object skipHeaderLineCount = default(object), object recursive = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { TreatEmptyAsNull = treatEmptyAsNull; SkipHeaderLineCount = skipHeaderLineCount; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSource.cs index 42b9330e3a72..e7319cf3d070 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CassandraSource.cs @@ -38,6 +38,9 @@ public CassandraSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// Database query. Should be a SQL-92 query /// expression or Cassandra Query Language (CQL) command. Type: string /// (or Expression with resultType string). @@ -49,8 +52,8 @@ public CassandraSource() /// default value is 'ONE'. It is case-insensitive. Possible values /// include: 'ALL', 'EACH_QUORUM', 'QUORUM', 'LOCAL_QUORUM', 'ONE', /// 'TWO', 'THREE', 'LOCAL_ONE', 'SERIAL', 'LOCAL_SERIAL' - public CassandraSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object), string consistencyLevel = default(string)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public CassandraSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object), string consistencyLevel = default(string)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; ConsistencyLevel = consistencyLevel; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurSource.cs index f5951109386b..c5608d5bb9b8 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ConcurSource.cs @@ -38,10 +38,13 @@ public ConcurSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public ConcurSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public ConcurSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyActivity.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyActivity.cs index e29ec365437b..b1b82ff83073 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyActivity.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopyActivity.cs @@ -65,9 +65,10 @@ public CopyActivity() /// Expression with resultType boolean). /// Redirect incompatible /// row settings when EnableSkipIncompatibleRow is true. + /// Preserve Rules. /// List of inputs for the activity. /// List of outputs for the activity. - public CopyActivity(string name, CopySource source, CopySink sink, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), IList userProperties = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), CopyTranslator translator = default(CopyTranslator), object enableStaging = default(object), StagingSettings stagingSettings = default(StagingSettings), object parallelCopies = default(object), object dataIntegrationUnits = default(object), object enableSkipIncompatibleRow = default(object), RedirectIncompatibleRowSettings redirectIncompatibleRowSettings = default(RedirectIncompatibleRowSettings), IList inputs = default(IList), IList outputs = default(IList)) + public CopyActivity(string name, CopySource source, CopySink sink, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), IList userProperties = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), CopyTranslator translator = default(CopyTranslator), object enableStaging = default(object), StagingSettings stagingSettings = default(StagingSettings), object parallelCopies = default(object), object dataIntegrationUnits = default(object), object enableSkipIncompatibleRow = default(object), RedirectIncompatibleRowSettings redirectIncompatibleRowSettings = default(RedirectIncompatibleRowSettings), IList preserveRules = default(IList), IList inputs = default(IList), IList outputs = default(IList)) : base(name, additionalProperties, description, dependsOn, userProperties, linkedServiceName, policy) { Source = source; @@ -79,6 +80,7 @@ public CopyActivity() DataIntegrationUnits = dataIntegrationUnits; EnableSkipIncompatibleRow = enableSkipIncompatibleRow; RedirectIncompatibleRowSettings = redirectIncompatibleRowSettings; + PreserveRules = preserveRules; Inputs = inputs; Outputs = outputs; CustomInit(); @@ -153,6 +155,12 @@ public CopyActivity() [JsonProperty(PropertyName = "typeProperties.redirectIncompatibleRowSettings")] public RedirectIncompatibleRowSettings RedirectIncompatibleRowSettings { get; set; } + /// + /// Gets or sets preserve Rules. + /// + [JsonProperty(PropertyName = "typeProperties.preserveRules")] + public IList PreserveRules { get; set; } + /// /// Gets or sets list of inputs for the activity. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySink.cs index ca7515783ccd..ac2f9e17465e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySink.cs @@ -43,13 +43,17 @@ public CopySink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - public CopySink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object)) + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). + public CopySink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object)) { AdditionalProperties = additionalProperties; WriteBatchSize = writeBatchSize; WriteBatchTimeout = writeBatchTimeout; SinkRetryCount = sinkRetryCount; SinkRetryWait = sinkRetryWait; + MaxConcurrentConnections = maxConcurrentConnections; CustomInit(); } @@ -95,5 +99,12 @@ public CopySink() [JsonProperty(PropertyName = "sinkRetryWait")] public object SinkRetryWait { get; set; } + /// + /// Gets or sets the maximum concurrent connection count for the sink + /// data store. Type: integer (or Expression with resultType integer). + /// + [JsonProperty(PropertyName = "maxConcurrentConnections")] + public object MaxConcurrentConnections { get; set; } + } } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySource.cs index 184078c03b7a..6cf1c11db478 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CopySource.cs @@ -38,11 +38,15 @@ public CopySource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - public CopySource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object)) + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + public CopySource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object)) { AdditionalProperties = additionalProperties; SourceRetryCount = sourceRetryCount; SourceRetryWait = sourceRetryWait; + MaxConcurrentConnections = maxConcurrentConnections; CustomInit(); } @@ -73,5 +77,12 @@ public CopySource() [JsonProperty(PropertyName = "sourceRetryWait")] public object SourceRetryWait { get; set; } + /// + /// Gets or sets the maximum concurrent connection count for the source + /// data store. Type: integer (or Expression with resultType integer). + /// + [JsonProperty(PropertyName = "maxConcurrentConnections")] + public object MaxConcurrentConnections { get; set; } + } } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbMongoDbApiCollectionDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbMongoDbApiCollectionDataset.cs new file mode 100644 index 000000000000..51596aade302 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbMongoDbApiCollectionDataset.cs @@ -0,0 +1,93 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The CosmosDB (MongoDB API) database dataset. + /// + [Newtonsoft.Json.JsonObject("CosmosDbMongoDbApiCollection")] + [Rest.Serialization.JsonTransformation] + public partial class CosmosDbMongoDbApiCollectionDataset : Dataset + { + /// + /// Initializes a new instance of the + /// CosmosDbMongoDbApiCollectionDataset class. + /// + public CosmosDbMongoDbApiCollectionDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// CosmosDbMongoDbApiCollectionDataset class. + /// + /// Linked service reference. + /// The collection name of the CosmosDB + /// (MongoDB API) database. Type: string (or Expression with resultType + /// string). + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Columns that define the physical type schema + /// of the dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetSchemaDataElement. + /// Parameters for dataset. + /// List of tags that can be used for + /// describing the Dataset. + /// The folder that this Dataset is in. If not + /// specified, Dataset will appear at the root level. + public CosmosDbMongoDbApiCollectionDataset(LinkedServiceReference linkedServiceName, object collection, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder)) + : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) + { + Collection = collection; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the collection name of the CosmosDB (MongoDB API) + /// database. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.collection")] + public object Collection { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Collection == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Collection"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbMongoDbApiLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbMongoDbApiLinkedService.cs new file mode 100644 index 000000000000..0e3e2955003e --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbMongoDbApiLinkedService.cs @@ -0,0 +1,102 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Linked service for CosmosDB (MongoDB API) data source. + /// + [Newtonsoft.Json.JsonObject("CosmosDbMongoDbApi")] + [Rest.Serialization.JsonTransformation] + public partial class CosmosDbMongoDbApiLinkedService : LinkedService + { + /// + /// Initializes a new instance of the CosmosDbMongoDbApiLinkedService + /// class. + /// + public CosmosDbMongoDbApiLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the CosmosDbMongoDbApiLinkedService + /// class. + /// + /// The CosmosDB (MongoDB API) + /// connection string. Type: string, SecureString or + /// AzureKeyVaultSecretReference. Type: string, SecureString or + /// AzureKeyVaultSecretReference. + /// The name of the CosmosDB (MongoDB API) + /// database that you want to access. Type: string (or Expression with + /// resultType string). + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// Parameters for linked service. + /// List of tags that can be used for + /// describing the Dataset. + public CosmosDbMongoDbApiLinkedService(object connectionString, object database, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList)) + : base(additionalProperties, connectVia, description, parameters, annotations) + { + ConnectionString = connectionString; + Database = database; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the CosmosDB (MongoDB API) connection string. Type: + /// string, SecureString or AzureKeyVaultSecretReference. Type: string, + /// SecureString or AzureKeyVaultSecretReference. + /// + [JsonProperty(PropertyName = "typeProperties.connectionString")] + public object ConnectionString { get; set; } + + /// + /// Gets or sets the name of the CosmosDB (MongoDB API) database that + /// you want to access. Type: string (or Expression with resultType + /// string). + /// + [JsonProperty(PropertyName = "typeProperties.database")] + public object Database { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (ConnectionString == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ConnectionString"); + } + if (Database == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Database"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbMongoDbApiSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbMongoDbApiSink.cs new file mode 100644 index 000000000000..396dec19b3c1 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbMongoDbApiSink.cs @@ -0,0 +1,77 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity sink for a CosmosDB (MongoDB API) database. + /// + public partial class CosmosDbMongoDbApiSink : CopySink + { + /// + /// Initializes a new instance of the CosmosDbMongoDbApiSink class. + /// + public CosmosDbMongoDbApiSink() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the CosmosDbMongoDbApiSink class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Write batch size. Type: integer (or + /// Expression with resultType integer), minimum: 0. + /// Write batch timeout. Type: string + /// (or Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// Sink retry count. Type: integer (or + /// Expression with resultType integer). + /// Sink retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). + /// Specifies whether the document with + /// same key to be overwritten (upsert) rather than throw exception + /// (insert). The default value is "insert". Type: string (or + /// Expression with resultType string). Type: string (or Expression + /// with resultType string). + public CosmosDbMongoDbApiSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object writeBehavior = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) + { + WriteBehavior = writeBehavior; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets specifies whether the document with same key to be + /// overwritten (upsert) rather than throw exception (insert). The + /// default value is "insert". Type: string (or Expression with + /// resultType string). Type: string (or Expression with resultType + /// string). + /// + [JsonProperty(PropertyName = "writeBehavior")] + public object WriteBehavior { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbMongoDbApiSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbMongoDbApiSource.cs new file mode 100644 index 000000000000..f44f573edc92 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CosmosDbMongoDbApiSource.cs @@ -0,0 +1,97 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity source for a CosmosDB (MongoDB API) database. + /// + public partial class CosmosDbMongoDbApiSource : CopySource + { + /// + /// Initializes a new instance of the CosmosDbMongoDbApiSource class. + /// + public CosmosDbMongoDbApiSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the CosmosDbMongoDbApiSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + /// Specifies selection filter using query + /// operators. To return all documents in a collection, omit this + /// parameter or pass an empty document ({}). Type: string (or + /// Expression with resultType string). + /// Cursor methods for Mongodb + /// query. + /// Specifies the number of documents to return + /// in each batch of the response from MongoDB instance. In most cases, + /// modifying the batch size will not affect the user or the + /// application. This property�s main purpose is to avoid hit the + /// limitation of response size. Type: integer (or Expression with + /// resultType integer). + public CosmosDbMongoDbApiSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object filter = default(object), MongoDbCursorMethodsProperties cursorMethods = default(MongoDbCursorMethodsProperties), object batchSize = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + { + Filter = filter; + CursorMethods = cursorMethods; + BatchSize = batchSize; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets specifies selection filter using query operators. To + /// return all documents in a collection, omit this parameter or pass + /// an empty document ({}). Type: string (or Expression with resultType + /// string). + /// + [JsonProperty(PropertyName = "filter")] + public object Filter { get; set; } + + /// + /// Gets or sets cursor methods for Mongodb query. + /// + [JsonProperty(PropertyName = "cursorMethods")] + public MongoDbCursorMethodsProperties CursorMethods { get; set; } + + /// + /// Gets or sets specifies the number of documents to return in each + /// batch of the response from MongoDB instance. In most cases, + /// modifying the batch size will not affect the user or the + /// application. This property�s main purpose is to avoid hit the + /// limitation of response size. Type: integer (or Expression with + /// resultType integer). + /// + [JsonProperty(PropertyName = "batchSize")] + public object BatchSize { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseSource.cs index d4923586af43..ea58fbeae2f6 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/CouchbaseSource.cs @@ -38,10 +38,13 @@ public CouchbaseSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public CouchbaseSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public CouchbaseSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSink.cs index 10944b4a343d..3ec467f73c10 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSink.cs @@ -43,11 +43,14 @@ public DocumentDbCollectionSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). /// Nested properties separator. Default /// is . (dot). Type: string (or Expression with resultType /// string). - public DocumentDbCollectionSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object nestingSeparator = default(object)) - : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public DocumentDbCollectionSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object nestingSeparator = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { NestingSeparator = nestingSeparator; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSource.cs index c962c6a4e56e..1d73af1a5dca 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DocumentDbCollectionSource.cs @@ -38,12 +38,15 @@ public DocumentDbCollectionSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// Documents query. Type: string (or Expression /// with resultType string). /// Nested properties separator. Type: /// string (or Expression with resultType string). - public DocumentDbCollectionSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object), object nestingSeparator = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public DocumentDbCollectionSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object), object nestingSeparator = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; NestingSeparator = nestingSeparator; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillSource.cs index 950221e02782..1a5acc23fa9c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DrillSource.cs @@ -38,10 +38,13 @@ public DrillSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public DrillSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public DrillSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsAXLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsAXLinkedService.cs new file mode 100644 index 000000000000..bae40dfc5ea0 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsAXLinkedService.cs @@ -0,0 +1,159 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Dynamics AX linked service. + /// + [Newtonsoft.Json.JsonObject("DynamicsAX")] + [Rest.Serialization.JsonTransformation] + public partial class DynamicsAXLinkedService : LinkedService + { + /// + /// Initializes a new instance of the DynamicsAXLinkedService class. + /// + public DynamicsAXLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DynamicsAXLinkedService class. + /// + /// The Dynamics AX (or Dynamics 365 Finance and + /// Operations) instance OData endpoint. + /// Specify the application's client + /// ID. Type: string (or Expression with resultType string). + /// Specify the application's key. + /// Mark this field as a SecureString to store it securely in Data + /// Factory, or reference a secret stored in Azure Key Vault. Type: + /// string (or Expression with resultType string). + /// Specify the tenant information (domain name or + /// tenant ID) under which your application resides. Retrieve it by + /// hovering the mouse in the top-right corner of the Azure portal. + /// Type: string (or Expression with resultType string). + /// Specify the resource you are requesting + /// authorization. Type: string (or Expression with resultType + /// string). + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// Parameters for linked service. + /// List of tags that can be used for + /// describing the Dataset. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public DynamicsAXLinkedService(object url, object servicePrincipalId, SecretBase servicePrincipalKey, object tenant, object aadResourceId, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description, parameters, annotations) + { + Url = url; + ServicePrincipalId = servicePrincipalId; + ServicePrincipalKey = servicePrincipalKey; + Tenant = tenant; + AadResourceId = aadResourceId; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the Dynamics AX (or Dynamics 365 Finance and + /// Operations) instance OData endpoint. + /// + [JsonProperty(PropertyName = "typeProperties.url")] + public object Url { get; set; } + + /// + /// Gets or sets specify the application's client ID. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalId")] + public object ServicePrincipalId { get; set; } + + /// + /// Gets or sets specify the application's key. Mark this field as a + /// SecureString to store it securely in Data Factory, or reference a + /// secret stored in Azure Key Vault. Type: string (or Expression with + /// resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalKey")] + public SecretBase ServicePrincipalKey { get; set; } + + /// + /// Gets or sets specify the tenant information (domain name or tenant + /// ID) under which your application resides. Retrieve it by hovering + /// the mouse in the top-right corner of the Azure portal. Type: string + /// (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.tenant")] + public object Tenant { get; set; } + + /// + /// Gets or sets specify the resource you are requesting authorization. + /// Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.aadResourceId")] + public object AadResourceId { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Url == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Url"); + } + if (ServicePrincipalId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ServicePrincipalId"); + } + if (ServicePrincipalKey == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ServicePrincipalKey"); + } + if (Tenant == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Tenant"); + } + if (AadResourceId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AadResourceId"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsAXResourceDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsAXResourceDataset.cs new file mode 100644 index 000000000000..84dc65cd7363 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsAXResourceDataset.cs @@ -0,0 +1,90 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The path of the Dynamics AX OData entity. + /// + [Newtonsoft.Json.JsonObject("DynamicsAXResource")] + [Rest.Serialization.JsonTransformation] + public partial class DynamicsAXResourceDataset : Dataset + { + /// + /// Initializes a new instance of the DynamicsAXResourceDataset class. + /// + public DynamicsAXResourceDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the DynamicsAXResourceDataset class. + /// + /// Linked service reference. + /// The path of the Dynamics AX OData entity. Type: + /// string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Columns that define the physical type schema + /// of the dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetSchemaDataElement. + /// Parameters for dataset. + /// List of tags that can be used for + /// describing the Dataset. + /// The folder that this Dataset is in. If not + /// specified, Dataset will appear at the root level. + public DynamicsAXResourceDataset(LinkedServiceReference linkedServiceName, string path, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder)) + : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) + { + Path = path; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the path of the Dynamics AX OData entity. Type: string + /// (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.path")] + public string Path { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Path == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Path"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsAXSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsAXSource.cs new file mode 100644 index 000000000000..4a0702709db4 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsAXSource.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Dynamics AX source. + /// + public partial class DynamicsAXSource : CopySource + { + /// + /// Initializes a new instance of the DynamicsAXSource class. + /// + public DynamicsAXSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DynamicsAXSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public DynamicsAXSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSink.cs index f8914c120b6b..34852c284b6a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSink.cs @@ -43,12 +43,15 @@ public DynamicsSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). /// The flag indicating whether ignore /// null values from input dataset (except key fields) during write /// operation. Default is false. Type: boolean (or Expression with /// resultType boolean). - public DynamicsSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object ignoreNullValues = default(object)) - : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public DynamicsSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object ignoreNullValues = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { IgnoreNullValues = ignoreNullValues; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSource.cs index 7f47681dbe83..144c7d46288b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/DynamicsSource.cs @@ -38,11 +38,14 @@ public DynamicsSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// FetchXML is a proprietary query language that /// is used in Microsoft Dynamics (online & on-premises). Type: /// string (or Expression with resultType string). - public DynamicsSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public DynamicsSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaSource.cs index 065c73f73fbc..59f104a8aedc 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/EloquaSource.cs @@ -38,10 +38,13 @@ public EloquaSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public EloquaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public EloquaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileShareDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileShareDataset.cs index 0dadf9932930..f421c0179093 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileShareDataset.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileShareDataset.cs @@ -55,17 +55,25 @@ public FileShareDataset() /// Type: string (or Expression with resultType string). /// The name of the on-premises file system. /// Type: string (or Expression with resultType string). + /// The start of file's modified + /// datetime. Type: string (or Expression with resultType + /// string). + /// The end of file's modified + /// datetime. Type: string (or Expression with resultType + /// string). /// The format of the files. /// Specify a filter to be used to select a /// subset of files in the folderPath rather than all files. Type: /// string (or Expression with resultType string). /// The data compression method used for the /// file system. - public FileShareDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object folderPath = default(object), object fileName = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), object fileFilter = default(object), DatasetCompression compression = default(DatasetCompression)) + public FileShareDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object folderPath = default(object), object fileName = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object), DatasetStorageFormat format = default(DatasetStorageFormat), object fileFilter = default(object), DatasetCompression compression = default(DatasetCompression)) : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) { FolderPath = folderPath; FileName = fileName; + ModifiedDatetimeStart = modifiedDatetimeStart; + ModifiedDatetimeEnd = modifiedDatetimeEnd; Format = format; FileFilter = fileFilter; Compression = compression; @@ -91,6 +99,20 @@ public FileShareDataset() [JsonProperty(PropertyName = "typeProperties.fileName")] public object FileName { get; set; } + /// + /// Gets or sets the start of file's modified datetime. Type: string + /// (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.modifiedDatetimeStart")] + public object ModifiedDatetimeStart { get; set; } + + /// + /// Gets or sets the end of file's modified datetime. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.modifiedDatetimeEnd")] + public object ModifiedDatetimeEnd { get; set; } + /// /// Gets or sets the format of the files. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSink.cs index c0bb28b248de..6955cadf0bfb 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSink.cs @@ -43,11 +43,14 @@ public FileSystemSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). /// The type of copy behavior for copy sink. /// Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', /// 'MergeFiles' - public FileSystemSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string copyBehavior = default(string)) - : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public FileSystemSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), string copyBehavior = default(string)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { CopyBehavior = copyBehavior; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSource.cs index 5dbcd4ea2db1..4d86535db851 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/FileSystemSource.cs @@ -38,11 +38,14 @@ public FileSystemSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// If true, files under the folder path will /// be read recursively. Default is true. Type: boolean (or Expression /// with resultType boolean). - public FileSystemSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object recursive = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public FileSystemSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object recursive = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Recursive = recursive; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleAdWordsAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleAdWordsAuthenticationType.cs new file mode 100644 index 000000000000..5570fbd42a49 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleAdWordsAuthenticationType.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for GoogleAdWordsAuthenticationType. + /// + public static class GoogleAdWordsAuthenticationType + { + public const string ServiceAuthentication = "ServiceAuthentication"; + public const string UserAuthentication = "UserAuthentication"; + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleAdWordsLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleAdWordsLinkedService.cs new file mode 100644 index 000000000000..87cec1dedb1a --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleAdWordsLinkedService.cs @@ -0,0 +1,207 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Google AdWords service linked service. + /// + [Newtonsoft.Json.JsonObject("GoogleAdWords")] + [Rest.Serialization.JsonTransformation] + public partial class GoogleAdWordsLinkedService : LinkedService + { + /// + /// Initializes a new instance of the GoogleAdWordsLinkedService class. + /// + public GoogleAdWordsLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GoogleAdWordsLinkedService class. + /// + /// The Client customer ID of the + /// AdWords account that you want to fetch report data for. + /// The developer token associated with + /// the manager account that you use to grant access to the AdWords + /// API. + /// The OAuth 2.0 authentication + /// mechanism used for authentication. ServiceAuthentication can only + /// be used on self-hosted IR. Possible values include: + /// 'ServiceAuthentication', 'UserAuthentication' + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// Parameters for linked service. + /// List of tags that can be used for + /// describing the Dataset. + /// The refresh token obtained from Google + /// for authorizing access to AdWords for UserAuthentication. + /// The client id of the google application used + /// to acquire the refresh token. + /// The client secret of the google + /// application used to acquire the refresh token. + /// The service account email ID that is used for + /// ServiceAuthentication and can only be used on self-hosted + /// IR. + /// The full path to the .p12 key file that + /// is used to authenticate the service account email address and can + /// only be used on self-hosted IR. + /// The full path of the .pem file + /// containing trusted CA certificates for verifying the server when + /// connecting over SSL. This property can only be set when using SSL + /// on self-hosted IR. The default value is the cacerts.pem file + /// installed with the IR. + /// Specifies whether to use a CA + /// certificate from the system trust store or from a specified PEM + /// file. The default value is false. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public GoogleAdWordsLinkedService(object clientCustomerID, SecretBase developerToken, string authenticationType, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), SecretBase refreshToken = default(SecretBase), SecretBase clientId = default(SecretBase), SecretBase clientSecret = default(SecretBase), object email = default(object), object keyFilePath = default(object), object trustedCertPath = default(object), object useSystemTrustStore = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description, parameters, annotations) + { + ClientCustomerID = clientCustomerID; + DeveloperToken = developerToken; + AuthenticationType = authenticationType; + RefreshToken = refreshToken; + ClientId = clientId; + ClientSecret = clientSecret; + Email = email; + KeyFilePath = keyFilePath; + TrustedCertPath = trustedCertPath; + UseSystemTrustStore = useSystemTrustStore; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the Client customer ID of the AdWords account that you + /// want to fetch report data for. + /// + [JsonProperty(PropertyName = "typeProperties.clientCustomerID")] + public object ClientCustomerID { get; set; } + + /// + /// Gets or sets the developer token associated with the manager + /// account that you use to grant access to the AdWords API. + /// + [JsonProperty(PropertyName = "typeProperties.developerToken")] + public SecretBase DeveloperToken { get; set; } + + /// + /// Gets or sets the OAuth 2.0 authentication mechanism used for + /// authentication. ServiceAuthentication can only be used on + /// self-hosted IR. Possible values include: 'ServiceAuthentication', + /// 'UserAuthentication' + /// + [JsonProperty(PropertyName = "typeProperties.authenticationType")] + public string AuthenticationType { get; set; } + + /// + /// Gets or sets the refresh token obtained from Google for authorizing + /// access to AdWords for UserAuthentication. + /// + [JsonProperty(PropertyName = "typeProperties.refreshToken")] + public SecretBase RefreshToken { get; set; } + + /// + /// Gets or sets the client id of the google application used to + /// acquire the refresh token. + /// + [JsonProperty(PropertyName = "typeProperties.clientId")] + public SecretBase ClientId { get; set; } + + /// + /// Gets or sets the client secret of the google application used to + /// acquire the refresh token. + /// + [JsonProperty(PropertyName = "typeProperties.clientSecret")] + public SecretBase ClientSecret { get; set; } + + /// + /// Gets or sets the service account email ID that is used for + /// ServiceAuthentication and can only be used on self-hosted IR. + /// + [JsonProperty(PropertyName = "typeProperties.email")] + public object Email { get; set; } + + /// + /// Gets or sets the full path to the .p12 key file that is used to + /// authenticate the service account email address and can only be used + /// on self-hosted IR. + /// + [JsonProperty(PropertyName = "typeProperties.keyFilePath")] + public object KeyFilePath { get; set; } + + /// + /// Gets or sets the full path of the .pem file containing trusted CA + /// certificates for verifying the server when connecting over SSL. + /// This property can only be set when using SSL on self-hosted IR. The + /// default value is the cacerts.pem file installed with the IR. + /// + [JsonProperty(PropertyName = "typeProperties.trustedCertPath")] + public object TrustedCertPath { get; set; } + + /// + /// Gets or sets specifies whether to use a CA certificate from the + /// system trust store or from a specified PEM file. The default value + /// is false. + /// + [JsonProperty(PropertyName = "typeProperties.useSystemTrustStore")] + public object UseSystemTrustStore { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (ClientCustomerID == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ClientCustomerID"); + } + if (DeveloperToken == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DeveloperToken"); + } + if (AuthenticationType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AuthenticationType"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleAdWordsObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleAdWordsObjectDataset.cs new file mode 100644 index 000000000000..b5a8e78fc785 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleAdWordsObjectDataset.cs @@ -0,0 +1,86 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Google AdWords service dataset. + /// + [Newtonsoft.Json.JsonObject("GoogleAdWordsObject")] + [Rest.Serialization.JsonTransformation] + public partial class GoogleAdWordsObjectDataset : Dataset + { + /// + /// Initializes a new instance of the GoogleAdWordsObjectDataset class. + /// + public GoogleAdWordsObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the GoogleAdWordsObjectDataset class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Columns that define the physical type schema + /// of the dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetSchemaDataElement. + /// Parameters for dataset. + /// List of tags that can be used for + /// describing the Dataset. + /// The folder that this Dataset is in. If not + /// specified, Dataset will appear at the root level. + /// The table name. Type: string (or Expression + /// with resultType string). + public GoogleAdWordsObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object tableName = default(object)) + : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) + { + TableName = tableName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the table name. Type: string (or Expression with + /// resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.tableName")] + public object TableName { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleAdWordsSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleAdWordsSource.cs new file mode 100644 index 000000000000..a9cabc5c66f0 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleAdWordsSource.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Google AdWords service source. + /// + public partial class GoogleAdWordsSource : CopySource + { + /// + /// Initializes a new instance of the GoogleAdWordsSource class. + /// + public GoogleAdWordsSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GoogleAdWordsSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public GoogleAdWordsSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQuerySource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQuerySource.cs index 09eb3220b2fd..93faa12ff34c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQuerySource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GoogleBigQuerySource.cs @@ -38,10 +38,13 @@ public GoogleBigQuerySource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public GoogleBigQuerySource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public GoogleBigQuerySource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumSource.cs index c5c52aeefdbd..1e9e1add7e38 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/GreenplumSource.cs @@ -38,10 +38,13 @@ public GreenplumSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public GreenplumSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public GreenplumSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseSource.cs index 24acd39fc9bb..e9d6ec0d59d6 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HBaseSource.cs @@ -38,10 +38,13 @@ public HBaseSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public HBaseSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public HBaseSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsSource.cs index b059e834aa88..51785dc84d0f 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HdfsSource.cs @@ -38,13 +38,16 @@ public HdfsSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// If true, files under the folder path will /// be read recursively. Default is true. Type: boolean (or Expression /// with resultType boolean). /// Specifies Distcp-related /// settings. - public HdfsSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object recursive = default(object), DistcpSettings distcpSettings = default(DistcpSettings)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public HdfsSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object recursive = default(object), DistcpSettings distcpSettings = default(DistcpSettings)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Recursive = recursive; DistcpSettings = distcpSettings; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveSource.cs index 2fa17ab83216..9be6e9c10085 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HiveSource.cs @@ -38,10 +38,13 @@ public HiveSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public HiveSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public HiveSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpSource.cs index 106e29480d75..c027486cd389 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HttpSource.cs @@ -38,13 +38,16 @@ public HttpSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// Specifies the timeout for a HTTP /// client to get HTTP response from HTTP server. The default value is /// equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - public HttpSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object httpRequestTimeout = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public HttpSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object httpRequestTimeout = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { HttpRequestTimeout = httpRequestTimeout; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotSource.cs index 02a39ffccdc3..2f1893d2d63a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/HubspotSource.cs @@ -38,10 +38,13 @@ public HubspotSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public HubspotSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public HubspotSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaSource.cs index 54742e82b1db..c901c434899a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ImpalaSource.cs @@ -38,10 +38,13 @@ public ImpalaSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public ImpalaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public ImpalaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraSource.cs index c2b793ed9061..761403152277 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/JiraSource.cs @@ -38,10 +38,13 @@ public JiraSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public JiraSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public JiraSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoSource.cs index a9eb93504081..407fb6bb32ae 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MagentoSource.cs @@ -38,10 +38,13 @@ public MagentoSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public MagentoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public MagentoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBSource.cs index d2fd968c92d1..a335dbb50974 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MariaDBSource.cs @@ -38,10 +38,13 @@ public MariaDBSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public MariaDBSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public MariaDBSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoSource.cs index f2fae3fd21f3..ddc8191f981e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MarketoSource.cs @@ -38,10 +38,13 @@ public MarketoSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public MarketoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public MarketoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbCursorMethodsProperties.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbCursorMethodsProperties.cs new file mode 100644 index 000000000000..ca9ede94d3ec --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbCursorMethodsProperties.cs @@ -0,0 +1,111 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Cursor methods for Mongodb query + /// + public partial class MongoDbCursorMethodsProperties + { + /// + /// Initializes a new instance of the MongoDbCursorMethodsProperties + /// class. + /// + public MongoDbCursorMethodsProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MongoDbCursorMethodsProperties + /// class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Specifies the fields to return in the + /// documents that match the query filter. To return all fields in the + /// matching documents, omit this parameter. Type: string (or + /// Expression with resultType string). + /// Specifies the order in which the query returns + /// matching documents. Type: string (or Expression with resultType + /// string). Type: string (or Expression with resultType + /// string). + /// Specifies the how many documents skipped and + /// where MongoDB begins returning results. This approach may be useful + /// in implementing paginated results. Type: integer (or Expression + /// with resultType integer). + /// Specifies the maximum number of documents the + /// server returns. limit() is analogous to the LIMIT statement in a + /// SQL database. Type: integer (or Expression with resultType + /// integer). + public MongoDbCursorMethodsProperties(IDictionary additionalProperties = default(IDictionary), object project = default(object), object sort = default(object), object skip = default(object), object limit = default(object)) + { + AdditionalProperties = additionalProperties; + Project = project; + Sort = sort; + Skip = skip; + Limit = limit; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Gets or sets specifies the fields to return in the documents that + /// match the query filter. To return all fields in the matching + /// documents, omit this parameter. Type: string (or Expression with + /// resultType string). + /// + [JsonProperty(PropertyName = "project")] + public object Project { get; set; } + + /// + /// Gets or sets specifies the order in which the query returns + /// matching documents. Type: string (or Expression with resultType + /// string). Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "sort")] + public object Sort { get; set; } + + /// + /// Gets or sets specifies the how many documents skipped and where + /// MongoDB begins returning results. This approach may be useful in + /// implementing paginated results. Type: integer (or Expression with + /// resultType integer). + /// + [JsonProperty(PropertyName = "skip")] + public object Skip { get; set; } + + /// + /// Gets or sets specifies the maximum number of documents the server + /// returns. limit() is analogous to the LIMIT statement in a SQL + /// database. Type: integer (or Expression with resultType integer). + /// + [JsonProperty(PropertyName = "limit")] + public object Limit { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbSource.cs index c2f14253c2b1..1798c585d123 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbSource.cs @@ -38,11 +38,14 @@ public MongoDbSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// Database query. Should be a SQL-92 query /// expression. Type: string (or Expression with resultType /// string). - public MongoDbSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public MongoDbSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbV2CollectionDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbV2CollectionDataset.cs new file mode 100644 index 000000000000..4f9111c65ce2 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbV2CollectionDataset.cs @@ -0,0 +1,91 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The MongoDB database dataset. + /// + [Newtonsoft.Json.JsonObject("MongoDbV2Collection")] + [Rest.Serialization.JsonTransformation] + public partial class MongoDbV2CollectionDataset : Dataset + { + /// + /// Initializes a new instance of the MongoDbV2CollectionDataset class. + /// + public MongoDbV2CollectionDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the MongoDbV2CollectionDataset class. + /// + /// Linked service reference. + /// The collection name of the MongoDB + /// database. Type: string (or Expression with resultType + /// string). + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Columns that define the physical type schema + /// of the dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetSchemaDataElement. + /// Parameters for dataset. + /// List of tags that can be used for + /// describing the Dataset. + /// The folder that this Dataset is in. If not + /// specified, Dataset will appear at the root level. + public MongoDbV2CollectionDataset(LinkedServiceReference linkedServiceName, object collection, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder)) + : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) + { + Collection = collection; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the collection name of the MongoDB database. Type: + /// string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.collection")] + public object Collection { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Collection == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Collection"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbV2LinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbV2LinkedService.cs new file mode 100644 index 000000000000..6a38f128befc --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbV2LinkedService.cs @@ -0,0 +1,98 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Linked service for MongoDB data source. + /// + [Newtonsoft.Json.JsonObject("MongoDbV2")] + [Rest.Serialization.JsonTransformation] + public partial class MongoDbV2LinkedService : LinkedService + { + /// + /// Initializes a new instance of the MongoDbV2LinkedService class. + /// + public MongoDbV2LinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MongoDbV2LinkedService class. + /// + /// The MongoDB connection string. Type: + /// string, SecureString or AzureKeyVaultSecretReference. Type: string, + /// SecureString or AzureKeyVaultSecretReference. + /// The name of the MongoDB database that you + /// want to access. Type: string (or Expression with resultType + /// string). + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// Parameters for linked service. + /// List of tags that can be used for + /// describing the Dataset. + public MongoDbV2LinkedService(object connectionString, object database, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList)) + : base(additionalProperties, connectVia, description, parameters, annotations) + { + ConnectionString = connectionString; + Database = database; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the MongoDB connection string. Type: string, + /// SecureString or AzureKeyVaultSecretReference. Type: string, + /// SecureString or AzureKeyVaultSecretReference. + /// + [JsonProperty(PropertyName = "typeProperties.connectionString")] + public object ConnectionString { get; set; } + + /// + /// Gets or sets the name of the MongoDB database that you want to + /// access. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.database")] + public object Database { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (ConnectionString == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ConnectionString"); + } + if (Database == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Database"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbV2Source.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbV2Source.cs new file mode 100644 index 000000000000..409681b340d5 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/MongoDbV2Source.cs @@ -0,0 +1,97 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity source for a MongoDB database. + /// + public partial class MongoDbV2Source : CopySource + { + /// + /// Initializes a new instance of the MongoDbV2Source class. + /// + public MongoDbV2Source() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MongoDbV2Source class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + /// Specifies selection filter using query + /// operators. To return all documents in a collection, omit this + /// parameter or pass an empty document ({}). Type: string (or + /// Expression with resultType string). + /// Cursor methods for Mongodb + /// query + /// Specifies the number of documents to return + /// in each batch of the response from MongoDB instance. In most cases, + /// modifying the batch size will not affect the user or the + /// application. This property�s main purpose is to avoid hit the + /// limitation of response size. Type: integer (or Expression with + /// resultType integer). + public MongoDbV2Source(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object filter = default(object), MongoDbCursorMethodsProperties cursorMethods = default(MongoDbCursorMethodsProperties), object batchSize = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + { + Filter = filter; + CursorMethods = cursorMethods; + BatchSize = batchSize; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets specifies selection filter using query operators. To + /// return all documents in a collection, omit this parameter or pass + /// an empty document ({}). Type: string (or Expression with resultType + /// string). + /// + [JsonProperty(PropertyName = "filter")] + public object Filter { get; set; } + + /// + /// Gets or sets cursor methods for Mongodb query + /// + [JsonProperty(PropertyName = "cursorMethods")] + public MongoDbCursorMethodsProperties CursorMethods { get; set; } + + /// + /// Gets or sets specifies the number of documents to return in each + /// batch of the response from MongoDB instance. In most cases, + /// modifying the batch size will not affect the user or the + /// application. This property�s main purpose is to avoid hit the + /// limitation of response size. Type: integer (or Expression with + /// resultType integer). + /// + [JsonProperty(PropertyName = "batchSize")] + public object BatchSize { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/NetezzaSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/NetezzaSource.cs index 59e51ed29a20..41fb8666ba84 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/NetezzaSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/NetezzaSource.cs @@ -38,10 +38,13 @@ public NetezzaSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public NetezzaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public NetezzaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataAadServicePrincipalCredentialType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataAadServicePrincipalCredentialType.cs new file mode 100644 index 000000000000..7bff21f3cbc7 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataAadServicePrincipalCredentialType.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for ODataAadServicePrincipalCredentialType. + /// + public static class ODataAadServicePrincipalCredentialType + { + public const string ServicePrincipalKey = "ServicePrincipalKey"; + public const string ServicePrincipalCert = "ServicePrincipalCert"; + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataAuthenticationType.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataAuthenticationType.cs index 17a0304264cd..5ed49168fe52 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataAuthenticationType.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataAuthenticationType.cs @@ -18,5 +18,8 @@ public static class ODataAuthenticationType { public const string Basic = "Basic"; public const string Anonymous = "Anonymous"; + public const string Windows = "Windows"; + public const string AadServicePrincipal = "AadServicePrincipal"; + public const string ManagedServiceIdentity = "ManagedServiceIdentity"; } } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataLinkedService.cs index 0ee58e1d5017..2bff805de872 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataLinkedService.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ODataLinkedService.cs @@ -46,21 +46,53 @@ public ODataLinkedService() /// describing the Dataset. /// Type of authentication used to /// connect to the OData service. Possible values include: 'Basic', - /// 'Anonymous' + /// 'Anonymous', 'Windows', 'AadServicePrincipal', + /// 'ManagedServiceIdentity' /// User name of the OData service. Type: string /// (or Expression with resultType string). /// Password of the OData service. + /// Specify the tenant information (domain name or + /// tenant ID) under which your application resides. Type: string (or + /// Expression with resultType string). + /// Specify the application id of your + /// application registered in Azure Active Directory. Type: string (or + /// Expression with resultType string). + /// Specify the resource you are requesting + /// authorization to use Directory. Type: string (or Expression with + /// resultType string). + /// Specify the + /// credential type (key or cert) is used for service principal. + /// Possible values include: 'ServicePrincipalKey', + /// 'ServicePrincipalCert' + /// Specify the secret of your + /// application registered in Azure Active Directory. Type: string (or + /// Expression with resultType string). + /// Specify the base64 + /// encoded certificate of your application registered in Azure Active + /// Directory. Type: string (or Expression with resultType + /// string). + /// Specify the + /// password of your certificate if your certificate has a password and + /// you are using AadServicePrincipal authentication. Type: string (or + /// Expression with resultType string). /// The encrypted credential used for /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public ODataLinkedService(object url, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), string authenticationType = default(string), object userName = default(object), SecretBase password = default(SecretBase), object encryptedCredential = default(object)) + public ODataLinkedService(object url, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), string authenticationType = default(string), object userName = default(object), SecretBase password = default(SecretBase), object tenant = default(object), object servicePrincipalId = default(object), object aadResourceId = default(object), string aadServicePrincipalCredentialType = default(string), SecretBase servicePrincipalKey = default(SecretBase), SecretBase servicePrincipalEmbeddedCert = default(SecretBase), SecretBase servicePrincipalEmbeddedCertPassword = default(SecretBase), object encryptedCredential = default(object)) : base(additionalProperties, connectVia, description, parameters, annotations) { Url = url; AuthenticationType = authenticationType; UserName = userName; Password = password; + Tenant = tenant; + ServicePrincipalId = servicePrincipalId; + AadResourceId = aadResourceId; + AadServicePrincipalCredentialType = aadServicePrincipalCredentialType; + ServicePrincipalKey = servicePrincipalKey; + ServicePrincipalEmbeddedCert = servicePrincipalEmbeddedCert; + ServicePrincipalEmbeddedCertPassword = servicePrincipalEmbeddedCertPassword; EncryptedCredential = encryptedCredential; CustomInit(); } @@ -79,7 +111,8 @@ public ODataLinkedService() /// /// Gets or sets type of authentication used to connect to the OData - /// service. Possible values include: 'Basic', 'Anonymous' + /// service. Possible values include: 'Basic', 'Anonymous', 'Windows', + /// 'AadServicePrincipal', 'ManagedServiceIdentity' /// [JsonProperty(PropertyName = "typeProperties.authenticationType")] public string AuthenticationType { get; set; } @@ -97,6 +130,63 @@ public ODataLinkedService() [JsonProperty(PropertyName = "typeProperties.password")] public SecretBase Password { get; set; } + /// + /// Gets or sets specify the tenant information (domain name or tenant + /// ID) under which your application resides. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.tenant")] + public object Tenant { get; set; } + + /// + /// Gets or sets specify the application id of your application + /// registered in Azure Active Directory. Type: string (or Expression + /// with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalId")] + public object ServicePrincipalId { get; set; } + + /// + /// Gets or sets specify the resource you are requesting authorization + /// to use Directory. Type: string (or Expression with resultType + /// string). + /// + [JsonProperty(PropertyName = "typeProperties.aadResourceId")] + public object AadResourceId { get; set; } + + /// + /// Gets or sets specify the credential type (key or cert) is used for + /// service principal. Possible values include: 'ServicePrincipalKey', + /// 'ServicePrincipalCert' + /// + [JsonProperty(PropertyName = "typeProperties.aadServicePrincipalCredentialType")] + public string AadServicePrincipalCredentialType { get; set; } + + /// + /// Gets or sets specify the secret of your application registered in + /// Azure Active Directory. Type: string (or Expression with resultType + /// string). + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalKey")] + public SecretBase ServicePrincipalKey { get; set; } + + /// + /// Gets or sets specify the base64 encoded certificate of your + /// application registered in Azure Active Directory. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalEmbeddedCert")] + public SecretBase ServicePrincipalEmbeddedCert { get; set; } + + /// + /// Gets or sets specify the password of your certificate if your + /// certificate has a password and you are using AadServicePrincipal + /// authentication. Type: string (or Expression with resultType + /// string). + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalEmbeddedCertPassword")] + public SecretBase ServicePrincipalEmbeddedCertPassword { get; set; } + /// /// Gets or sets the encrypted credential used for authentication. /// Credentials are encrypted using the integration runtime credential diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcSink.cs index 300f8bc566d5..7151280b5eca 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OdbcSink.cs @@ -43,10 +43,13 @@ public OdbcSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). /// A query to execute before starting the /// copy. Type: string (or Expression with resultType string). - public OdbcSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object preCopyScript = default(object)) - : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public OdbcSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object preCopyScript = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { PreCopyScript = preCopyScript; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Office365Dataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Office365Dataset.cs new file mode 100644 index 000000000000..2ca3b8697335 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Office365Dataset.cs @@ -0,0 +1,102 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The Office365 account. + /// + [Newtonsoft.Json.JsonObject("Office365Table")] + [Rest.Serialization.JsonTransformation] + public partial class Office365Dataset : Dataset + { + /// + /// Initializes a new instance of the Office365Dataset class. + /// + public Office365Dataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the Office365Dataset class. + /// + /// Linked service reference. + /// Name of the dataset to extract from Office + /// 365. Type: string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Columns that define the physical type schema + /// of the dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetSchemaDataElement. + /// Parameters for dataset. + /// List of tags that can be used for + /// describing the Dataset. + /// The folder that this Dataset is in. If not + /// specified, Dataset will appear at the root level. + /// A predicate expression that can be used to + /// filter the specific rows to extract from Office 365. Type: string + /// (or Expression with resultType string). + public Office365Dataset(LinkedServiceReference linkedServiceName, object tableName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object predicate = default(object)) + : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) + { + TableName = tableName; + Predicate = predicate; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name of the dataset to extract from Office 365. Type: + /// string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.tableName")] + public object TableName { get; set; } + + /// + /// Gets or sets a predicate expression that can be used to filter the + /// specific rows to extract from Office 365. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.predicate")] + public object Predicate { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (TableName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "TableName"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Office365LinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Office365LinkedService.cs new file mode 100644 index 000000000000..396832c8c1f0 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Office365LinkedService.cs @@ -0,0 +1,138 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Office365 linked service. + /// + [Newtonsoft.Json.JsonObject("Office365")] + [Rest.Serialization.JsonTransformation] + public partial class Office365LinkedService : LinkedService + { + /// + /// Initializes a new instance of the Office365LinkedService class. + /// + public Office365LinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the Office365LinkedService class. + /// + /// Azure tenant ID to which the Office + /// 365 account belongs. Type: string (or Expression with resultType + /// string). + /// Specify the tenant + /// information under which your Azure AD web application resides. + /// Type: string (or Expression with resultType string). + /// Specify the application's client + /// ID. Type: string (or Expression with resultType string). + /// Specify the application's + /// key. + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// Parameters for linked service. + /// List of tags that can be used for + /// describing the Dataset. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public Office365LinkedService(object office365TenantId, object servicePrincipalTenantId, object servicePrincipalId, SecretBase servicePrincipalKey, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description, parameters, annotations) + { + Office365TenantId = office365TenantId; + ServicePrincipalTenantId = servicePrincipalTenantId; + ServicePrincipalId = servicePrincipalId; + ServicePrincipalKey = servicePrincipalKey; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets azure tenant ID to which the Office 365 account + /// belongs. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.office365TenantId")] + public object Office365TenantId { get; set; } + + /// + /// Gets or sets specify the tenant information under which your Azure + /// AD web application resides. Type: string (or Expression with + /// resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalTenantId")] + public object ServicePrincipalTenantId { get; set; } + + /// + /// Gets or sets specify the application's client ID. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalId")] + public object ServicePrincipalId { get; set; } + + /// + /// Gets or sets specify the application's key. + /// + [JsonProperty(PropertyName = "typeProperties.servicePrincipalKey")] + public SecretBase ServicePrincipalKey { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Office365TenantId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Office365TenantId"); + } + if (ServicePrincipalTenantId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ServicePrincipalTenantId"); + } + if (ServicePrincipalId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ServicePrincipalId"); + } + if (ServicePrincipalKey == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ServicePrincipalKey"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Office365Source.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Office365Source.cs new file mode 100644 index 000000000000..9755d8dd22dd --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/Office365Source.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity source for an Office365 service. + /// + public partial class Office365Source : CopySource + { + /// + /// Initializes a new instance of the Office365Source class. + /// + public Office365Source() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the Office365Source class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + public Office365Source(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleServiceCloudLinkedService.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleServiceCloudLinkedService.cs new file mode 100644 index 000000000000..37083a53f09a --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleServiceCloudLinkedService.cs @@ -0,0 +1,163 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Oracle Service Cloud linked service. + /// + [Newtonsoft.Json.JsonObject("OracleServiceCloud")] + [Rest.Serialization.JsonTransformation] + public partial class OracleServiceCloudLinkedService : LinkedService + { + /// + /// Initializes a new instance of the OracleServiceCloudLinkedService + /// class. + /// + public OracleServiceCloudLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the OracleServiceCloudLinkedService + /// class. + /// + /// The URL of the Oracle Service Cloud + /// instance. + /// The user name that you use to access Oracle + /// Service Cloud server. + /// The password corresponding to the user name + /// that you provided in the username key. + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// Parameters for linked service. + /// List of tags that can be used for + /// describing the Dataset. + /// Specifies whether the data + /// source endpoints are encrypted using HTTPS. The default value is + /// true. Type: boolean (or Expression with resultType + /// boolean). + /// Specifies whether to require the + /// host name in the server's certificate to match the host name of the + /// server when connecting over SSL. The default value is true. Type: + /// boolean (or Expression with resultType boolean). + /// Specifies whether to verify the + /// identity of the server when connecting over SSL. The default value + /// is true. Type: boolean (or Expression with resultType + /// boolean). + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public OracleServiceCloudLinkedService(object host, object username, SecretBase password, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object useEncryptedEndpoints = default(object), object useHostVerification = default(object), object usePeerVerification = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description, parameters, annotations) + { + Host = host; + Username = username; + Password = password; + UseEncryptedEndpoints = useEncryptedEndpoints; + UseHostVerification = useHostVerification; + UsePeerVerification = usePeerVerification; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the URL of the Oracle Service Cloud instance. + /// + [JsonProperty(PropertyName = "typeProperties.host")] + public object Host { get; set; } + + /// + /// Gets or sets the user name that you use to access Oracle Service + /// Cloud server. + /// + [JsonProperty(PropertyName = "typeProperties.username")] + public object Username { get; set; } + + /// + /// Gets or sets the password corresponding to the user name that you + /// provided in the username key. + /// + [JsonProperty(PropertyName = "typeProperties.password")] + public SecretBase Password { get; set; } + + /// + /// Gets or sets specifies whether the data source endpoints are + /// encrypted using HTTPS. The default value is true. Type: boolean (or + /// Expression with resultType boolean). + /// + [JsonProperty(PropertyName = "typeProperties.useEncryptedEndpoints")] + public object UseEncryptedEndpoints { get; set; } + + /// + /// Gets or sets specifies whether to require the host name in the + /// server's certificate to match the host name of the server when + /// connecting over SSL. The default value is true. Type: boolean (or + /// Expression with resultType boolean). + /// + [JsonProperty(PropertyName = "typeProperties.useHostVerification")] + public object UseHostVerification { get; set; } + + /// + /// Gets or sets specifies whether to verify the identity of the server + /// when connecting over SSL. The default value is true. Type: boolean + /// (or Expression with resultType boolean). + /// + [JsonProperty(PropertyName = "typeProperties.usePeerVerification")] + public object UsePeerVerification { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Host == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Host"); + } + if (Username == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Username"); + } + if (Password == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Password"); + } + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleServiceCloudObjectDataset.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleServiceCloudObjectDataset.cs new file mode 100644 index 000000000000..7374b36d825a --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleServiceCloudObjectDataset.cs @@ -0,0 +1,88 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Oracle Service Cloud dataset. + /// + [Newtonsoft.Json.JsonObject("OracleServiceCloudObject")] + [Rest.Serialization.JsonTransformation] + public partial class OracleServiceCloudObjectDataset : Dataset + { + /// + /// Initializes a new instance of the OracleServiceCloudObjectDataset + /// class. + /// + public OracleServiceCloudObjectDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the OracleServiceCloudObjectDataset + /// class. + /// + /// Linked service reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Columns that define the physical type schema + /// of the dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetSchemaDataElement. + /// Parameters for dataset. + /// List of tags that can be used for + /// describing the Dataset. + /// The folder that this Dataset is in. If not + /// specified, Dataset will appear at the root level. + /// The table name. Type: string (or Expression + /// with resultType string). + public OracleServiceCloudObjectDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object tableName = default(object)) + : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) + { + TableName = tableName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the table name. Type: string (or Expression with + /// resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.tableName")] + public object TableName { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleServiceCloudSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleServiceCloudSource.cs new file mode 100644 index 000000000000..4353279f0b92 --- /dev/null +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleServiceCloudSource.cs @@ -0,0 +1,66 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Oracle Service Cloud source. + /// + public partial class OracleServiceCloudSource : CopySource + { + /// + /// Initializes a new instance of the OracleServiceCloudSource class. + /// + public OracleServiceCloudSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the OracleServiceCloudSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + /// A query to retrieve data from source. Type: + /// string (or Expression with resultType string). + public OracleServiceCloudSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + { + Query = query; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a query to retrieve data from source. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + } +} diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSink.cs index ba88c07d79bf..7859a5c6260b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSink.cs @@ -43,10 +43,13 @@ public OracleSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). /// SQL pre-copy script. Type: string (or /// Expression with resultType string). - public OracleSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object preCopyScript = default(object)) - : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public OracleSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object preCopyScript = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { PreCopyScript = preCopyScript; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSource.cs index 44f595f486d0..cc29ade4062a 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/OracleSource.cs @@ -38,13 +38,16 @@ public OracleSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// Oracle reader query. Type: string /// (or Expression with resultType string). /// Query timeout. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - public OracleSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object oracleReaderQuery = default(object), object queryTimeout = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public OracleSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object oracleReaderQuery = default(object), object queryTimeout = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { OracleReaderQuery = oracleReaderQuery; QueryTimeout = queryTimeout; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalSource.cs index 8e683f6cb381..fb09ff41ba80 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PaypalSource.cs @@ -38,10 +38,13 @@ public PaypalSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public PaypalSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public PaypalSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixSource.cs index 74747f9f710d..593706474521 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PhoenixSource.cs @@ -38,10 +38,13 @@ public PhoenixSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public PhoenixSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public PhoenixSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRun.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRun.cs index 9813786fef46..7210c76a29e6 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRun.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PipelineRun.cs @@ -34,6 +34,10 @@ public PipelineRun() /// Unmatched properties from the /// message are deserialized this collection /// Identifier of a run. + /// Identifier that correlates all the + /// recovery runs of a pipeline run. + /// Indicates if the recovered pipeline run is + /// the latest in its group. /// The pipeline name. /// The full or partial list of parameter /// name, value pair used in the pipeline run. @@ -48,10 +52,12 @@ public PipelineRun() /// The duration of a pipeline run. /// The status of a pipeline run. /// The message from a pipeline run. - public PipelineRun(IDictionary additionalProperties = default(IDictionary), string runId = default(string), string pipelineName = default(string), IDictionary parameters = default(IDictionary), PipelineRunInvokedBy invokedBy = default(PipelineRunInvokedBy), System.DateTime? lastUpdated = default(System.DateTime?), System.DateTime? runStart = default(System.DateTime?), System.DateTime? runEnd = default(System.DateTime?), int? durationInMs = default(int?), string status = default(string), string message = default(string)) + public PipelineRun(IDictionary additionalProperties = default(IDictionary), string runId = default(string), string runGroupId = default(string), bool? isLatest = default(bool?), string pipelineName = default(string), IDictionary parameters = default(IDictionary), PipelineRunInvokedBy invokedBy = default(PipelineRunInvokedBy), System.DateTime? lastUpdated = default(System.DateTime?), System.DateTime? runStart = default(System.DateTime?), System.DateTime? runEnd = default(System.DateTime?), int? durationInMs = default(int?), string status = default(string), string message = default(string)) { AdditionalProperties = additionalProperties; RunId = runId; + RunGroupId = runGroupId; + IsLatest = isLatest; PipelineName = pipelineName; Parameters = parameters; InvokedBy = invokedBy; @@ -82,6 +88,20 @@ public PipelineRun() [JsonProperty(PropertyName = "runId")] public string RunId { get; private set; } + /// + /// Gets identifier that correlates all the recovery runs of a pipeline + /// run. + /// + [JsonProperty(PropertyName = "runGroupId")] + public string RunGroupId { get; private set; } + + /// + /// Gets indicates if the recovered pipeline run is the latest in its + /// group. + /// + [JsonProperty(PropertyName = "isLatest")] + public bool? IsLatest { get; private set; } + /// /// Gets the pipeline name. /// diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoSource.cs index 71b9d6d16934..c991cbc06325 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/PrestoSource.cs @@ -38,10 +38,13 @@ public PrestoSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public PrestoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public PrestoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksSource.cs index 14d020fbccba..76c41ea0dd60 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/QuickBooksSource.cs @@ -38,10 +38,13 @@ public QuickBooksSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public QuickBooksSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public QuickBooksSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalSource.cs index 574c5af39228..cdf8ee8115af 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RelationalSource.cs @@ -38,10 +38,13 @@ public RelationalSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// Database query. Type: string (or Expression /// with resultType string). - public RelationalSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public RelationalSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ResponsysSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ResponsysSource.cs index a90c12e7c245..7f5741224ead 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ResponsysSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ResponsysSource.cs @@ -38,10 +38,13 @@ public ResponsysSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public ResponsysSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public ResponsysSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RestSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RestSource.cs index cbf748d79160..f31e12bff691 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RestSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RestSource.cs @@ -38,6 +38,9 @@ public RestSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// The timeout (TimeSpan) to get an /// HTTP response. It is the timeout to get a response, not the timeout /// to read response data. Default value: 00:01:40. Type: string (or @@ -45,8 +48,8 @@ public RestSource() /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// The time to await before sending next /// page request. - public RestSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object httpRequestTimeout = default(object), object requestInterval = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public RestSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object httpRequestTimeout = default(object), object requestInterval = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { HttpRequestTimeout = httpRequestTimeout; RequestInterval = requestInterval; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RunQueryFilter.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RunQueryFilter.cs index 7743939db0b4..ea7330654360 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RunQueryFilter.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RunQueryFilter.cs @@ -39,7 +39,8 @@ public RunQueryFilter() /// query trigger runs are TriggerName, TriggerRunTimestamp and Status. /// Possible values include: 'PipelineName', 'Status', 'RunStart', /// 'RunEnd', 'ActivityName', 'ActivityRunStart', 'ActivityRunEnd', - /// 'ActivityType', 'TriggerName', 'TriggerRunTimestamp' + /// 'ActivityType', 'TriggerName', 'TriggerRunTimestamp', 'RunGroupId', + /// 'LatestOnly' /// Operator to be used for filter. /// Possible values include: 'Equals', 'NotEquals', 'In', /// 'NotIn' @@ -65,7 +66,8 @@ public RunQueryFilter(string operand, string operatorProperty, IList val /// query trigger runs are TriggerName, TriggerRunTimestamp and Status. /// Possible values include: 'PipelineName', 'Status', 'RunStart', /// 'RunEnd', 'ActivityName', 'ActivityRunStart', 'ActivityRunEnd', - /// 'ActivityType', 'TriggerName', 'TriggerRunTimestamp' + /// 'ActivityType', 'TriggerName', 'TriggerRunTimestamp', 'RunGroupId', + /// 'LatestOnly' /// [JsonProperty(PropertyName = "operand")] public string Operand { get; set; } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RunQueryFilterOperand.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RunQueryFilterOperand.cs index d141f44696aa..1680220315e6 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RunQueryFilterOperand.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/RunQueryFilterOperand.cs @@ -26,5 +26,7 @@ public static class RunQueryFilterOperand public const string ActivityType = "ActivityType"; public const string TriggerName = "TriggerName"; public const string TriggerRunTimestamp = "TriggerRunTimestamp"; + public const string RunGroupId = "RunGroupId"; + public const string LatestOnly = "LatestOnly"; } } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceMarketingCloudSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceMarketingCloudSource.cs index a1a4e1a2da0b..8fff5dff12f8 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceMarketingCloudSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceMarketingCloudSource.cs @@ -40,10 +40,13 @@ public SalesforceMarketingCloudSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public SalesforceMarketingCloudSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public SalesforceMarketingCloudSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSink.cs index 23d569157b4b..cba5c6904541 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSink.cs @@ -43,6 +43,9 @@ public SalesforceSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). /// The write behavior for the operation. /// Default is Insert. Possible values include: 'Insert', /// 'Upsert' @@ -58,8 +61,8 @@ public SalesforceSink() /// destination object to NULL when doing upsert/update operation and /// insert NULL value when doing insert operation. Type: boolean (or /// Expression with resultType boolean). - public SalesforceSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string writeBehavior = default(string), object externalIdFieldName = default(object), object ignoreNullValues = default(object)) - : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public SalesforceSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), string writeBehavior = default(string), object externalIdFieldName = default(object), object ignoreNullValues = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { WriteBehavior = writeBehavior; ExternalIdFieldName = externalIdFieldName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSource.cs index a61942fd0892..614da5b11a98 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SalesforceSource.cs @@ -38,13 +38,16 @@ public SalesforceSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// Database query. Type: string (or Expression /// with resultType string). /// The read behavior for the operation. /// Default is Query. Possible values include: 'Query', /// 'QueryAll' - public SalesforceSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object), string readBehavior = default(string)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public SalesforceSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object), string readBehavior = default(string)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; ReadBehavior = readBehavior; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSink.cs index e7a591b06dd8..9157f1e4386f 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSink.cs @@ -43,11 +43,14 @@ public SapCloudForCustomerSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). /// The write behavior for the operation. /// Default is 'Insert'. Possible values include: 'Insert', /// 'Update' - public SapCloudForCustomerSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), string writeBehavior = default(string)) - : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public SapCloudForCustomerSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), string writeBehavior = default(string)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { WriteBehavior = writeBehavior; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSource.cs index 932bad997445..dbe253d00e39 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapCloudForCustomerSource.cs @@ -38,11 +38,14 @@ public SapCloudForCustomerSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// SAP Cloud for Customer OData query. For /// example, "$top=1". Type: string (or Expression with resultType /// string). - public SapCloudForCustomerSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public SapCloudForCustomerSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapEccSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapEccSource.cs index a6150e9c47ae..c7819ec78108 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapEccSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapEccSource.cs @@ -38,10 +38,13 @@ public SapEccSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// SAP ECC OData query. For example, "$top=1". /// Type: string (or Expression with resultType string). - public SapEccSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), string query = default(string)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public SapEccSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), string query = default(string)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapOpenHubSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapOpenHubSource.cs index 363762ee04a3..ce1608153045 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapOpenHubSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SapOpenHubSource.cs @@ -38,8 +38,11 @@ public SapOpenHubSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - public SapOpenHubSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + public SapOpenHubSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowSource.cs index 575991099e05..b5e2ad09924e 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ServiceNowSource.cs @@ -38,10 +38,13 @@ public ServiceNowSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public ServiceNowSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public ServiceNowSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifySource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifySource.cs index fac86031f967..1bbc3184ef58 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifySource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ShopifySource.cs @@ -38,10 +38,13 @@ public ShopifySource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public ShopifySource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public ShopifySource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkSource.cs index 3e4eb57a05d1..68fec197e5d6 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkSource.cs @@ -38,10 +38,13 @@ public SparkSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public SparkSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public SparkSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSink.cs index 3e0b47a4c1ab..e52711727fb1 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSink.cs @@ -43,6 +43,9 @@ public SqlDWSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). /// SQL pre-copy script. Type: string (or /// Expression with resultType string). /// Indicates to use PolyBase to copy data @@ -50,8 +53,8 @@ public SqlDWSink() /// Expression with resultType boolean). /// Specifies PolyBase-related settings /// when allowPolyBase is true. - public SqlDWSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object preCopyScript = default(object), object allowPolyBase = default(object), PolybaseSettings polyBaseSettings = default(PolybaseSettings)) - : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public SqlDWSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object preCopyScript = default(object), object allowPolyBase = default(object), PolybaseSettings polyBaseSettings = default(PolybaseSettings)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { PreCopyScript = preCopyScript; AllowPolyBase = allowPolyBase; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSource.cs index 5668cbc83327..ae2ccb8a78fe 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlDWSource.cs @@ -38,6 +38,9 @@ public SqlDWSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// SQL Data Warehouse reader query. Type: /// string (or Expression with resultType string). /// Name of the stored @@ -48,8 +51,8 @@ public SqlDWSource() /// stored procedure parameters. Example: "{Parameter1: {value: "1", /// type: "int"}}". Type: object (or Expression with resultType /// object), itemType: StoredProcedureParameter. - public SqlDWSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), object storedProcedureParameters = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public SqlDWSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), object storedProcedureParameters = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSink.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSink.cs index 98ac09e4d082..4abc56bd9c50 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSink.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSink.cs @@ -43,6 +43,9 @@ public SqlSink() /// Sink retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). /// SQL writer stored /// procedure name. Type: string (or Expression with resultType /// string). @@ -52,8 +55,8 @@ public SqlSink() /// Expression with resultType string). /// SQL stored procedure /// parameters. - public SqlSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object sqlWriterStoredProcedureName = default(object), object sqlWriterTableType = default(object), object preCopyScript = default(object), IDictionary storedProcedureParameters = default(IDictionary)) - : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait) + public SqlSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object sqlWriterStoredProcedureName = default(object), object sqlWriterTableType = default(object), object preCopyScript = default(object), IDictionary storedProcedureParameters = default(IDictionary)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { SqlWriterStoredProcedureName = sqlWriterStoredProcedureName; SqlWriterTableType = sqlWriterTableType; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSource.cs index 7957c62e36ef..a76165dddcf5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SqlSource.cs @@ -38,6 +38,9 @@ public SqlSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// SQL reader query. Type: string (or /// Expression with resultType string). /// Name of the stored @@ -47,8 +50,8 @@ public SqlSource() /// Value and type setting for /// stored procedure parameters. Example: "{Parameter1: {value: "1", /// type: "int"}}". - public SqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), IDictionary storedProcedureParameters = default(IDictionary)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public SqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), IDictionary storedProcedureParameters = default(IDictionary)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareSource.cs index b603a762f918..c9759c70e6e5 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SquareSource.cs @@ -38,10 +38,13 @@ public SquareSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public SquareSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public SquareSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/VerticaSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/VerticaSource.cs index 2ebb0c028114..81bc5eec678b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/VerticaSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/VerticaSource.cs @@ -38,10 +38,13 @@ public VerticaSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public VerticaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public VerticaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebSource.cs index e1e48dc0f9dc..94adcaeac67b 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/WebSource.cs @@ -37,8 +37,11 @@ public WebSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). - public WebSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + public WebSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { CustomInit(); } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroSource.cs index 32f5f668cf92..74317340fd34 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/XeroSource.cs @@ -38,10 +38,13 @@ public XeroSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public XeroSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public XeroSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoSource.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoSource.cs index dfc1f9c156ca..ddc4820a857c 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoSource.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/Models/ZohoSource.cs @@ -38,10 +38,13 @@ public ZohoSource() /// Source retry wait. Type: string (or /// Expression with resultType string), pattern: /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public ZohoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait) + public ZohoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; CustomInit(); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperations.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperations.cs index 7ee0f05a73ae..011c56eb99ea 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperations.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperations.cs @@ -1066,6 +1066,15 @@ internal PipelinesOperations(DataFactoryManagementClient client) /// The pipeline run identifier. If run ID is specified the parameters of the /// specified run will be used to create a new run. /// + /// + /// Recovery mode flag. If recovery mode is set to true, the specified + /// referenced pipeline run and the new run will be grouped under the same + /// groupId. + /// + /// + /// In recovery mode, the rerun will start from this activity. If not + /// specified, all activities will run. + /// /// /// Parameters of the pipeline run. These parameters will be used only if the /// runId is not specified. @@ -1091,7 +1100,7 @@ internal PipelinesOperations(DataFactoryManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateRunWithHttpMessagesAsync(string resourceGroupName, string factoryName, string pipelineName, string referencePipelineRunId = default(string), IDictionary parameters = default(IDictionary), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateRunWithHttpMessagesAsync(string resourceGroupName, string factoryName, string pipelineName, string referencePipelineRunId = default(string), bool? isRecovery = default(bool?), string startActivityName = default(string), IDictionary parameters = default(IDictionary), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -1169,6 +1178,8 @@ internal PipelinesOperations(DataFactoryManagementClient client) tracingParameters.Add("factoryName", factoryName); tracingParameters.Add("pipelineName", pipelineName); tracingParameters.Add("referencePipelineRunId", referencePipelineRunId); + tracingParameters.Add("isRecovery", isRecovery); + tracingParameters.Add("startActivityName", startActivityName); tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateRun", tracingParameters); @@ -1189,6 +1200,14 @@ internal PipelinesOperations(DataFactoryManagementClient client) { _queryParameters.Add(string.Format("referencePipelineRunId={0}", System.Uri.EscapeDataString(referencePipelineRunId))); } + if (isRecovery != null) + { + _queryParameters.Add(string.Format("isRecovery={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(isRecovery, Client.SerializationSettings).Trim('"')))); + } + if (startActivityName != null) + { + _queryParameters.Add(string.Format("startActivityName={0}", System.Uri.EscapeDataString(startActivityName))); + } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperationsExtensions.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperationsExtensions.cs index f313d76a955e..3179cc730385 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperationsExtensions.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/PipelinesOperationsExtensions.cs @@ -241,13 +241,22 @@ public static void Delete(this IPipelinesOperations operations, string resourceG /// The pipeline run identifier. If run ID is specified the parameters of the /// specified run will be used to create a new run. /// + /// + /// Recovery mode flag. If recovery mode is set to true, the specified + /// referenced pipeline run and the new run will be grouped under the same + /// groupId. + /// + /// + /// In recovery mode, the rerun will start from this activity. If not + /// specified, all activities will run. + /// /// /// Parameters of the pipeline run. These parameters will be used only if the /// runId is not specified. /// - public static CreateRunResponse CreateRun(this IPipelinesOperations operations, string resourceGroupName, string factoryName, string pipelineName, string referencePipelineRunId = default(string), IDictionary parameters = default(IDictionary)) + public static CreateRunResponse CreateRun(this IPipelinesOperations operations, string resourceGroupName, string factoryName, string pipelineName, string referencePipelineRunId = default(string), bool? isRecovery = default(bool?), string startActivityName = default(string), IDictionary parameters = default(IDictionary)) { - return operations.CreateRunAsync(resourceGroupName, factoryName, pipelineName, referencePipelineRunId, parameters).GetAwaiter().GetResult(); + return operations.CreateRunAsync(resourceGroupName, factoryName, pipelineName, referencePipelineRunId, isRecovery, startActivityName, parameters).GetAwaiter().GetResult(); } /// @@ -269,6 +278,15 @@ public static void Delete(this IPipelinesOperations operations, string resourceG /// The pipeline run identifier. If run ID is specified the parameters of the /// specified run will be used to create a new run. /// + /// + /// Recovery mode flag. If recovery mode is set to true, the specified + /// referenced pipeline run and the new run will be grouped under the same + /// groupId. + /// + /// + /// In recovery mode, the rerun will start from this activity. If not + /// specified, all activities will run. + /// /// /// Parameters of the pipeline run. These parameters will be used only if the /// runId is not specified. @@ -276,9 +294,9 @@ public static void Delete(this IPipelinesOperations operations, string resourceG /// /// The cancellation token. /// - public static async Task CreateRunAsync(this IPipelinesOperations operations, string resourceGroupName, string factoryName, string pipelineName, string referencePipelineRunId = default(string), IDictionary parameters = default(IDictionary), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateRunAsync(this IPipelinesOperations operations, string resourceGroupName, string factoryName, string pipelineName, string referencePipelineRunId = default(string), bool? isRecovery = default(bool?), string startActivityName = default(string), IDictionary parameters = default(IDictionary), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateRunWithHttpMessagesAsync(resourceGroupName, factoryName, pipelineName, referencePipelineRunId, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateRunWithHttpMessagesAsync(resourceGroupName, factoryName, pipelineName, referencePipelineRunId, isRecovery, startActivityName, parameters, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } diff --git a/src/SDKs/DataFactory/Management.DataFactory/Generated/SdkInfo_DataFactoryManagementClient.cs b/src/SDKs/DataFactory/Management.DataFactory/Generated/SdkInfo_DataFactoryManagementClient.cs index efc9a5ef8ce4..c095b33afc06 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Generated/SdkInfo_DataFactoryManagementClient.cs +++ b/src/SDKs/DataFactory/Management.DataFactory/Generated/SdkInfo_DataFactoryManagementClient.cs @@ -39,10 +39,10 @@ public static IEnumerable> ApiInfo_DataFactoryMana // BEGIN: Code Generation Metadata Section public static readonly String AutoRestVersion = "latest"; public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datafactory/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --tag=package-2018-06 --csharp-sdks-folder=F:\\TFS\\azure-sdk-for-net\\src\\SDKs"; + public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datafactory/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --tag=package-2018-06 --csharp-sdks-folder=C:\\Repos\\azure-sdk-for-net\\src\\SDKs"; public static readonly String GithubForkName = "Azure"; public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "17b815413d93945f0248bfdb678432a80037cefa"; + public static readonly String GithubCommidId = "29f93fd613a783b7cce749669f24bf8e25aba96a"; public static readonly String CodeGenerationErrors = ""; public static readonly String GithubRepoName = "azure-rest-api-specs"; // END: Code Generation Metadata Section diff --git a/src/SDKs/DataFactory/Management.DataFactory/Microsoft.Azure.Management.DataFactory.csproj b/src/SDKs/DataFactory/Management.DataFactory/Microsoft.Azure.Management.DataFactory.csproj index 4afd286e17fc..27e6c952db52 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/Microsoft.Azure.Management.DataFactory.csproj +++ b/src/SDKs/DataFactory/Management.DataFactory/Microsoft.Azure.Management.DataFactory.csproj @@ -10,7 +10,10 @@ Microsoft.Azure.Management.DataFactory Microsoft Azure resource management;Data Factory;ADF; diff --git a/src/SDKs/DataFactory/Management.DataFactory/changelog.md b/src/SDKs/DataFactory/Management.DataFactory/changelog.md index 15b9179e6c2a..24a73b11e547 100644 --- a/src/SDKs/DataFactory/Management.DataFactory/changelog.md +++ b/src/SDKs/DataFactory/Management.DataFactory/changelog.md @@ -4,9 +4,10 @@ ## Version 3.0.2 ### Feature Additions - - Add support for RestService Source - - Add support for SAP BW Open Hub Source - - Add support for collectionReference + - Added support for RestService Source + - Added support for SAP BW Open Hub Source + - Added support for collectionReference + - Added support for recovery mode for pipeline runs ## Version 3.0.1 diff --git a/src/SDKs/_metadata/datafactory_resource-manager.txt b/src/SDKs/_metadata/datafactory_resource-manager.txt index 5e3c2b5fe21c..e6b7d8c7ee24 100644 --- a/src/SDKs/_metadata/datafactory_resource-manager.txt +++ b/src/SDKs/_metadata/datafactory_resource-manager.txt @@ -3,12 +3,12 @@ AutoRest installed successfully. Commencing code generation Generating CSharp code Executing AutoRest command -cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datafactory/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --tag=package-2018-06 --csharp-sdks-folder=F:\TFS\azure-sdk-for-net\src\SDKs -2019-01-18 23:08:09 UTC +cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datafactory/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --tag=package-2018-06 --csharp-sdks-folder=C:\Repos\azure-sdk-for-net\src\SDKs +2019-02-21 22:01:50 UTC Azure-rest-api-specs repository information GitHub fork: Azure Branch: master -Commit: 17b815413d93945f0248bfdb678432a80037cefa +Commit: 29f93fd613a783b7cce749669f24bf8e25aba96a AutoRest information Requested version: latest Bootstrapper version: autorest@2.0.4283