diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Activity.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Activity.cs index 5d57b828785f5..81ea8cde76174 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Activity.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Activity.cs @@ -19,6 +19,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A pipeline activity. /// + [Newtonsoft.Json.JsonObject("Activity")] public partial class Activity { /// 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 80a37d728bf6d..7ed27ad724d70 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Amazon Marketplace Web Service source. /// + [Newtonsoft.Json.JsonObject("AmazonMWSSource")] public partial class AmazonMWSSource : TabularSource { /// 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 80ddc2c7b95f6..39248b7215bf6 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for Amazon Redshift Source. /// + [Newtonsoft.Json.JsonObject("AmazonRedshiftSource")] public partial class AmazonRedshiftSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonS3Location.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonS3Location.cs index f3d1cf1d33d1b..fc0adc7c143c0 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonS3Location.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonS3Location.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The location of amazon S3 dataset. /// + [Newtonsoft.Json.JsonObject("AmazonS3Location")] public partial class AmazonS3Location : DatasetLocation { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonS3ReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonS3ReadSettings.cs index 98f367113ecd4..940b0fbbd0b63 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonS3ReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AmazonS3ReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Azure data lake store read settings. /// + [Newtonsoft.Json.JsonObject("AmazonS3ReadSettings")] public partial class AmazonS3ReadSettings : StoreReadSettings { /// @@ -54,13 +55,17 @@ public AmazonS3ReadSettings() /// Specify the root path where /// partition discovery starts from. Type: string (or Expression with /// resultType string). + /// Indicates whether the + /// source files need to be deleted after copy completion. Default is + /// false. Type: boolean (or Expression with resultType + /// boolean). /// 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 AmazonS3ReadSettings(IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object prefix = default(object), object fileListPath = default(object), bool? enablePartitionDiscovery = default(bool?), object partitionRootPath = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) + public AmazonS3ReadSettings(IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object prefix = default(object), object fileListPath = default(object), bool? enablePartitionDiscovery = default(bool?), object partitionRootPath = default(object), object deleteFilesAfterCompletion = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) : base(additionalProperties, maxConcurrentConnections) { Recursive = recursive; @@ -70,6 +75,7 @@ public AmazonS3ReadSettings() FileListPath = fileListPath; EnablePartitionDiscovery = enablePartitionDiscovery; PartitionRootPath = partitionRootPath; + DeleteFilesAfterCompletion = deleteFilesAfterCompletion; ModifiedDatetimeStart = modifiedDatetimeStart; ModifiedDatetimeEnd = modifiedDatetimeEnd; CustomInit(); @@ -130,6 +136,14 @@ public AmazonS3ReadSettings() [JsonProperty(PropertyName = "partitionRootPath")] public object PartitionRootPath { get; set; } + /// + /// Gets or sets indicates whether the source files need to be deleted + /// after copy completion. Default is false. Type: boolean (or + /// Expression with resultType boolean). + /// + [JsonProperty(PropertyName = "deleteFilesAfterCompletion")] + public object DeleteFilesAfterCompletion { get; set; } + /// /// Gets or sets the start of file's modified datetime. Type: string /// (or Expression with resultType string). diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroFormat.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroFormat.cs index 1dc691a104896..ebb80aabf20c5 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroFormat.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroFormat.cs @@ -10,6 +10,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -17,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The data stored in Avro format. /// + [Newtonsoft.Json.JsonObject("AvroFormat")] public partial class AvroFormat : DatasetStorageFormat { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroSink.cs index 971fe631c2e14..045cc241d939c 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Avro sink. /// + [Newtonsoft.Json.JsonObject("AvroSink")] public partial class AvroSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroSource.cs index f1d8804fbda27..4bfe6264ecd91 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Avro source. /// + [Newtonsoft.Json.JsonObject("AvroSource")] public partial class AvroSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroWriteSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroWriteSettings.cs index f0bdfe3267bde..ff3ba174d6aed 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroWriteSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AvroWriteSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Avro write settings. /// + [Newtonsoft.Json.JsonObject("AvroWriteSettings")] public partial class AvroWriteSettings : FormatWriteSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSLocation.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSLocation.cs index 94c9e44646424..3fce095c107f2 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSLocation.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSLocation.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The location of azure blobFS dataset. /// + [Newtonsoft.Json.JsonObject("AzureBlobFSLocation")] public partial class AzureBlobFSLocation : DatasetLocation { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSReadSettings.cs index 0ea2392dd6cdf..bc084bf0ec3bb 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Azure blobFS read settings. /// + [Newtonsoft.Json.JsonObject("AzureBlobFSReadSettings")] public partial class AzureBlobFSReadSettings : StoreReadSettings { /// @@ -52,13 +53,17 @@ public AzureBlobFSReadSettings() /// Specify the root path where /// partition discovery starts from. Type: string (or Expression with /// resultType string). + /// Indicates whether the + /// source files need to be deleted after copy completion. Default is + /// false. Type: boolean (or Expression with resultType + /// boolean). /// 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 AzureBlobFSReadSettings(IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object fileListPath = default(object), bool? enablePartitionDiscovery = default(bool?), object partitionRootPath = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) + public AzureBlobFSReadSettings(IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object fileListPath = default(object), bool? enablePartitionDiscovery = default(bool?), object partitionRootPath = default(object), object deleteFilesAfterCompletion = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) : base(additionalProperties, maxConcurrentConnections) { Recursive = recursive; @@ -67,6 +72,7 @@ public AzureBlobFSReadSettings() FileListPath = fileListPath; EnablePartitionDiscovery = enablePartitionDiscovery; PartitionRootPath = partitionRootPath; + DeleteFilesAfterCompletion = deleteFilesAfterCompletion; ModifiedDatetimeStart = modifiedDatetimeStart; ModifiedDatetimeEnd = modifiedDatetimeEnd; CustomInit(); @@ -120,6 +126,14 @@ public AzureBlobFSReadSettings() [JsonProperty(PropertyName = "partitionRootPath")] public object PartitionRootPath { get; set; } + /// + /// Gets or sets indicates whether the source files need to be deleted + /// after copy completion. Default is false. Type: boolean (or + /// Expression with resultType boolean). + /// + [JsonProperty(PropertyName = "deleteFilesAfterCompletion")] + public object DeleteFilesAfterCompletion { get; set; } + /// /// Gets or sets the start of file's modified datetime. Type: string /// (or Expression with resultType string). diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSSink.cs index 587c3c7c0b670..9c0e7274798ec 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure Data Lake Storage Gen2 sink. /// + [Newtonsoft.Json.JsonObject("AzureBlobFSSink")] public partial class AzureBlobFSSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSSource.cs index 9542d1895e94e..12b1b09fc3443 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure BlobFS source. /// + [Newtonsoft.Json.JsonObject("AzureBlobFSSource")] public partial class AzureBlobFSSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSWriteSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSWriteSettings.cs index a4190a133de4e..5d19e871d4c61 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSWriteSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobFSWriteSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Azure blobFS write settings. /// + [Newtonsoft.Json.JsonObject("AzureBlobFSWriteSettings")] public partial class AzureBlobFSWriteSettings : StoreWriteSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobStorageLocation.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobStorageLocation.cs index 8bf2f735bcaeb..77f0462b76c3d 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobStorageLocation.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobStorageLocation.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The location of azure blob dataset. /// + [Newtonsoft.Json.JsonObject("AzureBlobStorageLocation")] public partial class AzureBlobStorageLocation : DatasetLocation { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobStorageReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobStorageReadSettings.cs index d2e7679f33c94..385f093c349fb 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobStorageReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobStorageReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Azure blob read settings. /// + [Newtonsoft.Json.JsonObject("AzureBlobStorageReadSettings")] public partial class AzureBlobStorageReadSettings : StoreReadSettings { /// @@ -56,13 +57,17 @@ public AzureBlobStorageReadSettings() /// Specify the root path where /// partition discovery starts from. Type: string (or Expression with /// resultType string). + /// Indicates whether the + /// source files need to be deleted after copy completion. Default is + /// false. Type: boolean (or Expression with resultType + /// boolean). /// 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 AzureBlobStorageReadSettings(IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object prefix = default(object), object fileListPath = default(object), bool? enablePartitionDiscovery = default(bool?), object partitionRootPath = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) + public AzureBlobStorageReadSettings(IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object prefix = default(object), object fileListPath = default(object), bool? enablePartitionDiscovery = default(bool?), object partitionRootPath = default(object), object deleteFilesAfterCompletion = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) : base(additionalProperties, maxConcurrentConnections) { Recursive = recursive; @@ -72,6 +77,7 @@ public AzureBlobStorageReadSettings() FileListPath = fileListPath; EnablePartitionDiscovery = enablePartitionDiscovery; PartitionRootPath = partitionRootPath; + DeleteFilesAfterCompletion = deleteFilesAfterCompletion; ModifiedDatetimeStart = modifiedDatetimeStart; ModifiedDatetimeEnd = modifiedDatetimeEnd; CustomInit(); @@ -132,6 +138,14 @@ public AzureBlobStorageReadSettings() [JsonProperty(PropertyName = "partitionRootPath")] public object PartitionRootPath { get; set; } + /// + /// Gets or sets indicates whether the source files need to be deleted + /// after copy completion. Default is false. Type: boolean (or + /// Expression with resultType boolean). + /// + [JsonProperty(PropertyName = "deleteFilesAfterCompletion")] + public object DeleteFilesAfterCompletion { get; set; } + /// /// Gets or sets the start of file's modified datetime. Type: string /// (or Expression with resultType string). diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobStorageWriteSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobStorageWriteSettings.cs index 5abe50e082e20..e83185c4a1196 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobStorageWriteSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureBlobStorageWriteSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Azure blob write settings. /// + [Newtonsoft.Json.JsonObject("AzureBlobStorageWriteSettings")] public partial class AzureBlobStorageWriteSettings : StoreWriteSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataExplorerSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataExplorerSink.cs index c0cd48667b9d3..ae728eec5eaa4 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataExplorerSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataExplorerSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure Data Explorer sink. /// + [Newtonsoft.Json.JsonObject("AzureDataExplorerSink")] public partial class AzureDataExplorerSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataExplorerSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataExplorerSource.cs index 7874791ec0ea5..8397849a80a11 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataExplorerSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataExplorerSource.cs @@ -19,6 +19,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure Data Explorer (Kusto) source. /// + [Newtonsoft.Json.JsonObject("AzureDataExplorerSource")] public partial class AzureDataExplorerSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreLocation.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreLocation.cs index b0143c284a4af..1087738ddec86 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreLocation.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreLocation.cs @@ -10,6 +10,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -17,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The location of azure data lake store dataset. /// + [Newtonsoft.Json.JsonObject("AzureDataLakeStoreLocation")] public partial class AzureDataLakeStoreLocation : DatasetLocation { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreReadSettings.cs index dd9ab7977d592..65037b296d45e 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Azure data lake store read settings. /// + [Newtonsoft.Json.JsonObject("AzureDataLakeStoreReadSettings")] public partial class AzureDataLakeStoreReadSettings : StoreReadSettings { /// @@ -49,26 +50,43 @@ public AzureDataLakeStoreReadSettings() /// file (relative path to the path configured in the dataset) that you /// want to copy. Type: string (or Expression with resultType /// string). + /// Lists files after the value (exclusive) + /// based on file/folder names’ lexicographical order. Applies under + /// the folderPath in data set, and filter files/sub-folders under the + /// folderPath. Type: string (or Expression with resultType + /// string). + /// Lists files before the value (inclusive) + /// based on file/folder names’ lexicographical order. Applies under + /// the folderPath in data set, and filter files/sub-folders under the + /// folderPath. Type: string (or Expression with resultType + /// string). /// Indicates whether to enable /// partition discovery. /// Specify the root path where /// partition discovery starts from. Type: string (or Expression with /// resultType string). + /// Indicates whether the + /// source files need to be deleted after copy completion. Default is + /// false. Type: boolean (or Expression with resultType + /// boolean). /// 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 AzureDataLakeStoreReadSettings(IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object fileListPath = default(object), bool? enablePartitionDiscovery = default(bool?), object partitionRootPath = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) + public AzureDataLakeStoreReadSettings(IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object fileListPath = default(object), object listAfter = default(object), object listBefore = default(object), bool? enablePartitionDiscovery = default(bool?), object partitionRootPath = default(object), object deleteFilesAfterCompletion = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) : base(additionalProperties, maxConcurrentConnections) { Recursive = recursive; WildcardFolderPath = wildcardFolderPath; WildcardFileName = wildcardFileName; FileListPath = fileListPath; + ListAfter = listAfter; + ListBefore = listBefore; EnablePartitionDiscovery = enablePartitionDiscovery; PartitionRootPath = partitionRootPath; + DeleteFilesAfterCompletion = deleteFilesAfterCompletion; ModifiedDatetimeStart = modifiedDatetimeStart; ModifiedDatetimeEnd = modifiedDatetimeEnd; CustomInit(); @@ -109,6 +127,24 @@ public AzureDataLakeStoreReadSettings() [JsonProperty(PropertyName = "fileListPath")] public object FileListPath { get; set; } + /// + /// Gets or sets lists files after the value (exclusive) based on + /// file/folder names’ lexicographical order. Applies under the + /// folderPath in data set, and filter files/sub-folders under the + /// folderPath. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "listAfter")] + public object ListAfter { get; set; } + + /// + /// Gets or sets lists files before the value (inclusive) based on + /// file/folder names’ lexicographical order. Applies under the + /// folderPath in data set, and filter files/sub-folders under the + /// folderPath. Type: string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "listBefore")] + public object ListBefore { get; set; } + /// /// Gets or sets indicates whether to enable partition discovery. /// @@ -122,6 +158,14 @@ public AzureDataLakeStoreReadSettings() [JsonProperty(PropertyName = "partitionRootPath")] public object PartitionRootPath { get; set; } + /// + /// Gets or sets indicates whether the source files need to be deleted + /// after copy completion. Default is false. Type: boolean (or + /// Expression with resultType boolean). + /// + [JsonProperty(PropertyName = "deleteFilesAfterCompletion")] + public object DeleteFilesAfterCompletion { get; set; } + /// /// Gets or sets the start of file's modified datetime. Type: string /// (or Expression with resultType string). diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreSink.cs index 0760f01ffd36e..66a8a7f2544cc 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure Data Lake Store sink. /// + [Newtonsoft.Json.JsonObject("AzureDataLakeStoreSink")] public partial class AzureDataLakeStoreSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreSource.cs index 4d60d89255805..300237b536264 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure Data Lake source. /// + [Newtonsoft.Json.JsonObject("AzureDataLakeStoreSource")] public partial class AzureDataLakeStoreSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreWriteSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreWriteSettings.cs index 8b187af31cc68..2ff60127a2ad2 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreWriteSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureDataLakeStoreWriteSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Azure data lake store write settings. /// + [Newtonsoft.Json.JsonObject("AzureDataLakeStoreWriteSettings")] public partial class AzureDataLakeStoreWriteSettings : StoreWriteSettings { /// 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 index beac26fc6656f..4a331cc5620ed 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFileStorageLocation.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFileStorageLocation.cs @@ -10,6 +10,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -17,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The location of file server dataset. /// + [Newtonsoft.Json.JsonObject("AzureFileStorageLocation")] public partial class AzureFileStorageLocation : DatasetLocation { /// 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 index 69700152d1327..7983eba0fb82e 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFileStorageReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFileStorageReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Azure File Storage read settings. /// + [Newtonsoft.Json.JsonObject("AzureFileStorageReadSettings")] public partial class AzureFileStorageReadSettings : StoreReadSettings { /// @@ -58,13 +59,17 @@ public AzureFileStorageReadSettings() /// Specify the root path where /// partition discovery starts from. Type: string (or Expression with /// resultType string). + /// Indicates whether the + /// source files need to be deleted after copy completion. Default is + /// false. Type: boolean (or Expression with resultType + /// boolean). /// 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(IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object prefix = default(object), object fileListPath = default(object), bool? enablePartitionDiscovery = default(bool?), object partitionRootPath = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) + public AzureFileStorageReadSettings(IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object prefix = default(object), object fileListPath = default(object), bool? enablePartitionDiscovery = default(bool?), object partitionRootPath = default(object), object deleteFilesAfterCompletion = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) : base(additionalProperties, maxConcurrentConnections) { Recursive = recursive; @@ -74,6 +79,7 @@ public AzureFileStorageReadSettings() FileListPath = fileListPath; EnablePartitionDiscovery = enablePartitionDiscovery; PartitionRootPath = partitionRootPath; + DeleteFilesAfterCompletion = deleteFilesAfterCompletion; ModifiedDatetimeStart = modifiedDatetimeStart; ModifiedDatetimeEnd = modifiedDatetimeEnd; CustomInit(); @@ -135,6 +141,14 @@ public AzureFileStorageReadSettings() [JsonProperty(PropertyName = "partitionRootPath")] public object PartitionRootPath { get; set; } + /// + /// Gets or sets indicates whether the source files need to be deleted + /// after copy completion. Default is false. Type: boolean (or + /// Expression with resultType boolean). + /// + [JsonProperty(PropertyName = "deleteFilesAfterCompletion")] + public object DeleteFilesAfterCompletion { get; set; } + /// /// Gets or sets the start of file's modified datetime. Type: string /// (or Expression with resultType string). diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFunctionActivity.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFunctionActivity.cs index ca5ae3a643dc2..7512e7d1683b0 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFunctionActivity.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureFunctionActivity.cs @@ -20,6 +20,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Azure Function activity. /// + [Newtonsoft.Json.JsonObject("AzureFunctionActivity")] [Rest.Serialization.JsonTransformation] public partial class AzureFunctionActivity : ExecutionActivity { 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 40648531bb388..81b9986020eeb 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure MariaDB source. /// + [Newtonsoft.Json.JsonObject("AzureMariaDBSource")] public partial class AzureMariaDBSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMySqlSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMySqlSink.cs index 833052d405ae0..3ffd839407442 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMySqlSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureMySqlSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure MySql sink. /// + [Newtonsoft.Json.JsonObject("AzureMySqlSink")] public partial class AzureMySqlSink : CopySink { /// 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 1eb1ed222b182..a132b04df5155 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure MySQL source. /// + [Newtonsoft.Json.JsonObject("AzureMySqlSource")] public partial class AzureMySqlSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlSink.cs index b7948c955b272..8aa083169c44a 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzurePostgreSqlSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure PostgreSQL sink. /// + [Newtonsoft.Json.JsonObject("AzurePostgreSqlSink")] public partial class AzurePostgreSqlSink : CopySink { /// 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 97b8d0ecd64e0..bcd2268b44b54 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure PostgreSQL source. /// + [Newtonsoft.Json.JsonObject("AzurePostgreSqlSource")] public partial class AzurePostgreSqlSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureQueueSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureQueueSink.cs index a3412d7745c03..e356b35776627 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureQueueSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureQueueSink.cs @@ -10,6 +10,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -17,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure Queue sink. /// + [Newtonsoft.Json.JsonObject("AzureQueueSink")] public partial class AzureQueueSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureSearchIndexSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureSearchIndexSink.cs index cc1483ddc136c..a2ec32e7e9ef1 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureSearchIndexSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureSearchIndexSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure Search Index sink. /// + [Newtonsoft.Json.JsonObject("AzureSearchIndexSink")] public partial class AzureSearchIndexSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureSqlSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureSqlSink.cs index e5132caf465f3..aaf77705afa27 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureSqlSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureSqlSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure SQL sink. /// + [Newtonsoft.Json.JsonObject("AzureSqlSink")] public partial class AzureSqlSink : CopySink { /// 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 7efd3dd7e98a3..c9c96c19b0f85 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure SQL source. /// + [Newtonsoft.Json.JsonObject("AzureSqlSource")] public partial class AzureSqlSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureTableSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureTableSink.cs index 3700867f3ad8e..63e450f2c865c 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureTableSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/AzureTableSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure Table sink. /// + [Newtonsoft.Json.JsonObject("AzureTableSink")] public partial class AzureTableSink : CopySink { /// 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 c7d9c98a7e1fb..f1e0a8564e5a0 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure Table source. /// + [Newtonsoft.Json.JsonObject("AzureTableSource")] public partial class AzureTableSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BinaryReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BinaryReadSettings.cs index 9488ce06d542e..8de0d9420e01f 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BinaryReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BinaryReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Binary read settings. /// + [Newtonsoft.Json.JsonObject("BinaryReadSettings")] public partial class BinaryReadSettings : FormatReadSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BinarySink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BinarySink.cs index 5fec652f67054..9322bc095d3d8 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BinarySink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BinarySink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Binary sink. /// + [Newtonsoft.Json.JsonObject("BinarySink")] public partial class BinarySink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BinarySource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BinarySource.cs index 61961e4bd0fc4..c532435c3358c 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BinarySource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BinarySource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Binary source. /// + [Newtonsoft.Json.JsonObject("BinarySource")] public partial class BinarySource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobEventsTrigger.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobEventsTrigger.cs index 93d16ba6dc4bd..7d950d704e638 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobEventsTrigger.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobEventsTrigger.cs @@ -20,6 +20,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Trigger that runs every time a Blob event occurs. /// + [Newtonsoft.Json.JsonObject("BlobEventsTrigger")] [Rest.Serialization.JsonTransformation] public partial class BlobEventsTrigger : MultiplePipelineTrigger { diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobSink.cs index ff85b921f5a51..d966d1938bbc2 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure Blob sink. /// + [Newtonsoft.Json.JsonObject("BlobSink")] public partial class BlobSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobSource.cs index 86fe12c48633f..2df67e4900832 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure Blob source. /// + [Newtonsoft.Json.JsonObject("BlobSource")] public partial class BlobSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobTrigger.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobTrigger.cs index 63ecbf8730c88..7986b5289d5a4 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobTrigger.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/BlobTrigger.cs @@ -20,6 +20,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Trigger that runs every time the selected Blob container changes. /// + [Newtonsoft.Json.JsonObject("BlobTrigger")] [Rest.Serialization.JsonTransformation] public partial class BlobTrigger : MultiplePipelineTrigger { 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 facd12079d67d..6f58bc2751ef1 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for a Cassandra database. /// + [Newtonsoft.Json.JsonObject("CassandraSource")] public partial class CassandraSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ChainingTrigger.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ChainingTrigger.cs index 5f3386bbedc7c..7e4aee0559f50 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ChainingTrigger.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ChainingTrigger.cs @@ -25,6 +25,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// triggered if the values for the runDimension match for all upstream /// pipeline runs. /// + [Newtonsoft.Json.JsonObject("ChainingTrigger")] [Rest.Serialization.JsonTransformation] public partial class ChainingTrigger : Trigger { diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CmdkeySetup.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CmdkeySetup.cs index 45d1197025660..bad7a39b56d6c 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CmdkeySetup.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CmdkeySetup.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The custom setup of running cmdkey commands. /// + [Newtonsoft.Json.JsonObject("CmdkeySetup")] [Rest.Serialization.JsonTransformation] public partial class CmdkeySetup : CustomSetupBase { diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CommonDataServiceForAppsSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CommonDataServiceForAppsSink.cs index 3053bee2212eb..3403fa54e3949 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CommonDataServiceForAppsSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CommonDataServiceForAppsSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Common Data Service for Apps sink. /// + [Newtonsoft.Json.JsonObject("CommonDataServiceForAppsSink")] public partial class CommonDataServiceForAppsSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CommonDataServiceForAppsSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CommonDataServiceForAppsSource.cs index 345946dc3feb4..6617666af88c5 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CommonDataServiceForAppsSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CommonDataServiceForAppsSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Common Data Service for Apps source. /// + [Newtonsoft.Json.JsonObject("CommonDataServiceForAppsSource")] public partial class CommonDataServiceForAppsSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ComponentSetup.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ComponentSetup.cs index 138abe5066010..ac32f61dce049 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ComponentSetup.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ComponentSetup.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The custom setup of installing 3rd party components. /// + [Newtonsoft.Json.JsonObject("ComponentSetup")] [Rest.Serialization.JsonTransformation] public partial class ComponentSetup : CustomSetupBase { diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CompressionReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CompressionReadSettings.cs index d4d594b13561a..7f02ee0cb84c1 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CompressionReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CompressionReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Compression read settings. /// + [Newtonsoft.Json.JsonObject("CompressionReadSettings")] public partial class CompressionReadSettings { /// 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 8f66fe7350dac..b7e54fa8e154b 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Concur Service source. /// + [Newtonsoft.Json.JsonObject("ConcurSource")] public partial class ConcurSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CopySink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CopySink.cs index ac2f9e17465e9..530013ae39df2 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CopySink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CopySink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity sink. /// + [Newtonsoft.Json.JsonObject("CopySink")] public partial class CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CopySource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CopySource.cs index 6cf1c11db4785..d1ed458139eea 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CopySource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CopySource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source. /// + [Newtonsoft.Json.JsonObject("CopySource")] public partial class CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbMongoDbApiSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbMongoDbApiSink.cs index 396dec19b3c17..46d9b864ae48a 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbMongoDbApiSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbMongoDbApiSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity sink for a CosmosDB (MongoDB API) database. /// + [Newtonsoft.Json.JsonObject("CosmosDbMongoDbApiSink")] public partial class CosmosDbMongoDbApiSink : CopySink { /// 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 ec910ea1d7f3b..5e6b6501fc61f 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 @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for a CosmosDB (MongoDB API) database. /// + [Newtonsoft.Json.JsonObject("CosmosDbMongoDbApiSource")] public partial class CosmosDbMongoDbApiSource : CopySource { /// 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 index a6f5bf1acc86c..f8ac0193267c9 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbSqlApiSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbSqlApiSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure CosmosDB (SQL API) Collection sink. /// + [Newtonsoft.Json.JsonObject("CosmosDbSqlApiSink")] public partial class CosmosDbSqlApiSink : CopySink { /// 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 index 19f4c02b6a24b..4d4621d068c63 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbSqlApiSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CosmosDbSqlApiSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure CosmosDB (SQL API) Collection source. /// + [Newtonsoft.Json.JsonObject("CosmosDbSqlApiSource")] public partial class CosmosDbSqlApiSource : CopySource { /// 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 da869996583f4..ce4d885fba885 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Couchbase server source. /// + [Newtonsoft.Json.JsonObject("CouchbaseSource")] public partial class CouchbaseSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CustomDataset.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CustomDataset.cs index b4242988f107a..823116d8b369e 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CustomDataset.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CustomDataset.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The custom dataset. /// + [Newtonsoft.Json.JsonObject("CustomDataset")] public partial class CustomDataset : Dataset { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CustomSetupBase.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CustomSetupBase.cs index eb4d7b084004c..e07b22f0d0b0e 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CustomSetupBase.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/CustomSetupBase.cs @@ -10,11 +10,13 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Linq; /// /// The base definition of the custom setup. /// + [Newtonsoft.Json.JsonObject("CustomSetupBase")] public partial class CustomSetupBase { /// 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 index f88c4d091d89d..7378ce9a70c95 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlow.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlow.cs @@ -19,6 +19,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// Azure Data Factory nested object which contains a flow with data /// movements and transformations. /// + [Newtonsoft.Json.JsonObject("DataFlow")] public partial class DataFlow { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSink.cs index 89a39070f26a4..7fde44a13732b 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSink.cs @@ -32,10 +32,15 @@ public DataFlowSink() /// Transformation name. /// Transformation description. /// Dataset reference. - public DataFlowSink(string name, string description = default(string), DatasetReference dataset = default(DatasetReference)) + /// Linked service reference. + /// Schema linked service + /// reference. + public DataFlowSink(string name, string description = default(string), DatasetReference dataset = default(DatasetReference), LinkedServiceReference linkedService = default(LinkedServiceReference), LinkedServiceReference schemaLinkedService = default(LinkedServiceReference)) : base(name, description) { Dataset = dataset; + LinkedService = linkedService; + SchemaLinkedService = schemaLinkedService; CustomInit(); } @@ -50,6 +55,18 @@ public DataFlowSink() [JsonProperty(PropertyName = "dataset")] public DatasetReference Dataset { get; set; } + /// + /// Gets or sets linked service reference. + /// + [JsonProperty(PropertyName = "linkedService")] + public LinkedServiceReference LinkedService { get; set; } + + /// + /// Gets or sets schema linked service reference. + /// + [JsonProperty(PropertyName = "schemaLinkedService")] + public LinkedServiceReference SchemaLinkedService { get; set; } + /// /// Validate the object. /// @@ -63,6 +80,14 @@ public override void Validate() { Dataset.Validate(); } + if (LinkedService != null) + { + LinkedService.Validate(); + } + if (SchemaLinkedService != null) + { + SchemaLinkedService.Validate(); + } } } } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSource.cs index 980ed9cd488f1..838e69cc4a251 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowSource.cs @@ -32,10 +32,15 @@ public DataFlowSource() /// Transformation name. /// Transformation description. /// Dataset reference. - public DataFlowSource(string name, string description = default(string), DatasetReference dataset = default(DatasetReference)) + /// Linked service reference. + /// Schema linked service + /// reference. + public DataFlowSource(string name, string description = default(string), DatasetReference dataset = default(DatasetReference), LinkedServiceReference linkedService = default(LinkedServiceReference), LinkedServiceReference schemaLinkedService = default(LinkedServiceReference)) : base(name, description) { Dataset = dataset; + LinkedService = linkedService; + SchemaLinkedService = schemaLinkedService; CustomInit(); } @@ -50,6 +55,18 @@ public DataFlowSource() [JsonProperty(PropertyName = "dataset")] public DatasetReference Dataset { get; set; } + /// + /// Gets or sets linked service reference. + /// + [JsonProperty(PropertyName = "linkedService")] + public LinkedServiceReference LinkedService { get; set; } + + /// + /// Gets or sets schema linked service reference. + /// + [JsonProperty(PropertyName = "schemaLinkedService")] + public LinkedServiceReference SchemaLinkedService { get; set; } + /// /// Validate the object. /// @@ -63,6 +80,14 @@ public override void Validate() { Dataset.Validate(); } + if (LinkedService != null) + { + LinkedService.Validate(); + } + if (SchemaLinkedService != null) + { + SchemaLinkedService.Validate(); + } } } } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Dataset.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Dataset.cs index 218416aab457e..d987bbac741b3 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Dataset.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Dataset.cs @@ -20,6 +20,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// The Azure Data Factory nested object which identifies data within /// different data stores, such as tables, files, folders, and documents. /// + [Newtonsoft.Json.JsonObject("Dataset")] public partial class Dataset { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DatasetCompression.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DatasetCompression.cs index 684c3a8a2b972..b9ff26b987856 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DatasetCompression.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DatasetCompression.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The compression method used on a dataset. /// + [Newtonsoft.Json.JsonObject("DatasetCompression")] public partial class DatasetCompression { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DatasetLocation.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DatasetLocation.cs index 3ec6738030ce9..3cc24fcc2c5d3 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DatasetLocation.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DatasetLocation.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Dataset location. /// + [Newtonsoft.Json.JsonObject("DatasetLocation")] public partial class DatasetLocation { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DatasetStorageFormat.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DatasetStorageFormat.cs index 9666f91b0e06e..ba140332915aa 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DatasetStorageFormat.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DatasetStorageFormat.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The format definition of a storage. /// + [Newtonsoft.Json.JsonObject("DatasetStorageFormat")] public partial class DatasetStorageFormat { /// 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 bbe1de583988b..20d65c18730dd 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for Db2 databases. /// + [Newtonsoft.Json.JsonObject("Db2Source")] public partial class Db2Source : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextReadSettings.cs index 3179a642cb002..80627da4eda8a 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Delimited text read settings. /// + [Newtonsoft.Json.JsonObject("DelimitedTextReadSettings")] public partial class DelimitedTextReadSettings : FormatReadSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextSink.cs index d6c268d8b94fd..7e78ab52e30c6 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity DelimitedText sink. /// + [Newtonsoft.Json.JsonObject("DelimitedTextSink")] public partial class DelimitedTextSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextSource.cs index b178382f617c7..2cb5b56b8bc4b 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity DelimitedText source. /// + [Newtonsoft.Json.JsonObject("DelimitedTextSource")] public partial class DelimitedTextSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextWriteSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextWriteSettings.cs index a54f9c2e64bbc..776875686104a 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextWriteSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DelimitedTextWriteSettings.cs @@ -19,6 +19,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Delimited text write settings. /// + [Newtonsoft.Json.JsonObject("DelimitedTextWriteSettings")] public partial class DelimitedTextWriteSettings : FormatWriteSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DependencyReference.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DependencyReference.cs index 60817bd12d4e5..210423b1c364d 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DependencyReference.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DependencyReference.cs @@ -10,11 +10,13 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Linq; /// /// Referenced dependency. /// + [Newtonsoft.Json.JsonObject("DependencyReference")] public partial class DependencyReference { /// 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 7e1ca124e4b3a..df71e12b13b04 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 @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Document Database Collection sink. /// + [Newtonsoft.Json.JsonObject("DocumentDbCollectionSink")] public partial class DocumentDbCollectionSink : CopySink { /// 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 250c63772c0c1..214ad7d0bd276 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 @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Document Database Collection source. /// + [Newtonsoft.Json.JsonObject("DocumentDbCollectionSource")] public partial class DocumentDbCollectionSource : CopySource { /// 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 3753001f42d4d..794cb54325041 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Drill server source. /// + [Newtonsoft.Json.JsonObject("DrillSource")] public partial class DrillSource : TabularSource { /// 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 b5d0a9c2a79c0..7c08f465bf550 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Dynamics AX source. /// + [Newtonsoft.Json.JsonObject("DynamicsAXSource")] public partial class DynamicsAXSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsCrmSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsCrmSink.cs index a22cc07b820a3..7f9d686e9c0c7 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsCrmSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsCrmSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Dynamics CRM sink. /// + [Newtonsoft.Json.JsonObject("DynamicsCrmSink")] public partial class DynamicsCrmSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsCrmSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsCrmSource.cs index 280028f6a9332..f71cf37ffb604 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsCrmSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsCrmSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Dynamics CRM source. /// + [Newtonsoft.Json.JsonObject("DynamicsCrmSource")] public partial class DynamicsCrmSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsSink.cs index ad1fd40bcdb75..7a689c799ecc1 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Dynamics sink. /// + [Newtonsoft.Json.JsonObject("DynamicsSink")] public partial class DynamicsSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsSource.cs index 9bf19334bda87..770d7f63d8e8e 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DynamicsSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Dynamics source. /// + [Newtonsoft.Json.JsonObject("DynamicsSource")] public partial class DynamicsSource : CopySource { /// 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 970569642b98f..7f1d1696204e5 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Eloqua server source. /// + [Newtonsoft.Json.JsonObject("EloquaSource")] public partial class EloquaSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/EnvironmentVariableSetup.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/EnvironmentVariableSetup.cs index f5845ebf762bf..22a8d2e91099c 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/EnvironmentVariableSetup.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/EnvironmentVariableSetup.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The custom setup of setting environment variable. /// + [Newtonsoft.Json.JsonObject("EnvironmentVariableSetup")] [Rest.Serialization.JsonTransformation] public partial class EnvironmentVariableSetup : CustomSetupBase { diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ExcelSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ExcelSource.cs index a698729e41f75..c7dd81315177e 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ExcelSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ExcelSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity excel source. /// + [Newtonsoft.Json.JsonObject("ExcelSource")] public partial class ExcelSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ExportSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ExportSettings.cs index 422b0c171cf04..5905c4b25678a 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ExportSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ExportSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Export command settings. /// + [Newtonsoft.Json.JsonObject("ExportSettings")] public partial class ExportSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Factory.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Factory.cs index 33e0252cfbcf2..9a3ef89d1f7c3 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Factory.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Factory.cs @@ -51,7 +51,9 @@ public Factory() /// Version of the factory. /// Git repo information of the /// factory. - public Factory(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string eTag = default(string), IDictionary additionalProperties = default(IDictionary), FactoryIdentity identity = default(FactoryIdentity), string provisioningState = default(string), System.DateTime? createTime = default(System.DateTime?), string version = default(string), FactoryRepoConfiguration repoConfiguration = default(FactoryRepoConfiguration)) + /// List of parameters for + /// factory. + public Factory(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string eTag = default(string), IDictionary additionalProperties = default(IDictionary), FactoryIdentity identity = default(FactoryIdentity), string provisioningState = default(string), System.DateTime? createTime = default(System.DateTime?), string version = default(string), FactoryRepoConfiguration repoConfiguration = default(FactoryRepoConfiguration), IDictionary globalParameters = default(IDictionary)) : base(id, name, type, location, tags, eTag) { AdditionalProperties = additionalProperties; @@ -60,6 +62,7 @@ public Factory() CreateTime = createTime; Version = version; RepoConfiguration = repoConfiguration; + GlobalParameters = globalParameters; CustomInit(); } @@ -105,6 +108,12 @@ public Factory() [JsonProperty(PropertyName = "properties.repoConfiguration")] public FactoryRepoConfiguration RepoConfiguration { get; set; } + /// + /// Gets or sets list of parameters for factory. + /// + [JsonProperty(PropertyName = "properties.globalParameters")] + public IDictionary GlobalParameters { get; set; } + /// /// Validate the object. /// @@ -117,6 +126,16 @@ public virtual void Validate() { RepoConfiguration.Validate(); } + if (GlobalParameters != null) + { + foreach (var valueElement in GlobalParameters.Values) + { + if (valueElement != null) + { + valueElement.Validate(); + } + } + } } } } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryGitHubConfiguration.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryGitHubConfiguration.cs index b6bd1e7ebd2b8..01383bd846742 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryGitHubConfiguration.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryGitHubConfiguration.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Factory's GitHub repo information. /// + [Newtonsoft.Json.JsonObject("FactoryGitHubConfiguration")] public partial class FactoryGitHubConfiguration : FactoryRepoConfiguration { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryRepoConfiguration.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryRepoConfiguration.cs index 539d782b3939e..86a98255ae9cf 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryRepoConfiguration.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryRepoConfiguration.cs @@ -17,6 +17,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Factory's git repo information. /// + [Newtonsoft.Json.JsonObject("FactoryRepoConfiguration")] public partial class FactoryRepoConfiguration { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryVSTSConfiguration.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryVSTSConfiguration.cs index 0b5f5a1c67c86..6a8520fcf99fe 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryVSTSConfiguration.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FactoryVSTSConfiguration.cs @@ -17,6 +17,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Factory's VSTS repo information. /// + [Newtonsoft.Json.JsonObject("FactoryVSTSConfiguration")] public partial class FactoryVSTSConfiguration : FactoryRepoConfiguration { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileServerLocation.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileServerLocation.cs index e841d2fcec830..abb97d5d4f584 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileServerLocation.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileServerLocation.cs @@ -10,6 +10,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -17,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The location of file server dataset. /// + [Newtonsoft.Json.JsonObject("FileServerLocation")] public partial class FileServerLocation : DatasetLocation { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileServerReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileServerReadSettings.cs index 784615ba4f153..e73b4c4ed5d39 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileServerReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileServerReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// File server read settings. /// + [Newtonsoft.Json.JsonObject("FileServerReadSettings")] public partial class FileServerReadSettings : StoreReadSettings { /// @@ -52,6 +53,10 @@ public FileServerReadSettings() /// Specify the root path where /// partition discovery starts from. Type: string (or Expression with /// resultType string). + /// Indicates whether the + /// source files need to be deleted after copy completion. Default is + /// false. Type: boolean (or Expression with resultType + /// boolean). /// The start of file's modified /// datetime. Type: string (or Expression with resultType /// string). @@ -61,7 +66,7 @@ public FileServerReadSettings() /// Specify a filter to be used to select a /// subset of files in the folderPath rather than all files. Type: /// string (or Expression with resultType string). - public FileServerReadSettings(IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object fileListPath = default(object), bool? enablePartitionDiscovery = default(bool?), object partitionRootPath = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object), object fileFilter = default(object)) + public FileServerReadSettings(IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object fileListPath = default(object), bool? enablePartitionDiscovery = default(bool?), object partitionRootPath = default(object), object deleteFilesAfterCompletion = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object), object fileFilter = default(object)) : base(additionalProperties, maxConcurrentConnections) { Recursive = recursive; @@ -70,6 +75,7 @@ public FileServerReadSettings() FileListPath = fileListPath; EnablePartitionDiscovery = enablePartitionDiscovery; PartitionRootPath = partitionRootPath; + DeleteFilesAfterCompletion = deleteFilesAfterCompletion; ModifiedDatetimeStart = modifiedDatetimeStart; ModifiedDatetimeEnd = modifiedDatetimeEnd; FileFilter = fileFilter; @@ -124,6 +130,14 @@ public FileServerReadSettings() [JsonProperty(PropertyName = "partitionRootPath")] public object PartitionRootPath { get; set; } + /// + /// Gets or sets indicates whether the source files need to be deleted + /// after copy completion. Default is false. Type: boolean (or + /// Expression with resultType boolean). + /// + [JsonProperty(PropertyName = "deleteFilesAfterCompletion")] + public object DeleteFilesAfterCompletion { get; set; } + /// /// Gets or sets the start of file's modified datetime. Type: string /// (or Expression with resultType string). diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileServerWriteSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileServerWriteSettings.cs index b89b89c40ba28..b6a5fb85ef365 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileServerWriteSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileServerWriteSettings.cs @@ -10,6 +10,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -17,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// File server write settings. /// + [Newtonsoft.Json.JsonObject("FileServerWriteSettings")] public partial class FileServerWriteSettings : StoreWriteSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileSystemSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileSystemSink.cs index a5020f9d87af6..8f59095563f69 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileSystemSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileSystemSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity file system sink. /// + [Newtonsoft.Json.JsonObject("FileSystemSink")] public partial class FileSystemSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileSystemSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileSystemSource.cs index 012aeba12ebbe..1dff5aa24e678 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileSystemSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FileSystemSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity file system source. /// + [Newtonsoft.Json.JsonObject("FileSystemSource")] public partial class FileSystemSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FormatReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FormatReadSettings.cs index 9cfdb4346aeb3..c025beba72575 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FormatReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FormatReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Format read settings. /// + [Newtonsoft.Json.JsonObject("FormatReadSettings")] public partial class FormatReadSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FormatWriteSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FormatWriteSettings.cs index e7757b5ebf5cf..16d6153267fc8 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FormatWriteSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FormatWriteSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Format write settings. /// + [Newtonsoft.Json.JsonObject("FormatWriteSettings")] public partial class FormatWriteSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FtpReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FtpReadSettings.cs index 379e9bfd4fba7..32b25039f9ac3 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FtpReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FtpReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Ftp read settings. /// + [Newtonsoft.Json.JsonObject("FtpReadSettings")] public partial class FtpReadSettings : StoreReadSettings { /// @@ -48,13 +49,17 @@ public FtpReadSettings() /// Specify the root path where /// partition discovery starts from. Type: string (or Expression with /// resultType string). + /// Indicates whether the + /// source files need to be deleted after copy completion. Default is + /// false. Type: boolean (or Expression with resultType + /// boolean). /// Point to a text file that lists each /// file (relative path to the path configured in the dataset) that you /// want to copy. Type: string (or Expression with resultType /// string). /// Specify whether to use binary /// transfer mode for FTP stores. - public FtpReadSettings(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 partitionRootPath = default(object), object fileListPath = default(object), bool? useBinaryTransfer = default(bool?)) + public FtpReadSettings(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 partitionRootPath = default(object), object deleteFilesAfterCompletion = default(object), object fileListPath = default(object), bool? useBinaryTransfer = default(bool?)) : base(additionalProperties, maxConcurrentConnections) { Recursive = recursive; @@ -62,6 +67,7 @@ public FtpReadSettings() WildcardFileName = wildcardFileName; EnablePartitionDiscovery = enablePartitionDiscovery; PartitionRootPath = partitionRootPath; + DeleteFilesAfterCompletion = deleteFilesAfterCompletion; FileListPath = fileListPath; UseBinaryTransfer = useBinaryTransfer; CustomInit(); @@ -107,6 +113,14 @@ public FtpReadSettings() [JsonProperty(PropertyName = "partitionRootPath")] public object PartitionRootPath { get; set; } + /// + /// Gets or sets indicates whether the source files need to be deleted + /// after copy completion. Default is false. Type: boolean (or + /// Expression with resultType boolean). + /// + [JsonProperty(PropertyName = "deleteFilesAfterCompletion")] + public object DeleteFilesAfterCompletion { get; set; } + /// /// Gets or sets point to a text file that lists each file (relative /// path to the path configured in the dataset) that you want to copy. diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FtpServerLocation.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FtpServerLocation.cs index fe3cd17083330..7cc2c6de12d8d 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FtpServerLocation.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/FtpServerLocation.cs @@ -10,6 +10,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -17,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The location of ftp server dataset. /// + [Newtonsoft.Json.JsonObject("FtpServerLocation")] public partial class FtpServerLocation : DatasetLocation { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GlobalParameterSpecification.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GlobalParameterSpecification.cs new file mode 100644 index 0000000000000..ee56776881c9b --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GlobalParameterSpecification.cs @@ -0,0 +1,81 @@ +// +// 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; + + /// + /// Definition of a single parameter for an entity. + /// + public partial class GlobalParameterSpecification + { + /// + /// Initializes a new instance of the GlobalParameterSpecification + /// class. + /// + public GlobalParameterSpecification() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GlobalParameterSpecification + /// class. + /// + /// Global Parameter type. Possible values include: + /// 'Object', 'String', 'Int', 'Float', 'Bool', 'Array' + /// Value of parameter. + public GlobalParameterSpecification(string type, object value) + { + Type = type; + Value = value; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets global Parameter type. Possible values include: + /// 'Object', 'String', 'Int', 'Float', 'Bool', 'Array' + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// Gets or sets value of parameter. + /// + [JsonProperty(PropertyName = "value")] + public object Value { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Type == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Type"); + } + if (Value == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Value"); + } + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GlobalParameterType.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GlobalParameterType.cs new file mode 100644 index 0000000000000..2c6c78eb35be3 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GlobalParameterType.cs @@ -0,0 +1,26 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.DataFactory.Models +{ + + /// + /// Defines values for GlobalParameterType. + /// + public static class GlobalParameterType + { + public const string Object = "Object"; + public const string String = "String"; + public const string Int = "Int"; + public const string Float = "Float"; + public const string Bool = "Bool"; + public const string Array = "Array"; + } +} 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 1497bd1e95f88..fbe8bb049fa01 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Google AdWords service source. /// + [Newtonsoft.Json.JsonObject("GoogleAdWordsSource")] public partial class GoogleAdWordsSource : TabularSource { /// 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 ce6501c746d59..29912f62c81a9 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Google BigQuery service source. /// + [Newtonsoft.Json.JsonObject("GoogleBigQuerySource")] public partial class GoogleBigQuerySource : TabularSource { /// 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 index ea04ad299b740..aa26f77b003b4 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleCloudStorageLocation.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleCloudStorageLocation.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The location of Google Cloud Storage dataset. /// + [Newtonsoft.Json.JsonObject("GoogleCloudStorageLocation")] public partial class GoogleCloudStorageLocation : DatasetLocation { /// 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 index 606f15fe21dbb..b20688c1fd125 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleCloudStorageReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/GoogleCloudStorageReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Google Cloud Storage read settings. /// + [Newtonsoft.Json.JsonObject("GoogleCloudStorageReadSettings")] public partial class GoogleCloudStorageReadSettings : StoreReadSettings { /// @@ -59,13 +60,17 @@ public GoogleCloudStorageReadSettings() /// Specify the root path where /// partition discovery starts from. Type: string (or Expression with /// resultType string). + /// Indicates whether the + /// source files need to be deleted after copy completion. Default is + /// false. Type: boolean (or Expression with resultType + /// boolean). /// 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(IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object prefix = default(object), object fileListPath = default(object), bool? enablePartitionDiscovery = default(bool?), object partitionRootPath = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) + public GoogleCloudStorageReadSettings(IDictionary additionalProperties = default(IDictionary), object maxConcurrentConnections = default(object), object recursive = default(object), object wildcardFolderPath = default(object), object wildcardFileName = default(object), object prefix = default(object), object fileListPath = default(object), bool? enablePartitionDiscovery = default(bool?), object partitionRootPath = default(object), object deleteFilesAfterCompletion = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) : base(additionalProperties, maxConcurrentConnections) { Recursive = recursive; @@ -75,6 +80,7 @@ public GoogleCloudStorageReadSettings() FileListPath = fileListPath; EnablePartitionDiscovery = enablePartitionDiscovery; PartitionRootPath = partitionRootPath; + DeleteFilesAfterCompletion = deleteFilesAfterCompletion; ModifiedDatetimeStart = modifiedDatetimeStart; ModifiedDatetimeEnd = modifiedDatetimeEnd; CustomInit(); @@ -135,6 +141,14 @@ public GoogleCloudStorageReadSettings() [JsonProperty(PropertyName = "partitionRootPath")] public object PartitionRootPath { get; set; } + /// + /// Gets or sets indicates whether the source files need to be deleted + /// after copy completion. Default is false. Type: boolean (or + /// Expression with resultType boolean). + /// + [JsonProperty(PropertyName = "deleteFilesAfterCompletion")] + public object DeleteFilesAfterCompletion { get; set; } + /// /// Gets or sets the start of file's modified datetime. Type: string /// (or Expression with resultType string). 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 1a37594fddb3d..f1d96aa538799 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Greenplum Database source. /// + [Newtonsoft.Json.JsonObject("GreenplumSource")] public partial class GreenplumSource : TabularSource { /// 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 c07b4d655cb9c..7a3bcb95fef9c 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity HBase server source. /// + [Newtonsoft.Json.JsonObject("HBaseSource")] public partial class HBaseSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HdfsLocation.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HdfsLocation.cs index 0ce08f97e490f..cf7fc42390501 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HdfsLocation.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HdfsLocation.cs @@ -10,6 +10,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -17,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The location of HDFS. /// + [Newtonsoft.Json.JsonObject("HdfsLocation")] public partial class HdfsLocation : DatasetLocation { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HdfsReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HdfsReadSettings.cs index 3b5916fe2b6bc..6d2eab13cb435 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HdfsReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HdfsReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// HDFS read settings. /// + [Newtonsoft.Json.JsonObject("HdfsReadSettings")] public partial class HdfsReadSettings : StoreReadSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HdfsSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HdfsSource.cs index 51785dc84d0fb..b1b8b469a2904 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HdfsSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HdfsSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity HDFS source. /// + [Newtonsoft.Json.JsonObject("HdfsSource")] public partial class HdfsSource : CopySource { /// 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 75fa771c2e17c..fc9958398f7a4 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Hive Server source. /// + [Newtonsoft.Json.JsonObject("HiveSource")] public partial class HiveSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpReadSettings.cs index 31509b47b9797..bd769bf760274 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Sftp read settings. /// + [Newtonsoft.Json.JsonObject("HttpReadSettings")] public partial class HttpReadSettings : StoreReadSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpServerLocation.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpServerLocation.cs index 7191d425c23ac..6269e51f66711 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpServerLocation.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpServerLocation.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The location of http server. /// + [Newtonsoft.Json.JsonObject("HttpServerLocation")] public partial class HttpServerLocation : DatasetLocation { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpSource.cs index c027486cd3899..35d5da40faadb 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/HttpSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for an HTTP file. /// + [Newtonsoft.Json.JsonObject("HttpSource")] public partial class HttpSource : CopySource { /// 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 77827131a9038..bee86bed38697 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Hubspot Service source. /// + [Newtonsoft.Json.JsonObject("HubspotSource")] public partial class HubspotSource : TabularSource { /// 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 8b4909c31a04c..e5969536c1c08 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Impala server source. /// + [Newtonsoft.Json.JsonObject("ImpalaSource")] public partial class ImpalaSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ImportSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ImportSettings.cs index 675dbe68f59c9..84a98ceb4d2c1 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ImportSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ImportSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Import command settings. /// + [Newtonsoft.Json.JsonObject("ImportSettings")] public partial class ImportSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/InformixSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/InformixSink.cs index 0ceb858146c65..04e6307a3c2ba 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/InformixSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/InformixSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Informix sink. /// + [Newtonsoft.Json.JsonObject("InformixSink")] public partial class InformixSink : CopySink { /// 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 75ab200055a0d..5f9b09642e7d0 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for Informix. /// + [Newtonsoft.Json.JsonObject("InformixSource")] public partial class InformixSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/IntegrationRuntime.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/IntegrationRuntime.cs index 258558e598546..5ca6f698daa9c 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/IntegrationRuntime.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/IntegrationRuntime.cs @@ -19,6 +19,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// Azure Data Factory nested object which serves as a compute resource for /// activities. /// + [Newtonsoft.Json.JsonObject("IntegrationRuntime")] public partial class IntegrationRuntime { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/IntegrationRuntimeStatus.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/IntegrationRuntimeStatus.cs index b6f38456bf477..4d86da1810d28 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/IntegrationRuntimeStatus.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/IntegrationRuntimeStatus.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Integration runtime status. /// + [Newtonsoft.Json.JsonObject("IntegrationRuntimeStatus")] public partial class IntegrationRuntimeStatus { /// 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 f2e3ac2198692..e7defd4932a22 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Jira Service source. /// + [Newtonsoft.Json.JsonObject("JiraSource")] public partial class JiraSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonFormat.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonFormat.cs index 2dd88e7b2f548..88baf3b48ab8f 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonFormat.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonFormat.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The data stored in JSON format. /// + [Newtonsoft.Json.JsonObject("JsonFormat")] public partial class JsonFormat : DatasetStorageFormat { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonReadSettings.cs index 2adf88c2ccaa8..30dd99f27e368 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Json read settings. /// + [Newtonsoft.Json.JsonObject("JsonReadSettings")] public partial class JsonReadSettings : FormatReadSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonSink.cs index 703c9718ea8c8..c990d71c9c9dc 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Json sink. /// + [Newtonsoft.Json.JsonObject("JsonSink")] public partial class JsonSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonSource.cs index b2c26db1f5cdf..0ac27e6c1eeb5 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Json source. /// + [Newtonsoft.Json.JsonObject("JsonSource")] public partial class JsonSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonWriteSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonWriteSettings.cs index 3275192d280c0..666117ce25454 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonWriteSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/JsonWriteSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Json write settings. /// + [Newtonsoft.Json.JsonObject("JsonWriteSettings")] public partial class JsonWriteSettings : FormatWriteSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/LinkedIntegrationRuntimeType.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/LinkedIntegrationRuntimeType.cs index 5bbd862a10d4e..68fe0e012fd7f 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/LinkedIntegrationRuntimeType.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/LinkedIntegrationRuntimeType.cs @@ -10,11 +10,13 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Linq; /// /// The base definition of a linked integration runtime. /// + [Newtonsoft.Json.JsonObject("LinkedIntegrationRuntimeType")] public partial class LinkedIntegrationRuntimeType { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/LinkedService.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/LinkedService.cs index 8febd80e1fd97..7e3939c04b179 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/LinkedService.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/LinkedService.cs @@ -20,6 +20,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// credential which can be used to connect with related store or compute /// resource. /// + [Newtonsoft.Json.JsonObject("LinkedService")] public partial class LinkedService { /// 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 48727824427b7..8e6f0046c11e9 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Magento server source. /// + [Newtonsoft.Json.JsonObject("MagentoSource")] public partial class MagentoSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MappingDataFlow.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MappingDataFlow.cs index 5cb562ed62813..443f286c2e679 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MappingDataFlow.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MappingDataFlow.cs @@ -20,6 +20,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Mapping data flow. /// + [Newtonsoft.Json.JsonObject("MappingDataFlow")] [Rest.Serialization.JsonTransformation] public partial class MappingDataFlow : DataFlow { 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 ff229779be434..ba373fcf8d7b1 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity MariaDB server source. /// + [Newtonsoft.Json.JsonObject("MariaDBSource")] public partial class MariaDBSource : TabularSource { /// 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 28bef1db94de8..0ec707aae1703 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Marketo server source. /// + [Newtonsoft.Json.JsonObject("MarketoSource")] public partial class MarketoSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MicrosoftAccessSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MicrosoftAccessSink.cs index 899d6f038b430..f2eb59e0a5480 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MicrosoftAccessSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MicrosoftAccessSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Microsoft Access sink. /// + [Newtonsoft.Json.JsonObject("MicrosoftAccessSink")] public partial class MicrosoftAccessSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MicrosoftAccessSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MicrosoftAccessSource.cs index 6e7b633c1e821..cc644f755a047 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MicrosoftAccessSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MicrosoftAccessSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for Microsoft Access. /// + [Newtonsoft.Json.JsonObject("MicrosoftAccessSource")] public partial class MicrosoftAccessSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MongoDbSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MongoDbSource.cs index 0a52a0595a195..f51de83cee8d1 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MongoDbSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MongoDbSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for a MongoDB database. /// + [Newtonsoft.Json.JsonObject("MongoDbSource")] public partial class MongoDbSource : CopySource { /// 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 6a01c35f459eb..3e483976ae737 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 @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for a MongoDB database. /// + [Newtonsoft.Json.JsonObject("MongoDbV2Source")] public partial class MongoDbV2Source : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MultiplePipelineTrigger.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MultiplePipelineTrigger.cs index 8508ac6bd536f..ac4eac7ea540a 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MultiplePipelineTrigger.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/MultiplePipelineTrigger.cs @@ -19,6 +19,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// Base class for all triggers that support one to many model for trigger /// to pipeline. /// + [Newtonsoft.Json.JsonObject("MultiplePipelineTrigger")] public partial class MultiplePipelineTrigger : Trigger { /// 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 fe2d6f2c8b49f..c5646bd94fb13 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for MySQL databases. /// + [Newtonsoft.Json.JsonObject("MySqlSource")] public partial class MySqlSource : TabularSource { /// 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 8fb594325c2ff..6d00c4319b261 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Netezza source. /// + [Newtonsoft.Json.JsonObject("NetezzaSource")] public partial class NetezzaSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ODataSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ODataSource.cs index c1a762a34404f..838034ebf61ca 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ODataSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ODataSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for OData source. /// + [Newtonsoft.Json.JsonObject("ODataSource")] public partial class ODataSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OdbcSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OdbcSink.cs index 7151280b5eca8..8378613a8fee8 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OdbcSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OdbcSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity ODBC sink. /// + [Newtonsoft.Json.JsonObject("OdbcSink")] public partial class OdbcSink : CopySink { /// 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 4b23e68dbc2c0..851c647f3a61b 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for ODBC databases. /// + [Newtonsoft.Json.JsonObject("OdbcSource")] public partial class OdbcSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Office365Source.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Office365Source.cs index a76dbc6d10045..0c98aafdbc5c3 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Office365Source.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Office365Source.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for an Office 365 service. /// + [Newtonsoft.Json.JsonObject("Office365Source")] public partial class Office365Source : CopySource { /// 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 85bebc3151891..e762dd3b356cb 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Oracle Service Cloud source. /// + [Newtonsoft.Json.JsonObject("OracleServiceCloudSource")] public partial class OracleServiceCloudSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OracleSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OracleSink.cs index 7859a5c6260bb..23116274f5c69 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OracleSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OracleSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Oracle sink. /// + [Newtonsoft.Json.JsonObject("OracleSink")] public partial class OracleSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OracleSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OracleSource.cs index 059ee63e35f1b..747bdd7d9eaf8 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OracleSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OracleSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Oracle source. /// + [Newtonsoft.Json.JsonObject("OracleSource")] public partial class OracleSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OrcFormat.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OrcFormat.cs index 54b470f574f73..c99c28e819c6f 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OrcFormat.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OrcFormat.cs @@ -10,6 +10,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -17,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The data stored in Optimized Row Columnar (ORC) format. /// + [Newtonsoft.Json.JsonObject("OrcFormat")] public partial class OrcFormat : DatasetStorageFormat { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OrcSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OrcSink.cs index 0eb07d896d9eb..41edcf84ca446 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OrcSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OrcSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity ORC sink. /// + [Newtonsoft.Json.JsonObject("OrcSink")] public partial class OrcSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OrcSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OrcSource.cs index 1ce24de451e39..910d3faab8d21 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OrcSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OrcSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity ORC source. /// + [Newtonsoft.Json.JsonObject("OrcSource")] public partial class OrcSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ParquetFormat.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ParquetFormat.cs index c805ef9890150..6ee512ca4e7bb 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ParquetFormat.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ParquetFormat.cs @@ -10,6 +10,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -17,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The data stored in Parquet format. /// + [Newtonsoft.Json.JsonObject("ParquetFormat")] public partial class ParquetFormat : DatasetStorageFormat { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ParquetSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ParquetSink.cs index 67b95379fe09b..df738dd7d9522 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ParquetSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ParquetSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Parquet sink. /// + [Newtonsoft.Json.JsonObject("ParquetSink")] public partial class ParquetSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ParquetSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ParquetSource.cs index a690fa20f0077..acf0ae17b4b50 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ParquetSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ParquetSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Parquet source. /// + [Newtonsoft.Json.JsonObject("ParquetSource")] public partial class ParquetSource : CopySource { /// 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 2ba6aca82d473..987977206f2f8 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Paypal Service source. /// + [Newtonsoft.Json.JsonObject("PaypalSource")] public partial class PaypalSource : TabularSource { /// 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 bffd002c777dd..e127d7809999c 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Phoenix server source. /// + [Newtonsoft.Json.JsonObject("PhoenixSource")] public partial class PhoenixSource : TabularSource { /// 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 c21c6e08b2b25..45cc55e730f4b 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for PostgreSQL databases. /// + [Newtonsoft.Json.JsonObject("PostgreSqlSource")] public partial class PostgreSqlSource : TabularSource { /// 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 6b494ef52f014..ddbf705631535 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Presto server source. /// + [Newtonsoft.Json.JsonObject("PrestoSource")] public partial class PrestoSource : TabularSource { /// 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 d181a2809aa43..e78eb0511f41a 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity QuickBooks server source. /// + [Newtonsoft.Json.JsonObject("QuickBooksSource")] public partial class QuickBooksSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RelationalSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RelationalSource.cs index bb527e17836b5..e33bb85e74bec 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RelationalSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RelationalSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for various relational databases. /// + [Newtonsoft.Json.JsonObject("RelationalSource")] public partial class RelationalSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RerunTumblingWindowTrigger.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RerunTumblingWindowTrigger.cs index c2a69f7c1acbd..ab4f6f8156390 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RerunTumblingWindowTrigger.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RerunTumblingWindowTrigger.cs @@ -21,6 +21,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// Trigger that schedules pipeline reruns for all fixed time interval /// windows from a requested start time to requested end time. /// + [Newtonsoft.Json.JsonObject("RerunTumblingWindowTrigger")] [Rest.Serialization.JsonTransformation] public partial class RerunTumblingWindowTrigger : Trigger { 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 86190174d63f5..e7e597caf9f46 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Responsys source. /// + [Newtonsoft.Json.JsonObject("ResponsysSource")] public partial class ResponsysSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RestSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RestSource.cs index 20cc801350b24..706fff7570d76 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RestSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/RestSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Rest service source. /// + [Newtonsoft.Json.JsonObject("RestSource")] public partial class RestSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SsisPackageLocation.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SSISPackageLocation.cs similarity index 100% rename from sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SsisPackageLocation.cs rename to sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SSISPackageLocation.cs 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 846561716b678..7fdcf0a3476d9 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Salesforce Marketing Cloud source. /// + [Newtonsoft.Json.JsonObject("SalesforceMarketingCloudSource")] public partial class SalesforceMarketingCloudSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceServiceCloudSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceServiceCloudSink.cs index a260bddc659ce..08623a60527fe 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceServiceCloudSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceServiceCloudSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Salesforce Service Cloud sink. /// + [Newtonsoft.Json.JsonObject("SalesforceServiceCloudSink")] public partial class SalesforceServiceCloudSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceServiceCloudSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceServiceCloudSource.cs index a9789ac71e324..9ea95b4434029 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceServiceCloudSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceServiceCloudSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Salesforce Service Cloud source. /// + [Newtonsoft.Json.JsonObject("SalesforceServiceCloudSource")] public partial class SalesforceServiceCloudSource : CopySource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceSink.cs index cba5c69045413..0eeb7925a9d97 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SalesforceSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Salesforce sink. /// + [Newtonsoft.Json.JsonObject("SalesforceSink")] public partial class SalesforceSink : CopySink { /// 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 b340de99073c4..cc452ac223212 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Salesforce source. /// + [Newtonsoft.Json.JsonObject("SalesforceSource")] public partial class SalesforceSource : TabularSource { /// 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 0b0864e91c284..2fb5031e05785 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for SapBW server via MDX. /// + [Newtonsoft.Json.JsonObject("SapBwSource")] public partial class SapBwSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapCloudForCustomerSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapCloudForCustomerSink.cs index 6f956ef1be052..e197e399d0c86 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapCloudForCustomerSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SapCloudForCustomerSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity SAP Cloud for Customer sink. /// + [Newtonsoft.Json.JsonObject("SapCloudForCustomerSink")] public partial class SapCloudForCustomerSink : CopySink { /// 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 ff66c667f61bf..292fea8f6ab72 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for SAP Cloud for Customer source. /// + [Newtonsoft.Json.JsonObject("SapCloudForCustomerSource")] public partial class SapCloudForCustomerSource : TabularSource { /// 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 d61b74c6c814e..292bb8ddfe956 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for SAP ECC source. /// + [Newtonsoft.Json.JsonObject("SapEccSource")] public partial class SapEccSource : TabularSource { /// 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 88592f71a5aaa..1486086bb6b52 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for SAP HANA source. /// + [Newtonsoft.Json.JsonObject("SapHanaSource")] public partial class SapHanaSource : TabularSource { /// 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 fdf89ffbc0851..88662a6710aa6 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,6 +19,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// A copy activity source for SAP Business Warehouse Open Hub Destination /// source. /// + [Newtonsoft.Json.JsonObject("SapOpenHubSource")] public partial class SapOpenHubSource : TabularSource { /// 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 bbf90efc064fb..b8bed6701dedf 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for SAP Table source. /// + [Newtonsoft.Json.JsonObject("SapTableSource")] public partial class SapTableSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ScheduleTrigger.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ScheduleTrigger.cs index c001f6fabce1a..16258d4f95484 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ScheduleTrigger.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ScheduleTrigger.cs @@ -20,6 +20,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Trigger that creates pipeline runs periodically, on schedule. /// + [Newtonsoft.Json.JsonObject("ScheduleTrigger")] [Rest.Serialization.JsonTransformation] public partial class ScheduleTrigger : MultiplePipelineTrigger { diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SecretBase.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SecretBase.cs index 893914a82e131..cdfddc5a08dc6 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SecretBase.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SecretBase.cs @@ -10,11 +10,13 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Linq; /// /// The base definition of a secret type. /// + [Newtonsoft.Json.JsonObject("SecretBase")] public partial class SecretBase { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SecureString.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SecureString.cs index 1416b8d28183e..f83930f246f05 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SecureString.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SecureString.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// Azure Data Factory secure string definition. The string value will be /// masked with asterisks '*' during Get or List API calls. /// + [Newtonsoft.Json.JsonObject("SecureString")] public partial class SecureString : SecretBase { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SelfDependencyTumblingWindowTriggerReference.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SelfDependencyTumblingWindowTriggerReference.cs index 71d386c8a657e..dd94cbcb3d813 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SelfDependencyTumblingWindowTriggerReference.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SelfDependencyTumblingWindowTriggerReference.cs @@ -17,6 +17,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Self referenced tumbling window trigger dependency. /// + [Newtonsoft.Json.JsonObject("SelfDependencyTumblingWindowTriggerReference")] public partial class SelfDependencyTumblingWindowTriggerReference : DependencyReference { /// 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 ebfe9aa1e1e4b..5a47630662e05 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity ServiceNow server source. /// + [Newtonsoft.Json.JsonObject("ServiceNowSource")] public partial class ServiceNowSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpLocation.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpLocation.cs index 74202e259808c..46bf4fff58141 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpLocation.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpLocation.cs @@ -10,6 +10,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models { + using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -17,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The location of SFTP dataset. /// + [Newtonsoft.Json.JsonObject("SftpLocation")] public partial class SftpLocation : DatasetLocation { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpReadSettings.cs index c8ef2a08a1791..34a719380034b 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Sftp read settings. /// + [Newtonsoft.Json.JsonObject("SftpReadSettings")] public partial class SftpReadSettings : StoreReadSettings { /// @@ -52,13 +53,17 @@ public SftpReadSettings() /// file (relative path to the path configured in the dataset) that you /// want to copy. Type: string (or Expression with resultType /// string). + /// Indicates whether the + /// source files need to be deleted after copy completion. Default is + /// false. Type: boolean (or Expression with resultType + /// boolean). /// 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 SftpReadSettings(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 partitionRootPath = default(object), object fileListPath = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) + public SftpReadSettings(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 partitionRootPath = default(object), object fileListPath = default(object), object deleteFilesAfterCompletion = default(object), object modifiedDatetimeStart = default(object), object modifiedDatetimeEnd = default(object)) : base(additionalProperties, maxConcurrentConnections) { Recursive = recursive; @@ -67,6 +72,7 @@ public SftpReadSettings() EnablePartitionDiscovery = enablePartitionDiscovery; PartitionRootPath = partitionRootPath; FileListPath = fileListPath; + DeleteFilesAfterCompletion = deleteFilesAfterCompletion; ModifiedDatetimeStart = modifiedDatetimeStart; ModifiedDatetimeEnd = modifiedDatetimeEnd; CustomInit(); @@ -120,6 +126,14 @@ public SftpReadSettings() [JsonProperty(PropertyName = "fileListPath")] public object FileListPath { get; set; } + /// + /// Gets or sets indicates whether the source files need to be deleted + /// after copy completion. Default is false. Type: boolean (or + /// Expression with resultType boolean). + /// + [JsonProperty(PropertyName = "deleteFilesAfterCompletion")] + public object DeleteFilesAfterCompletion { get; set; } + /// /// Gets or sets the start of file's modified datetime. Type: string /// (or Expression with resultType string). diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpWriteSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpWriteSettings.cs index 00727e5df994e..8b4354cff26b8 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpWriteSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SftpWriteSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Sftp write settings. /// + [Newtonsoft.Json.JsonObject("SftpWriteSettings")] public partial class SftpWriteSettings : StoreWriteSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SharePointOnlineListSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SharePointOnlineListSource.cs index c8cfd33d4a8c5..bba51b4859305 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SharePointOnlineListSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SharePointOnlineListSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for sharePoint online list source. /// + [Newtonsoft.Json.JsonObject("SharePointOnlineListSource")] public partial class SharePointOnlineListSource : CopySource { /// 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 328c47524866b..1448f55e2a1a5 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Shopify Service source. /// + [Newtonsoft.Json.JsonObject("ShopifySource")] public partial class ShopifySource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeExportCopyCommand.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeExportCopyCommand.cs index 2f418b36258a7..802d079e52c25 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeExportCopyCommand.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeExportCopyCommand.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Snowflake export command settings. /// + [Newtonsoft.Json.JsonObject("SnowflakeExportCopyCommand")] public partial class SnowflakeExportCopyCommand : ExportSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeImportCopyCommand.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeImportCopyCommand.cs index f4294ba96d931..424c84e63ee38 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeImportCopyCommand.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeImportCopyCommand.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Snowflake import command settings. /// + [Newtonsoft.Json.JsonObject("SnowflakeImportCopyCommand")] public partial class SnowflakeImportCopyCommand : ImportSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeSink.cs index 862c7ba4c3fdf..6bfdd07764198 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity snowflake sink. /// + [Newtonsoft.Json.JsonObject("SnowflakeSink")] public partial class SnowflakeSink : CopySink { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeSource.cs index 7d8f0888a1e96..b7eddd52e4ad6 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SnowflakeSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity snowflake source. /// + [Newtonsoft.Json.JsonObject("SnowflakeSource")] public partial class SnowflakeSource : CopySource { /// 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 e89e16aa27c9a..76d698fc6eb81 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Spark Server source. /// + [Newtonsoft.Json.JsonObject("SparkSource")] public partial class SparkSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlDWSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlDWSink.cs index f65e11b3dc108..d313ed178870e 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlDWSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlDWSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity SQL Data Warehouse sink. /// + [Newtonsoft.Json.JsonObject("SqlDWSink")] public partial class SqlDWSink : CopySink { /// 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 2a3fd9dba7354..811aac39aac6a 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity SQL Data Warehouse source. /// + [Newtonsoft.Json.JsonObject("SqlDWSource")] public partial class SqlDWSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlMISink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlMISink.cs index d64ed35f2ae21..89bf0241ccafc 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlMISink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlMISink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure SQL Managed Instance sink. /// + [Newtonsoft.Json.JsonObject("SqlMISink")] public partial class SqlMISink : CopySink { /// 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 96d8c313fa39c..0d67fae3f22fe 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Azure SQL Managed Instance source. /// + [Newtonsoft.Json.JsonObject("SqlMISource")] public partial class SqlMISource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlServerSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlServerSink.cs index ab3da5038a7d5..f1585f2805068 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlServerSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlServerSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity SQL server sink. /// + [Newtonsoft.Json.JsonObject("SqlServerSink")] public partial class SqlServerSink : CopySink { /// 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 c1cbb89d92024..3822a84c4fef7 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity SQL server source. /// + [Newtonsoft.Json.JsonObject("SqlServerSource")] public partial class SqlServerSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlSink.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlSink.cs index a388a568e45f7..17f05662b71a5 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlSink.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SqlSink.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity SQL sink. /// + [Newtonsoft.Json.JsonObject("SqlSink")] public partial class SqlSink : CopySink { /// 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 7fab6677c3f03..960a96ae7f87e 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity SQL source. /// + [Newtonsoft.Json.JsonObject("SqlSource")] public partial class SqlSource : TabularSource { /// 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 776789018a180..c220acc6c3112 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Square Service source. /// + [Newtonsoft.Json.JsonObject("SquareSource")] public partial class SquareSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SsisObjectMetadata.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SsisObjectMetadata.cs index 83b77940a1c26..2825c5d17cd18 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SsisObjectMetadata.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/SsisObjectMetadata.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// SSIS object metadata. /// + [Newtonsoft.Json.JsonObject("SsisObjectMetadata")] public partial class SsisObjectMetadata { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/StoreReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/StoreReadSettings.cs index 2cb7c32dd5329..ef181a170d71c 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/StoreReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/StoreReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Connector read setting. /// + [Newtonsoft.Json.JsonObject("StoreReadSettings")] public partial class StoreReadSettings { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/StoreWriteSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/StoreWriteSettings.cs index 0346d5e0d099a..cc560bd772c4c 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/StoreWriteSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/StoreWriteSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Connector write settings. /// + [Newtonsoft.Json.JsonObject("StoreWriteSettings")] public partial class StoreWriteSettings { /// 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 554c210f05ec1..a63825e37e1ec 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for Sybase databases. /// + [Newtonsoft.Json.JsonObject("SybaseSource")] public partial class SybaseSource : TabularSource { /// 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 index a93d259960346..b0bbf70c44849 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TabularSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TabularSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Copy activity sources of tabular type. /// + [Newtonsoft.Json.JsonObject("TabularSource")] public partial class TabularSource : CopySource { /// 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 515880a573489..134a99bfbcbd4 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Teradata source. /// + [Newtonsoft.Json.JsonObject("TeradataSource")] public partial class TeradataSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TextFormat.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TextFormat.cs index 8e74882f55e61..c658723b27949 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TextFormat.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TextFormat.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The data stored in text format. /// + [Newtonsoft.Json.JsonObject("TextFormat")] public partial class TextFormat : DatasetStorageFormat { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Trigger.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Trigger.cs index 1462131fd8d0b..d9406e0ae8fdc 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Trigger.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/Trigger.cs @@ -19,6 +19,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// Azure data factory nested object which contains information about /// creating pipeline run /// + [Newtonsoft.Json.JsonObject("Trigger")] public partial class Trigger { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TriggerDependencyReference.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TriggerDependencyReference.cs index 0081378e4e2bb..16afbd449761d 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TriggerDependencyReference.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TriggerDependencyReference.cs @@ -17,6 +17,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Trigger referenced dependency. /// + [Newtonsoft.Json.JsonObject("TriggerDependencyReference")] public partial class TriggerDependencyReference : DependencyReference { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TumblingWindowTrigger.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TumblingWindowTrigger.cs index 5a56eb8d06cdd..ae5f2027ebb9e 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TumblingWindowTrigger.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TumblingWindowTrigger.cs @@ -22,6 +22,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// windows from a start time without gaps and also supports backfill /// scenarios (when start time is in the past). /// + [Newtonsoft.Json.JsonObject("TumblingWindowTrigger")] [Rest.Serialization.JsonTransformation] public partial class TumblingWindowTrigger : Trigger { diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TumblingWindowTriggerDependencyReference.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TumblingWindowTriggerDependencyReference.cs index b274d37a76361..a204670dfdb25 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TumblingWindowTriggerDependencyReference.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/TumblingWindowTriggerDependencyReference.cs @@ -17,6 +17,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Referenced tumbling window trigger dependency. /// + [Newtonsoft.Json.JsonObject("TumblingWindowTriggerDependencyReference")] public partial class TumblingWindowTriggerDependencyReference : TriggerDependencyReference { /// 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 47cb983546846..bbcfe1a6ffdcd 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Vertica source. /// + [Newtonsoft.Json.JsonObject("VerticaSource")] public partial class VerticaSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WaitActivity.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WaitActivity.cs index ebbd56af6d1d2..a64134ca3d937 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WaitActivity.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WaitActivity.cs @@ -42,7 +42,7 @@ public WaitActivity() /// Activity description. /// Activity depends on condition. /// Activity user properties. - public WaitActivity(string name, int waitTimeInSeconds, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), IList userProperties = default(IList)) + public WaitActivity(string name, object waitTimeInSeconds, IDictionary additionalProperties = default(IDictionary), string description = default(string), IList dependsOn = default(IList), IList userProperties = default(IList)) : base(name, additionalProperties, description, dependsOn, userProperties) { WaitTimeInSeconds = waitTimeInSeconds; @@ -58,7 +58,7 @@ public WaitActivity() /// Gets or sets duration in seconds. /// [JsonProperty(PropertyName = "typeProperties.waitTimeInSeconds")] - public int WaitTimeInSeconds { get; set; } + public object WaitTimeInSeconds { get; set; } /// /// Validate the object. @@ -69,6 +69,10 @@ public WaitActivity() public override void Validate() { base.Validate(); + if (WaitTimeInSeconds == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "WaitTimeInSeconds"); + } } } } diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WebActivity.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WebActivity.cs index 22903288be1cc..a5e17623e2dd7 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WebActivity.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WebActivity.cs @@ -20,6 +20,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// Web activity. /// + [Newtonsoft.Json.JsonObject("WebActivity")] [Rest.Serialization.JsonTransformation] public partial class WebActivity : ExecutionActivity { diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WebLinkedServiceTypeProperties.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WebLinkedServiceTypeProperties.cs index 7a4f8008b7244..621ea1976fe58 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WebLinkedServiceTypeProperties.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WebLinkedServiceTypeProperties.cs @@ -19,6 +19,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// is polymorphic based on authenticationType, so not flattened in SDK /// models. /// + [Newtonsoft.Json.JsonObject("WebLinkedServiceTypeProperties")] public partial class WebLinkedServiceTypeProperties { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WebSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WebSource.cs index ab7df4ae873d5..5a53a98e34ab3 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WebSource.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/WebSource.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity source for web page table. /// + [Newtonsoft.Json.JsonObject("WebSource")] public partial class WebSource : CopySource { /// 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 96a74f91375d9..ed8bc30bec6dc 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Xero Service source. /// + [Newtonsoft.Json.JsonObject("XeroSource")] public partial class XeroSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/XmlDataset.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/XmlDataset.cs new file mode 100644 index 0000000000000..81ec8e31953d6 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/XmlDataset.cs @@ -0,0 +1,126 @@ +// +// 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; + + /// + /// Xml dataset. + /// + [Newtonsoft.Json.JsonObject("Xml")] + [Rest.Serialization.JsonTransformation] + public partial class XmlDataset : Dataset + { + /// + /// Initializes a new instance of the XmlDataset class. + /// + public XmlDataset() + { + LinkedServiceName = new LinkedServiceReference(); + CustomInit(); + } + + /// + /// Initializes a new instance of the XmlDataset class. + /// + /// Linked service reference. + /// The location of the json data + /// storage. + /// Unmatched properties from the + /// message are deserialized this collection + /// Dataset description. + /// Columns that define the structure of the + /// dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetDataElement. + /// Columns that define the physical type schema + /// of the dataset. Type: array (or Expression with resultType array), + /// itemType: DatasetSchemaDataElement. + /// Parameters for dataset. + /// List of tags that can be used for + /// describing the Dataset. + /// The folder that this Dataset is in. If not + /// specified, Dataset will appear at the root level. + /// The code page name of the preferred + /// encoding. If not specified, the default value is UTF-8, unless BOM + /// denotes another Unicode encoding. Refer to the name column of the + /// table in the following link to set supported values: + /// https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: + /// string (or Expression with resultType string). + /// The null value string. Type: string (or + /// Expression with resultType string). + /// The data compression method used for the + /// json dataset. + public XmlDataset(LinkedServiceReference linkedServiceName, DatasetLocation location, 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 encodingName = default(object), object nullValue = default(object), DatasetCompression compression = default(DatasetCompression)) + : base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) + { + Location = location; + EncodingName = encodingName; + NullValue = nullValue; + Compression = compression; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the location of the json data storage. + /// + [JsonProperty(PropertyName = "typeProperties.location")] + public DatasetLocation Location { get; set; } + + /// + /// Gets or sets the code page name of the preferred encoding. If not + /// specified, the default value is UTF-8, unless BOM denotes another + /// Unicode encoding. Refer to the name column of the table in the + /// following link to set supported values: + /// https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: + /// string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.encodingName")] + public object EncodingName { get; set; } + + /// + /// Gets or sets the null value string. Type: string (or Expression + /// with resultType string). + /// + [JsonProperty(PropertyName = "typeProperties.nullValue")] + public object NullValue { get; set; } + + /// + /// Gets or sets the data compression method used for the json dataset. + /// + [JsonProperty(PropertyName = "typeProperties.compression")] + public DatasetCompression Compression { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Location"); + } + } + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/XmlReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/XmlReadSettings.cs new file mode 100644 index 0000000000000..8d962261fad58 --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/XmlReadSettings.cs @@ -0,0 +1,87 @@ +// +// 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; + + /// + /// Xml read settings. + /// + [Newtonsoft.Json.JsonObject("XmlReadSettings")] + public partial class XmlReadSettings : FormatReadSettings + { + /// + /// Initializes a new instance of the XmlReadSettings class. + /// + public XmlReadSettings() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the XmlReadSettings class. + /// + /// Unmatched properties from the + /// message are deserialized this collection + /// Compression settings. + /// Indicates what validation method is + /// used when reading the xml files. Allowed values: 'none', 'xsd', or + /// 'dtd'. Type: string (or Expression with resultType string). + /// Namespace uri to prefix mappings to + /// override the prefixes in column names when namespace is enabled, if + /// no prefix is defined for a namespace uri, the prefix of xml + /// element/attribute name in the xml data file will be used. Example: + /// "{"http://www.example.com/xml":"prefix"}" Type: object (or + /// Expression with resultType object). + public XmlReadSettings(IDictionary additionalProperties = default(IDictionary), CompressionReadSettings compressionProperties = default(CompressionReadSettings), object validationMode = default(object), object namespacePrefixes = default(object)) + : base(additionalProperties) + { + CompressionProperties = compressionProperties; + ValidationMode = validationMode; + NamespacePrefixes = namespacePrefixes; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets compression settings. + /// + [JsonProperty(PropertyName = "compressionProperties")] + public CompressionReadSettings CompressionProperties { get; set; } + + /// + /// Gets or sets indicates what validation method is used when reading + /// the xml files. Allowed values: 'none', 'xsd', or 'dtd'. Type: + /// string (or Expression with resultType string). + /// + [JsonProperty(PropertyName = "validationMode")] + public object ValidationMode { get; set; } + + /// + /// Gets or sets namespace uri to prefix mappings to override the + /// prefixes in column names when namespace is enabled, if no prefix is + /// defined for a namespace uri, the prefix of xml element/attribute + /// name in the xml data file will be used. Example: + /// "{"http://www.example.com/xml":"prefix"}" Type: object (or + /// Expression with resultType object). + /// + [JsonProperty(PropertyName = "namespacePrefixes")] + public object NamespacePrefixes { get; set; } + + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/XmlSource.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/XmlSource.cs new file mode 100644 index 0000000000000..dfeb9877e7b6d --- /dev/null +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/XmlSource.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 Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A copy activity Xml source. + /// + [Newtonsoft.Json.JsonObject("XmlSource")] + public partial class XmlSource : CopySource + { + /// + /// Initializes a new instance of the XmlSource class. + /// + public XmlSource() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the XmlSource 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). + /// Xml store settings. + /// Xml format settings. + /// Specifies the additional columns to + /// be added to source data. Type: array of objects (or Expression with + /// resultType array of objects). + public XmlSource(IDictionary additionalProperties = default(IDictionary), object sourceRetryCount = default(object), object sourceRetryWait = default(object), object maxConcurrentConnections = default(object), StoreReadSettings storeSettings = default(StoreReadSettings), XmlReadSettings formatSettings = default(XmlReadSettings), IList additionalColumns = default(IList)) + : base(additionalProperties, sourceRetryCount, sourceRetryWait, maxConcurrentConnections) + { + StoreSettings = storeSettings; + FormatSettings = formatSettings; + AdditionalColumns = additionalColumns; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets xml store settings. + /// + [JsonProperty(PropertyName = "storeSettings")] + public StoreReadSettings StoreSettings { get; set; } + + /// + /// Gets or sets xml format settings. + /// + [JsonProperty(PropertyName = "formatSettings")] + public XmlReadSettings FormatSettings { get; set; } + + /// + /// Gets or sets specifies the additional columns to be added to source + /// data. Type: array of objects (or Expression with resultType array + /// of objects). + /// + [JsonProperty(PropertyName = "additionalColumns")] + public IList AdditionalColumns { get; set; } + + } +} diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ZipDeflateReadSettings.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ZipDeflateReadSettings.cs index 9bbbef4387174..f2056c266b547 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ZipDeflateReadSettings.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/ZipDeflateReadSettings.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// The ZipDeflate compression read settings. /// + [Newtonsoft.Json.JsonObject("ZipDeflateReadSettings")] public partial class ZipDeflateReadSettings : CompressionReadSettings { /// 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 6cc6a0b1f5d02..d3449a307c68c 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,6 +18,7 @@ namespace Microsoft.Azure.Management.DataFactory.Models /// /// A copy activity Zoho server source. /// + [Newtonsoft.Json.JsonObject("ZohoSource")] public partial class ZohoSource : TabularSource { /// diff --git a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/SdkInfo_DataFactoryManagementClient.cs b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/SdkInfo_DataFactoryManagementClient.cs index 40a91383da49a..b31348b3961b2 100644 --- a/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/SdkInfo_DataFactoryManagementClient.cs +++ b/sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/SdkInfo_DataFactoryManagementClient.cs @@ -37,16 +37,5 @@ public static IEnumerable> ApiInfo_DataFactoryMana }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "v2"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datafactory/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-2018-06 --csharp-sdks-folder=D:\\Git\\AdmsSdkChange\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "98f100daf12446cbdc6359ba9b34e8a10f8410f3"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -