diff --git a/lib/services/datafactoryManagement/lib/models/amazonMWSSource.js b/lib/services/datafactoryManagement/lib/models/amazonMWSSource.js index 0736350d8b..fe1eb5ad62 100644 --- a/lib/services/datafactoryManagement/lib/models/amazonMWSSource.js +++ b/lib/services/datafactoryManagement/lib/models/amazonMWSSource.js @@ -60,6 +60,13 @@ class AmazonMWSSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/amazonRedshiftSource.js b/lib/services/datafactoryManagement/lib/models/amazonRedshiftSource.js index 440fad5d14..f9f1312a39 100644 --- a/lib/services/datafactoryManagement/lib/models/amazonRedshiftSource.js +++ b/lib/services/datafactoryManagement/lib/models/amazonRedshiftSource.js @@ -77,6 +77,13 @@ class AmazonRedshiftSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/amazonS3Dataset.js b/lib/services/datafactoryManagement/lib/models/amazonS3Dataset.js index 6157521d88..88166388bb 100644 --- a/lib/services/datafactoryManagement/lib/models/amazonS3Dataset.js +++ b/lib/services/datafactoryManagement/lib/models/amazonS3Dataset.js @@ -28,6 +28,10 @@ class AmazonS3Dataset extends models['Dataset'] { * Type: string (or Expression with resultType string). * @property {object} [version] The version for the S3 object. Type: string * (or Expression with resultType string). + * @property {object} [modifiedDatetimeStart] The start of S3 object's + * modified datetime. Type: string (or Expression with resultType string). + * @property {object} [modifiedDatetimeEnd] The end of S3 object's modified + * datetime. Type: string (or Expression with resultType string). * @property {object} [format] The format of files. * @property {object} [format.serializer] Serializer. Type: string (or * Expression with resultType string). @@ -164,6 +168,20 @@ class AmazonS3Dataset extends models['Dataset'] { name: 'Object' } }, + modifiedDatetimeStart: { + required: false, + serializedName: 'typeProperties.modifiedDatetimeStart', + type: { + name: 'Object' + } + }, + modifiedDatetimeEnd: { + required: false, + serializedName: 'typeProperties.modifiedDatetimeEnd', + type: { + name: 'Object' + } + }, format: { required: false, serializedName: 'typeProperties.format', diff --git a/lib/services/datafactoryManagement/lib/models/amazonS3LinkedService.js b/lib/services/datafactoryManagement/lib/models/amazonS3LinkedService.js index 5db05a96f1..2ab0c2f96d 100644 --- a/lib/services/datafactoryManagement/lib/models/amazonS3LinkedService.js +++ b/lib/services/datafactoryManagement/lib/models/amazonS3LinkedService.js @@ -26,6 +26,10 @@ class AmazonS3LinkedService extends models['LinkedService'] { * @property {object} [secretAccessKey] The secret access key of the Amazon * S3 Identity and Access Management (IAM) user. * @property {string} [secretAccessKey.type] Polymorphic Discriminator + * @property {object} [serviceUrl] 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). * @property {object} [encryptedCredential] The encrypted credential used for * authentication. Credentials are encrypted using the integration runtime * credential manager. Type: string (or Expression with resultType string). @@ -125,6 +129,13 @@ class AmazonS3LinkedService extends models['LinkedService'] { className: 'SecretBase' } }, + serviceUrl: { + required: false, + serializedName: 'typeProperties.serviceUrl', + type: { + name: 'Object' + } + }, encryptedCredential: { required: false, serializedName: 'typeProperties.encryptedCredential', diff --git a/lib/services/datafactoryManagement/lib/models/azureBlobDataset.js b/lib/services/datafactoryManagement/lib/models/azureBlobDataset.js index cb598b72cf..48f2bca841 100644 --- a/lib/services/datafactoryManagement/lib/models/azureBlobDataset.js +++ b/lib/services/datafactoryManagement/lib/models/azureBlobDataset.js @@ -26,6 +26,10 @@ class AzureBlobDataset extends models['Dataset'] { * (or Expression with resultType string). * @property {object} [fileName] The name of the Azure Blob. Type: string (or * Expression with resultType string). + * @property {object} [modifiedDatetimeStart] The start of Azure Blob's + * modified datetime. Type: string (or Expression with resultType string). + * @property {object} [modifiedDatetimeEnd] The end of Azure Blob's modified + * datetime. Type: string (or Expression with resultType string). * @property {object} [format] The format of the Azure Blob storage. * @property {object} [format.serializer] Serializer. Type: string (or * Expression with resultType string). @@ -155,6 +159,20 @@ class AzureBlobDataset extends models['Dataset'] { name: 'Object' } }, + modifiedDatetimeStart: { + required: false, + serializedName: 'typeProperties.modifiedDatetimeStart', + type: { + name: 'Object' + } + }, + modifiedDatetimeEnd: { + required: false, + serializedName: 'typeProperties.modifiedDatetimeEnd', + type: { + name: 'Object' + } + }, format: { required: false, serializedName: 'typeProperties.format', diff --git a/lib/services/datafactoryManagement/lib/models/azureBlobFSDataset.js b/lib/services/datafactoryManagement/lib/models/azureBlobFSDataset.js new file mode 100644 index 0000000000..aa588f77bf --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/azureBlobFSDataset.js @@ -0,0 +1,206 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * The Azure Data Lake Storage Gen2 storage. + * + * @extends models['Dataset'] + */ +class AzureBlobFSDataset extends models['Dataset'] { + /** + * Create a AzureBlobFSDataset. + * @property {object} [folderPath] The path of the Azure Data Lake Storage + * Gen2 storage. Type: string (or Expression with resultType string). + * @property {object} [fileName] The name of the Azure Data Lake Storage + * Gen2. Type: string (or Expression with resultType string). + * @property {object} [format] The format of the Azure Data Lake Storage Gen2 + * storage. + * @property {object} [format.serializer] Serializer. Type: string (or + * Expression with resultType string). + * @property {object} [format.deserializer] Deserializer. Type: string (or + * Expression with resultType string). + * @property {string} [format.type] Polymorphic Discriminator + * @property {object} [compression] The data compression method used for the + * blob storage. + * @property {string} [compression.type] Polymorphic Discriminator + */ + constructor() { + super(); + } + + /** + * Defines the metadata of AzureBlobFSDataset + * + * @returns {object} metadata of AzureBlobFSDataset + * + */ + mapper() { + return { + required: false, + serializedName: 'AzureBlobFSFile', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'Dataset', + className: 'AzureBlobFSDataset', + modelProperties: { + description: { + required: false, + serializedName: 'description', + type: { + name: 'String' + } + }, + structure: { + required: false, + serializedName: 'structure', + type: { + name: 'Object' + } + }, + schema: { + required: false, + serializedName: 'schema', + type: { + name: 'Object' + } + }, + linkedServiceName: { + required: true, + serializedName: 'linkedServiceName', + defaultValue: {}, + type: { + name: 'Composite', + className: 'LinkedServiceReference' + } + }, + parameters: { + required: false, + serializedName: 'parameters', + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ParameterSpecificationElementType', + type: { + name: 'Composite', + className: 'ParameterSpecification' + } + } + } + }, + annotations: { + required: false, + serializedName: 'annotations', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + folder: { + required: false, + serializedName: 'folder', + type: { + name: 'Composite', + className: 'DatasetFolder' + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + folderPath: { + required: false, + serializedName: 'typeProperties.folderPath', + type: { + name: 'Object' + } + }, + fileName: { + required: false, + serializedName: 'typeProperties.fileName', + type: { + name: 'Object' + } + }, + format: { + required: false, + serializedName: 'typeProperties.format', + type: { + name: 'Composite', + additionalProperties: { + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'DatasetStorageFormat', + className: 'DatasetStorageFormat' + } + }, + compression: { + required: false, + serializedName: 'typeProperties.compression', + type: { + name: 'Composite', + additionalProperties: { + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'DatasetCompression', + className: 'DatasetCompression' + } + } + } + } + }; + } +} + +module.exports = AzureBlobFSDataset; diff --git a/lib/services/datafactoryManagement/lib/models/azureBlobFSLinkedService.js b/lib/services/datafactoryManagement/lib/models/azureBlobFSLinkedService.js new file mode 100644 index 0000000000..6ee5816819 --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/azureBlobFSLinkedService.js @@ -0,0 +1,169 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * Azure Data Lake Storage Gen2 linked service. + * + * @extends models['LinkedService'] + */ +class AzureBlobFSLinkedService extends models['LinkedService'] { + /** + * Create a AzureBlobFSLinkedService. + * @property {object} url Endpoint for the Azure Data Lake Storage Gen2 + * service. Type: string (or Expression with resultType string). + * @property {object} [accountKey] Account key for the Azure Data Lake + * Storage Gen2 service. Type: string (or Expression with resultType string). + * @property {object} [servicePrincipalId] The ID of the application used to + * authenticate against the Azure Data Lake Storage Gen2 account. Type: + * string (or Expression with resultType string). + * @property {object} [servicePrincipalKey] The Key of the application used + * to authenticate against the Azure Data Lake Storage Gen2 account. + * @property {string} [servicePrincipalKey.type] Polymorphic Discriminator + * @property {object} [tenant] The name or ID of the tenant to which the + * service principal belongs. Type: string (or Expression with resultType + * string). + * @property {object} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + constructor() { + super(); + } + + /** + * Defines the metadata of AzureBlobFSLinkedService + * + * @returns {object} metadata of AzureBlobFSLinkedService + * + */ + mapper() { + return { + required: false, + serializedName: 'AzureBlobFS', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'LinkedService', + className: 'AzureBlobFSLinkedService', + modelProperties: { + connectVia: { + required: false, + serializedName: 'connectVia', + type: { + name: 'Composite', + className: 'IntegrationRuntimeReference' + } + }, + description: { + required: false, + serializedName: 'description', + type: { + name: 'String' + } + }, + parameters: { + required: false, + serializedName: 'parameters', + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ParameterSpecificationElementType', + type: { + name: 'Composite', + className: 'ParameterSpecification' + } + } + } + }, + annotations: { + required: false, + serializedName: 'annotations', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + url: { + required: true, + serializedName: 'typeProperties.url', + type: { + name: 'Object' + } + }, + accountKey: { + required: false, + serializedName: 'typeProperties.accountKey', + type: { + name: 'Object' + } + }, + servicePrincipalId: { + required: false, + serializedName: 'typeProperties.servicePrincipalId', + type: { + name: 'Object' + } + }, + servicePrincipalKey: { + required: false, + serializedName: 'typeProperties.servicePrincipalKey', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'SecretBase', + className: 'SecretBase' + } + }, + tenant: { + required: false, + serializedName: 'typeProperties.tenant', + type: { + name: 'Object' + } + }, + encryptedCredential: { + required: false, + serializedName: 'typeProperties.encryptedCredential', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = AzureBlobFSLinkedService; diff --git a/lib/services/datafactoryManagement/lib/models/azureBlobFSSink.js b/lib/services/datafactoryManagement/lib/models/azureBlobFSSink.js new file mode 100644 index 0000000000..f52e88cadc --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/azureBlobFSSink.js @@ -0,0 +1,106 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * A copy activity Azure Data Lake Storage Gen2 sink. + * + * @extends models['CopySink'] + */ +class AzureBlobFSSink extends models['CopySink'] { + /** + * Create a AzureBlobFSSink. + * @property {string} [copyBehavior] The type of copy behavior for copy sink. + * Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', + * 'MergeFiles' + */ + constructor() { + super(); + } + + /** + * Defines the metadata of AzureBlobFSSink + * + * @returns {object} metadata of AzureBlobFSSink + * + */ + mapper() { + return { + required: false, + serializedName: 'AzureBlobFSSink', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'CopySink', + className: 'AzureBlobFSSink', + modelProperties: { + writeBatchSize: { + required: false, + serializedName: 'writeBatchSize', + type: { + name: 'Object' + } + }, + writeBatchTimeout: { + required: false, + serializedName: 'writeBatchTimeout', + type: { + name: 'Object' + } + }, + sinkRetryCount: { + required: false, + serializedName: 'sinkRetryCount', + type: { + name: 'Object' + } + }, + sinkRetryWait: { + required: false, + serializedName: 'sinkRetryWait', + type: { + name: 'Object' + } + }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + copyBehavior: { + required: false, + serializedName: 'copyBehavior', + type: { + name: 'String' + } + } + } + } + }; + } +} + +module.exports = AzureBlobFSSink; diff --git a/lib/services/datafactoryManagement/lib/models/azureBlobFSSource.js b/lib/services/datafactoryManagement/lib/models/azureBlobFSSource.js new file mode 100644 index 0000000000..efaab752fc --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/azureBlobFSSource.js @@ -0,0 +1,110 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * A copy activity Azure BlobFS source. + * + * @extends models['CopySource'] + */ +class AzureBlobFSSource extends models['CopySource'] { + /** + * Create a AzureBlobFSSource. + * @property {object} [treatEmptyAsNull] Treat empty as null. Type: boolean + * (or Expression with resultType boolean). + * @property {object} [skipHeaderLineCount] Number of header lines to skip + * from each blob. Type: integer (or Expression with resultType integer). + * @property {object} [recursive] If true, files under the folder path will + * be read recursively. Default is true. Type: boolean (or Expression with + * resultType boolean). + */ + constructor() { + super(); + } + + /** + * Defines the metadata of AzureBlobFSSource + * + * @returns {object} metadata of AzureBlobFSSource + * + */ + mapper() { + return { + required: false, + serializedName: 'AzureBlobFSSource', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'CopySource', + className: 'AzureBlobFSSource', + modelProperties: { + sourceRetryCount: { + required: false, + serializedName: 'sourceRetryCount', + type: { + name: 'Object' + } + }, + sourceRetryWait: { + required: false, + serializedName: 'sourceRetryWait', + type: { + name: 'Object' + } + }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + treatEmptyAsNull: { + required: false, + serializedName: 'treatEmptyAsNull', + type: { + name: 'Object' + } + }, + skipHeaderLineCount: { + required: false, + serializedName: 'skipHeaderLineCount', + type: { + name: 'Object' + } + }, + recursive: { + required: false, + serializedName: 'recursive', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = AzureBlobFSSource; diff --git a/lib/services/datafactoryManagement/lib/models/azureDataExplorerLinkedService.js b/lib/services/datafactoryManagement/lib/models/azureDataExplorerLinkedService.js new file mode 100644 index 0000000000..895afb58cb --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/azureDataExplorerLinkedService.js @@ -0,0 +1,161 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * Azure Data Explorer (Kusto) linked service. + * + * @extends models['LinkedService'] + */ +class AzureDataExplorerLinkedService extends models['LinkedService'] { + /** + * Create a AzureDataExplorerLinkedService. + * @property {object} endpoint The endpoint of Azure Data Explorer (the + * engine's endpoint). URL will be in the format + * https://..kusto.windows.net. Type: string (or + * Expression with resultType string) + * @property {object} servicePrincipalId The ID of the service principal used + * to authenticate against Azure Data Explorer. Type: string (or Expression + * with resultType string). + * @property {object} servicePrincipalKey The key of the service principal + * used to authenticate against Kusto. + * @property {string} [servicePrincipalKey.type] Polymorphic Discriminator + * @property {object} database Database name for connection. Type: string (or + * Expression with resultType string). + * @property {object} tenant The name or ID of the tenant to which the + * service principal belongs. Type: string (or Expression with resultType + * string). + */ + constructor() { + super(); + } + + /** + * Defines the metadata of AzureDataExplorerLinkedService + * + * @returns {object} metadata of AzureDataExplorerLinkedService + * + */ + mapper() { + return { + required: false, + serializedName: 'AzureDataExplorer', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'LinkedService', + className: 'AzureDataExplorerLinkedService', + modelProperties: { + connectVia: { + required: false, + serializedName: 'connectVia', + type: { + name: 'Composite', + className: 'IntegrationRuntimeReference' + } + }, + description: { + required: false, + serializedName: 'description', + type: { + name: 'String' + } + }, + parameters: { + required: false, + serializedName: 'parameters', + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ParameterSpecificationElementType', + type: { + name: 'Composite', + className: 'ParameterSpecification' + } + } + } + }, + annotations: { + required: false, + serializedName: 'annotations', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + endpoint: { + required: true, + serializedName: 'typeProperties.endpoint', + type: { + name: 'Object' + } + }, + servicePrincipalId: { + required: true, + serializedName: 'typeProperties.servicePrincipalId', + type: { + name: 'Object' + } + }, + servicePrincipalKey: { + required: true, + serializedName: 'typeProperties.servicePrincipalKey', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'SecretBase', + className: 'SecretBase' + } + }, + database: { + required: true, + serializedName: 'typeProperties.database', + type: { + name: 'Object' + } + }, + tenant: { + required: true, + serializedName: 'typeProperties.tenant', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = AzureDataExplorerLinkedService; diff --git a/lib/services/datafactoryManagement/lib/models/azureDataExplorerSink.js b/lib/services/datafactoryManagement/lib/models/azureDataExplorerSink.js new file mode 100644 index 0000000000..6d1096d787 --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/azureDataExplorerSink.js @@ -0,0 +1,123 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * A copy activity Azure Data Explorer sink. + * + * @extends models['CopySink'] + */ +class AzureDataExplorerSink extends models['CopySink'] { + /** + * Create a AzureDataExplorerSink. + * @property {object} [ingestionMappingName] A name of a pre-created csv + * mapping that was defined on the target Kusto table. Type: string. + * @property {object} [ingestionMappingAsJson] An explicit column mapping + * description provided in a json format. Type: string. + * @property {object} [flushImmediately] If set to true, any aggregation will + * be skipped. Default is false. Type: boolean. + */ + constructor() { + super(); + } + + /** + * Defines the metadata of AzureDataExplorerSink + * + * @returns {object} metadata of AzureDataExplorerSink + * + */ + mapper() { + return { + required: false, + serializedName: 'AzureDataExplorerSink', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'CopySink', + className: 'AzureDataExplorerSink', + modelProperties: { + writeBatchSize: { + required: false, + serializedName: 'writeBatchSize', + type: { + name: 'Object' + } + }, + writeBatchTimeout: { + required: false, + serializedName: 'writeBatchTimeout', + type: { + name: 'Object' + } + }, + sinkRetryCount: { + required: false, + serializedName: 'sinkRetryCount', + type: { + name: 'Object' + } + }, + sinkRetryWait: { + required: false, + serializedName: 'sinkRetryWait', + type: { + name: 'Object' + } + }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + ingestionMappingName: { + required: false, + serializedName: 'ingestionMappingName', + type: { + name: 'Object' + } + }, + ingestionMappingAsJson: { + required: false, + serializedName: 'ingestionMappingAsJson', + type: { + name: 'Object' + } + }, + flushImmediately: { + required: false, + serializedName: 'flushImmediately', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = AzureDataExplorerSink; diff --git a/lib/services/datafactoryManagement/lib/models/azureDataExplorerSource.js b/lib/services/datafactoryManagement/lib/models/azureDataExplorerSource.js new file mode 100644 index 0000000000..090f0a5d20 --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/azureDataExplorerSource.js @@ -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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * A copy activity Azure Data Explorer (Kusto) source. + * + * @extends models['CopySource'] + */ +class AzureDataExplorerSource extends models['CopySource'] { + /** + * Create a AzureDataExplorerSource. + * @property {object} query Database query. Should be a Kusto Query Language + * (KQL) query. Type: string (or Expression with resultType string). + * @property {object} [noTruncation] The name of the Boolean option that + * controls whether truncation is applied to result-sets that go beyond a + * certain row-count limit. + * @property {object} [queryTimeout] Query timeout. Type: string (or + * Expression with resultType string), pattern: + * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).. + */ + constructor() { + super(); + } + + /** + * Defines the metadata of AzureDataExplorerSource + * + * @returns {object} metadata of AzureDataExplorerSource + * + */ + mapper() { + return { + required: false, + serializedName: 'AzureDataExplorerSource', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'CopySource', + className: 'AzureDataExplorerSource', + modelProperties: { + sourceRetryCount: { + required: false, + serializedName: 'sourceRetryCount', + type: { + name: 'Object' + } + }, + sourceRetryWait: { + required: false, + serializedName: 'sourceRetryWait', + type: { + name: 'Object' + } + }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + query: { + required: true, + serializedName: 'query', + type: { + name: 'Object' + } + }, + noTruncation: { + required: false, + serializedName: 'noTruncation', + type: { + name: 'Object' + } + }, + queryTimeout: { + required: false, + serializedName: 'queryTimeout', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = AzureDataExplorerSource; diff --git a/lib/services/datafactoryManagement/lib/models/azureDataExplorerTableDataset.js b/lib/services/datafactoryManagement/lib/models/azureDataExplorerTableDataset.js new file mode 100644 index 0000000000..6751038826 --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/azureDataExplorerTableDataset.js @@ -0,0 +1,137 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * The Azure Data Explorer (Kusto) dataset. + * + * @extends models['Dataset'] + */ +class AzureDataExplorerTableDataset extends models['Dataset'] { + /** + * Create a AzureDataExplorerTableDataset. + * @property {object} [table] The table name of the Azure Data Explorer + * database. Type: string (or Expression with resultType string). + */ + constructor() { + super(); + } + + /** + * Defines the metadata of AzureDataExplorerTableDataset + * + * @returns {object} metadata of AzureDataExplorerTableDataset + * + */ + mapper() { + return { + required: false, + serializedName: 'AzureDataExplorerTable', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'Dataset', + className: 'AzureDataExplorerTableDataset', + modelProperties: { + description: { + required: false, + serializedName: 'description', + type: { + name: 'String' + } + }, + structure: { + required: false, + serializedName: 'structure', + type: { + name: 'Object' + } + }, + schema: { + required: false, + serializedName: 'schema', + type: { + name: 'Object' + } + }, + linkedServiceName: { + required: true, + serializedName: 'linkedServiceName', + defaultValue: {}, + type: { + name: 'Composite', + className: 'LinkedServiceReference' + } + }, + parameters: { + required: false, + serializedName: 'parameters', + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ParameterSpecificationElementType', + type: { + name: 'Composite', + className: 'ParameterSpecification' + } + } + } + }, + annotations: { + required: false, + serializedName: 'annotations', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + folder: { + required: false, + serializedName: 'folder', + type: { + name: 'Composite', + className: 'DatasetFolder' + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + table: { + required: false, + serializedName: 'typeProperties.table', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = AzureDataExplorerTableDataset; diff --git a/lib/services/datafactoryManagement/lib/models/azureDataLakeStoreCosmosStructuredStreamDataset.js b/lib/services/datafactoryManagement/lib/models/azureDataLakeStoreCosmosStructuredStreamDataset.js new file mode 100644 index 0000000000..16c9e1d0d4 --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/azureDataLakeStoreCosmosStructuredStreamDataset.js @@ -0,0 +1,156 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * Azure Data Lake Store Cosmos Structured Stream dataset. + * + * @extends models['Dataset'] + */ +class AzureDataLakeStoreCosmosStructuredStreamDataset extends models['Dataset'] { + /** + * Create a AzureDataLakeStoreCosmosStructuredStreamDataset. + * @property {object} folderPath Path to the folder in the Azure Data Lake + * Store. Type: string (or Expression with resultType string). + * @property {object} fileName The name of the file in the Azure Data Lake + * Store. Type: string (or Expression with resultType string). + * @property {object} [generatedFromActivity] Flag to indicate if this + * dataset is been generated from Compilation Activity. Type: boolean (or + * Expression with resultType boolean). + */ + constructor() { + super(); + } + + /** + * Defines the metadata of AzureDataLakeStoreCosmosStructuredStreamDataset + * + * @returns {object} metadata of AzureDataLakeStoreCosmosStructuredStreamDataset + * + */ + mapper() { + return { + required: false, + serializedName: 'AzureDataLakeStoreCosmosStructuredStreamFile', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'Dataset', + className: 'AzureDataLakeStoreCosmosStructuredStreamDataset', + modelProperties: { + description: { + required: false, + serializedName: 'description', + type: { + name: 'String' + } + }, + structure: { + required: false, + serializedName: 'structure', + type: { + name: 'Object' + } + }, + schema: { + required: false, + serializedName: 'schema', + type: { + name: 'Object' + } + }, + linkedServiceName: { + required: true, + serializedName: 'linkedServiceName', + defaultValue: {}, + type: { + name: 'Composite', + className: 'LinkedServiceReference' + } + }, + parameters: { + required: false, + serializedName: 'parameters', + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ParameterSpecificationElementType', + type: { + name: 'Composite', + className: 'ParameterSpecification' + } + } + } + }, + annotations: { + required: false, + serializedName: 'annotations', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + folder: { + required: false, + serializedName: 'folder', + type: { + name: 'Composite', + className: 'DatasetFolder' + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + folderPath: { + required: true, + serializedName: 'typeProperties.folderPath', + type: { + name: 'Object' + } + }, + fileName: { + required: true, + serializedName: 'typeProperties.fileName', + type: { + name: 'Object' + } + }, + generatedFromActivity: { + required: false, + serializedName: 'typeProperties.generatedFromActivity', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = AzureDataLakeStoreCosmosStructuredStreamDataset; diff --git a/lib/services/datafactoryManagement/lib/models/azureDataLakeStoreSink.js b/lib/services/datafactoryManagement/lib/models/azureDataLakeStoreSink.js index 8208e2271c..b5b546ac98 100644 --- a/lib/services/datafactoryManagement/lib/models/azureDataLakeStoreSink.js +++ b/lib/services/datafactoryManagement/lib/models/azureDataLakeStoreSink.js @@ -75,6 +75,13 @@ class AzureDataLakeStoreSink extends models['CopySink'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/azureDataLakeStoreSource.js b/lib/services/datafactoryManagement/lib/models/azureDataLakeStoreSource.js index 4af6b8a7e5..6dd4cf3b8a 100644 --- a/lib/services/datafactoryManagement/lib/models/azureDataLakeStoreSource.js +++ b/lib/services/datafactoryManagement/lib/models/azureDataLakeStoreSource.js @@ -61,6 +61,13 @@ class AzureDataLakeStoreSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/azureMySqlSource.js b/lib/services/datafactoryManagement/lib/models/azureMySqlSource.js index f533eeeda9..02c453c04a 100644 --- a/lib/services/datafactoryManagement/lib/models/azureMySqlSource.js +++ b/lib/services/datafactoryManagement/lib/models/azureMySqlSource.js @@ -60,6 +60,13 @@ class AzureMySqlSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/azurePostgreSqlSource.js b/lib/services/datafactoryManagement/lib/models/azurePostgreSqlSource.js index 8c38ea95ed..25359e00f3 100644 --- a/lib/services/datafactoryManagement/lib/models/azurePostgreSqlSource.js +++ b/lib/services/datafactoryManagement/lib/models/azurePostgreSqlSource.js @@ -60,6 +60,13 @@ class AzurePostgreSqlSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/azureQueueSink.js b/lib/services/datafactoryManagement/lib/models/azureQueueSink.js index 4af0fd638e..b694054b51 100644 --- a/lib/services/datafactoryManagement/lib/models/azureQueueSink.js +++ b/lib/services/datafactoryManagement/lib/models/azureQueueSink.js @@ -72,6 +72,13 @@ class AzureQueueSink extends models['CopySink'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/azureSearchIndexSink.js b/lib/services/datafactoryManagement/lib/models/azureSearchIndexSink.js index 9e6566ea22..af3cb08f54 100644 --- a/lib/services/datafactoryManagement/lib/models/azureSearchIndexSink.js +++ b/lib/services/datafactoryManagement/lib/models/azureSearchIndexSink.js @@ -75,6 +75,13 @@ class AzureSearchIndexSink extends models['CopySink'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/azureTableSink.js b/lib/services/datafactoryManagement/lib/models/azureTableSink.js index 302331a578..efdf74fdcb 100644 --- a/lib/services/datafactoryManagement/lib/models/azureTableSink.js +++ b/lib/services/datafactoryManagement/lib/models/azureTableSink.js @@ -81,6 +81,13 @@ class AzureTableSink extends models['CopySink'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/azureTableSource.js b/lib/services/datafactoryManagement/lib/models/azureTableSource.js index f5d036f01d..7a7dec87a7 100644 --- a/lib/services/datafactoryManagement/lib/models/azureTableSource.js +++ b/lib/services/datafactoryManagement/lib/models/azureTableSource.js @@ -63,6 +63,13 @@ class AzureTableSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/blobSink.js b/lib/services/datafactoryManagement/lib/models/blobSink.js index a102c652e8..5db4391e84 100644 --- a/lib/services/datafactoryManagement/lib/models/blobSink.js +++ b/lib/services/datafactoryManagement/lib/models/blobSink.js @@ -81,6 +81,13 @@ class BlobSink extends models['CopySink'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/blobSource.js b/lib/services/datafactoryManagement/lib/models/blobSource.js index 31aec6da60..5e5b9af878 100644 --- a/lib/services/datafactoryManagement/lib/models/blobSource.js +++ b/lib/services/datafactoryManagement/lib/models/blobSource.js @@ -65,6 +65,13 @@ class BlobSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/cassandraSource.js b/lib/services/datafactoryManagement/lib/models/cassandraSource.js index 13108991f6..54c7581366 100644 --- a/lib/services/datafactoryManagement/lib/models/cassandraSource.js +++ b/lib/services/datafactoryManagement/lib/models/cassandraSource.js @@ -69,6 +69,13 @@ class CassandraSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/concurSource.js b/lib/services/datafactoryManagement/lib/models/concurSource.js index 11b59892f4..20668f0fe0 100644 --- a/lib/services/datafactoryManagement/lib/models/concurSource.js +++ b/lib/services/datafactoryManagement/lib/models/concurSource.js @@ -60,6 +60,13 @@ class ConcurSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/copyActivity.js b/lib/services/datafactoryManagement/lib/models/copyActivity.js index de39646556..78a348aa3e 100644 --- a/lib/services/datafactoryManagement/lib/models/copyActivity.js +++ b/lib/services/datafactoryManagement/lib/models/copyActivity.js @@ -26,6 +26,9 @@ class CopyActivity extends models['ExecutionActivity'] { * @property {object} [source.sourceRetryWait] Source retry wait. Type: * string (or Expression with resultType string), pattern: * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * @property {object} [source.maxConcurrentConnections] The maximum + * concurrent connection count for the source data store. Type: integer (or + * Expression with resultType integer). * @property {string} [source.type] Polymorphic Discriminator * @property {object} sink Copy activity sink. * @property {object} [sink.writeBatchSize] Write batch size. Type: integer @@ -38,6 +41,9 @@ class CopyActivity extends models['ExecutionActivity'] { * @property {object} [sink.sinkRetryWait] Sink retry wait. Type: string (or * Expression with resultType string), pattern: * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * @property {object} [sink.maxConcurrentConnections] The maximum concurrent + * connection count for the sink data store. Type: integer (or Expression + * with resultType integer). * @property {string} [sink.type] Polymorphic Discriminator * @property {object} [translator] Copy activity translator. If not * specified, tabular translator is used. @@ -77,6 +83,7 @@ class CopyActivity extends models['ExecutionActivity'] { * @property {object} [redirectIncompatibleRowSettings.path] The path for * storing the redirect incompatible row data. Type: string (or Expression * with resultType string). + * @property {array} [preserveRules] Preserve Rules. * @property {array} [inputs] List of inputs for the activity. * @property {array} [outputs] List of outputs for the activity. */ @@ -338,6 +345,20 @@ class CopyActivity extends models['ExecutionActivity'] { className: 'RedirectIncompatibleRowSettings' } }, + preserveRules: { + required: false, + serializedName: 'typeProperties.preserveRules', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, inputs: { required: false, serializedName: 'inputs', diff --git a/lib/services/datafactoryManagement/lib/models/copySink.js b/lib/services/datafactoryManagement/lib/models/copySink.js index 20619ba255..c9899f8970 100644 --- a/lib/services/datafactoryManagement/lib/models/copySink.js +++ b/lib/services/datafactoryManagement/lib/models/copySink.js @@ -27,6 +27,9 @@ class CopySink { * @property {object} [sinkRetryWait] Sink retry wait. Type: string (or * Expression with resultType string), pattern: * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * @property {object} [maxConcurrentConnections] The maximum concurrent + * connection count for the sink data store. Type: integer (or Expression + * with resultType integer). * @property {string} type Polymorphic Discriminator */ constructor() { @@ -91,6 +94,13 @@ class CopySink { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/copySource.js b/lib/services/datafactoryManagement/lib/models/copySource.js index f9eb011521..899b234c92 100644 --- a/lib/services/datafactoryManagement/lib/models/copySource.js +++ b/lib/services/datafactoryManagement/lib/models/copySource.js @@ -22,6 +22,9 @@ class CopySource { * @property {object} [sourceRetryWait] Source retry wait. Type: string (or * Expression with resultType string), pattern: * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * @property {object} [maxConcurrentConnections] The maximum concurrent + * connection count for the source data store. Type: integer (or Expression + * with resultType integer). * @property {string} type Polymorphic Discriminator */ constructor() { @@ -72,6 +75,13 @@ class CopySource { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/cosmosDbMongoDbApiCollectionDataset.js b/lib/services/datafactoryManagement/lib/models/cosmosDbMongoDbApiCollectionDataset.js new file mode 100644 index 0000000000..2898512e8a --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/cosmosDbMongoDbApiCollectionDataset.js @@ -0,0 +1,137 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * The CosmosDB (MongoDB API) database dataset. + * + * @extends models['Dataset'] + */ +class CosmosDbMongoDbApiCollectionDataset extends models['Dataset'] { + /** + * Create a CosmosDbMongoDbApiCollectionDataset. + * @property {object} collection The collection name of the CosmosDB (MongoDB + * API) database. Type: string (or Expression with resultType string). + */ + constructor() { + super(); + } + + /** + * Defines the metadata of CosmosDbMongoDbApiCollectionDataset + * + * @returns {object} metadata of CosmosDbMongoDbApiCollectionDataset + * + */ + mapper() { + return { + required: false, + serializedName: 'CosmosDbMongoDbApiCollection', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'Dataset', + className: 'CosmosDbMongoDbApiCollectionDataset', + modelProperties: { + description: { + required: false, + serializedName: 'description', + type: { + name: 'String' + } + }, + structure: { + required: false, + serializedName: 'structure', + type: { + name: 'Object' + } + }, + schema: { + required: false, + serializedName: 'schema', + type: { + name: 'Object' + } + }, + linkedServiceName: { + required: true, + serializedName: 'linkedServiceName', + defaultValue: {}, + type: { + name: 'Composite', + className: 'LinkedServiceReference' + } + }, + parameters: { + required: false, + serializedName: 'parameters', + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ParameterSpecificationElementType', + type: { + name: 'Composite', + className: 'ParameterSpecification' + } + } + } + }, + annotations: { + required: false, + serializedName: 'annotations', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + folder: { + required: false, + serializedName: 'folder', + type: { + name: 'Composite', + className: 'DatasetFolder' + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + collection: { + required: true, + serializedName: 'typeProperties.collection', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = CosmosDbMongoDbApiCollectionDataset; diff --git a/lib/services/datafactoryManagement/lib/models/cosmosDbMongoDbApiLinkedService.js b/lib/services/datafactoryManagement/lib/models/cosmosDbMongoDbApiLinkedService.js new file mode 100644 index 0000000000..1933d6174a --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/cosmosDbMongoDbApiLinkedService.js @@ -0,0 +1,125 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * Linked service for CosmosDB (MongoDB API) data source. + * + * @extends models['LinkedService'] + */ +class CosmosDbMongoDbApiLinkedService extends models['LinkedService'] { + /** + * Create a CosmosDbMongoDbApiLinkedService. + * @property {object} connectionString The CosmosDB (MongoDB API) connection + * string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: + * string, SecureString or AzureKeyVaultSecretReference. + * @property {object} database The name of the CosmosDB (MongoDB API) + * database that you want to access. Type: string (or Expression with + * resultType string). + */ + constructor() { + super(); + } + + /** + * Defines the metadata of CosmosDbMongoDbApiLinkedService + * + * @returns {object} metadata of CosmosDbMongoDbApiLinkedService + * + */ + mapper() { + return { + required: false, + serializedName: 'CosmosDbMongoDbApi', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'LinkedService', + className: 'CosmosDbMongoDbApiLinkedService', + modelProperties: { + connectVia: { + required: false, + serializedName: 'connectVia', + type: { + name: 'Composite', + className: 'IntegrationRuntimeReference' + } + }, + description: { + required: false, + serializedName: 'description', + type: { + name: 'String' + } + }, + parameters: { + required: false, + serializedName: 'parameters', + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ParameterSpecificationElementType', + type: { + name: 'Composite', + className: 'ParameterSpecification' + } + } + } + }, + annotations: { + required: false, + serializedName: 'annotations', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + connectionString: { + required: true, + serializedName: 'typeProperties.connectionString', + type: { + name: 'Object' + } + }, + database: { + required: true, + serializedName: 'typeProperties.database', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = CosmosDbMongoDbApiLinkedService; diff --git a/lib/services/datafactoryManagement/lib/models/cosmosDbMongoDbApiSink.js b/lib/services/datafactoryManagement/lib/models/cosmosDbMongoDbApiSink.js new file mode 100644 index 0000000000..bd052d54d8 --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/cosmosDbMongoDbApiSink.js @@ -0,0 +1,107 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * A copy activity sink for a CosmosDB (MongoDB API) database. + * + * @extends models['CopySink'] + */ +class CosmosDbMongoDbApiSink extends models['CopySink'] { + /** + * Create a CosmosDbMongoDbApiSink. + * @property {object} [writeBehavior] 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). + */ + constructor() { + super(); + } + + /** + * Defines the metadata of CosmosDbMongoDbApiSink + * + * @returns {object} metadata of CosmosDbMongoDbApiSink + * + */ + mapper() { + return { + required: false, + serializedName: 'CosmosDbMongoDbApiSink', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'CopySink', + className: 'CosmosDbMongoDbApiSink', + modelProperties: { + writeBatchSize: { + required: false, + serializedName: 'writeBatchSize', + type: { + name: 'Object' + } + }, + writeBatchTimeout: { + required: false, + serializedName: 'writeBatchTimeout', + type: { + name: 'Object' + } + }, + sinkRetryCount: { + required: false, + serializedName: 'sinkRetryCount', + type: { + name: 'Object' + } + }, + sinkRetryWait: { + required: false, + serializedName: 'sinkRetryWait', + type: { + name: 'Object' + } + }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + writeBehavior: { + required: false, + serializedName: 'writeBehavior', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = CosmosDbMongoDbApiSink; diff --git a/lib/services/datafactoryManagement/lib/models/cosmosDbMongoDbApiSource.js b/lib/services/datafactoryManagement/lib/models/cosmosDbMongoDbApiSource.js new file mode 100644 index 0000000000..f4814cb3c6 --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/cosmosDbMongoDbApiSource.js @@ -0,0 +1,140 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * A copy activity source for a CosmosDB (MongoDB API) database. + * + * @extends models['CopySource'] + */ +class CosmosDbMongoDbApiSource extends models['CopySource'] { + /** + * Create a CosmosDbMongoDbApiSource. + * @property {object} [filter] 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). + * @property {object} [cursorMethods] Cursor methods for Mongodb query. + * @property {object} [cursorMethods.project] 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). + * @property {object} [cursorMethods.sort] Specifies the order in which the + * query returns matching documents. Type: string (or Expression with + * resultType string). Type: string (or Expression with resultType string). + * @property {object} [cursorMethods.skip] 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). + * @property {object} [cursorMethods.limit] 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). + * @property {object} [batchSize] 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). + */ + constructor() { + super(); + } + + /** + * Defines the metadata of CosmosDbMongoDbApiSource + * + * @returns {object} metadata of CosmosDbMongoDbApiSource + * + */ + mapper() { + return { + required: false, + serializedName: 'CosmosDbMongoDbApiSource', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'CopySource', + className: 'CosmosDbMongoDbApiSource', + modelProperties: { + sourceRetryCount: { + required: false, + serializedName: 'sourceRetryCount', + type: { + name: 'Object' + } + }, + sourceRetryWait: { + required: false, + serializedName: 'sourceRetryWait', + type: { + name: 'Object' + } + }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + filter: { + required: false, + serializedName: 'filter', + type: { + name: 'Object' + } + }, + cursorMethods: { + required: false, + serializedName: 'cursorMethods', + type: { + name: 'Composite', + additionalProperties: { + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + className: 'MongoDbCursorMethodsProperties' + } + }, + batchSize: { + required: false, + serializedName: 'batchSize', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = CosmosDbMongoDbApiSource; diff --git a/lib/services/datafactoryManagement/lib/models/couchbaseSource.js b/lib/services/datafactoryManagement/lib/models/couchbaseSource.js index ea062cb639..3bb263f365 100644 --- a/lib/services/datafactoryManagement/lib/models/couchbaseSource.js +++ b/lib/services/datafactoryManagement/lib/models/couchbaseSource.js @@ -60,6 +60,13 @@ class CouchbaseSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/documentDbCollectionSink.js b/lib/services/datafactoryManagement/lib/models/documentDbCollectionSink.js index ca7cc9e542..cd8d3bbc8c 100644 --- a/lib/services/datafactoryManagement/lib/models/documentDbCollectionSink.js +++ b/lib/services/datafactoryManagement/lib/models/documentDbCollectionSink.js @@ -74,6 +74,13 @@ class DocumentDbCollectionSink extends models['CopySink'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/documentDbCollectionSource.js b/lib/services/datafactoryManagement/lib/models/documentDbCollectionSource.js index d7f42616ee..ef820f8ba4 100644 --- a/lib/services/datafactoryManagement/lib/models/documentDbCollectionSource.js +++ b/lib/services/datafactoryManagement/lib/models/documentDbCollectionSource.js @@ -62,6 +62,13 @@ class DocumentDbCollectionSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/drillSource.js b/lib/services/datafactoryManagement/lib/models/drillSource.js index defeb073cd..d615839f12 100644 --- a/lib/services/datafactoryManagement/lib/models/drillSource.js +++ b/lib/services/datafactoryManagement/lib/models/drillSource.js @@ -60,6 +60,13 @@ class DrillSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/dynamicsAXLinkedService.js b/lib/services/datafactoryManagement/lib/models/dynamicsAXLinkedService.js index 9847484dcf..462b94feba 100644 --- a/lib/services/datafactoryManagement/lib/models/dynamicsAXLinkedService.js +++ b/lib/services/datafactoryManagement/lib/models/dynamicsAXLinkedService.js @@ -20,25 +20,24 @@ const models = require('./index'); class DynamicsAXLinkedService extends models['LinkedService'] { /** * Create a DynamicsAXLinkedService. - * @member {object} url The URL of Dynamics AX OData API. Type: string (or + * @property {object} url The Dynamics AX (or Dynamics 365 Finance and + * Operations) instance OData endpoint. + * @property {object} servicePrincipalId Specify the application's client ID. + * Type: string (or Expression with resultType string). + * @property {object} servicePrincipalKey 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). + * @property {string} [servicePrincipalKey.type] Polymorphic Discriminator + * @property {object} tenant 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). - * @member {object} [tenant] Specify the tenant information (domain name or - * tenant ID) under which your application resides. Type: string (or - * Expression with resultType string). - * @member {object} [servicePrincipalId] Specify the application id of your - * application registered in Azure Active Directory. Type: string (or - * Expression with resultType string). - * @member {object} [aadResourceId] Specify the resource you are requesting - * authorization to use Directory. Type: string (or Expression with - * resultType string). - * @member {object} [servicePrincipalKey] Specify the secret of your - * application registered in Azure Active Directory. Type: string (or - * Expression with resultType string). - * @member {string} [servicePrincipalKey.type] Polymorphic Discriminator - * @member {object} [encryptedCredential] The encrypted credential used for + * @property {object} aadResourceId Specify the resource you are requesting + * authorization. Type: string (or Expression with resultType string). + * @property {object} [encryptedCredential] The encrypted credential used for * authentication. Credentials are encrypted using the integration runtime - * credential manager. Either encryptedCredential or username/password must - * be provided. Type: string (or Expression with resultType string). + * credential manager. Type: string (or Expression with resultType string). */ constructor() { super(); @@ -122,29 +121,15 @@ class DynamicsAXLinkedService extends models['LinkedService'] { name: 'Object' } }, - tenant: { - required: false, - serializedName: 'typeProperties.tenant', - type: { - name: 'Object' - } - }, servicePrincipalId: { - required: false, + required: true, serializedName: 'typeProperties.servicePrincipalId', type: { name: 'Object' } }, - aadResourceId: { - required: false, - serializedName: 'typeProperties.aadResourceId', - type: { - name: 'Object' - } - }, servicePrincipalKey: { - required: false, + required: true, serializedName: 'typeProperties.servicePrincipalKey', type: { name: 'Composite', @@ -156,6 +141,20 @@ class DynamicsAXLinkedService extends models['LinkedService'] { className: 'SecretBase' } }, + tenant: { + required: true, + serializedName: 'typeProperties.tenant', + type: { + name: 'Object' + } + }, + aadResourceId: { + required: true, + serializedName: 'typeProperties.aadResourceId', + type: { + name: 'Object' + } + }, encryptedCredential: { required: false, serializedName: 'typeProperties.encryptedCredential', diff --git a/lib/services/datafactoryManagement/lib/models/dynamicsAXResourceDataset.js b/lib/services/datafactoryManagement/lib/models/dynamicsAXResourceDataset.js index a63c491e22..a9deb9cc11 100644 --- a/lib/services/datafactoryManagement/lib/models/dynamicsAXResourceDataset.js +++ b/lib/services/datafactoryManagement/lib/models/dynamicsAXResourceDataset.js @@ -20,7 +20,7 @@ const models = require('./index'); class DynamicsAXResourceDataset extends models['Dataset'] { /** * Create a DynamicsAXResourceDataset. - * @member {string} path The path of the Dynamics AX OData entity. Type: + * @property {string} path The path of the Dynamics AX OData entity. Type: * string (or Expression with resultType string). */ constructor() { @@ -60,6 +60,13 @@ class DynamicsAXResourceDataset extends models['Dataset'] { name: 'Object' } }, + schema: { + required: false, + serializedName: 'schema', + type: { + name: 'Object' + } + }, linkedServiceName: { required: true, serializedName: 'linkedServiceName', diff --git a/lib/services/datafactoryManagement/lib/models/dynamicsAXSource.js b/lib/services/datafactoryManagement/lib/models/dynamicsAXSource.js index 842c98adda..4044fa4a86 100644 --- a/lib/services/datafactoryManagement/lib/models/dynamicsAXSource.js +++ b/lib/services/datafactoryManagement/lib/models/dynamicsAXSource.js @@ -20,7 +20,7 @@ const models = require('./index'); class DynamicsAXSource extends models['CopySource'] { /** * Create a DynamicsAXSource. - * @member {object} [query] A query to retrieve data from source. Type: + * @property {object} [query] A query to retrieve data from source. Type: * string (or Expression with resultType string). */ constructor() { @@ -60,6 +60,13 @@ class DynamicsAXSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/dynamicsSink.js b/lib/services/datafactoryManagement/lib/models/dynamicsSink.js index 5d0fee91a8..e75fff8538 100644 --- a/lib/services/datafactoryManagement/lib/models/dynamicsSink.js +++ b/lib/services/datafactoryManagement/lib/models/dynamicsSink.js @@ -75,6 +75,13 @@ class DynamicsSink extends models['CopySink'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/dynamicsSource.js b/lib/services/datafactoryManagement/lib/models/dynamicsSource.js index 735695d90a..e7ab7bed52 100644 --- a/lib/services/datafactoryManagement/lib/models/dynamicsSource.js +++ b/lib/services/datafactoryManagement/lib/models/dynamicsSource.js @@ -61,6 +61,13 @@ class DynamicsSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/eloquaSource.js b/lib/services/datafactoryManagement/lib/models/eloquaSource.js index 2af89f799d..a41218a67a 100644 --- a/lib/services/datafactoryManagement/lib/models/eloquaSource.js +++ b/lib/services/datafactoryManagement/lib/models/eloquaSource.js @@ -60,6 +60,13 @@ class EloquaSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/fileShareDataset.js b/lib/services/datafactoryManagement/lib/models/fileShareDataset.js index 22cdfca20d..567e90c4f4 100644 --- a/lib/services/datafactoryManagement/lib/models/fileShareDataset.js +++ b/lib/services/datafactoryManagement/lib/models/fileShareDataset.js @@ -24,6 +24,10 @@ class FileShareDataset extends models['Dataset'] { * Type: string (or Expression with resultType string). * @property {object} [fileName] The name of the on-premises file system. * Type: string (or Expression with resultType string). + * @property {object} [modifiedDatetimeStart] The start of file's modified + * datetime. Type: string (or Expression with resultType string). + * @property {object} [modifiedDatetimeEnd] The end of file's modified + * datetime. Type: string (or Expression with resultType string). * @property {object} [format] The format of the files. * @property {object} [format.serializer] Serializer. Type: string (or * Expression with resultType string). @@ -149,6 +153,20 @@ class FileShareDataset extends models['Dataset'] { name: 'Object' } }, + modifiedDatetimeStart: { + required: false, + serializedName: 'typeProperties.modifiedDatetimeStart', + type: { + name: 'Object' + } + }, + modifiedDatetimeEnd: { + required: false, + serializedName: 'typeProperties.modifiedDatetimeEnd', + type: { + name: 'Object' + } + }, format: { required: false, serializedName: 'typeProperties.format', diff --git a/lib/services/datafactoryManagement/lib/models/fileSystemSink.js b/lib/services/datafactoryManagement/lib/models/fileSystemSink.js index 700bbe8260..19e1965543 100644 --- a/lib/services/datafactoryManagement/lib/models/fileSystemSink.js +++ b/lib/services/datafactoryManagement/lib/models/fileSystemSink.js @@ -75,6 +75,13 @@ class FileSystemSink extends models['CopySink'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/fileSystemSource.js b/lib/services/datafactoryManagement/lib/models/fileSystemSource.js index ca5d732f0a..bd162460fa 100644 --- a/lib/services/datafactoryManagement/lib/models/fileSystemSource.js +++ b/lib/services/datafactoryManagement/lib/models/fileSystemSource.js @@ -61,6 +61,13 @@ class FileSystemSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/googleAdWordsLinkedService.js b/lib/services/datafactoryManagement/lib/models/googleAdWordsLinkedService.js index 444e7bade3..b46be4e381 100644 --- a/lib/services/datafactoryManagement/lib/models/googleAdWordsLinkedService.js +++ b/lib/services/datafactoryManagement/lib/models/googleAdWordsLinkedService.js @@ -13,45 +13,45 @@ const models = require('./index'); /** - * Google Awords service linked service. + * Google AdWords service linked service. * * @extends models['LinkedService'] */ class GoogleAdWordsLinkedService extends models['LinkedService'] { /** * Create a GoogleAdWordsLinkedService. - * @member {object} clientCustomerID The Client customer ID of the AdWords + * @property {object} clientCustomerID The Client customer ID of the AdWords * account that you want to fetch report data for. - * @member {object} developerToken The developer token associated with the + * @property {object} developerToken The developer token associated with the * manager account that you use to grant access to the AdWords API. - * @member {string} [developerToken.type] Polymorphic Discriminator - * @member {string} authenticationType The OAuth 2.0 authentication mechanism - * used for authentication. ServiceAuthentication can only be used on - * self-hosted IR. Possible values include: 'ServiceAuthentication', + * @property {string} [developerToken.type] Polymorphic Discriminator + * @property {string} authenticationType The OAuth 2.0 authentication + * mechanism used for authentication. ServiceAuthentication can only be used + * on self-hosted IR. Possible values include: 'ServiceAuthentication', * 'UserAuthentication' - * @member {object} [refreshToken] The refresh token obtained from Google for - * authorizing access to AdWords for UserAuthentication. - * @member {string} [refreshToken.type] Polymorphic Discriminator - * @member {object} [clientId] The client id of the google application used + * @property {object} [refreshToken] The refresh token obtained from Google + * for authorizing access to AdWords for UserAuthentication. + * @property {string} [refreshToken.type] Polymorphic Discriminator + * @property {object} [clientId] The client id of the google application used * to acquire the refresh token. - * @member {string} [clientId.type] Polymorphic Discriminator - * @member {object} [clientSecret] The client secret of the google + * @property {string} [clientId.type] Polymorphic Discriminator + * @property {object} [clientSecret] The client secret of the google * application used to acquire the refresh token. - * @member {string} [clientSecret.type] Polymorphic Discriminator - * @member {object} [email] The service account email ID that is used for + * @property {string} [clientSecret.type] Polymorphic Discriminator + * @property {object} [email] The service account email ID that is used for * ServiceAuthentication and can only be used on self-hosted IR. - * @member {object} [keyFilePath] The full path to the .p12 key file that is - * used to authenticate the service account email address and can only be + * @property {object} [keyFilePath] 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. - * @member {object} [trustedCertPath] The full path of the .pem file + * @property {object} [trustedCertPath] 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. - * @member {object} [useSystemTrustStore] Specifies whether to use a CA + * @property {object} [useSystemTrustStore] Specifies whether to use a CA * certificate from the system trust store or from a specified PEM file. The * default value is false. - * @member {object} [encryptedCredential] The encrypted credential used for + * @property {object} [encryptedCredential] The encrypted credential used for * authentication. Credentials are encrypted using the integration runtime * credential manager. Type: string (or Expression with resultType string). */ diff --git a/lib/services/datafactoryManagement/lib/models/googleAdWordsObjectDataset.js b/lib/services/datafactoryManagement/lib/models/googleAdWordsObjectDataset.js index 342d41f56a..fe6b04e82e 100644 --- a/lib/services/datafactoryManagement/lib/models/googleAdWordsObjectDataset.js +++ b/lib/services/datafactoryManagement/lib/models/googleAdWordsObjectDataset.js @@ -20,6 +20,8 @@ const models = require('./index'); class GoogleAdWordsObjectDataset extends models['Dataset'] { /** * Create a GoogleAdWordsObjectDataset. + * @property {object} [tableName] The table name. Type: string (or Expression + * with resultType string). */ constructor() { super(); @@ -58,6 +60,13 @@ class GoogleAdWordsObjectDataset extends models['Dataset'] { name: 'Object' } }, + schema: { + required: false, + serializedName: 'schema', + type: { + name: 'Object' + } + }, linkedServiceName: { required: true, serializedName: 'linkedServiceName', @@ -111,6 +120,13 @@ class GoogleAdWordsObjectDataset extends models['Dataset'] { type: { name: 'String' } + }, + tableName: { + required: false, + serializedName: 'typeProperties.tableName', + type: { + name: 'Object' + } } } } diff --git a/lib/services/datafactoryManagement/lib/models/googleAdWordsSource.js b/lib/services/datafactoryManagement/lib/models/googleAdWordsSource.js index 530a269f6d..c84b1cfeeb 100644 --- a/lib/services/datafactoryManagement/lib/models/googleAdWordsSource.js +++ b/lib/services/datafactoryManagement/lib/models/googleAdWordsSource.js @@ -20,7 +20,7 @@ const models = require('./index'); class GoogleAdWordsSource extends models['CopySource'] { /** * Create a GoogleAdWordsSource. - * @member {object} [query] A query to retrieve data from source. Type: + * @property {object} [query] A query to retrieve data from source. Type: * string (or Expression with resultType string). */ constructor() { @@ -60,6 +60,13 @@ class GoogleAdWordsSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/googleBigQuerySource.js b/lib/services/datafactoryManagement/lib/models/googleBigQuerySource.js index b73bc055ad..d8d87c5b3d 100644 --- a/lib/services/datafactoryManagement/lib/models/googleBigQuerySource.js +++ b/lib/services/datafactoryManagement/lib/models/googleBigQuerySource.js @@ -60,6 +60,13 @@ class GoogleBigQuerySource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/greenplumSource.js b/lib/services/datafactoryManagement/lib/models/greenplumSource.js index b24f231d72..49535175b8 100644 --- a/lib/services/datafactoryManagement/lib/models/greenplumSource.js +++ b/lib/services/datafactoryManagement/lib/models/greenplumSource.js @@ -60,6 +60,13 @@ class GreenplumSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/hBaseSource.js b/lib/services/datafactoryManagement/lib/models/hBaseSource.js index ecfd1e3759..de453219da 100644 --- a/lib/services/datafactoryManagement/lib/models/hBaseSource.js +++ b/lib/services/datafactoryManagement/lib/models/hBaseSource.js @@ -60,6 +60,13 @@ class HBaseSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/hdfsSource.js b/lib/services/datafactoryManagement/lib/models/hdfsSource.js index 83f05d98c8..7f131b73ed 100644 --- a/lib/services/datafactoryManagement/lib/models/hdfsSource.js +++ b/lib/services/datafactoryManagement/lib/models/hdfsSource.js @@ -71,6 +71,13 @@ class HdfsSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/hiveSource.js b/lib/services/datafactoryManagement/lib/models/hiveSource.js index 91186bdea1..0cb33f4601 100644 --- a/lib/services/datafactoryManagement/lib/models/hiveSource.js +++ b/lib/services/datafactoryManagement/lib/models/hiveSource.js @@ -60,6 +60,13 @@ class HiveSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/httpSource.js b/lib/services/datafactoryManagement/lib/models/httpSource.js index b31f20cc63..c554e4bd48 100644 --- a/lib/services/datafactoryManagement/lib/models/httpSource.js +++ b/lib/services/datafactoryManagement/lib/models/httpSource.js @@ -63,6 +63,13 @@ class HttpSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/hubspotSource.js b/lib/services/datafactoryManagement/lib/models/hubspotSource.js index 3f65438ee3..403b92da82 100644 --- a/lib/services/datafactoryManagement/lib/models/hubspotSource.js +++ b/lib/services/datafactoryManagement/lib/models/hubspotSource.js @@ -60,6 +60,13 @@ class HubspotSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/impalaSource.js b/lib/services/datafactoryManagement/lib/models/impalaSource.js index a00f15ddf7..4b1e94702b 100644 --- a/lib/services/datafactoryManagement/lib/models/impalaSource.js +++ b/lib/services/datafactoryManagement/lib/models/impalaSource.js @@ -60,6 +60,13 @@ class ImpalaSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/index.d.ts b/lib/services/datafactoryManagement/lib/models/index.d.ts index 599405b5e7..4ed37d57c5 100644 --- a/lib/services/datafactoryManagement/lib/models/index.d.ts +++ b/lib/services/datafactoryManagement/lib/models/index.d.ts @@ -826,7 +826,7 @@ export interface RunQueryFilter { * ActivityRunStart, ActivityRunEnd, ActivityType and Status, and to 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' */ operand: string; /** @@ -910,6 +910,14 @@ export interface PipelineRun { * Identifier of a run. */ readonly runId?: string; + /** + * Identifier that correlates all the recovery runs of a pipeline run. + */ + readonly runGroupId?: string; + /** + * Indicates if the recovered pipeline run is the latest in its group. + */ + readonly isLatest?: boolean; /** * The pipeline name. */ @@ -1663,6 +1671,171 @@ export interface AzureFunctionLinkedService extends LinkedService { encryptedCredential?: any; } +/** + * Azure Data Explorer (Kusto) linked service. + */ +export interface AzureDataExplorerLinkedService extends LinkedService { + /** + * The endpoint of Azure Data Explorer (the engine's endpoint). URL will be in the format + * https://..kusto.windows.net. Type: string (or Expression with + * resultType string) + */ + endpoint: any; + /** + * The ID of the service principal used to authenticate against Azure Data Explorer. Type: string + * (or Expression with resultType string). + */ + servicePrincipalId: any; + /** + * The key of the service principal used to authenticate against Kusto. + */ + servicePrincipalKey: SecretBase; + /** + * Database name for connection. Type: string (or Expression with resultType string). + */ + database: any; + /** + * The name or ID of the tenant to which the service principal belongs. Type: string (or + * Expression with resultType string). + */ + tenant: any; +} + +/** + * Google AdWords service linked service. + */ +export interface GoogleAdWordsLinkedService extends LinkedService { + /** + * The Client customer ID of the AdWords account that you want to fetch report data for. + */ + clientCustomerID: any; + /** + * The developer token associated with the manager account that you use to grant access to the + * AdWords API. + */ + developerToken: SecretBase; + /** + * The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only + * be used on self-hosted IR. Possible values include: 'ServiceAuthentication', + * 'UserAuthentication' + */ + authenticationType: string; + /** + * The refresh token obtained from Google for authorizing access to AdWords for + * UserAuthentication. + */ + refreshToken?: SecretBase; + /** + * The client id of the google application used to acquire the refresh token. + */ + clientId?: SecretBase; + /** + * The client secret of the google application used to acquire the refresh token. + */ + clientSecret?: SecretBase; + /** + * The service account email ID that is used for ServiceAuthentication and can only be used on + * self-hosted IR. + */ + email?: any; + /** + * 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. + */ + keyFilePath?: any; + /** + * 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. + */ + trustedCertPath?: any; + /** + * Specifies whether to use a CA certificate from the system trust store or from a specified PEM + * file. The default value is false. + */ + useSystemTrustStore?: any; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * Oracle Service Cloud linked service. + */ +export interface OracleServiceCloudLinkedService extends LinkedService { + /** + * The URL of the Oracle Service Cloud instance. + */ + host: any; + /** + * The user name that you use to access Oracle Service Cloud server. + */ + username: any; + /** + * The password corresponding to the user name that you provided in the username key. + */ + password: SecretBase; + /** + * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is + * true. Type: boolean (or Expression with resultType boolean). + */ + useEncryptedEndpoints?: any; + /** + * 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). + */ + useHostVerification?: any; + /** + * 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). + */ + usePeerVerification?: any; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * Dynamics AX linked service. + */ +export interface DynamicsAXLinkedService extends LinkedService { + /** + * The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData endpoint. + */ + url: any; + /** + * Specify the application's client ID. Type: string (or Expression with resultType string). + */ + servicePrincipalId: any; + /** + * 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). + */ + servicePrincipalKey: SecretBase; + /** + * 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). + */ + tenant: any; + /** + * Specify the resource you are requesting authorization. Type: string (or Expression with + * resultType string). + */ + aadResourceId: any; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + /** * Responsys linked service. */ @@ -3471,6 +3644,12 @@ export interface AmazonS3LinkedService extends LinkedService { * The secret access key of the Amazon S3 Identity and Access Management (IAM) user. */ secretAccessKey?: SecretBase; + /** + * 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). + */ + serviceUrl?: any; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -3652,6 +3831,71 @@ export interface SalesforceLinkedService extends LinkedService { encryptedCredential?: any; } +/** + * Office365 linked service. + */ +export interface Office365LinkedService extends LinkedService { + /** + * Azure tenant ID to which the Office 365 account belongs. Type: string (or Expression with + * resultType string). + */ + office365TenantId: any; + /** + * Specify the tenant information under which your Azure AD web application resides. Type: string + * (or Expression with resultType string). + */ + servicePrincipalTenantId: any; + /** + * Specify the application's client ID. Type: string (or Expression with resultType string). + */ + servicePrincipalId: any; + /** + * Specify the application's key. + */ + servicePrincipalKey: SecretBase; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + +/** + * Azure Data Lake Storage Gen2 linked service. + */ +export interface AzureBlobFSLinkedService extends LinkedService { + /** + * Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with + * resultType string). + */ + url: any; + /** + * Account key for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with + * resultType string). + */ + accountKey?: any; + /** + * The ID of the application used to authenticate against the Azure Data Lake Storage Gen2 + * account. Type: string (or Expression with resultType string). + */ + servicePrincipalId?: any; + /** + * The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 + * account. + */ + servicePrincipalKey?: SecretBase; + /** + * The name or ID of the tenant to which the service principal belongs. Type: string (or + * Expression with resultType string). + */ + tenant?: any; + /** + * The encrypted credential used for authentication. Credentials are encrypted using the + * integration runtime credential manager. Type: string (or Expression with resultType string). + */ + encryptedCredential?: any; +} + /** * Azure Data Lake Store linked service. */ @@ -3695,6 +3939,38 @@ export interface AzureDataLakeStoreLinkedService extends LinkedService { encryptedCredential?: any; } +/** + * Linked service for CosmosDB (MongoDB API) data source. + */ +export interface CosmosDbMongoDbApiLinkedService extends LinkedService { + /** + * The CosmosDB (MongoDB API) connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or + * Expression with resultType string). + */ + database: any; +} + +/** + * Linked service for MongoDB data source. + */ +export interface MongoDbV2LinkedService extends LinkedService { + /** + * The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * Type: string, SecureString or AzureKeyVaultSecretReference. + */ + connectionString: any; + /** + * The name of the MongoDB database that you want to access. Type: string (or Expression with + * resultType string). + */ + database: any; +} + /** * Linked service for MongoDb data source. */ @@ -3853,7 +4129,7 @@ export interface ODataLinkedService extends LinkedService { url: any; /** * Type of authentication used to connect to the OData service. Possible values include: 'Basic', - * 'Anonymous' + * 'Anonymous', 'Windows', 'AadServicePrincipal', 'ManagedServiceIdentity' */ authenticationType?: string; /** @@ -3864,6 +4140,41 @@ export interface ODataLinkedService extends LinkedService { * Password of the OData service. */ password?: SecretBase; + /** + * Specify the tenant information (domain name or tenant ID) under which your application + * resides. Type: string (or Expression with resultType string). + */ + tenant?: any; + /** + * Specify the application id of your application registered in Azure Active Directory. Type: + * string (or Expression with resultType string). + */ + servicePrincipalId?: any; + /** + * Specify the resource you are requesting authorization to use Directory. Type: string (or + * Expression with resultType string). + */ + aadResourceId?: any; + /** + * Specify the credential type (key or cert) is used for service principal. Possible values + * include: 'ServicePrincipalKey', 'ServicePrincipalCert' + */ + aadServicePrincipalCredentialType?: string; + /** + * Specify the secret of your application registered in Azure Active Directory. Type: string (or + * Expression with resultType string). + */ + servicePrincipalKey?: SecretBase; + /** + * Specify the base64 encoded certificate of your application registered in Azure Active + * Directory. Type: string (or Expression with resultType string). + */ + servicePrincipalEmbeddedCert?: SecretBase; + /** + * 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). + */ + servicePrincipalEmbeddedCertPassword?: SecretBase; /** * The encrypted credential used for authentication. Credentials are encrypted using the * integration runtime credential manager. Type: string (or Expression with resultType string). @@ -4512,6 +4823,47 @@ export interface AzureStorageLinkedService extends LinkedService { encryptedCredential?: string; } +/** + * Google AdWords service dataset. + */ +export interface GoogleAdWordsObjectDataset extends Dataset { + /** + * The table name. Type: string (or Expression with resultType string). + */ + tableName?: any; +} + +/** + * The Azure Data Explorer (Kusto) dataset. + */ +export interface AzureDataExplorerTableDataset extends Dataset { + /** + * The table name of the Azure Data Explorer database. Type: string (or Expression with + * resultType string). + */ + table?: any; +} + +/** + * Oracle Service Cloud dataset. + */ +export interface OracleServiceCloudObjectDataset extends Dataset { + /** + * The table name. Type: string (or Expression with resultType string). + */ + tableName?: any; +} + +/** + * The path of the Dynamics AX OData entity. + */ +export interface DynamicsAXResourceDataset extends Dataset { + /** + * The path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). + */ + path: string; +} + /** * Responsys dataset. */ @@ -5185,6 +5537,28 @@ export interface ODataResourceDataset extends Dataset { path?: any; } +/** + * The CosmosDB (MongoDB API) database dataset. + */ +export interface CosmosDbMongoDbApiCollectionDataset extends Dataset { + /** + * The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with + * resultType string). + */ + collection: any; +} + +/** + * The MongoDB database dataset. + */ +export interface MongoDbV2CollectionDataset extends Dataset { + /** + * The collection name of the MongoDB database. Type: string (or Expression with resultType + * string). + */ + collection: any; +} + /** * The MongoDB database dataset. */ @@ -5207,6 +5581,14 @@ export interface FileShareDataset extends Dataset { * The name of the on-premises file system. Type: string (or Expression with resultType string). */ fileName?: any; + /** + * The start of file's modified datetime. Type: string (or Expression with resultType string). + */ + modifiedDatetimeStart?: any; + /** + * The end of file's modified datetime. Type: string (or Expression with resultType string). + */ + modifiedDatetimeEnd?: any; /** * The format of the files. */ @@ -5222,6 +5604,67 @@ export interface FileShareDataset extends Dataset { compression?: DatasetCompression; } +/** + * Azure Data Lake Store Cosmos Structured Stream dataset. + */ +export interface AzureDataLakeStoreCosmosStructuredStreamDataset extends Dataset { + /** + * Path to the folder in the Azure Data Lake Store. Type: string (or Expression with resultType + * string). + */ + folderPath: any; + /** + * The name of the file in the Azure Data Lake Store. Type: string (or Expression with resultType + * string). + */ + fileName: any; + /** + * Flag to indicate if this dataset is been generated from Compilation Activity. Type: boolean + * (or Expression with resultType boolean). + */ + generatedFromActivity?: any; +} + +/** + * The Office365 account. + */ +export interface Office365Dataset extends Dataset { + /** + * Name of the dataset to extract from Office 365. Type: string (or Expression with resultType + * string). + */ + tableName: any; + /** + * A predicate expression that can be used to filter the specific rows to extract from Office + * 365. Type: string (or Expression with resultType string). + */ + predicate?: any; +} + +/** + * The Azure Data Lake Storage Gen2 storage. + */ +export interface AzureBlobFSDataset extends Dataset { + /** + * The path of the Azure Data Lake Storage Gen2 storage. Type: string (or Expression with + * resultType string). + */ + folderPath?: any; + /** + * The name of the Azure Data Lake Storage Gen2. Type: string (or Expression with resultType + * string). + */ + fileName?: any; + /** + * The format of the Azure Data Lake Storage Gen2 storage. + */ + format?: DatasetStorageFormat; + /** + * The data compression method used for the blob storage. + */ + compression?: DatasetCompression; +} + /** * Azure Data Lake Store dataset. */ @@ -5338,6 +5781,16 @@ export interface AzureBlobDataset extends Dataset { * The name of the Azure Blob. Type: string (or Expression with resultType string). */ fileName?: any; + /** + * The start of Azure Blob's modified datetime. Type: string (or Expression with resultType + * string). + */ + modifiedDatetimeStart?: any; + /** + * The end of Azure Blob's modified datetime. Type: string (or Expression with resultType + * string). + */ + modifiedDatetimeEnd?: any; /** * The format of the Azure Blob storage. */ @@ -5368,6 +5821,15 @@ export interface AmazonS3Dataset extends Dataset { * The version for the S3 object. Type: string (or Expression with resultType string). */ version?: any; + /** + * The start of S3 object's modified datetime. Type: string (or Expression with resultType + * string). + */ + modifiedDatetimeStart?: any; + /** + * The end of S3 object's modified datetime. Type: string (or Expression with resultType string). + */ + modifiedDatetimeEnd?: any; /** * The format of files. */ @@ -5722,6 +6184,11 @@ export interface CopySource { * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ sourceRetryWait?: any; + /** + * The maximum concurrent connection count for the source data store. Type: integer (or + * Expression with resultType integer). + */ + maxConcurrentConnections?: any; /** * Polymorphic Discriminator */ @@ -5748,6 +6215,36 @@ export interface AmazonRedshiftSource extends CopySource { redshiftUnloadSettings?: RedshiftUnloadSettings; } +/** + * A copy activity Google AdWords service source. + */ +export interface GoogleAdWordsSource extends CopySource { + /** + * A query to retrieve data from source. Type: string (or Expression with resultType string). + */ + query?: any; +} + +/** + * A copy activity Oracle Service Cloud source. + */ +export interface OracleServiceCloudSource extends CopySource { + /** + * A query to retrieve data from source. Type: string (or Expression with resultType string). + */ + query?: any; +} + +/** + * A copy activity Dynamics AX source. + */ +export interface DynamicsAXSource extends CopySource { + /** + * A query to retrieve data from source. Type: string (or Expression with resultType string). + */ + query?: any; +} + /** * A copy activity Responsys source. */ @@ -6060,6 +6557,26 @@ export interface HttpSource extends CopySource { httpRequestTimeout?: any; } +/** + * A copy activity Azure BlobFS source. + */ +export interface AzureBlobFSSource extends CopySource { + /** + * Treat empty as null. Type: boolean (or Expression with resultType boolean). + */ + treatEmptyAsNull?: any; + /** + * Number of header lines to skip from each blob. Type: integer (or Expression with resultType + * integer). + */ + skipHeaderLineCount?: any; + /** + * If true, files under the folder path will be read recursively. Default is true. Type: boolean + * (or Expression with resultType boolean). + */ + recursive?: any; +} + /** * A copy activity Azure Data Lake source. */ @@ -6071,6 +6588,90 @@ export interface AzureDataLakeStoreSource extends CopySource { recursive?: any; } +/** + * A copy activity source for an Office365 service. + */ +export interface Office365Source extends CopySource { +} + +/** + * Cursor methods for Mongodb query + */ +export interface MongoDbCursorMethodsProperties { + /** + * 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). + */ + project?: any; + /** + * Specifies the order in which the query returns matching documents. Type: string (or Expression + * with resultType string). Type: string (or Expression with resultType string). + */ + sort?: any; + /** + * 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). + */ + skip?: any; + /** + * 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). + */ + limit?: any; + /** + * Describes unknown properties. The value of an unknown property can be of "any" type. + */ + [additionalPropertyName: string]: any; +} + +/** + * A copy activity source for a CosmosDB (MongoDB API) database. + */ +export interface CosmosDbMongoDbApiSource extends CopySource { + /** + * 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). + */ + filter?: any; + /** + * Cursor methods for Mongodb query. + */ + cursorMethods?: MongoDbCursorMethodsProperties; + /** + * 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). + */ + batchSize?: any; +} + +/** + * A copy activity source for a MongoDB database. + */ +export interface MongoDbV2Source extends CopySource { + /** + * 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). + */ + filter?: any; + /** + * Cursor methods for Mongodb query + */ + cursorMethods?: MongoDbCursorMethodsProperties; + /** + * 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). + */ + batchSize?: any; +} + /** * A copy activity source for a MongoDB database. */ @@ -6123,6 +6724,27 @@ export interface OracleSource extends CopySource { queryTimeout?: any; } +/** + * A copy activity Azure Data Explorer (Kusto) source. + */ +export interface AzureDataExplorerSource extends CopySource { + /** + * Database query. Should be a Kusto Query Language (KQL) query. Type: string (or Expression with + * resultType string). + */ + query: any; + /** + * The name of the Boolean option that controls whether truncation is applied to result-sets that + * go beyond a certain row-count limit. + */ + noTruncation?: any; + /** + * Query timeout. Type: string (or Expression with resultType string), pattern: + * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).. + */ + queryTimeout?: any; +} + /** * A copy activity Azure MySQL source. */ @@ -6900,6 +7522,11 @@ export interface CopySink { * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). */ sinkRetryWait?: any; + /** + * The maximum concurrent connection count for the sink data store. Type: integer (or Expression + * with resultType integer). + */ + maxConcurrentConnections?: any; /** * Polymorphic Discriminator */ @@ -6910,6 +7537,18 @@ export interface CopySink { [additionalPropertyName: string]: any; } +/** + * A copy activity sink for a CosmosDB (MongoDB API) database. + */ +export interface CosmosDbMongoDbApiSink extends CopySink { + /** + * 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). + */ + writeBehavior?: any; +} + /** * A copy activity Salesforce sink. */ @@ -6935,6 +7574,24 @@ export interface SalesforceSink extends CopySink { ignoreNullValues?: any; } +/** + * A copy activity Azure Data Explorer sink. + */ +export interface AzureDataExplorerSink extends CopySink { + /** + * A name of a pre-created csv mapping that was defined on the target Kusto table. Type: string. + */ + ingestionMappingName?: any; + /** + * An explicit column mapping description provided in a json format. Type: string. + */ + ingestionMappingAsJson?: any; + /** + * If set to true, any aggregation will be skipped. Default is false. Type: boolean. + */ + flushImmediately?: any; +} + /** * A copy activity Dynamics sink. */ @@ -6968,6 +7625,17 @@ export interface AzureSearchIndexSink extends CopySink { writeBehavior?: string; } +/** + * A copy activity Azure Data Lake Storage Gen2 sink. + */ +export interface AzureBlobFSSink extends CopySink { + /** + * The type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', + * 'FlattenHierarchy', 'MergeFiles' + */ + copyBehavior?: string; +} + /** * A copy activity Azure Data Lake Store sink. */ @@ -7188,6 +7856,10 @@ export interface CopyActivity extends ExecutionActivity { * Redirect incompatible row settings when EnableSkipIncompatibleRow is true. */ redirectIncompatibleRowSettings?: RedirectIncompatibleRowSettings; + /** + * Preserve Rules. + */ + preserveRules?: any[]; /** * List of inputs for the activity. */ diff --git a/lib/services/datafactoryManagement/lib/models/index.js b/lib/services/datafactoryManagement/lib/models/index.js index d66010a522..1464916165 100644 --- a/lib/services/datafactoryManagement/lib/models/index.js +++ b/lib/services/datafactoryManagement/lib/models/index.js @@ -103,6 +103,10 @@ exports.RecurrenceSchedule = require('./recurrenceSchedule'); exports.ScheduleTriggerRecurrence = require('./scheduleTriggerRecurrence'); exports.ScheduleTrigger = require('./scheduleTrigger'); exports.AzureFunctionLinkedService = require('./azureFunctionLinkedService'); +exports.AzureDataExplorerLinkedService = require('./azureDataExplorerLinkedService'); +exports.GoogleAdWordsLinkedService = require('./googleAdWordsLinkedService'); +exports.OracleServiceCloudLinkedService = require('./oracleServiceCloudLinkedService'); +exports.DynamicsAXLinkedService = require('./dynamicsAXLinkedService'); exports.ResponsysLinkedService = require('./responsysLinkedService'); exports.AzureDatabricksLinkedService = require('./azureDatabricksLinkedService'); exports.AzureDataLakeAnalyticsLinkedService = require('./azureDataLakeAnalyticsLinkedService'); @@ -151,7 +155,11 @@ exports.SapOpenHubLinkedService = require('./sapOpenHubLinkedService'); exports.SapEccLinkedService = require('./sapEccLinkedService'); exports.SapCloudForCustomerLinkedService = require('./sapCloudForCustomerLinkedService'); exports.SalesforceLinkedService = require('./salesforceLinkedService'); +exports.Office365LinkedService = require('./office365LinkedService'); +exports.AzureBlobFSLinkedService = require('./azureBlobFSLinkedService'); exports.AzureDataLakeStoreLinkedService = require('./azureDataLakeStoreLinkedService'); +exports.CosmosDbMongoDbApiLinkedService = require('./cosmosDbMongoDbApiLinkedService'); +exports.MongoDbV2LinkedService = require('./mongoDbV2LinkedService'); exports.MongoDbLinkedService = require('./mongoDbLinkedService'); exports.CassandraLinkedService = require('./cassandraLinkedService'); exports.WebLinkedServiceTypeProperties = require('./webLinkedServiceTypeProperties'); @@ -182,6 +190,10 @@ exports.AzureSqlDWLinkedService = require('./azureSqlDWLinkedService'); exports.AzureTableStorageLinkedService = require('./azureTableStorageLinkedService'); exports.AzureBlobStorageLinkedService = require('./azureBlobStorageLinkedService'); exports.AzureStorageLinkedService = require('./azureStorageLinkedService'); +exports.GoogleAdWordsObjectDataset = require('./googleAdWordsObjectDataset'); +exports.AzureDataExplorerTableDataset = require('./azureDataExplorerTableDataset'); +exports.OracleServiceCloudObjectDataset = require('./oracleServiceCloudObjectDataset'); +exports.DynamicsAXResourceDataset = require('./dynamicsAXResourceDataset'); exports.ResponsysObjectDataset = require('./responsysObjectDataset'); exports.SalesforceMarketingCloudObjectDataset = require('./salesforceMarketingCloudObjectDataset'); exports.VerticaTableDataset = require('./verticaTableDataset'); @@ -236,8 +248,13 @@ exports.RelationalTableDataset = require('./relationalTableDataset'); exports.AzureMySqlTableDataset = require('./azureMySqlTableDataset'); exports.OracleTableDataset = require('./oracleTableDataset'); exports.ODataResourceDataset = require('./oDataResourceDataset'); +exports.CosmosDbMongoDbApiCollectionDataset = require('./cosmosDbMongoDbApiCollectionDataset'); +exports.MongoDbV2CollectionDataset = require('./mongoDbV2CollectionDataset'); exports.MongoDbCollectionDataset = require('./mongoDbCollectionDataset'); exports.FileShareDataset = require('./fileShareDataset'); +exports.AzureDataLakeStoreCosmosStructuredStreamDataset = require('./azureDataLakeStoreCosmosStructuredStreamDataset'); +exports.Office365Dataset = require('./office365Dataset'); +exports.AzureBlobFSDataset = require('./azureBlobFSDataset'); exports.AzureDataLakeStoreDataset = require('./azureDataLakeStoreDataset'); exports.DynamicsEntityDataset = require('./dynamicsEntityDataset'); exports.DocumentDbCollectionDataset = require('./documentDbCollectionDataset'); @@ -264,6 +281,9 @@ exports.WebActivity = require('./webActivity'); exports.RedshiftUnloadSettings = require('./redshiftUnloadSettings'); exports.CopySource = require('./copySource'); exports.AmazonRedshiftSource = require('./amazonRedshiftSource'); +exports.GoogleAdWordsSource = require('./googleAdWordsSource'); +exports.OracleServiceCloudSource = require('./oracleServiceCloudSource'); +exports.DynamicsAXSource = require('./dynamicsAXSource'); exports.ResponsysSource = require('./responsysSource'); exports.SalesforceMarketingCloudSource = require('./salesforceMarketingCloudSource'); exports.VerticaSource = require('./verticaSource'); @@ -295,11 +315,17 @@ exports.ConcurSource = require('./concurSource'); exports.AzurePostgreSqlSource = require('./azurePostgreSqlSource'); exports.AmazonMWSSource = require('./amazonMWSSource'); exports.HttpSource = require('./httpSource'); +exports.AzureBlobFSSource = require('./azureBlobFSSource'); exports.AzureDataLakeStoreSource = require('./azureDataLakeStoreSource'); +exports.Office365Source = require('./office365Source'); +exports.MongoDbCursorMethodsProperties = require('./mongoDbCursorMethodsProperties'); +exports.CosmosDbMongoDbApiSource = require('./cosmosDbMongoDbApiSource'); +exports.MongoDbV2Source = require('./mongoDbV2Source'); exports.MongoDbSource = require('./mongoDbSource'); exports.CassandraSource = require('./cassandraSource'); exports.WebSource = require('./webSource'); exports.OracleSource = require('./oracleSource'); +exports.AzureDataExplorerSource = require('./azureDataExplorerSource'); exports.AzureMySqlSource = require('./azureMySqlSource'); exports.DistcpSettings = require('./distcpSettings'); exports.HdfsSource = require('./hdfsSource'); @@ -338,10 +364,13 @@ exports.StagingSettings = require('./stagingSettings'); exports.CopyTranslator = require('./copyTranslator'); exports.TabularTranslator = require('./tabularTranslator'); exports.CopySink = require('./copySink'); +exports.CosmosDbMongoDbApiSink = require('./cosmosDbMongoDbApiSink'); exports.SalesforceSink = require('./salesforceSink'); +exports.AzureDataExplorerSink = require('./azureDataExplorerSink'); exports.DynamicsSink = require('./dynamicsSink'); exports.OdbcSink = require('./odbcSink'); exports.AzureSearchIndexSink = require('./azureSearchIndexSink'); +exports.AzureBlobFSSink = require('./azureBlobFSSink'); exports.AzureDataLakeStoreSink = require('./azureDataLakeStoreSink'); exports.OracleSink = require('./oracleSink'); exports.PolybaseSettings = require('./polybaseSettings'); @@ -420,6 +449,10 @@ exports.discriminators = { 'Trigger.ScheduleTrigger' : exports.ScheduleTrigger, 'Trigger.MultiplePipelineTrigger' : exports.MultiplePipelineTrigger, 'LinkedService.AzureFunction' : exports.AzureFunctionLinkedService, + 'LinkedService.AzureDataExplorer' : exports.AzureDataExplorerLinkedService, + 'LinkedService.GoogleAdWords' : exports.GoogleAdWordsLinkedService, + 'LinkedService.OracleServiceCloud' : exports.OracleServiceCloudLinkedService, + 'LinkedService.DynamicsAX' : exports.DynamicsAXLinkedService, 'LinkedService.Responsys' : exports.ResponsysLinkedService, 'LinkedService.AzureDatabricks' : exports.AzureDatabricksLinkedService, 'LinkedService.AzureDataLakeAnalytics' : exports.AzureDataLakeAnalyticsLinkedService, @@ -467,7 +500,11 @@ exports.discriminators = { 'LinkedService.SapEcc' : exports.SapEccLinkedService, 'LinkedService.SapCloudForCustomer' : exports.SapCloudForCustomerLinkedService, 'LinkedService.Salesforce' : exports.SalesforceLinkedService, + 'LinkedService.Office365' : exports.Office365LinkedService, + 'LinkedService.AzureBlobFS' : exports.AzureBlobFSLinkedService, 'LinkedService.AzureDataLakeStore' : exports.AzureDataLakeStoreLinkedService, + 'LinkedService.CosmosDbMongoDbApi' : exports.CosmosDbMongoDbApiLinkedService, + 'LinkedService.MongoDbV2' : exports.MongoDbV2LinkedService, 'LinkedService.MongoDb' : exports.MongoDbLinkedService, 'LinkedService.Cassandra' : exports.CassandraLinkedService, 'WebLinkedServiceTypeProperties.ClientCertificate' : exports.WebClientCertificateAuthentication, @@ -498,6 +535,10 @@ exports.discriminators = { 'LinkedService.AzureTableStorage' : exports.AzureTableStorageLinkedService, 'LinkedService.AzureBlobStorage' : exports.AzureBlobStorageLinkedService, 'LinkedService.AzureStorage' : exports.AzureStorageLinkedService, + 'Dataset.GoogleAdWordsObject' : exports.GoogleAdWordsObjectDataset, + 'Dataset.AzureDataExplorerTable' : exports.AzureDataExplorerTableDataset, + 'Dataset.OracleServiceCloudObject' : exports.OracleServiceCloudObjectDataset, + 'Dataset.DynamicsAXResource' : exports.DynamicsAXResourceDataset, 'Dataset.ResponsysObject' : exports.ResponsysObjectDataset, 'Dataset.SalesforceMarketingCloudObject' : exports.SalesforceMarketingCloudObjectDataset, 'Dataset.VerticaTable' : exports.VerticaTableDataset, @@ -552,8 +593,13 @@ exports.discriminators = { 'Dataset.AzureMySqlTable' : exports.AzureMySqlTableDataset, 'Dataset.OracleTable' : exports.OracleTableDataset, 'Dataset.ODataResource' : exports.ODataResourceDataset, + 'Dataset.CosmosDbMongoDbApiCollection' : exports.CosmosDbMongoDbApiCollectionDataset, + 'Dataset.MongoDbV2Collection' : exports.MongoDbV2CollectionDataset, 'Dataset.MongoDbCollection' : exports.MongoDbCollectionDataset, 'Dataset.FileShare' : exports.FileShareDataset, + 'Dataset.AzureDataLakeStoreCosmosStructuredStreamFile' : exports.AzureDataLakeStoreCosmosStructuredStreamDataset, + 'Dataset.Office365Table' : exports.Office365Dataset, + 'Dataset.AzureBlobFSFile' : exports.AzureBlobFSDataset, 'Dataset.AzureDataLakeStoreFile' : exports.AzureDataLakeStoreDataset, 'Dataset.DynamicsEntity' : exports.DynamicsEntityDataset, 'Dataset.DocumentDbCollection' : exports.DocumentDbCollectionDataset, @@ -574,6 +620,9 @@ exports.discriminators = { 'Activity.GetMetadata' : exports.GetMetadataActivity, 'Activity.WebActivity' : exports.WebActivity, 'CopySource.AmazonRedshiftSource' : exports.AmazonRedshiftSource, + 'CopySource.GoogleAdWordsSource' : exports.GoogleAdWordsSource, + 'CopySource.OracleServiceCloudSource' : exports.OracleServiceCloudSource, + 'CopySource.DynamicsAXSource' : exports.DynamicsAXSource, 'CopySource.ResponsysSource' : exports.ResponsysSource, 'CopySource.SalesforceMarketingCloudSource' : exports.SalesforceMarketingCloudSource, 'CopySource.VerticaSource' : exports.VerticaSource, @@ -605,11 +654,16 @@ exports.discriminators = { 'CopySource.AzurePostgreSqlSource' : exports.AzurePostgreSqlSource, 'CopySource.AmazonMWSSource' : exports.AmazonMWSSource, 'CopySource.HttpSource' : exports.HttpSource, + 'CopySource.AzureBlobFSSource' : exports.AzureBlobFSSource, 'CopySource.AzureDataLakeStoreSource' : exports.AzureDataLakeStoreSource, + 'CopySource.Office365Source' : exports.Office365Source, + 'CopySource.CosmosDbMongoDbApiSource' : exports.CosmosDbMongoDbApiSource, + 'CopySource.MongoDbV2Source' : exports.MongoDbV2Source, 'CopySource.MongoDbSource' : exports.MongoDbSource, 'CopySource.CassandraSource' : exports.CassandraSource, 'CopySource.WebSource' : exports.WebSource, 'CopySource.OracleSource' : exports.OracleSource, + 'CopySource.AzureDataExplorerSource' : exports.AzureDataExplorerSource, 'CopySource.AzureMySqlSource' : exports.AzureMySqlSource, 'CopySource.HdfsSource' : exports.HdfsSource, 'CopySource.FileSystemSource' : exports.FileSystemSource, @@ -638,10 +692,13 @@ exports.discriminators = { 'Activity.HDInsightHive' : exports.HDInsightHiveActivity, 'CopyTranslator.TabularTranslator' : exports.TabularTranslator, 'CopyTranslator' : exports.CopyTranslator, + 'CopySink.CosmosDbMongoDbApiSink' : exports.CosmosDbMongoDbApiSink, 'CopySink.SalesforceSink' : exports.SalesforceSink, + 'CopySink.AzureDataExplorerSink' : exports.AzureDataExplorerSink, 'CopySink.DynamicsSink' : exports.DynamicsSink, 'CopySink.OdbcSink' : exports.OdbcSink, 'CopySink.AzureSearchIndexSink' : exports.AzureSearchIndexSink, + 'CopySink.AzureBlobFSSink' : exports.AzureBlobFSSink, 'CopySink.AzureDataLakeStoreSink' : exports.AzureDataLakeStoreSink, 'CopySink.OracleSink' : exports.OracleSink, 'CopySink.SqlDWSink' : exports.SqlDWSink, diff --git a/lib/services/datafactoryManagement/lib/models/jiraSource.js b/lib/services/datafactoryManagement/lib/models/jiraSource.js index 48c4a334e2..584a43beac 100644 --- a/lib/services/datafactoryManagement/lib/models/jiraSource.js +++ b/lib/services/datafactoryManagement/lib/models/jiraSource.js @@ -60,6 +60,13 @@ class JiraSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/lookupActivity.js b/lib/services/datafactoryManagement/lib/models/lookupActivity.js index c95897926b..cd743a484c 100644 --- a/lib/services/datafactoryManagement/lib/models/lookupActivity.js +++ b/lib/services/datafactoryManagement/lib/models/lookupActivity.js @@ -27,6 +27,9 @@ class LookupActivity extends models['ExecutionActivity'] { * @property {object} [source.sourceRetryWait] Source retry wait. Type: * string (or Expression with resultType string), pattern: * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * @property {object} [source.maxConcurrentConnections] The maximum + * concurrent connection count for the source data store. Type: integer (or + * Expression with resultType integer). * @property {string} [source.type] Polymorphic Discriminator * @property {object} dataset Lookup activity dataset reference. * @property {string} [dataset.referenceName] Reference dataset name. diff --git a/lib/services/datafactoryManagement/lib/models/magentoSource.js b/lib/services/datafactoryManagement/lib/models/magentoSource.js index c6a14128cf..0f162d3a45 100644 --- a/lib/services/datafactoryManagement/lib/models/magentoSource.js +++ b/lib/services/datafactoryManagement/lib/models/magentoSource.js @@ -60,6 +60,13 @@ class MagentoSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/mariaDBSource.js b/lib/services/datafactoryManagement/lib/models/mariaDBSource.js index c091e7d1ac..ad94555c71 100644 --- a/lib/services/datafactoryManagement/lib/models/mariaDBSource.js +++ b/lib/services/datafactoryManagement/lib/models/mariaDBSource.js @@ -60,6 +60,13 @@ class MariaDBSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/marketoSource.js b/lib/services/datafactoryManagement/lib/models/marketoSource.js index 1718b4df0e..306016186f 100644 --- a/lib/services/datafactoryManagement/lib/models/marketoSource.js +++ b/lib/services/datafactoryManagement/lib/models/marketoSource.js @@ -60,6 +60,13 @@ class MarketoSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/mongoDbCursorMethodsProperties.js b/lib/services/datafactoryManagement/lib/models/mongoDbCursorMethodsProperties.js new file mode 100644 index 0000000000..0f2b170052 --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/mongoDbCursorMethodsProperties.js @@ -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. + */ + +'use strict'; + +/** + * Cursor methods for Mongodb query + * + */ +class MongoDbCursorMethodsProperties { + /** + * Create a MongoDbCursorMethodsProperties. + * @property {object} [project] 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). + * @property {object} [sort] Specifies the order in which the query returns + * matching documents. Type: string (or Expression with resultType string). + * Type: string (or Expression with resultType string). + * @property {object} [skip] 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). + * @property {object} [limit] 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). + */ + constructor() { + } + + /** + * Defines the metadata of MongoDbCursorMethodsProperties + * + * @returns {object} metadata of MongoDbCursorMethodsProperties + * + */ + mapper() { + return { + required: false, + serializedName: 'MongoDbCursorMethodsProperties', + type: { + name: 'Composite', + additionalProperties: { + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + className: 'MongoDbCursorMethodsProperties', + modelProperties: { + project: { + required: false, + serializedName: 'project', + type: { + name: 'Object' + } + }, + sort: { + required: false, + serializedName: 'sort', + type: { + name: 'Object' + } + }, + skip: { + required: false, + serializedName: 'skip', + type: { + name: 'Object' + } + }, + limit: { + required: false, + serializedName: 'limit', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = MongoDbCursorMethodsProperties; diff --git a/lib/services/datafactoryManagement/lib/models/mongoDbSource.js b/lib/services/datafactoryManagement/lib/models/mongoDbSource.js index 9416fd4f46..9d261cb691 100644 --- a/lib/services/datafactoryManagement/lib/models/mongoDbSource.js +++ b/lib/services/datafactoryManagement/lib/models/mongoDbSource.js @@ -60,6 +60,13 @@ class MongoDbSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/mongoDbV2CollectionDataset.js b/lib/services/datafactoryManagement/lib/models/mongoDbV2CollectionDataset.js new file mode 100644 index 0000000000..921860484f --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/mongoDbV2CollectionDataset.js @@ -0,0 +1,137 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * The MongoDB database dataset. + * + * @extends models['Dataset'] + */ +class MongoDbV2CollectionDataset extends models['Dataset'] { + /** + * Create a MongoDbV2CollectionDataset. + * @property {object} collection The collection name of the MongoDB database. + * Type: string (or Expression with resultType string). + */ + constructor() { + super(); + } + + /** + * Defines the metadata of MongoDbV2CollectionDataset + * + * @returns {object} metadata of MongoDbV2CollectionDataset + * + */ + mapper() { + return { + required: false, + serializedName: 'MongoDbV2Collection', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'Dataset', + className: 'MongoDbV2CollectionDataset', + modelProperties: { + description: { + required: false, + serializedName: 'description', + type: { + name: 'String' + } + }, + structure: { + required: false, + serializedName: 'structure', + type: { + name: 'Object' + } + }, + schema: { + required: false, + serializedName: 'schema', + type: { + name: 'Object' + } + }, + linkedServiceName: { + required: true, + serializedName: 'linkedServiceName', + defaultValue: {}, + type: { + name: 'Composite', + className: 'LinkedServiceReference' + } + }, + parameters: { + required: false, + serializedName: 'parameters', + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ParameterSpecificationElementType', + type: { + name: 'Composite', + className: 'ParameterSpecification' + } + } + } + }, + annotations: { + required: false, + serializedName: 'annotations', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + folder: { + required: false, + serializedName: 'folder', + type: { + name: 'Composite', + className: 'DatasetFolder' + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + collection: { + required: true, + serializedName: 'typeProperties.collection', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = MongoDbV2CollectionDataset; diff --git a/lib/services/datafactoryManagement/lib/models/mongoDbV2LinkedService.js b/lib/services/datafactoryManagement/lib/models/mongoDbV2LinkedService.js new file mode 100644 index 0000000000..336ec599a3 --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/mongoDbV2LinkedService.js @@ -0,0 +1,124 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * Linked service for MongoDB data source. + * + * @extends models['LinkedService'] + */ +class MongoDbV2LinkedService extends models['LinkedService'] { + /** + * Create a MongoDbV2LinkedService. + * @property {object} connectionString The MongoDB connection string. Type: + * string, SecureString or AzureKeyVaultSecretReference. Type: string, + * SecureString or AzureKeyVaultSecretReference. + * @property {object} database The name of the MongoDB database that you want + * to access. Type: string (or Expression with resultType string). + */ + constructor() { + super(); + } + + /** + * Defines the metadata of MongoDbV2LinkedService + * + * @returns {object} metadata of MongoDbV2LinkedService + * + */ + mapper() { + return { + required: false, + serializedName: 'MongoDbV2', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'LinkedService', + className: 'MongoDbV2LinkedService', + modelProperties: { + connectVia: { + required: false, + serializedName: 'connectVia', + type: { + name: 'Composite', + className: 'IntegrationRuntimeReference' + } + }, + description: { + required: false, + serializedName: 'description', + type: { + name: 'String' + } + }, + parameters: { + required: false, + serializedName: 'parameters', + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ParameterSpecificationElementType', + type: { + name: 'Composite', + className: 'ParameterSpecification' + } + } + } + }, + annotations: { + required: false, + serializedName: 'annotations', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + connectionString: { + required: true, + serializedName: 'typeProperties.connectionString', + type: { + name: 'Object' + } + }, + database: { + required: true, + serializedName: 'typeProperties.database', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = MongoDbV2LinkedService; diff --git a/lib/services/datafactoryManagement/lib/models/mongoDbV2Source.js b/lib/services/datafactoryManagement/lib/models/mongoDbV2Source.js new file mode 100644 index 0000000000..4dffaf7b65 --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/mongoDbV2Source.js @@ -0,0 +1,140 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * A copy activity source for a MongoDB database. + * + * @extends models['CopySource'] + */ +class MongoDbV2Source extends models['CopySource'] { + /** + * Create a MongoDbV2Source. + * @property {object} [filter] 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). + * @property {object} [cursorMethods] Cursor methods for Mongodb query + * @property {object} [cursorMethods.project] 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). + * @property {object} [cursorMethods.sort] Specifies the order in which the + * query returns matching documents. Type: string (or Expression with + * resultType string). Type: string (or Expression with resultType string). + * @property {object} [cursorMethods.skip] 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). + * @property {object} [cursorMethods.limit] 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). + * @property {object} [batchSize] 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). + */ + constructor() { + super(); + } + + /** + * Defines the metadata of MongoDbV2Source + * + * @returns {object} metadata of MongoDbV2Source + * + */ + mapper() { + return { + required: false, + serializedName: 'MongoDbV2Source', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'CopySource', + className: 'MongoDbV2Source', + modelProperties: { + sourceRetryCount: { + required: false, + serializedName: 'sourceRetryCount', + type: { + name: 'Object' + } + }, + sourceRetryWait: { + required: false, + serializedName: 'sourceRetryWait', + type: { + name: 'Object' + } + }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + filter: { + required: false, + serializedName: 'filter', + type: { + name: 'Object' + } + }, + cursorMethods: { + required: false, + serializedName: 'cursorMethods', + type: { + name: 'Composite', + additionalProperties: { + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + className: 'MongoDbCursorMethodsProperties' + } + }, + batchSize: { + required: false, + serializedName: 'batchSize', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = MongoDbV2Source; diff --git a/lib/services/datafactoryManagement/lib/models/netezzaSource.js b/lib/services/datafactoryManagement/lib/models/netezzaSource.js index d948433e76..2dec748c5f 100644 --- a/lib/services/datafactoryManagement/lib/models/netezzaSource.js +++ b/lib/services/datafactoryManagement/lib/models/netezzaSource.js @@ -60,6 +60,13 @@ class NetezzaSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/oDataLinkedService.js b/lib/services/datafactoryManagement/lib/models/oDataLinkedService.js index 7e30e13507..61b25612f2 100644 --- a/lib/services/datafactoryManagement/lib/models/oDataLinkedService.js +++ b/lib/services/datafactoryManagement/lib/models/oDataLinkedService.js @@ -24,11 +24,38 @@ class ODataLinkedService extends models['LinkedService'] { * (or Expression with resultType string). * @property {string} [authenticationType] Type of authentication used to * connect to the OData service. Possible values include: 'Basic', - * 'Anonymous' + * 'Anonymous', 'Windows', 'AadServicePrincipal', 'ManagedServiceIdentity' * @property {object} [userName] User name of the OData service. Type: string * (or Expression with resultType string). * @property {object} [password] Password of the OData service. * @property {string} [password.type] Polymorphic Discriminator + * @property {object} [tenant] Specify the tenant information (domain name or + * tenant ID) under which your application resides. Type: string (or + * Expression with resultType string). + * @property {object} [servicePrincipalId] Specify the application id of your + * application registered in Azure Active Directory. Type: string (or + * Expression with resultType string). + * @property {object} [aadResourceId] Specify the resource you are requesting + * authorization to use Directory. Type: string (or Expression with + * resultType string). + * @property {string} [aadServicePrincipalCredentialType] Specify the + * credential type (key or cert) is used for service principal. Possible + * values include: 'ServicePrincipalKey', 'ServicePrincipalCert' + * @property {object} [servicePrincipalKey] Specify the secret of your + * application registered in Azure Active Directory. Type: string (or + * Expression with resultType string). + * @property {string} [servicePrincipalKey.type] Polymorphic Discriminator + * @property {object} [servicePrincipalEmbeddedCert] Specify the base64 + * encoded certificate of your application registered in Azure Active + * Directory. Type: string (or Expression with resultType string). + * @property {string} [servicePrincipalEmbeddedCert.type] Polymorphic + * Discriminator + * @property {object} [servicePrincipalEmbeddedCertPassword] 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). + * @property {string} [servicePrincipalEmbeddedCertPassword.type] Polymorphic + * Discriminator * @property {object} [encryptedCredential] The encrypted credential used for * authentication. Credentials are encrypted using the integration runtime * credential manager. Type: string (or Expression with resultType string). @@ -142,6 +169,73 @@ class ODataLinkedService extends models['LinkedService'] { className: 'SecretBase' } }, + tenant: { + required: false, + serializedName: 'typeProperties.tenant', + type: { + name: 'Object' + } + }, + servicePrincipalId: { + required: false, + serializedName: 'typeProperties.servicePrincipalId', + type: { + name: 'Object' + } + }, + aadResourceId: { + required: false, + serializedName: 'typeProperties.aadResourceId', + type: { + name: 'Object' + } + }, + aadServicePrincipalCredentialType: { + required: false, + serializedName: 'typeProperties.aadServicePrincipalCredentialType', + type: { + name: 'String' + } + }, + servicePrincipalKey: { + required: false, + serializedName: 'typeProperties.servicePrincipalKey', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'SecretBase', + className: 'SecretBase' + } + }, + servicePrincipalEmbeddedCert: { + required: false, + serializedName: 'typeProperties.servicePrincipalEmbeddedCert', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'SecretBase', + className: 'SecretBase' + } + }, + servicePrincipalEmbeddedCertPassword: { + required: false, + serializedName: 'typeProperties.servicePrincipalEmbeddedCertPassword', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'SecretBase', + className: 'SecretBase' + } + }, encryptedCredential: { required: false, serializedName: 'typeProperties.encryptedCredential', diff --git a/lib/services/datafactoryManagement/lib/models/odbcSink.js b/lib/services/datafactoryManagement/lib/models/odbcSink.js index f2d91270b7..e34978a25f 100644 --- a/lib/services/datafactoryManagement/lib/models/odbcSink.js +++ b/lib/services/datafactoryManagement/lib/models/odbcSink.js @@ -74,6 +74,13 @@ class OdbcSink extends models['CopySink'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/office365Dataset.js b/lib/services/datafactoryManagement/lib/models/office365Dataset.js new file mode 100644 index 0000000000..c567858763 --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/office365Dataset.js @@ -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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * The Office365 account. + * + * @extends models['Dataset'] + */ +class Office365Dataset extends models['Dataset'] { + /** + * Create a Office365Dataset. + * @property {object} tableName Name of the dataset to extract from Office + * 365. Type: string (or Expression with resultType string). + * @property {object} [predicate] A predicate expression that can be used to + * filter the specific rows to extract from Office 365. Type: string (or + * Expression with resultType string). + */ + constructor() { + super(); + } + + /** + * Defines the metadata of Office365Dataset + * + * @returns {object} metadata of Office365Dataset + * + */ + mapper() { + return { + required: false, + serializedName: 'Office365Table', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'Dataset', + className: 'Office365Dataset', + modelProperties: { + description: { + required: false, + serializedName: 'description', + type: { + name: 'String' + } + }, + structure: { + required: false, + serializedName: 'structure', + type: { + name: 'Object' + } + }, + schema: { + required: false, + serializedName: 'schema', + type: { + name: 'Object' + } + }, + linkedServiceName: { + required: true, + serializedName: 'linkedServiceName', + defaultValue: {}, + type: { + name: 'Composite', + className: 'LinkedServiceReference' + } + }, + parameters: { + required: false, + serializedName: 'parameters', + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ParameterSpecificationElementType', + type: { + name: 'Composite', + className: 'ParameterSpecification' + } + } + } + }, + annotations: { + required: false, + serializedName: 'annotations', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + folder: { + required: false, + serializedName: 'folder', + type: { + name: 'Composite', + className: 'DatasetFolder' + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + tableName: { + required: true, + serializedName: 'typeProperties.tableName', + type: { + name: 'Object' + } + }, + predicate: { + required: false, + serializedName: 'typeProperties.predicate', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = Office365Dataset; diff --git a/lib/services/datafactoryManagement/lib/models/office365LinkedService.js b/lib/services/datafactoryManagement/lib/models/office365LinkedService.js new file mode 100644 index 0000000000..c433946133 --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/office365LinkedService.js @@ -0,0 +1,158 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * Office365 linked service. + * + * @extends models['LinkedService'] + */ +class Office365LinkedService extends models['LinkedService'] { + /** + * Create a Office365LinkedService. + * @property {object} office365TenantId Azure tenant ID to which the Office + * 365 account belongs. Type: string (or Expression with resultType string). + * @property {object} servicePrincipalTenantId Specify the tenant information + * under which your Azure AD web application resides. Type: string (or + * Expression with resultType string). + * @property {object} servicePrincipalId Specify the application's client ID. + * Type: string (or Expression with resultType string). + * @property {object} servicePrincipalKey Specify the application's key. + * @property {string} [servicePrincipalKey.type] Polymorphic Discriminator + * @property {object} [encryptedCredential] The encrypted credential used for + * authentication. Credentials are encrypted using the integration runtime + * credential manager. Type: string (or Expression with resultType string). + */ + constructor() { + super(); + } + + /** + * Defines the metadata of Office365LinkedService + * + * @returns {object} metadata of Office365LinkedService + * + */ + mapper() { + return { + required: false, + serializedName: 'Office365', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'LinkedService', + className: 'Office365LinkedService', + modelProperties: { + connectVia: { + required: false, + serializedName: 'connectVia', + type: { + name: 'Composite', + className: 'IntegrationRuntimeReference' + } + }, + description: { + required: false, + serializedName: 'description', + type: { + name: 'String' + } + }, + parameters: { + required: false, + serializedName: 'parameters', + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ParameterSpecificationElementType', + type: { + name: 'Composite', + className: 'ParameterSpecification' + } + } + } + }, + annotations: { + required: false, + serializedName: 'annotations', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'ObjectElementType', + type: { + name: 'Object' + } + } + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + }, + office365TenantId: { + required: true, + serializedName: 'typeProperties.office365TenantId', + type: { + name: 'Object' + } + }, + servicePrincipalTenantId: { + required: true, + serializedName: 'typeProperties.servicePrincipalTenantId', + type: { + name: 'Object' + } + }, + servicePrincipalId: { + required: true, + serializedName: 'typeProperties.servicePrincipalId', + type: { + name: 'Object' + } + }, + servicePrincipalKey: { + required: true, + serializedName: 'typeProperties.servicePrincipalKey', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'SecretBase', + className: 'SecretBase' + } + }, + encryptedCredential: { + required: false, + serializedName: 'typeProperties.encryptedCredential', + type: { + name: 'Object' + } + } + } + } + }; + } +} + +module.exports = Office365LinkedService; diff --git a/lib/services/datafactoryManagement/lib/models/office365Source.js b/lib/services/datafactoryManagement/lib/models/office365Source.js new file mode 100644 index 0000000000..b8efd52f51 --- /dev/null +++ b/lib/services/datafactoryManagement/lib/models/office365Source.js @@ -0,0 +1,82 @@ +/* + * 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. + */ + +'use strict'; + +const models = require('./index'); + +/** + * A copy activity source for an Office365 service. + * + * @extends models['CopySource'] + */ +class Office365Source extends models['CopySource'] { + /** + * Create a Office365Source. + */ + constructor() { + super(); + } + + /** + * Defines the metadata of Office365Source + * + * @returns {object} metadata of Office365Source + * + */ + mapper() { + return { + required: false, + serializedName: 'Office365Source', + type: { + name: 'Composite', + polymorphicDiscriminator: { + serializedName: 'type', + clientName: 'type' + }, + uberParent: 'CopySource', + className: 'Office365Source', + modelProperties: { + sourceRetryCount: { + required: false, + serializedName: 'sourceRetryCount', + type: { + name: 'Object' + } + }, + sourceRetryWait: { + required: false, + serializedName: 'sourceRetryWait', + type: { + name: 'Object' + } + }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, + type: { + required: true, + serializedName: 'type', + isPolymorphicDiscriminator: true, + type: { + name: 'String' + } + } + } + } + }; + } +} + +module.exports = Office365Source; diff --git a/lib/services/datafactoryManagement/lib/models/oracleServiceCloudLinkedService.js b/lib/services/datafactoryManagement/lib/models/oracleServiceCloudLinkedService.js index a11ee8c2b8..47a02e6da8 100644 --- a/lib/services/datafactoryManagement/lib/models/oracleServiceCloudLinkedService.js +++ b/lib/services/datafactoryManagement/lib/models/oracleServiceCloudLinkedService.js @@ -20,23 +20,23 @@ const models = require('./index'); class OracleServiceCloudLinkedService extends models['LinkedService'] { /** * Create a OracleServiceCloudLinkedService. - * @member {object} host The URL of the Oracle Service Cloud instance. - * @member {object} username The user name that you use to access Oracle + * @property {object} host The URL of the Oracle Service Cloud instance. + * @property {object} username The user name that you use to access Oracle * Service Cloud server. - * @member {object} password The password corresponding to the user name that - * you provided in the username key. - * @member {string} [password.type] Polymorphic Discriminator - * @member {object} [useEncryptedEndpoints] Specifies whether the data source - * endpoints are encrypted using HTTPS. The default value is true. Type: - * boolean (or Expression with resultType boolean). - * @member {object} [useHostVerification] Specifies whether to require the + * @property {object} password The password corresponding to the user name + * that you provided in the username key. + * @property {string} [password.type] Polymorphic Discriminator + * @property {object} [useEncryptedEndpoints] Specifies whether the data + * source endpoints are encrypted using HTTPS. The default value is true. + * Type: boolean (or Expression with resultType boolean). + * @property {object} [useHostVerification] 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). - * @member {object} [usePeerVerification] Specifies whether to verify the + * @property {object} [usePeerVerification] 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). - * @member {object} [encryptedCredential] The encrypted credential used for + * @property {object} [encryptedCredential] The encrypted credential used for * authentication. Credentials are encrypted using the integration runtime * credential manager. Type: string (or Expression with resultType string). */ diff --git a/lib/services/datafactoryManagement/lib/models/oracleServiceCloudObjectDataset.js b/lib/services/datafactoryManagement/lib/models/oracleServiceCloudObjectDataset.js index 318421211a..1cc19c17b8 100644 --- a/lib/services/datafactoryManagement/lib/models/oracleServiceCloudObjectDataset.js +++ b/lib/services/datafactoryManagement/lib/models/oracleServiceCloudObjectDataset.js @@ -20,6 +20,8 @@ const models = require('./index'); class OracleServiceCloudObjectDataset extends models['Dataset'] { /** * Create a OracleServiceCloudObjectDataset. + * @property {object} [tableName] The table name. Type: string (or Expression + * with resultType string). */ constructor() { super(); @@ -58,6 +60,13 @@ class OracleServiceCloudObjectDataset extends models['Dataset'] { name: 'Object' } }, + schema: { + required: false, + serializedName: 'schema', + type: { + name: 'Object' + } + }, linkedServiceName: { required: true, serializedName: 'linkedServiceName', @@ -111,6 +120,13 @@ class OracleServiceCloudObjectDataset extends models['Dataset'] { type: { name: 'String' } + }, + tableName: { + required: false, + serializedName: 'typeProperties.tableName', + type: { + name: 'Object' + } } } } diff --git a/lib/services/datafactoryManagement/lib/models/oracleServiceCloudSource.js b/lib/services/datafactoryManagement/lib/models/oracleServiceCloudSource.js index 3deb012239..f98f76385b 100644 --- a/lib/services/datafactoryManagement/lib/models/oracleServiceCloudSource.js +++ b/lib/services/datafactoryManagement/lib/models/oracleServiceCloudSource.js @@ -20,7 +20,7 @@ const models = require('./index'); class OracleServiceCloudSource extends models['CopySource'] { /** * Create a OracleServiceCloudSource. - * @member {object} [query] A query to retrieve data from source. Type: + * @property {object} [query] A query to retrieve data from source. Type: * string (or Expression with resultType string). */ constructor() { @@ -60,6 +60,13 @@ class OracleServiceCloudSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/oracleSink.js b/lib/services/datafactoryManagement/lib/models/oracleSink.js index d7f7ba4d43..e9d8ab378c 100644 --- a/lib/services/datafactoryManagement/lib/models/oracleSink.js +++ b/lib/services/datafactoryManagement/lib/models/oracleSink.js @@ -74,6 +74,13 @@ class OracleSink extends models['CopySink'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/oracleSource.js b/lib/services/datafactoryManagement/lib/models/oracleSource.js index ae04ca4a4c..028c40adf9 100644 --- a/lib/services/datafactoryManagement/lib/models/oracleSource.js +++ b/lib/services/datafactoryManagement/lib/models/oracleSource.js @@ -63,6 +63,13 @@ class OracleSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/paypalSource.js b/lib/services/datafactoryManagement/lib/models/paypalSource.js index 5575436be0..69cba5ddc6 100644 --- a/lib/services/datafactoryManagement/lib/models/paypalSource.js +++ b/lib/services/datafactoryManagement/lib/models/paypalSource.js @@ -60,6 +60,13 @@ class PaypalSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/phoenixSource.js b/lib/services/datafactoryManagement/lib/models/phoenixSource.js index 0f5b201793..612b37fe23 100644 --- a/lib/services/datafactoryManagement/lib/models/phoenixSource.js +++ b/lib/services/datafactoryManagement/lib/models/phoenixSource.js @@ -60,6 +60,13 @@ class PhoenixSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/pipelineRun.js b/lib/services/datafactoryManagement/lib/models/pipelineRun.js index 4038e3995f..1f399247b8 100644 --- a/lib/services/datafactoryManagement/lib/models/pipelineRun.js +++ b/lib/services/datafactoryManagement/lib/models/pipelineRun.js @@ -18,6 +18,10 @@ class PipelineRun { /** * Create a PipelineRun. * @property {string} [runId] Identifier of a run. + * @property {string} [runGroupId] Identifier that correlates all the + * recovery runs of a pipeline run. + * @property {boolean} [isLatest] Indicates if the recovered pipeline run is + * the latest in its group. * @property {string} [pipelineName] The pipeline name. * @property {object} [parameters] The full or partial list of parameter * name, value pair used in the pipeline run. @@ -75,6 +79,22 @@ class PipelineRun { name: 'String' } }, + runGroupId: { + required: false, + readOnly: true, + serializedName: 'runGroupId', + type: { + name: 'String' + } + }, + isLatest: { + required: false, + readOnly: true, + serializedName: 'isLatest', + type: { + name: 'Boolean' + } + }, pipelineName: { required: false, readOnly: true, diff --git a/lib/services/datafactoryManagement/lib/models/prestoSource.js b/lib/services/datafactoryManagement/lib/models/prestoSource.js index a2926a154e..7ab2c918bf 100644 --- a/lib/services/datafactoryManagement/lib/models/prestoSource.js +++ b/lib/services/datafactoryManagement/lib/models/prestoSource.js @@ -60,6 +60,13 @@ class PrestoSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/quickBooksSource.js b/lib/services/datafactoryManagement/lib/models/quickBooksSource.js index 70321d842e..f904fd09c0 100644 --- a/lib/services/datafactoryManagement/lib/models/quickBooksSource.js +++ b/lib/services/datafactoryManagement/lib/models/quickBooksSource.js @@ -60,6 +60,13 @@ class QuickBooksSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/relationalSource.js b/lib/services/datafactoryManagement/lib/models/relationalSource.js index ff3ee6598a..66cef60fc1 100644 --- a/lib/services/datafactoryManagement/lib/models/relationalSource.js +++ b/lib/services/datafactoryManagement/lib/models/relationalSource.js @@ -60,6 +60,13 @@ class RelationalSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/responsysSource.js b/lib/services/datafactoryManagement/lib/models/responsysSource.js index 62af697950..b7bc778523 100644 --- a/lib/services/datafactoryManagement/lib/models/responsysSource.js +++ b/lib/services/datafactoryManagement/lib/models/responsysSource.js @@ -60,6 +60,13 @@ class ResponsysSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/restSource.js b/lib/services/datafactoryManagement/lib/models/restSource.js index f9a93448e9..1624b07a77 100644 --- a/lib/services/datafactoryManagement/lib/models/restSource.js +++ b/lib/services/datafactoryManagement/lib/models/restSource.js @@ -65,6 +65,13 @@ class RestSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/runQueryFilter.js b/lib/services/datafactoryManagement/lib/models/runQueryFilter.js index 43dc9fb793..59838839d0 100644 --- a/lib/services/datafactoryManagement/lib/models/runQueryFilter.js +++ b/lib/services/datafactoryManagement/lib/models/runQueryFilter.js @@ -24,7 +24,7 @@ class RunQueryFilter { * TriggerName, TriggerRunTimestamp and Status. Possible values include: * 'PipelineName', 'Status', 'RunStart', 'RunEnd', 'ActivityName', * 'ActivityRunStart', 'ActivityRunEnd', 'ActivityType', 'TriggerName', - * 'TriggerRunTimestamp' + * 'TriggerRunTimestamp', 'RunGroupId', 'LatestOnly' * @property {string} operator Operator to be used for filter. Possible * values include: 'Equals', 'NotEquals', 'In', 'NotIn' * @property {array} values List of filter values. diff --git a/lib/services/datafactoryManagement/lib/models/salesforceMarketingCloudSource.js b/lib/services/datafactoryManagement/lib/models/salesforceMarketingCloudSource.js index 8e3780fc44..71e52a7358 100644 --- a/lib/services/datafactoryManagement/lib/models/salesforceMarketingCloudSource.js +++ b/lib/services/datafactoryManagement/lib/models/salesforceMarketingCloudSource.js @@ -60,6 +60,13 @@ class SalesforceMarketingCloudSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/salesforceSink.js b/lib/services/datafactoryManagement/lib/models/salesforceSink.js index aef162648d..8bcc68146d 100644 --- a/lib/services/datafactoryManagement/lib/models/salesforceSink.js +++ b/lib/services/datafactoryManagement/lib/models/salesforceSink.js @@ -85,6 +85,13 @@ class SalesforceSink extends models['CopySink'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/salesforceSource.js b/lib/services/datafactoryManagement/lib/models/salesforceSource.js index 147bb9c65f..b94311b129 100644 --- a/lib/services/datafactoryManagement/lib/models/salesforceSource.js +++ b/lib/services/datafactoryManagement/lib/models/salesforceSource.js @@ -62,6 +62,13 @@ class SalesforceSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/sapCloudForCustomerSink.js b/lib/services/datafactoryManagement/lib/models/sapCloudForCustomerSink.js index e54988b153..a86de51cf0 100644 --- a/lib/services/datafactoryManagement/lib/models/sapCloudForCustomerSink.js +++ b/lib/services/datafactoryManagement/lib/models/sapCloudForCustomerSink.js @@ -74,6 +74,13 @@ class SapCloudForCustomerSink extends models['CopySink'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/sapCloudForCustomerSource.js b/lib/services/datafactoryManagement/lib/models/sapCloudForCustomerSource.js index 13a59066fb..91fc6ea28d 100644 --- a/lib/services/datafactoryManagement/lib/models/sapCloudForCustomerSource.js +++ b/lib/services/datafactoryManagement/lib/models/sapCloudForCustomerSource.js @@ -60,6 +60,13 @@ class SapCloudForCustomerSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/sapEccSource.js b/lib/services/datafactoryManagement/lib/models/sapEccSource.js index a27841d9ef..e028394523 100644 --- a/lib/services/datafactoryManagement/lib/models/sapEccSource.js +++ b/lib/services/datafactoryManagement/lib/models/sapEccSource.js @@ -60,6 +60,13 @@ class SapEccSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/sapOpenHubSource.js b/lib/services/datafactoryManagement/lib/models/sapOpenHubSource.js index 09a60b5d66..49b10bcbd8 100644 --- a/lib/services/datafactoryManagement/lib/models/sapOpenHubSource.js +++ b/lib/services/datafactoryManagement/lib/models/sapOpenHubSource.js @@ -59,6 +59,13 @@ class SapOpenHubSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/serviceNowSource.js b/lib/services/datafactoryManagement/lib/models/serviceNowSource.js index 439cc2da75..b7c62fdd1f 100644 --- a/lib/services/datafactoryManagement/lib/models/serviceNowSource.js +++ b/lib/services/datafactoryManagement/lib/models/serviceNowSource.js @@ -60,6 +60,13 @@ class ServiceNowSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/shopifySource.js b/lib/services/datafactoryManagement/lib/models/shopifySource.js index add924d71d..b9acdfc9aa 100644 --- a/lib/services/datafactoryManagement/lib/models/shopifySource.js +++ b/lib/services/datafactoryManagement/lib/models/shopifySource.js @@ -60,6 +60,13 @@ class ShopifySource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/sparkSource.js b/lib/services/datafactoryManagement/lib/models/sparkSource.js index ce13a393bf..9be565ac3d 100644 --- a/lib/services/datafactoryManagement/lib/models/sparkSource.js +++ b/lib/services/datafactoryManagement/lib/models/sparkSource.js @@ -60,6 +60,13 @@ class SparkSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/sqlDWSink.js b/lib/services/datafactoryManagement/lib/models/sqlDWSink.js index 5806f4b130..0bc9becb36 100644 --- a/lib/services/datafactoryManagement/lib/models/sqlDWSink.js +++ b/lib/services/datafactoryManagement/lib/models/sqlDWSink.js @@ -91,6 +91,13 @@ class SqlDWSink extends models['CopySink'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/sqlDWSource.js b/lib/services/datafactoryManagement/lib/models/sqlDWSource.js index af1bd0cfe6..0fc6be131e 100644 --- a/lib/services/datafactoryManagement/lib/models/sqlDWSource.js +++ b/lib/services/datafactoryManagement/lib/models/sqlDWSource.js @@ -68,6 +68,13 @@ class SqlDWSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/sqlSink.js b/lib/services/datafactoryManagement/lib/models/sqlSink.js index 91dac85fbe..0c1ceb6544 100644 --- a/lib/services/datafactoryManagement/lib/models/sqlSink.js +++ b/lib/services/datafactoryManagement/lib/models/sqlSink.js @@ -80,6 +80,13 @@ class SqlSink extends models['CopySink'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/sqlSource.js b/lib/services/datafactoryManagement/lib/models/sqlSource.js index e1c7222c6e..10a005565e 100644 --- a/lib/services/datafactoryManagement/lib/models/sqlSource.js +++ b/lib/services/datafactoryManagement/lib/models/sqlSource.js @@ -66,6 +66,13 @@ class SqlSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/squareSource.js b/lib/services/datafactoryManagement/lib/models/squareSource.js index a56463f64c..0606a39953 100644 --- a/lib/services/datafactoryManagement/lib/models/squareSource.js +++ b/lib/services/datafactoryManagement/lib/models/squareSource.js @@ -60,6 +60,13 @@ class SquareSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/verticaSource.js b/lib/services/datafactoryManagement/lib/models/verticaSource.js index c24e9066c9..1e6a655ca1 100644 --- a/lib/services/datafactoryManagement/lib/models/verticaSource.js +++ b/lib/services/datafactoryManagement/lib/models/verticaSource.js @@ -60,6 +60,13 @@ class VerticaSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/webSource.js b/lib/services/datafactoryManagement/lib/models/webSource.js index b2e34c1b4a..130b04f71d 100644 --- a/lib/services/datafactoryManagement/lib/models/webSource.js +++ b/lib/services/datafactoryManagement/lib/models/webSource.js @@ -58,6 +58,13 @@ class WebSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/xeroSource.js b/lib/services/datafactoryManagement/lib/models/xeroSource.js index 0e0b273563..d9d232ea1a 100644 --- a/lib/services/datafactoryManagement/lib/models/xeroSource.js +++ b/lib/services/datafactoryManagement/lib/models/xeroSource.js @@ -60,6 +60,13 @@ class XeroSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/models/zohoSource.js b/lib/services/datafactoryManagement/lib/models/zohoSource.js index febe7a9530..6ea52ef673 100644 --- a/lib/services/datafactoryManagement/lib/models/zohoSource.js +++ b/lib/services/datafactoryManagement/lib/models/zohoSource.js @@ -60,6 +60,13 @@ class ZohoSource extends models['CopySource'] { name: 'Object' } }, + maxConcurrentConnections: { + required: false, + serializedName: 'maxConcurrentConnections', + type: { + name: 'Object' + } + }, type: { required: true, serializedName: 'type', diff --git a/lib/services/datafactoryManagement/lib/operations/index.d.ts b/lib/services/datafactoryManagement/lib/operations/index.d.ts index a394d6a27e..d600cc9951 100644 --- a/lib/services/datafactoryManagement/lib/operations/index.d.ts +++ b/lib/services/datafactoryManagement/lib/operations/index.d.ts @@ -3996,6 +3996,13 @@ export interface Pipelines { * identifier. If run ID is specified the parameters of the specified run will * be used to create a new run. * + * @param {boolean} [options.isRecovery] 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. + * + * @param {string} [options.startActivityName] In recovery mode, the rerun will + * start from this activity. If not specified, all activities will run. + * * @param {object} [options.parameters] Parameters of the pipeline run. These * parameters will be used only if the runId is not specified. * @@ -4008,7 +4015,7 @@ export interface Pipelines { * * @reject {Error|ServiceError} - The error object. */ - createRunWithHttpOperationResponse(resourceGroupName: string, factoryName: string, pipelineName: string, options?: { referencePipelineRunId? : string, parameters? : { [propertyName: string]: any }, customHeaders? : { [headerName: string]: string; } }): Promise>; + createRunWithHttpOperationResponse(resourceGroupName: string, factoryName: string, pipelineName: string, options?: { referencePipelineRunId? : string, isRecovery? : boolean, startActivityName? : string, parameters? : { [propertyName: string]: any }, customHeaders? : { [headerName: string]: string; } }): Promise>; /** * Creates a run of a pipeline. @@ -4025,6 +4032,13 @@ export interface Pipelines { * identifier. If run ID is specified the parameters of the specified run will * be used to create a new run. * + * @param {boolean} [options.isRecovery] 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. + * + * @param {string} [options.startActivityName] In recovery mode, the rerun will + * start from this activity. If not specified, all activities will run. + * * @param {object} [options.parameters] Parameters of the pipeline run. These * parameters will be used only if the runId is not specified. * @@ -4053,9 +4067,9 @@ export interface Pipelines { * * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. */ - createRun(resourceGroupName: string, factoryName: string, pipelineName: string, options?: { referencePipelineRunId? : string, parameters? : { [propertyName: string]: any }, customHeaders? : { [headerName: string]: string; } }): Promise; + createRun(resourceGroupName: string, factoryName: string, pipelineName: string, options?: { referencePipelineRunId? : string, isRecovery? : boolean, startActivityName? : string, parameters? : { [propertyName: string]: any }, customHeaders? : { [headerName: string]: string; } }): Promise; createRun(resourceGroupName: string, factoryName: string, pipelineName: string, callback: ServiceCallback): void; - createRun(resourceGroupName: string, factoryName: string, pipelineName: string, options: { referencePipelineRunId? : string, parameters? : { [propertyName: string]: any }, customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + createRun(resourceGroupName: string, factoryName: string, pipelineName: string, options: { referencePipelineRunId? : string, isRecovery? : boolean, startActivityName? : string, parameters? : { [propertyName: string]: any }, customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; /** diff --git a/lib/services/datafactoryManagement/lib/operations/pipelines.js b/lib/services/datafactoryManagement/lib/operations/pipelines.js index d8064480f4..a0ebd6446d 100644 --- a/lib/services/datafactoryManagement/lib/operations/pipelines.js +++ b/lib/services/datafactoryManagement/lib/operations/pipelines.js @@ -828,6 +828,13 @@ function _deleteMethod(resourceGroupName, factoryName, pipelineName, options, ca * identifier. If run ID is specified the parameters of the specified run will * be used to create a new run. * + * @param {boolean} [options.isRecovery] 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. + * + * @param {string} [options.startActivityName] In recovery mode, the rerun will + * start from this activity. If not specified, all activities will run. + * * @param {object} [options.parameters] Parameters of the pipeline run. These * parameters will be used only if the runId is not specified. * @@ -858,6 +865,8 @@ function _createRun(resourceGroupName, factoryName, pipelineName, options, callb throw new Error('callback cannot be null.'); } let referencePipelineRunId = (options && options.referencePipelineRunId !== undefined) ? options.referencePipelineRunId : undefined; + let isRecovery = (options && options.isRecovery !== undefined) ? options.isRecovery : undefined; + let startActivityName = (options && options.startActivityName !== undefined) ? options.startActivityName : undefined; let parameters = (options && options.parameters !== undefined) ? options.parameters : undefined; // Validate try { @@ -921,6 +930,12 @@ function _createRun(resourceGroupName, factoryName, pipelineName, options, callb if (referencePipelineRunId !== null && referencePipelineRunId !== undefined && typeof referencePipelineRunId.valueOf() !== 'string') { throw new Error('referencePipelineRunId must be of type string.'); } + if (isRecovery !== null && isRecovery !== undefined && typeof isRecovery !== 'boolean') { + throw new Error('isRecovery must be of type boolean.'); + } + if (startActivityName !== null && startActivityName !== undefined && typeof startActivityName.valueOf() !== 'string') { + throw new Error('startActivityName must be of type string.'); + } if (parameters && typeof parameters === 'object') { for(let valueElement in parameters) { if (parameters[valueElement] !== null && parameters[valueElement] !== undefined && typeof parameters[valueElement] !== 'object') { @@ -947,6 +962,12 @@ function _createRun(resourceGroupName, factoryName, pipelineName, options, callb if (referencePipelineRunId !== null && referencePipelineRunId !== undefined) { queryParameters.push('referencePipelineRunId=' + encodeURIComponent(referencePipelineRunId)); } + if (isRecovery !== null && isRecovery !== undefined) { + queryParameters.push('isRecovery=' + encodeURIComponent(isRecovery.toString())); + } + if (startActivityName !== null && startActivityName !== undefined) { + queryParameters.push('startActivityName=' + encodeURIComponent(startActivityName)); + } if (queryParameters.length > 0) { requestUrl += '?' + queryParameters.join('&'); } @@ -1636,6 +1657,13 @@ class Pipelines { * identifier. If run ID is specified the parameters of the specified run will * be used to create a new run. * + * @param {boolean} [options.isRecovery] 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. + * + * @param {string} [options.startActivityName] In recovery mode, the rerun will + * start from this activity. If not specified, all activities will run. + * * @param {object} [options.parameters] Parameters of the pipeline run. These * parameters will be used only if the runId is not specified. * @@ -1677,6 +1705,13 @@ class Pipelines { * identifier. If run ID is specified the parameters of the specified run will * be used to create a new run. * + * @param {boolean} [options.isRecovery] 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. + * + * @param {string} [options.startActivityName] In recovery mode, the rerun will + * start from this activity. If not specified, all activities will run. + * * @param {object} [options.parameters] Parameters of the pipeline run. These * parameters will be used only if the runId is not specified. *