diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonMWSSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonMWSSource.cs index d74a6017eea6..1965de087366 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonMWSSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonMWSSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Amazon Marketplace Web Service source. /// - public partial class AmazonMWSSource : CopySource + public partial class AmazonMWSSource : TabularSource { /// /// Initializes a new instance of the AmazonMWSSource class. @@ -41,10 +41,13 @@ public AmazonMWSSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public AmazonMWSSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public AmazonMWSSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonRedshiftSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonRedshiftSource.cs index a1f13df42fab..317ba9ac9fbc 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonRedshiftSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonRedshiftSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for Amazon Redshift Source. /// - public partial class AmazonRedshiftSource : CopySource + public partial class AmazonRedshiftSource : TabularSource { /// /// Initializes a new instance of the AmazonRedshiftSource class. @@ -41,6 +41,9 @@ public AmazonRedshiftSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Database query. Type: string (or Expression /// with resultType string). /// The Amazon S3 settings needed @@ -48,8 +51,8 @@ public AmazonRedshiftSource() /// unload. With this, data from Amazon Redshift source will be /// unloaded into S3 first and then copied into the targeted sink from /// the interim S3. - public AmazonRedshiftSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object), RedshiftUnloadSettings redshiftUnloadSettings = default(RedshiftUnloadSettings)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public AmazonRedshiftSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object), RedshiftUnloadSettings redshiftUnloadSettings = default(RedshiftUnloadSettings)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; RedshiftUnloadSettings = redshiftUnloadSettings; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFileStorageLinkedService.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFileStorageLinkedService.cs new file mode 100644 index 000000000000..dae5ead4808f --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFileStorageLinkedService.cs @@ -0,0 +1,114 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Azure File Storage linked service. + /// + [Newtonsoft.Json.JsonObject("AzureFileStorage")] + [Rest.Serialization.JsonTransformation] + public partial class AzureFileStorageLinkedService : LinkedService + { + /// + /// Initializes a new instance of the AzureFileStorageLinkedService + /// class. + /// + public AzureFileStorageLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureFileStorageLinkedService + /// class. + /// + /// Host name of the server. Type: string (or + /// Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// Parameters for linked service. + /// List of tags that can be used for + /// describing the linked service. + /// User ID to logon the server. Type: string (or + /// Expression with resultType string). + /// Password to logon the server. + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public AzureFileStorageLinkedService(object host, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object userId = default(object), SecretBase password = default(SecretBase), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description, parameters, annotations) + { + Host = host; + UserId = userId; + Password = password; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets host name of the server. Type: string (or Expression + /// with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.host")] + public object Host { get; set; } + + /// + /// Gets or sets user ID to logon the server. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.userId")] + public object UserId { get; set; } + + /// + /// Gets or sets password to logon the server. + /// + [JsonProperty(PropertyName = "typeProperties.password")] + public SecretBase Password { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Host == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Host"); + } + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFileStorageLocation.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFileStorageLocation.cs new file mode 100644 index 000000000000..6bdbafd55536 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFileStorageLocation.cs @@ -0,0 +1,62 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The location of file server dataset. + /// + public partial class AzureFileStorageLocation : DatasetLocation + { + /// + /// Initializes a new instance of the AzureFileStorageLocation class. + /// + public AzureFileStorageLocation() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureFileStorageLocation class. + /// + /// Type of dataset storage location. + /// Unmatched properties from the + /// message are deserialized this collection + /// Specify the folder path of dataset. Type: + /// string (or Expression with resultType string) + /// Specify the file name of dataset. Type: + /// string (or Expression with resultType string). + public AzureFileStorageLocation(string type, IDictionary additionalProperties = default(IDictionary), object folderPath = default(object), object fileName = default(object)) + : base(type, additionalProperties, folderPath, fileName) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFileStorageReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFileStorageReadSettings.cs new file mode 100644 index 000000000000..65f4f6d72d80 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFileStorageReadSettings.cs @@ -0,0 +1,128 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Azure File Storage read settings. + /// + public partial class AzureFileStorageReadSettings : StoreReadSettings + { + /// + /// Initializes a new instance of the AzureFileStorageReadSettings + /// class. + /// + public AzureFileStorageReadSettings() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AzureFileStorageReadSettings + /// class. + /// + /// The read setting type. + /// Unmatched properties from the + /// message are deserialized this collection + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + /// If true, files under the folder path will + /// be read recursively. Default is true. Type: boolean (or Expression + /// with resultType boolean). + /// Azure File Storage + /// wildcardFolderPath. Type: string (or Expression with resultType + /// string). + /// Azure File Storage wildcardFileName. + /// Type: string (or Expression with resultType string). + /// Indicates whether to enable + /// partition discovery. + /// The start of file's modified + /// datetime. Type: string (or Expression with resultType + /// string). + /// The end of file's modified + /// datetime. Type: string (or Expression with resultType + /// string). + public AzureFileStorageReadSettings(string type, IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), bool? enablePartitionDiscovery = default(bool?), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) + : base(type, additionalProperties, maxConcurrentConnections) + { + Recursive = recursive; + WildcardFolderPath = wildcardFolderPath; + WildcardFileName = wildcardFileName; + EnablePartitionDiscovery = enablePartitionDiscovery; + ModifiedDatetimeStart = modifiedDatetimeStart; + ModifiedDatetimeEnd = modifiedDatetimeEnd; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets if true, files under the folder path will be read + /// recursively. Default is true. Type: boolean (or Expression with + /// resultType boolean). + /// + [JsonProperty(PropertyName = "recursive")] + public object Recursive { get; set; } + + /// + /// Gets or sets azure File Storage wildcardFolderPath. Type: string + /// (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "wildcardFolderPath")] + public object WildcardFolderPath { get; set; } + + /// + /// Gets or sets azure File Storage wildcardFileName. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "wildcardFileName")] + public object WildcardFileName { get; set; } + + /// + /// Gets or sets indicates whether to enable partition discovery. + /// + [JsonProperty(PropertyName = "enablePartitionDiscovery")] + public bool? EnablePartitionDiscovery { get; set; } + + /// + /// Gets or sets the start of file's modified datetime. Type: string + /// (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "modifiedDatetimeStart")] + public object ModifiedDatetimeStart { get; set; } + + /// + /// Gets or sets the end of file's modified datetime. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "modifiedDatetimeEnd")] + public object ModifiedDatetimeEnd { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMariaDBSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMariaDBSource.cs index 6061fab8cf83..fab56117f776 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMariaDBSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMariaDBSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure MariaDB source. /// - public partial class AzureMariaDBSource : CopySource + public partial class AzureMariaDBSource : TabularSource { /// /// Initializes a new instance of the AzureMariaDBSource class. @@ -41,10 +41,13 @@ public AzureMariaDBSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public AzureMariaDBSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public AzureMariaDBSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMySqlSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMySqlSource.cs index 967cdcb49cd5..271b2ccf16c4 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMySqlSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMySqlSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure MySQL source. /// - public partial class AzureMySqlSource : CopySource + public partial class AzureMySqlSource : TabularSource { /// /// Initializes a new instance of the AzureMySqlSource class. @@ -41,10 +41,13 @@ public AzureMySqlSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Database query. Type: string (or Expression /// with resultType string). - public AzureMySqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public AzureMySqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMySqlTableDataset.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMySqlTableDataset.cs index e0f40babe577..cb579c2cab12 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMySqlTableDataset.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMySqlTableDataset.cs @@ -53,10 +53,13 @@ public AzureMySqlTableDataset() /// specified, Dataset will appear at the root level. /// The Azure MySQL database table name. Type: /// string (or Expression with resultType string). - public AzureMySqlTableDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object tableName = default(object)) + /// The name of Azure MySQL database table. Type: + /// string (or Expression with resultType string). + public AzureMySqlTableDataset(LinkedServiceReference linkedServiceName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder), object tableName = default(object), object table = default(object)) : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) { TableName = tableName; + Table = table; CustomInit(); } @@ -72,6 +75,13 @@ public AzureMySqlTableDataset() [JsonProperty(PropertyName = "typeProperties.tableName")] public object TableName { get; set; } + /// + /// Gets or sets the name of Azure MySQL database table. Type: string + /// (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.table")] + public object Table { get; set; } + /// /// Validate the object. /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlSource.cs index fbe2ca829430..fb6c1e2b7766 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure PostgreSQL source. /// - public partial class AzurePostgreSqlSource : CopySource + public partial class AzurePostgreSqlSource : TabularSource { /// /// Initializes a new instance of the AzurePostgreSqlSource class. @@ -41,10 +41,13 @@ public AzurePostgreSqlSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public AzurePostgreSqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public AzurePostgreSqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureSqlSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureSqlSource.cs index b9be330bc8c4..a8fcccee6c6c 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureSqlSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureSqlSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure SQL source. /// - public partial class AzureSqlSource : CopySource + public partial class AzureSqlSource : TabularSource { /// /// Initializes a new instance of the AzureSqlSource class. @@ -41,6 +41,9 @@ public AzureSqlSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// SQL reader query. Type: string (or /// Expression with resultType string). /// Name of the stored @@ -52,8 +55,8 @@ public AzureSqlSource() /// type: "int"}}". /// Which additional types to /// produce. - public AzureSqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), IDictionary storedProcedureParameters = default(IDictionary), object produceAdditionalTypes = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public AzureSqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), IDictionary storedProcedureParameters = default(IDictionary), object produceAdditionalTypes = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureTableSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureTableSource.cs index dca42e972381..1c3c9b40087a 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureTableSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureTableSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure Table source. /// - public partial class AzureTableSource : CopySource + public partial class AzureTableSource : TabularSource { /// /// Initializes a new instance of the AzureTableSource class. @@ -41,13 +41,16 @@ public AzureTableSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Azure Table source query. Type: /// string (or Expression with resultType string). /// Azure Table /// source ignore table not found. Type: boolean (or Expression with /// resultType boolean). - public AzureTableSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object azureTableSourceQuery = default(object), object azureTableSourceIgnoreTableNotFound = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public AzureTableSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object azureTableSourceQuery = default(object), object azureTableSourceIgnoreTableNotFound = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { AzureTableSourceQuery = azureTableSourceQuery; AzureTableSourceIgnoreTableNotFound = azureTableSourceIgnoreTableNotFound; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CassandraSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CassandraSource.cs index e7319cf3d070..6a390c452568 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CassandraSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CassandraSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for a Cassandra database. /// - public partial class CassandraSource : CopySource + public partial class CassandraSource : TabularSource { /// /// Initializes a new instance of the CassandraSource class. @@ -41,6 +41,9 @@ public CassandraSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Database query. Should be a SQL-92 query /// expression or Cassandra Query Language (CQL) command. Type: string /// (or Expression with resultType string). @@ -52,8 +55,8 @@ public CassandraSource() /// default value is 'ONE'. It is case-insensitive. Possible values /// include: 'ALL', 'EACH_QUORUM', 'QUORUM', 'LOCAL_QUORUM', 'ONE', /// 'TWO', 'THREE', 'LOCAL_ONE', 'SERIAL', 'LOCAL_SERIAL' - public CassandraSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object), string consistencyLevel = default(string)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public CassandraSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object), string consistencyLevel = default(string)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; ConsistencyLevel = consistencyLevel; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ConcurSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ConcurSource.cs index c5608d5bb9b8..a68413bd0f3f 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ConcurSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ConcurSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Concur Service source. /// - public partial class ConcurSource : CopySource + public partial class ConcurSource : TabularSource { /// /// Initializes a new instance of the ConcurSource class. @@ -41,10 +41,13 @@ public ConcurSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public ConcurSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public ConcurSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbLinkedService.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbLinkedService.cs index 63ffd4370576..076249b68755 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbLinkedService.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbLinkedService.cs @@ -35,8 +35,6 @@ public CosmosDbLinkedService() /// /// Initializes a new instance of the CosmosDbLinkedService class. /// - /// The connection string. Type: string, - /// SecureString or AzureKeyVaultSecretReference. /// Unmatched properties from the /// message are deserialized this collection /// The integration runtime reference. @@ -44,16 +42,26 @@ public CosmosDbLinkedService() /// Parameters for linked service. /// List of tags that can be used for /// describing the linked service. - /// The Azure key vault secret reference of - /// accountKey in connection string. + /// The connection string. Type: string, + /// SecureString or AzureKeyVaultSecretReference. + /// The endpoint of the Azure CosmosDB + /// account. Type: string (or Expression with resultType + /// string) + /// The name of the database. Type: string (or + /// Expression with resultType string) + /// The account key of the Azure CosmosDB + /// account. Type: SecureString or + /// AzureKeyVaultSecretReference. /// The encrypted credential used for /// authentication. Credentials are encrypted using the integration /// runtime credential manager. Type: string (or Expression with /// resultType string). - public CosmosDbLinkedService(object connectionString, IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), AzureKeyVaultSecretReference accountKey = default(AzureKeyVaultSecretReference), object encryptedCredential = default(object)) + public CosmosDbLinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object connectionString = default(object), object accountEndpoint = default(object), object database = default(object), SecretBase accountKey = default(SecretBase), object encryptedCredential = default(object)) : base(additionalProperties, connectVia, description, parameters, annotations) { ConnectionString = connectionString; + AccountEndpoint = accountEndpoint; + Database = database; AccountKey = accountKey; EncryptedCredential = encryptedCredential; CustomInit(); @@ -72,11 +80,25 @@ public CosmosDbLinkedService() public object ConnectionString { get; set; } /// - /// Gets or sets the Azure key vault secret reference of accountKey in - /// connection string. + /// Gets or sets the endpoint of the Azure CosmosDB account. Type: + /// string (or Expression with resultType string) + /// + [JsonProperty(PropertyName = "typeProperties.accountEndpoint")] + public object AccountEndpoint { get; set; } + + /// + /// Gets or sets the name of the database. Type: string (or Expression + /// with resultType string) + /// + [JsonProperty(PropertyName = "typeProperties.database")] + public object Database { get; set; } + + /// + /// Gets or sets the account key of the Azure CosmosDB account. Type: + /// SecureString or AzureKeyVaultSecretReference. /// [JsonProperty(PropertyName = "typeProperties.accountKey")] - public AzureKeyVaultSecretReference AccountKey { get; set; } + public SecretBase AccountKey { get; set; } /// /// Gets or sets the encrypted credential used for authentication. @@ -95,14 +117,6 @@ public CosmosDbLinkedService() public override void Validate() { base.Validate(); - if (ConnectionString == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "ConnectionString"); - } - if (AccountKey != null) - { - AccountKey.Validate(); - } } } } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbMongoDbApiSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbMongoDbApiSource.cs index 629a30a6bfa5..a7d888f3a776 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbMongoDbApiSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbMongoDbApiSource.cs @@ -53,12 +53,16 @@ public CosmosDbMongoDbApiSource() /// application. This property's main purpose is to avoid hit the /// limitation of response size. Type: integer (or Expression with /// resultType integer). - public CosmosDbMongoDbApiSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object filter = default(object), MongoDbCursorMethodsProperties cursorMethods = default(MongoDbCursorMethodsProperties), object batchSize = default(object)) + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + public CosmosDbMongoDbApiSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object filter = default(object), MongoDbCursorMethodsProperties cursorMethods = default(MongoDbCursorMethodsProperties), object batchSize = default(object), object queryTimeout = default(object)) : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Filter = filter; CursorMethods = cursorMethods; BatchSize = batchSize; + QueryTimeout = queryTimeout; CustomInit(); } @@ -93,5 +97,13 @@ public CosmosDbMongoDbApiSource() [JsonProperty(PropertyName = "batchSize")] public object BatchSize { get; set; } + /// + /// Gets or sets query timeout. Type: string (or Expression with + /// resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// + [JsonProperty(PropertyName = "queryTimeout")] + public object QueryTimeout { get; set; } + } } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbSqlApiCollectionDataset.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbSqlApiCollectionDataset.cs new file mode 100644 index 000000000000..7e787f7f1263 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbSqlApiCollectionDataset.cs @@ -0,0 +1,92 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Microsoft Azure CosmosDB (SQL API) Collection dataset. + /// + [Newtonsoft.Json.JsonObject("CosmosDbSqlApiCollection")] + [Rest.Serialization.JsonTransformation] + public partial class CosmosDbSqlApiCollectionDataset : Dataset + { + /// + /// Initializes a new instance of the CosmosDbSqlApiCollectionDataset + /// class. + /// + public CosmosDbSqlApiCollectionDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the CosmosDbSqlApiCollectionDataset + /// class. + /// + /// Linked service reference. + /// CosmosDB (SQL API) collection name. + /// Type: string (or Expression with resultType string). + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Columns that define the physical type schema + /// of the dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetSchemaDataElement. + /// Parameters for dataset. + /// List of tags that can be used for + /// describing the Dataset. + /// The folder that this Dataset is in. If not + /// specified, Dataset will appear at the root level. + public CosmosDbSqlApiCollectionDataset(LinkedServiceReference linkedServiceName, object collectionName, IDictionary additionalProperties = default(IDictionary), string description = default(string), object structure = default(object), object schema = default(object), IDictionary parameters = default(IDictionary), IList annotations = default(IList), DatasetFolder folder = default(DatasetFolder)) + : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) + { + CollectionName = collectionName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets cosmosDB (SQL API) collection name. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.collectionName")] + public object CollectionName { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (CollectionName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "CollectionName"); + } + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbSqlApiSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbSqlApiSink.cs new file mode 100644 index 000000000000..a6f5bf1acc86 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbSqlApiSink.cs @@ -0,0 +1,73 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Azure CosmosDB (SQL API) Collection sink. + /// + public partial class CosmosDbSqlApiSink : CopySink + { + /// + /// Initializes a new instance of the CosmosDbSqlApiSink class. + /// + public CosmosDbSqlApiSink() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the CosmosDbSqlApiSink class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Write batch size. Type: integer (or + /// Expression with resultType integer), minimum: 0. + /// Write batch timeout. Type: string + /// (or Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// Sink retry count. Type: integer (or + /// Expression with resultType integer). + /// Sink retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the sink data store. Type: integer (or + /// Expression with resultType integer). + /// Describes how to write data to Azure + /// Cosmos DB. Type: string (or Expression with resultType string). + /// Allowed values: insert and upsert. + public CosmosDbSqlApiSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object writeBehavior = default(object)) + : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) + { + WriteBehavior = writeBehavior; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets describes how to write data to Azure Cosmos DB. Type: + /// string (or Expression with resultType string). Allowed values: + /// insert and upsert. + /// + [JsonProperty(PropertyName = "writeBehavior")] + public object WriteBehavior { get; set; } + + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbSqlApiSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbSqlApiSource.cs new file mode 100644 index 000000000000..b51433059c56 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbSqlApiSource.cs @@ -0,0 +1,86 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Azure CosmosDB (SQL API) Collection source. + /// + public partial class CosmosDbSqlApiSource : CopySource + { + /// + /// Initializes a new instance of the CosmosDbSqlApiSource class. + /// + public CosmosDbSqlApiSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the CosmosDbSqlApiSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + /// SQL API query. Type: string (or Expression with + /// resultType string). + /// Page size of the result. Type: integer (or + /// Expression with resultType integer). + /// Preferred regions. Type: array of + /// strings (or Expression with resultType array of strings). + public CosmosDbSqlApiSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object), object pageSize = default(object), object preferredRegions = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + { + Query = query; + PageSize = pageSize; + PreferredRegions = preferredRegions; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets SQL API query. Type: string (or Expression with + /// resultType string). + /// + [JsonProperty(PropertyName = "query")] + public object Query { get; set; } + + /// + /// Gets or sets page size of the result. Type: integer (or Expression + /// with resultType integer). + /// + [JsonProperty(PropertyName = "pageSize")] + public object PageSize { get; set; } + + /// + /// Gets or sets preferred regions. Type: array of strings (or + /// Expression with resultType array of strings). + /// + [JsonProperty(PropertyName = "preferredRegions")] + public object PreferredRegions { get; set; } + + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CouchbaseSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CouchbaseSource.cs index ea58fbeae2f6..c99c151ca728 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CouchbaseSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CouchbaseSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Couchbase server source. /// - public partial class CouchbaseSource : CopySource + public partial class CouchbaseSource : TabularSource { /// /// Initializes a new instance of the CouchbaseSource class. @@ -41,10 +41,13 @@ public CouchbaseSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public CouchbaseSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public CouchbaseSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlow.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlow.cs new file mode 100644 index 000000000000..f88c4d091d89 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlow.cs @@ -0,0 +1,74 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Azure Data Factory nested object which contains a flow with data + /// movements and transformations. + /// + public partial class DataFlow + { + /// + /// Initializes a new instance of the DataFlow class. + /// + public DataFlow() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DataFlow class. + /// + /// The description of the data flow. + /// List of tags that can be used for + /// describing the data flow. + /// The folder that this data flow is in. If not + /// specified, Data flow will appear at the root level. + public DataFlow(string description = default(string), IList annotations = default(IList), DataFlowFolder folder = default(DataFlowFolder)) + { + Description = description; + Annotations = annotations; + Folder = folder; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the description of the data flow. + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; set; } + + /// + /// Gets or sets list of tags that can be used for describing the data + /// flow. + /// + [JsonProperty(PropertyName = "annotations")] + public IList Annotations { get; set; } + + /// + /// Gets or sets the folder that this data flow is in. If not + /// specified, Data flow will appear at the root level. + /// + [JsonProperty(PropertyName = "folder")] + public DataFlowFolder Folder { get; set; } + + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowFolder.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowFolder.cs new file mode 100644 index 000000000000..99419a661eee --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowFolder.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The folder that this data flow is in. If not specified, Data flow will + /// appear at the root level. + /// + public partial class DataFlowFolder + { + /// + /// Initializes a new instance of the DataFlowFolder class. + /// + public DataFlowFolder() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DataFlowFolder class. + /// + /// The name of the folder that this data flow is + /// in. + public DataFlowFolder(string name = default(string)) + { + Name = name; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the name of the folder that this data flow is in. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowReference.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowReference.cs new file mode 100644 index 000000000000..da9861bce286 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowReference.cs @@ -0,0 +1,99 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Data flow reference type. + /// + public partial class DataFlowReference + { + /// + /// Initializes a new instance of the DataFlowReference class. + /// + public DataFlowReference() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DataFlowReference class. + /// + /// Reference data flow name. + /// Unmatched properties from the + /// message are deserialized this collection + /// Reference data flow parameters from + /// dataset. + public DataFlowReference(string referenceName, IDictionary additionalProperties = default(IDictionary), object datasetParameters = default(object)) + { + AdditionalProperties = additionalProperties; + ReferenceName = referenceName; + DatasetParameters = datasetParameters; + CustomInit(); + } + /// + /// Static constructor for DataFlowReference class. + /// + static DataFlowReference() + { + Type = "DataFlowReference"; + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Gets or sets reference data flow name. + /// + [JsonProperty(PropertyName = "referenceName")] + public string ReferenceName { get; set; } + + /// + /// Gets or sets reference data flow parameters from dataset. + /// + [JsonProperty(PropertyName = "datasetParameters")] + public object DatasetParameters { get; set; } + + /// + /// Data flow reference type. + /// + [JsonProperty(PropertyName = "type")] + public static string Type { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ReferenceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ReferenceName"); + } + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowResource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowResource.cs new file mode 100644 index 000000000000..6ee35e23dc6e --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowResource.cs @@ -0,0 +1,70 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Data flow resource type. + /// + public partial class DataFlowResource : SubResource + { + /// + /// Initializes a new instance of the DataFlowResource class. + /// + public DataFlowResource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DataFlowResource class. + /// + /// Data flow properties. + /// The resource identifier. + /// The resource name. + /// The resource type. + /// Etag identifies change in the resource. + public DataFlowResource(DataFlow properties, string id = default(string), string name = default(string), string type = default(string), string etag = default(string)) + : base(id, name, type, etag) + { + Properties = properties; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets data flow properties. + /// + [JsonProperty(PropertyName = "properties")] + public DataFlow Properties { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Properties == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Properties"); + } + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowStagingInfo.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowStagingInfo.cs new file mode 100644 index 000000000000..b77877ea33a0 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowStagingInfo.cs @@ -0,0 +1,73 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Staging info for execute data flow activity. + /// + public partial class DataFlowStagingInfo + { + /// + /// Initializes a new instance of the DataFlowStagingInfo class. + /// + public DataFlowStagingInfo() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DataFlowStagingInfo class. + /// + /// Staging linked service + /// reference. + /// Folder path for staging blob. + public DataFlowStagingInfo(LinkedServiceReference linkedService = default(LinkedServiceReference), string folderPath = default(string)) + { + LinkedService = linkedService; + FolderPath = folderPath; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets staging linked service reference. + /// + [JsonProperty(PropertyName = "linkedService")] + public LinkedServiceReference LinkedService { get; set; } + + /// + /// Gets or sets folder path for staging blob. + /// + [JsonProperty(PropertyName = "folderPath")] + public string FolderPath { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (LinkedService != null) + { + LinkedService.Validate(); + } + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Db2Source.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Db2Source.cs index 69b7e158b3f6..31da677d4cf1 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Db2Source.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Db2Source.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for Db2 databases. /// - public partial class Db2Source : CopySource + public partial class Db2Source : TabularSource { /// /// Initializes a new instance of the Db2Source class. @@ -41,10 +41,13 @@ public Db2Source() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Database query. Type: string (or Expression /// with resultType string). - public Db2Source(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public Db2Source(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DocumentDbCollectionSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DocumentDbCollectionSink.cs index 9ceefb6b2244..7e1ca124e4b3 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DocumentDbCollectionSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DocumentDbCollectionSink.cs @@ -50,7 +50,8 @@ public DocumentDbCollectionSink() /// is . (dot). Type: string (or Expression with resultType /// string). /// Describes how to write data to Azure - /// Cosmos DB. Allowed values: insert and upsert. + /// Cosmos DB. Type: string (or Expression with resultType string). + /// Allowed values: insert and upsert. public DocumentDbCollectionSink(IDictionary additionalProperties = default(IDictionary), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object nestingSeparator = default(object), object writeBehavior = default(object)) : base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections) { @@ -72,8 +73,9 @@ public DocumentDbCollectionSink() public object NestingSeparator { get; set; } /// - /// Gets or sets describes how to write data to Azure Cosmos DB. - /// Allowed values: insert and upsert. + /// Gets or sets describes how to write data to Azure Cosmos DB. Type: + /// string (or Expression with resultType string). Allowed values: + /// insert and upsert. /// [JsonProperty(PropertyName = "writeBehavior")] public object WriteBehavior { get; set; } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DocumentDbCollectionSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DocumentDbCollectionSource.cs index 1d73af1a5dca..bb1e8829290b 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DocumentDbCollectionSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DocumentDbCollectionSource.cs @@ -45,11 +45,15 @@ public DocumentDbCollectionSource() /// with resultType string). /// Nested properties separator. Type: /// string (or Expression with resultType string). - public DocumentDbCollectionSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object), object nestingSeparator = default(object)) + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + public DocumentDbCollectionSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object), object nestingSeparator = default(object), object queryTimeout = default(object)) : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Query = query; NestingSeparator = nestingSeparator; + QueryTimeout = queryTimeout; CustomInit(); } @@ -72,5 +76,13 @@ public DocumentDbCollectionSource() [JsonProperty(PropertyName = "nestingSeparator")] public object NestingSeparator { get; set; } + /// + /// Gets or sets query timeout. Type: string (or Expression with + /// resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// + [JsonProperty(PropertyName = "queryTimeout")] + public object QueryTimeout { get; set; } + } } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DrillSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DrillSource.cs index 1a5acc23fa9c..47ff594fc4c7 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DrillSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DrillSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Drill server source. /// - public partial class DrillSource : CopySource + public partial class DrillSource : TabularSource { /// /// Initializes a new instance of the DrillSource class. @@ -41,10 +41,13 @@ public DrillSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public DrillSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public DrillSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsAXSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsAXSource.cs index 4a0702709db4..c07f0ce1b6eb 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsAXSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsAXSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Dynamics AX source. /// - public partial class DynamicsAXSource : CopySource + public partial class DynamicsAXSource : TabularSource { /// /// Initializes a new instance of the DynamicsAXSource class. @@ -41,10 +41,13 @@ public DynamicsAXSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public DynamicsAXSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public DynamicsAXSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/EloquaSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/EloquaSource.cs index 59f104a8aedc..2a23ebed02f4 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/EloquaSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/EloquaSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Eloqua server source. /// - public partial class EloquaSource : CopySource + public partial class EloquaSource : TabularSource { /// /// Initializes a new instance of the EloquaSource class. @@ -41,10 +41,13 @@ public EloquaSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public EloquaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public EloquaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ExecuteDataFlowActivity.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ExecuteDataFlowActivity.cs new file mode 100644 index 000000000000..2ec5dc7577f4 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ExecuteDataFlowActivity.cs @@ -0,0 +1,111 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Execute data flow activity. + /// + [Newtonsoft.Json.JsonObject("ExecuteDataFlow")] + [Rest.Serialization.JsonTransformation] + public partial class ExecuteDataFlowActivity : ExecutionActivity + { + /// + /// Initializes a new instance of the ExecuteDataFlowActivity class. + /// + public ExecuteDataFlowActivity() + { + DataFlow = new DataFlowReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the ExecuteDataFlowActivity class. + /// + /// Activity name. + /// Data flow reference. + /// Unmatched properties from the + /// message are deserialized this collection + /// Activity description. + /// Activity depends on condition. + /// Activity user properties. + /// Linked service reference. + /// Activity policy. + /// Staging info for execute data flow + /// activity. + /// The integration runtime + /// reference. + public ExecuteDataFlowActivity(string name, DataFlowReference dataFlow, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), IList userProperties = default(IList), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), DataFlowStagingInfo staging = default(DataFlowStagingInfo), IntegrationRuntimeReference integrationRuntime = default(IntegrationRuntimeReference)) + : base(name, additionalProperties, description, dependsOn, userProperties, linkedServiceName, policy) + { + DataFlow = dataFlow; + Staging = staging; + IntegrationRuntime = integrationRuntime; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets data flow reference. + /// + [JsonProperty(PropertyName = "typeProperties.dataFlow")] + public DataFlowReference DataFlow { get; set; } + + /// + /// Gets or sets staging info for execute data flow activity. + /// + [JsonProperty(PropertyName = "typeProperties.staging")] + public DataFlowStagingInfo Staging { get; set; } + + /// + /// Gets or sets the integration runtime reference. + /// + [JsonProperty(PropertyName = "typeProperties.integrationRuntime")] + public IntegrationRuntimeReference IntegrationRuntime { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (DataFlow == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DataFlow"); + } + if (DataFlow != null) + { + DataFlow.Validate(); + } + if (Staging != null) + { + Staging.Validate(); + } + if (IntegrationRuntime != null) + { + IntegrationRuntime.Validate(); + } + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GetDataFactoryOperationStatusResponse.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GetDataFactoryOperationStatusResponse.cs new file mode 100644 index 000000000000..024f0b4c47eb --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GetDataFactoryOperationStatusResponse.cs @@ -0,0 +1,65 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Response body structure for get data factory operation status. + /// + public partial class GetDataFactoryOperationStatusResponse + { + /// + /// Initializes a new instance of the + /// GetDataFactoryOperationStatusResponse class. + /// + public GetDataFactoryOperationStatusResponse() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// GetDataFactoryOperationStatusResponse class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Status of the operation. + public GetDataFactoryOperationStatusResponse(IDictionary additionalProperties = default(IDictionary), string status = default(string)) + { + AdditionalProperties = additionalProperties; + Status = status; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Gets or sets status of the operation. + /// + [JsonProperty(PropertyName = "status")] + public string Status { get; set; } + + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleAdWordsSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleAdWordsSource.cs index a9cabc5c66f0..7fe4c0cb421b 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleAdWordsSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleAdWordsSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Google AdWords service source. /// - public partial class GoogleAdWordsSource : CopySource + public partial class GoogleAdWordsSource : TabularSource { /// /// Initializes a new instance of the GoogleAdWordsSource class. @@ -41,10 +41,13 @@ public GoogleAdWordsSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public GoogleAdWordsSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public GoogleAdWordsSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleBigQuerySource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleBigQuerySource.cs index 93faa12ff34c..1911a116d8c7 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleBigQuerySource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleBigQuerySource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Google BigQuery service source. /// - public partial class GoogleBigQuerySource : CopySource + public partial class GoogleBigQuerySource : TabularSource { /// /// Initializes a new instance of the GoogleBigQuerySource class. @@ -41,10 +41,13 @@ public GoogleBigQuerySource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public GoogleBigQuerySource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public GoogleBigQuerySource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleCloudStorageLinkedService.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleCloudStorageLinkedService.cs new file mode 100644 index 000000000000..16c37ac43783 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleCloudStorageLinkedService.cs @@ -0,0 +1,120 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Linked service for Google Cloud Storage. + /// + [Newtonsoft.Json.JsonObject("GoogleCloudStorage")] + [Rest.Serialization.JsonTransformation] + public partial class GoogleCloudStorageLinkedService : LinkedService + { + /// + /// Initializes a new instance of the GoogleCloudStorageLinkedService + /// class. + /// + public GoogleCloudStorageLinkedService() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GoogleCloudStorageLinkedService + /// class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// The integration runtime reference. + /// Linked service description. + /// Parameters for linked service. + /// List of tags that can be used for + /// describing the linked service. + /// The access key identifier of the Google + /// Cloud Storage Identity and Access Management (IAM) user. Type: + /// string (or Expression with resultType string). + /// The secret access key of the Google + /// Cloud Storage Identity and Access Management (IAM) user. + /// This value specifies the endpoint to + /// access with the Google Cloud Storage Connector. This is an optional + /// property; change it only if you want to try a different service + /// endpoint or want to switch between https and http. Type: string (or + /// Expression with resultType string). + /// The encrypted credential used for + /// authentication. Credentials are encrypted using the integration + /// runtime credential manager. Type: string (or Expression with + /// resultType string). + public GoogleCloudStorageLinkedService(IDictionary additionalProperties = default(IDictionary), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference), string description = default(string), IDictionary parameters = default(IDictionary), IList annotations = default(IList), object accessKeyId = default(object), SecretBase secretAccessKey = default(SecretBase), object serviceUrl = default(object), object encryptedCredential = default(object)) + : base(additionalProperties, connectVia, description, parameters, annotations) + { + AccessKeyId = accessKeyId; + SecretAccessKey = secretAccessKey; + ServiceUrl = serviceUrl; + EncryptedCredential = encryptedCredential; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the access key identifier of the Google Cloud Storage + /// Identity and Access Management (IAM) user. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.accessKeyId")] + public object AccessKeyId { get; set; } + + /// + /// Gets or sets the secret access key of the Google Cloud Storage + /// Identity and Access Management (IAM) user. + /// + [JsonProperty(PropertyName = "typeProperties.secretAccessKey")] + public SecretBase SecretAccessKey { get; set; } + + /// + /// Gets or sets this value specifies the endpoint to access with the + /// Google Cloud Storage Connector. This is an optional property; + /// change it only if you want to try a different service endpoint or + /// want to switch between https and http. Type: string (or Expression + /// with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.serviceUrl")] + public object ServiceUrl { get; set; } + + /// + /// Gets or sets the encrypted credential used for authentication. + /// Credentials are encrypted using the integration runtime credential + /// manager. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encryptedCredential")] + public object EncryptedCredential { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleCloudStorageLocation.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleCloudStorageLocation.cs new file mode 100644 index 000000000000..420acc46d586 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleCloudStorageLocation.cs @@ -0,0 +1,84 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The location of Google Cloud Storage dataset. + /// + public partial class GoogleCloudStorageLocation : DatasetLocation + { + /// + /// Initializes a new instance of the GoogleCloudStorageLocation class. + /// + public GoogleCloudStorageLocation() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GoogleCloudStorageLocation class. + /// + /// Type of dataset storage location. + /// Unmatched properties from the + /// message are deserialized this collection + /// Specify the folder path of dataset. Type: + /// string (or Expression with resultType string) + /// Specify the file name of dataset. Type: + /// string (or Expression with resultType string). + /// Specify the bucketName of Google Cloud + /// Storage. Type: string (or Expression with resultType + /// string) + /// Specify the version of Google Cloud Storage. + /// Type: string (or Expression with resultType string). + public GoogleCloudStorageLocation(string type, IDictionary additionalProperties = default(IDictionary), object folderPath = default(object), object fileName = default(object), object bucketName = default(object), object version = default(object)) + : base(type, additionalProperties, folderPath, fileName) + { + BucketName = bucketName; + Version = version; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets specify the bucketName of Google Cloud Storage. Type: + /// string (or Expression with resultType string) + /// + [JsonProperty(PropertyName = "bucketName")] + public object BucketName { get; set; } + + /// + /// Gets or sets specify the version of Google Cloud Storage. Type: + /// string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "version")] + public object Version { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleCloudStorageReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleCloudStorageReadSettings.cs new file mode 100644 index 000000000000..78f88bf23012 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleCloudStorageReadSettings.cs @@ -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. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Google Cloud Storage read settings. + /// + public partial class GoogleCloudStorageReadSettings : StoreReadSettings + { + /// + /// Initializes a new instance of the GoogleCloudStorageReadSettings + /// class. + /// + public GoogleCloudStorageReadSettings() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GoogleCloudStorageReadSettings + /// class. + /// + /// The read setting type. + /// Unmatched properties from the + /// message are deserialized this collection + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + /// If true, files under the folder path will + /// be read recursively. Default is true. Type: boolean (or Expression + /// with resultType boolean). + /// Google Cloud Storage + /// wildcardFolderPath. Type: string (or Expression with resultType + /// string). + /// Google Cloud Storage + /// wildcardFileName. Type: string (or Expression with resultType + /// string). + /// The prefix filter for the Google Cloud Storage + /// object name. Type: string (or Expression with resultType + /// string). + /// Indicates whether to enable + /// partition discovery. + /// The start of file's modified + /// datetime. Type: string (or Expression with resultType + /// string). + /// The end of file's modified + /// datetime. Type: string (or Expression with resultType + /// string). + public GoogleCloudStorageReadSettings(string type, IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object prefix = default(object), bool? enablePartitionDiscovery = default(bool?), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) + : base(type, additionalProperties, maxConcurrentConnections) + { + Recursive = recursive; + WildcardFolderPath = wildcardFolderPath; + WildcardFileName = wildcardFileName; + Prefix = prefix; + EnablePartitionDiscovery = enablePartitionDiscovery; + ModifiedDatetimeStart = modifiedDatetimeStart; + ModifiedDatetimeEnd = modifiedDatetimeEnd; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets if true, files under the folder path will be read + /// recursively. Default is true. Type: boolean (or Expression with + /// resultType boolean). + /// + [JsonProperty(PropertyName = "recursive")] + public object Recursive { get; set; } + + /// + /// Gets or sets google Cloud Storage wildcardFolderPath. Type: string + /// (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "wildcardFolderPath")] + public object WildcardFolderPath { get; set; } + + /// + /// Gets or sets google Cloud Storage wildcardFileName. Type: string + /// (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "wildcardFileName")] + public object WildcardFileName { get; set; } + + /// + /// Gets or sets the prefix filter for the Google Cloud Storage object + /// name. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "prefix")] + public object Prefix { get; set; } + + /// + /// Gets or sets indicates whether to enable partition discovery. + /// + [JsonProperty(PropertyName = "enablePartitionDiscovery")] + public bool? EnablePartitionDiscovery { get; set; } + + /// + /// Gets or sets the start of file's modified datetime. Type: string + /// (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "modifiedDatetimeStart")] + public object ModifiedDatetimeStart { get; set; } + + /// + /// Gets or sets the end of file's modified datetime. Type: string (or + /// Expression with resultType string). + /// + [JsonProperty(PropertyName = "modifiedDatetimeEnd")] + public object ModifiedDatetimeEnd { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GreenplumSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GreenplumSource.cs index 1e9e1add7e38..c310d82cbe5d 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GreenplumSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GreenplumSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Greenplum Database source. /// - public partial class GreenplumSource : CopySource + public partial class GreenplumSource : TabularSource { /// /// Initializes a new instance of the GreenplumSource class. @@ -41,10 +41,13 @@ public GreenplumSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public GreenplumSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public GreenplumSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HBaseSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HBaseSource.cs index e9d6ec0d59d6..b77ad1ea0bee 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HBaseSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HBaseSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity HBase server source. /// - public partial class HBaseSource : CopySource + public partial class HBaseSource : TabularSource { /// /// Initializes a new instance of the HBaseSource class. @@ -41,10 +41,13 @@ public HBaseSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public HBaseSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public HBaseSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HiveSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HiveSource.cs index 9be6e9c10085..93e093a952a3 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HiveSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HiveSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Hive Server source. /// - public partial class HiveSource : CopySource + public partial class HiveSource : TabularSource { /// /// Initializes a new instance of the HiveSource class. @@ -41,10 +41,13 @@ public HiveSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public HiveSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public HiveSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HubspotSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HubspotSource.cs index 2f1893d2d63a..988cc5eca253 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HubspotSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HubspotSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Hubspot Service source. /// - public partial class HubspotSource : CopySource + public partial class HubspotSource : TabularSource { /// /// Initializes a new instance of the HubspotSource class. @@ -41,10 +41,13 @@ public HubspotSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public HubspotSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public HubspotSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ImpalaSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ImpalaSource.cs index c901c434899a..5f9fa1a753d3 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ImpalaSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ImpalaSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Impala server source. /// - public partial class ImpalaSource : CopySource + public partial class ImpalaSource : TabularSource { /// /// Initializes a new instance of the ImpalaSource class. @@ -41,10 +41,13 @@ public ImpalaSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public ImpalaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public ImpalaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/InformixSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/InformixSource.cs index d99d75669751..63b7db26768c 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/InformixSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/InformixSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for Informix. /// - public partial class InformixSource : CopySource + public partial class InformixSource : TabularSource { /// /// Initializes a new instance of the InformixSource class. @@ -41,10 +41,13 @@ public InformixSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Database query. Type: string (or Expression /// with resultType string). - public InformixSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public InformixSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JiraSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JiraSource.cs index 761403152277..cce27b358941 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JiraSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JiraSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Jira Service source. /// - public partial class JiraSource : CopySource + public partial class JiraSource : TabularSource { /// /// Initializes a new instance of the JiraSource class. @@ -41,10 +41,13 @@ public JiraSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public JiraSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public JiraSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MagentoSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MagentoSource.cs index 407fb6bb32ae..83939a4e55e2 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MagentoSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MagentoSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Magento server source. /// - public partial class MagentoSource : CopySource + public partial class MagentoSource : TabularSource { /// /// Initializes a new instance of the MagentoSource class. @@ -41,10 +41,13 @@ public MagentoSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public MagentoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public MagentoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MariaDBSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MariaDBSource.cs index a335dbb50974..adcc5d9d1121 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MariaDBSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MariaDBSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity MariaDB server source. /// - public partial class MariaDBSource : CopySource + public partial class MariaDBSource : TabularSource { /// /// Initializes a new instance of the MariaDBSource class. @@ -41,10 +41,13 @@ public MariaDBSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public MariaDBSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public MariaDBSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MarketoSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MarketoSource.cs index ddc8191f981e..e6cc7e252ded 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MarketoSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MarketoSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Marketo server source. /// - public partial class MarketoSource : CopySource + public partial class MarketoSource : TabularSource { /// /// Initializes a new instance of the MarketoSource class. @@ -41,10 +41,13 @@ public MarketoSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public MarketoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public MarketoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MongoDbV2Source.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MongoDbV2Source.cs index b4e7e625d4bc..4cf50d73abca 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MongoDbV2Source.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MongoDbV2Source.cs @@ -53,12 +53,16 @@ public MongoDbV2Source() /// application. This property's main purpose is to avoid hit the /// limitation of response size. Type: integer (or Expression with /// resultType integer). - public MongoDbV2Source(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object filter = default(object), MongoDbCursorMethodsProperties cursorMethods = default(MongoDbCursorMethodsProperties), object batchSize = default(object)) + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + public MongoDbV2Source(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object filter = default(object), MongoDbCursorMethodsProperties cursorMethods = default(MongoDbCursorMethodsProperties), object batchSize = default(object), object queryTimeout = default(object)) : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) { Filter = filter; CursorMethods = cursorMethods; BatchSize = batchSize; + QueryTimeout = queryTimeout; CustomInit(); } @@ -93,5 +97,13 @@ public MongoDbV2Source() [JsonProperty(PropertyName = "batchSize")] public object BatchSize { get; set; } + /// + /// Gets or sets query timeout. Type: string (or Expression with + /// resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// + [JsonProperty(PropertyName = "queryTimeout")] + public object QueryTimeout { get; set; } + } } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MySqlSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MySqlSource.cs index dd47f8f58f8c..66e3a42a28c9 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MySqlSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MySqlSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for MySQL databases. /// - public partial class MySqlSource : CopySource + public partial class MySqlSource : TabularSource { /// /// Initializes a new instance of the MySqlSource class. @@ -41,10 +41,13 @@ public MySqlSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Database query. Type: string (or Expression /// with resultType string). - public MySqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public MySqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/NetezzaSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/NetezzaSource.cs index dca14ad1dcf3..be64c206bdef 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/NetezzaSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/NetezzaSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Netezza source. /// - public partial class NetezzaSource : CopySource + public partial class NetezzaSource : TabularSource { /// /// Initializes a new instance of the NetezzaSource class. @@ -41,6 +41,9 @@ public NetezzaSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). /// The partition mechanism that will be @@ -48,8 +51,8 @@ public NetezzaSource() /// 'DataSlice', 'DynamicRange' /// The settings that will be leveraged /// for Netezza source partitioning. - public NetezzaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object), string partitionOption = default(string), NetezzaPartitionSettings partitionSettings = default(NetezzaPartitionSettings)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public NetezzaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object), string partitionOption = default(string), NetezzaPartitionSettings partitionSettings = default(NetezzaPartitionSettings)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; PartitionOption = partitionOption; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OdbcSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OdbcSource.cs index 7e229f98275a..73bab2a33249 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OdbcSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OdbcSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for ODBC databases. /// - public partial class OdbcSource : CopySource + public partial class OdbcSource : TabularSource { /// /// Initializes a new instance of the OdbcSource class. @@ -41,10 +41,13 @@ public OdbcSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Database query. Type: string (or Expression /// with resultType string). - public OdbcSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public OdbcSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OracleServiceCloudSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OracleServiceCloudSource.cs index 4353279f0b92..23801ca559ae 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OracleServiceCloudSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OracleServiceCloudSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Oracle Service Cloud source. /// - public partial class OracleServiceCloudSource : CopySource + public partial class OracleServiceCloudSource : TabularSource { /// /// Initializes a new instance of the OracleServiceCloudSource class. @@ -41,10 +41,13 @@ public OracleServiceCloudSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public OracleServiceCloudSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public OracleServiceCloudSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PaypalSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PaypalSource.cs index fb09ff41ba80..89fe55a447fa 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PaypalSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PaypalSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Paypal Service source. /// - public partial class PaypalSource : CopySource + public partial class PaypalSource : TabularSource { /// /// Initializes a new instance of the PaypalSource class. @@ -41,10 +41,13 @@ public PaypalSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public PaypalSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public PaypalSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PhoenixSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PhoenixSource.cs index 593706474521..35482d85007c 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PhoenixSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PhoenixSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Phoenix server source. /// - public partial class PhoenixSource : CopySource + public partial class PhoenixSource : TabularSource { /// /// Initializes a new instance of the PhoenixSource class. @@ -41,10 +41,13 @@ public PhoenixSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public PhoenixSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public PhoenixSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PostgreSqlSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PostgreSqlSource.cs index e8d01f8b1af3..da2d36abf5e4 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PostgreSqlSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PostgreSqlSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for PostgreSQL databases. /// - public partial class PostgreSqlSource : CopySource + public partial class PostgreSqlSource : TabularSource { /// /// Initializes a new instance of the PostgreSqlSource class. @@ -41,10 +41,13 @@ public PostgreSqlSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Database query. Type: string (or Expression /// with resultType string). - public PostgreSqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public PostgreSqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PrestoSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PrestoSource.cs index c991cbc06325..e36c4708f4b9 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PrestoSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/PrestoSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Presto server source. /// - public partial class PrestoSource : CopySource + public partial class PrestoSource : TabularSource { /// /// Initializes a new instance of the PrestoSource class. @@ -41,10 +41,13 @@ public PrestoSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public PrestoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public PrestoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/QuickBooksSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/QuickBooksSource.cs index 76c41ea0dd60..2c9ed0d1d459 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/QuickBooksSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/QuickBooksSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity QuickBooks server source. /// - public partial class QuickBooksSource : CopySource + public partial class QuickBooksSource : TabularSource { /// /// Initializes a new instance of the QuickBooksSource class. @@ -41,10 +41,13 @@ public QuickBooksSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public QuickBooksSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public QuickBooksSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ResponsysSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ResponsysSource.cs index 7f5741224ead..a162e53d26b4 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ResponsysSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ResponsysSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Responsys source. /// - public partial class ResponsysSource : CopySource + public partial class ResponsysSource : TabularSource { /// /// Initializes a new instance of the ResponsysSource class. @@ -41,10 +41,13 @@ public ResponsysSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public ResponsysSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public ResponsysSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceMarketingCloudSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceMarketingCloudSource.cs index 8fff5dff12f8..407b9647a882 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceMarketingCloudSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceMarketingCloudSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Salesforce Marketing Cloud source. /// - public partial class SalesforceMarketingCloudSource : CopySource + public partial class SalesforceMarketingCloudSource : TabularSource { /// /// Initializes a new instance of the SalesforceMarketingCloudSource @@ -43,10 +43,13 @@ public SalesforceMarketingCloudSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public SalesforceMarketingCloudSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SalesforceMarketingCloudSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceSource.cs index 614da5b11a98..d08919ea3487 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Salesforce source. /// - public partial class SalesforceSource : CopySource + public partial class SalesforceSource : TabularSource { /// /// Initializes a new instance of the SalesforceSource class. @@ -41,13 +41,16 @@ public SalesforceSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Database query. Type: string (or Expression /// with resultType string). /// The read behavior for the operation. /// Default is Query. Possible values include: 'Query', /// 'QueryAll' - public SalesforceSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object), string readBehavior = default(string)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SalesforceSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object), string readBehavior = default(string)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; ReadBehavior = readBehavior; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapBwSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapBwSource.cs index fb5b9d0500a2..98b6031e24fd 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapBwSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapBwSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for SapBW server via MDX. /// - public partial class SapBwSource : CopySource + public partial class SapBwSource : TabularSource { /// /// Initializes a new instance of the SapBwSource class. @@ -41,10 +41,13 @@ public SapBwSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// MDX query. Type: string (or Expression with /// resultType string). - public SapBwSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SapBwSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapCloudForCustomerSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapCloudForCustomerSource.cs index dbe253d00e39..2624b68a269c 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapCloudForCustomerSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapCloudForCustomerSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for SAP Cloud for Customer source. /// - public partial class SapCloudForCustomerSource : CopySource + public partial class SapCloudForCustomerSource : TabularSource { /// /// Initializes a new instance of the SapCloudForCustomerSource class. @@ -41,11 +41,14 @@ public SapCloudForCustomerSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// SAP Cloud for Customer OData query. For /// example, "$top=1". Type: string (or Expression with resultType /// string). - public SapCloudForCustomerSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SapCloudForCustomerSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapEccSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapEccSource.cs index 343e1950074f..129b0aaca7af 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapEccSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapEccSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for SAP ECC source. /// - public partial class SapEccSource : CopySource + public partial class SapEccSource : TabularSource { /// /// Initializes a new instance of the SapEccSource class. @@ -41,10 +41,13 @@ public SapEccSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// SAP ECC OData query. For example, "$top=1". /// Type: string (or Expression with resultType string). - public SapEccSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SapEccSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapHanaSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapHanaSource.cs index 956f8a128af6..f5454fb5fcc6 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapHanaSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapHanaSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for SAP HANA source. /// - public partial class SapHanaSource : CopySource + public partial class SapHanaSource : TabularSource { /// /// Initializes a new instance of the SapHanaSource class. @@ -41,12 +41,15 @@ public SapHanaSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// SAP HANA Sql query. Type: string (or Expression /// with resultType string). /// The packet size of data read from SAP /// HANA. Type: integer(or Expression with resultType integer). - public SapHanaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object), object packetSize = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SapHanaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object), object packetSize = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; PacketSize = packetSize; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapOpenHubSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapOpenHubSource.cs index 50a670ad4957..33a065aece73 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapOpenHubSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapOpenHubSource.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// A copy activity source for SAP Business Warehouse Open Hub Destination /// source. /// - public partial class SapOpenHubSource : CopySource + public partial class SapOpenHubSource : TabularSource { /// /// Initializes a new instance of the SapOpenHubSource class. @@ -42,6 +42,9 @@ public SapOpenHubSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Whether to exclude the records of /// the last request. The default value is true. Type: boolean (or /// Expression with resultType boolean). @@ -49,8 +52,8 @@ public SapOpenHubSource() /// Once it is set, only data with requestId larger than the value of /// this property will be retrieved. The default value is 0. Type: /// integer (or Expression with resultType integer ). - public SapOpenHubSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object excludeLastRequest = default(object), object baseRequestId = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SapOpenHubSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object excludeLastRequest = default(object), object baseRequestId = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { ExcludeLastRequest = excludeLastRequest; BaseRequestId = baseRequestId; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapTableSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapTableSource.cs index a09a9c5f21d3..2a9425285467 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapTableSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapTableSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for SAP Table source. /// - public partial class SapTableSource : CopySource + public partial class SapTableSource : TabularSource { /// /// Initializes a new instance of the SapTableSource class. @@ -41,6 +41,9 @@ public SapTableSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// The number of rows to be retrieved. Type: /// integer(or Expression with resultType integer). /// The number of rows that will be skipped. @@ -64,8 +67,8 @@ public SapTableSource() /// 'PartitionOnTime' /// The settings that will be leveraged /// for SAP table source partitioning. - public SapTableSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object rowCount = default(object), object rowSkips = default(object), object rfcTableFields = default(object), object rfcTableOptions = default(object), object batchSize = default(object), object customRfcReadTableFunctionModule = default(object), string partitionOption = default(string), SapTablePartitionSettings partitionSettings = default(SapTablePartitionSettings)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SapTableSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object rowCount = default(object), object rowSkips = default(object), object rfcTableFields = default(object), object rfcTableOptions = default(object), object batchSize = default(object), object customRfcReadTableFunctionModule = default(object), string partitionOption = default(string), SapTablePartitionSettings partitionSettings = default(SapTablePartitionSettings)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { RowCount = rowCount; RowSkips = rowSkips; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ServiceNowSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ServiceNowSource.cs index b5e2ad09924e..10f6c44350f2 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ServiceNowSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ServiceNowSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity ServiceNow server source. /// - public partial class ServiceNowSource : CopySource + public partial class ServiceNowSource : TabularSource { /// /// Initializes a new instance of the ServiceNowSource class. @@ -41,10 +41,13 @@ public ServiceNowSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public ServiceNowSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public ServiceNowSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ShopifySource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ShopifySource.cs index 1bbc3184ef58..7de0a0d0d511 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ShopifySource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ShopifySource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Shopify Service source. /// - public partial class ShopifySource : CopySource + public partial class ShopifySource : TabularSource { /// /// Initializes a new instance of the ShopifySource class. @@ -41,10 +41,13 @@ public ShopifySource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public ShopifySource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public ShopifySource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SparkSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SparkSource.cs index 68fec197e5d6..89d06dedbc06 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SparkSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SparkSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Spark Server source. /// - public partial class SparkSource : CopySource + public partial class SparkSource : TabularSource { /// /// Initializes a new instance of the SparkSource class. @@ -41,10 +41,13 @@ public SparkSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public SparkSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SparkSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlDWSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlDWSource.cs index ae2ccb8a78fe..90e6a8f79a68 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlDWSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlDWSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity SQL Data Warehouse source. /// - public partial class SqlDWSource : CopySource + public partial class SqlDWSource : TabularSource { /// /// Initializes a new instance of the SqlDWSource class. @@ -41,6 +41,9 @@ public SqlDWSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// SQL Data Warehouse reader query. Type: /// string (or Expression with resultType string). /// Name of the stored @@ -51,8 +54,8 @@ public SqlDWSource() /// stored procedure parameters. Example: "{Parameter1: {value: "1", /// type: "int"}}". Type: object (or Expression with resultType /// object), itemType: StoredProcedureParameter. - public SqlDWSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), object storedProcedureParameters = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SqlDWSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), object storedProcedureParameters = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlMISource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlMISource.cs index 4cd48599b4c5..cab823162051 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlMISource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlMISource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure SQL Managed Instance source. /// - public partial class SqlMISource : CopySource + public partial class SqlMISource : TabularSource { /// /// Initializes a new instance of the SqlMISource class. @@ -41,6 +41,9 @@ public SqlMISource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// SQL reader query. Type: string (or /// Expression with resultType string). /// Name of the stored @@ -52,8 +55,8 @@ public SqlMISource() /// type: "int"}}". /// Which additional types to /// produce. - public SqlMISource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), IDictionary storedProcedureParameters = default(IDictionary), object produceAdditionalTypes = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SqlMISource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), IDictionary storedProcedureParameters = default(IDictionary), object produceAdditionalTypes = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlServerSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlServerSource.cs index 9ba5c42c690d..c064dae1e70e 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlServerSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlServerSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity SQL server source. /// - public partial class SqlServerSource : CopySource + public partial class SqlServerSource : TabularSource { /// /// Initializes a new instance of the SqlServerSource class. @@ -41,6 +41,9 @@ public SqlServerSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// SQL reader query. Type: string (or /// Expression with resultType string). /// Name of the stored @@ -52,8 +55,8 @@ public SqlServerSource() /// type: "int"}}". /// Which additional types to /// produce. - public SqlServerSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), IDictionary storedProcedureParameters = default(IDictionary), object produceAdditionalTypes = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SqlServerSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), IDictionary storedProcedureParameters = default(IDictionary), object produceAdditionalTypes = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlSource.cs index a76165dddcf5..599eacbfe67e 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity SQL source. /// - public partial class SqlSource : CopySource + public partial class SqlSource : TabularSource { /// /// Initializes a new instance of the SqlSource class. @@ -41,6 +41,9 @@ public SqlSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// SQL reader query. Type: string (or /// Expression with resultType string). /// Name of the stored @@ -50,8 +53,8 @@ public SqlSource() /// Value and type setting for /// stored procedure parameters. Example: "{Parameter1: {value: "1", /// type: "int"}}". - public SqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), IDictionary storedProcedureParameters = default(IDictionary)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SqlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object sqlReaderQuery = default(object), object sqlReaderStoredProcedureName = default(object), IDictionary storedProcedureParameters = default(IDictionary)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { SqlReaderQuery = sqlReaderQuery; SqlReaderStoredProcedureName = sqlReaderStoredProcedureName; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SquareSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SquareSource.cs index c9759c70e6e5..b64945e8a0b8 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SquareSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SquareSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Square Service source. /// - public partial class SquareSource : CopySource + public partial class SquareSource : TabularSource { /// /// Initializes a new instance of the SquareSource class. @@ -41,10 +41,13 @@ public SquareSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public SquareSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SquareSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SybaseSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SybaseSource.cs index e09535de814a..00080eae112a 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SybaseSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SybaseSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for Sybase databases. /// - public partial class SybaseSource : CopySource + public partial class SybaseSource : TabularSource { /// /// Initializes a new instance of the SybaseSource class. @@ -41,10 +41,13 @@ public SybaseSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Database query. Type: string (or Expression /// with resultType string). - public SybaseSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public SybaseSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TabularSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TabularSource.cs new file mode 100644 index 000000000000..1e9a2e846729 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TabularSource.cs @@ -0,0 +1,68 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Copy activity sources of tabular type. + /// + public partial class TabularSource : CopySource + { + /// + /// Initializes a new instance of the TabularSource class. + /// + public TabularSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TabularSource class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Source retry count. Type: integer + /// (or Expression with resultType integer). + /// Source retry wait. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// The maximum concurrent + /// connection count for the source data store. Type: integer (or + /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + public TabularSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + { + QueryTimeout = queryTimeout; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets query timeout. Type: string (or Expression with + /// resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + /// + [JsonProperty(PropertyName = "queryTimeout")] + public object QueryTimeout { get; set; } + + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TeradataSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TeradataSource.cs index ee7d9bd77d32..aeb2158a33fb 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TeradataSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TeradataSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Teradata source. /// - public partial class TeradataSource : CopySource + public partial class TeradataSource : TabularSource { /// /// Initializes a new instance of the TeradataSource class. @@ -41,6 +41,9 @@ public TeradataSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// Teradata query. Type: string (or Expression /// with resultType string). /// The partition mechanism that will be @@ -48,8 +51,8 @@ public TeradataSource() /// 'None', 'Hash', 'DynamicRange' /// The settings that will be leveraged /// for teradata source partitioning. - public TeradataSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object), string partitionOption = default(string), TeradataPartitionSettings partitionSettings = default(TeradataPartitionSettings)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public TeradataSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object), string partitionOption = default(string), TeradataPartitionSettings partitionSettings = default(TeradataPartitionSettings)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; PartitionOption = partitionOption; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Transformation.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Transformation.cs new file mode 100644 index 000000000000..39406950f461 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Transformation.cs @@ -0,0 +1,85 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A data flow transformation. + /// + public partial class Transformation + { + /// + /// Initializes a new instance of the Transformation class. + /// + public Transformation() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the Transformation class. + /// + /// Transformation name. + /// Unmatched properties from the + /// message are deserialized this collection + /// Transformation description. + public Transformation(string name, IDictionary additionalProperties = default(IDictionary), string description = default(string)) + { + AdditionalProperties = additionalProperties; + Name = name; + Description = description; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets unmatched properties from the message are deserialized + /// this collection + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Gets or sets transformation name. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets transformation description. + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/VerticaSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/VerticaSource.cs index 81bc5eec678b..01c13268b5ae 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/VerticaSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/VerticaSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Vertica source. /// - public partial class VerticaSource : CopySource + public partial class VerticaSource : TabularSource { /// /// Initializes a new instance of the VerticaSource class. @@ -41,10 +41,13 @@ public VerticaSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public VerticaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public VerticaSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/XeroSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/XeroSource.cs index 74317340fd34..0100f0cdc337 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/XeroSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/XeroSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Xero Service source. /// - public partial class XeroSource : CopySource + public partial class XeroSource : TabularSource { /// /// Initializes a new instance of the XeroSource class. @@ -41,10 +41,13 @@ public XeroSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public XeroSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public XeroSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ZohoSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ZohoSource.cs index ddc4820a857c..38761b25364f 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ZohoSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ZohoSource.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Zoho server source. /// - public partial class ZohoSource : CopySource + public partial class ZohoSource : TabularSource { /// /// Initializes a new instance of the ZohoSource class. @@ -41,10 +41,13 @@ public ZohoSource() /// The maximum concurrent /// connection count for the source data store. Type: integer (or /// Expression with resultType integer). + /// Query timeout. Type: string (or + /// Expression with resultType string), pattern: + /// ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). /// A query to retrieve data from source. Type: /// string (or Expression with resultType string). - public ZohoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object query = default(object)) - : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + public ZohoSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), object queryTimeout = default(object), object query = default(object)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, queryTimeout) { Query = query; CustomInit(); diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Microsoft.Azure.Management.DataFactory.csproj b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Microsoft.Azure.Management.DataFactory.csproj index ac6428449144..d494d9450954 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Microsoft.Azure.Management.DataFactory.csproj +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Microsoft.Azure.Management.DataFactory.csproj @@ -10,18 +10,8 @@ Microsoft Azure resource management;Data Factory;ADF; diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Properties/AssemblyInfo.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Properties/AssemblyInfo.cs index 85bda750b04b..17582e1d7bb3 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Properties/AssemblyInfo.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Properties/AssemblyInfo.cs @@ -7,7 +7,7 @@ [assembly: AssemblyTitle("Microsoft Azure Data Factory Management Library")] [assembly: AssemblyDescription("Provides management functionality for Microsoft Azure Data Factory Resources.")] [assembly: AssemblyVersion("4.1.0.0")] -[assembly: AssemblyFileVersion("4.1.3.0")] +[assembly: AssemblyFileVersion("4.1.4.0")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyProduct("Microsoft Azure .NET SDK")] diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/changelog.md b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/changelog.md index c3fdc0adf596..a2e0deb2729c 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/changelog.md +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/changelog.md @@ -3,6 +3,11 @@ ## Current version ### Feature Additions +## Version 4.1.4 +### Feature Additions +- Add dedicated linkedservice/dataset/source for Azure File Storage; +- Add dedicated linkedservice/dataset/source for GoogleCloudStorage; + ## Version 4.1.3 ### Feature Additions - Added RunDimension to Pipeline diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/tests/JsonSamples/DatasetJsonSamples.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/tests/JsonSamples/DatasetJsonSamples.cs index b5cf62de67a8..d24a4c62814a 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/tests/JsonSamples/DatasetJsonSamples.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/tests/JsonSamples/DatasetJsonSamples.cs @@ -1750,5 +1750,81 @@ public class DatasetJsonSamples : JsonSampleCollection } } "; + + + + [JsonSample] + public const string AzureMySqlTableWithTable = @" +{ + name: ""AzureMySqlTable"", + properties: + { + type: ""AzureMySqlTable"", + linkedServiceName: + { + referenceName : ""ls"", + type : ""LinkedServiceReference"" + }, + typeProperties: + { + table: ""$EncryptedString$MyEncryptedTable"" + } + } +} +"; + + [JsonSample] + public const string AzureFileStorage = @" +{ + name: ""AzureFileStorageWithTextDataset"", + properties: + { + type: ""DelimitedText"", + linkedServiceName: + { + referenceName : ""ls"", + type : ""LinkedServiceReference"" + }, + typeProperties: + { + ""location"": { + ""type"": ""AzureFileStorageLocation"", + ""bucketName"": ""bucketname"", + ""folderPath"": ""folder/subfolder"" + }, + ""columnDelimiter"": "","", + ""quoteChar"": ""\"""", + ""firstRowAsHeader"": true, + ""compressionCodec"": ""gzip"" + }, + } +}"; + + [JsonSample] + public const string GoogleCloudStorageDataset = @" +{ + name: ""GoogleCloudStorageWithTextDataset"", + properties: + { + type: ""DelimitedText"", + linkedServiceName: + { + referenceName : ""ls"", + type : ""LinkedServiceReference"" + }, + typeProperties: + { + ""location"": { + ""type"": ""GoogleCloudStorageLocation"", + ""bucketName"": ""bucketname"", + ""folderPath"": ""folder/subfolder"" + }, + ""columnDelimiter"": "","", + ""quoteChar"": ""\"""", + ""firstRowAsHeader"": true, + ""compressionCodec"": ""gzip"" + }, + } +}"; } } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/tests/JsonSamples/LinkedServiceJsonSamples.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/tests/JsonSamples/LinkedServiceJsonSamples.cs index 3440c28979da..cfa0be4a4cfe 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/tests/JsonSamples/LinkedServiceJsonSamples.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/tests/JsonSamples/LinkedServiceJsonSamples.cs @@ -2262,5 +2262,45 @@ public class LinkedServiceJsonSamples : JsonSampleCollection } } "; + + [JsonSample] + public const string CopyActivity_DelimitedText_AzureFileStorage = @"{ + ""properties"": { + ""activities"": [ + { + ""type"": ""Copy"", + ""typeProperties"": { + ""source"": { + ""type"": ""DelimitedTextSource"", + ""storeSettings"": { + ""type"": ""AzureFileStorageReadSettings"", + ""recursive"": true, + ""wildcardFileName"": ""*.csv"", + ""wildcardFolderPath"": ""A*"", + ""modifiedDatetimeStart"": ""2019-07-02T00:00:00.000Z"", + ""modifiedDatetimeEnd"": ""2019-07-03T00:00:00.000Z"" + }, + ""formatSettings"": { + ""type"": ""DelimitedTextReadSettings"", + ""skipLineCount"": 10, + ""additionalNullValues"": [ ""\\N"", ""NULL"" ] + } + }, + ""sink"": { + ""type"": ""DelimitedTextSink"", + ""storeSettings"": { + ""type"": ""AzureDataLakeStoreWriteSettings"", + ""maxConcurrentConnections"": 3, + ""copyBehavior"": ""PreserveHierarchy"" + }, + ""formatSettings"": { + ""type"": ""DelimitedTextWriteSettings"", + ""quoteAllText"": true, + ""fileExtension"": "".csv"" + } + } + }, + ""inputs"": [ + { + ""referenceName"": ""exampleDataset"", + ""type"": ""DatasetReference"" + } + ], + ""outputs"": [ + { + ""referenceName"": ""exampleDataset"", + ""type"": ""DatasetReference"" + } + ], + ""name"": ""ExampleCopyActivity"" + } + ] + } +}"; + + [JsonSample] + public const string CopyActivity_DelimitedText_GoogleCloudStorage = @"{ + ""properties"": { + ""activities"": [ + { + ""type"": ""Copy"", + ""typeProperties"": { + ""source"": { + ""type"": ""DelimitedTextSource"", + ""storeSettings"": { + ""type"": ""GoogleCloudStorageReadSettings"", + ""recursive"": true, + ""prefix"": ""fakeprefix"", + ""wildcardFileName"": ""*.csv"", + ""wildcardFolderPath"": ""A*"", + ""modifiedDatetimeStart"": ""2019-07-02T00:00:00.000Z"", + ""modifiedDatetimeEnd"": ""2019-07-03T00:00:00.000Z"" + }, + ""formatSettings"": { + ""type"": ""DelimitedTextReadSettings"", + ""skipLineCount"": 10, + ""additionalNullValues"": [ ""\\N"", ""NULL"" ] + } + }, + ""sink"": { + ""type"": ""DelimitedTextSink"", + ""storeSettings"": { + ""type"": ""AzureDataLakeStoreWriteSettings"", + ""maxConcurrentConnections"": 3, + ""copyBehavior"": ""PreserveHierarchy"" + }, + ""formatSettings"": { + ""type"": ""DelimitedTextWriteSettings"", + ""quoteAllText"": true, + ""fileExtension"": "".csv"" + } + } + }, + ""inputs"": [ + { + ""referenceName"": ""exampleDataset"", + ""type"": ""DatasetReference"" + } + ], + ""outputs"": [ + { + ""referenceName"": ""exampleDataset"", + ""type"": ""DatasetReference"" + } + ], + ""name"": ""ExampleCopyActivity"" + } + ] + } +}"; + } }