diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/DataSetMappingsOperations.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/DataSetMappingsOperations.cs index fc22f3363690..497326a964ec 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/DataSetMappingsOperations.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/DataSetMappingsOperations.cs @@ -280,7 +280,7 @@ internal DataSetMappingsOperations(DataShareManagementClient client) /// The name of the share subscription which will hold the data set sink. /// /// - /// The Id of the source data set being mapped. + /// The name of the data set mapping to be created. /// /// /// Destination data set configuration details. diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/DataSetMappingsOperationsExtensions.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/DataSetMappingsOperationsExtensions.cs index ac960b569820..536a42bddc6c 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/DataSetMappingsOperationsExtensions.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/DataSetMappingsOperationsExtensions.cs @@ -100,7 +100,7 @@ public static DataSetMapping Get(this IDataSetMappingsOperations operations, str /// The name of the share subscription which will hold the data set sink. /// /// - /// The Id of the source data set being mapped. + /// The name of the data set mapping to be created. /// /// /// Destination data set configuration details. @@ -131,7 +131,7 @@ public static DataSetMapping Create(this IDataSetMappingsOperations operations, /// The name of the share subscription which will hold the data set sink. /// /// - /// The Id of the source data set being mapped. + /// The name of the data set mapping to be created. /// /// /// Destination data set configuration details. diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/IDataSetMappingsOperations.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/IDataSetMappingsOperations.cs index 89eddd886660..ef1bfed000fb 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/IDataSetMappingsOperations.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/IDataSetMappingsOperations.cs @@ -76,7 +76,7 @@ public partial interface IDataSetMappingsOperations /// sink. /// /// - /// The Id of the source data set being mapped. + /// The name of the data set mapping to be created. /// /// /// Destination data set configuration details. diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen1FileDataSet.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen1FileDataSet.cs index 09f3fa0b1191..5928d47e607f 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen1FileDataSet.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen1FileDataSet.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// An ADLS Gen 1 file dataset. + /// An ADLS Gen 1 file data set. /// [Newtonsoft.Json.JsonObject("AdlsGen1File")] [Rest.Serialization.JsonTransformation] diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen1FolderDataSet.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen1FolderDataSet.cs index 13115b26a122..056d4d69dcf4 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen1FolderDataSet.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen1FolderDataSet.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// An ADLS Gen 1 folder dataset. + /// An ADLS Gen 1 folder data set. /// [Newtonsoft.Json.JsonObject("AdlsGen1Folder")] [Rest.Serialization.JsonTransformation] diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileDataSet.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileDataSet.cs index 90248b341df3..92c8ae2b32d3 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileDataSet.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileDataSet.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// An ADLS Gen 2 file dataset. + /// An ADLS Gen 2 file data set. /// [Newtonsoft.Json.JsonObject("AdlsGen2File")] [Rest.Serialization.JsonTransformation] diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileDataSetMapping.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileDataSetMapping.cs index 6b57f7c0a17f..a2d9d3379bac 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileDataSetMapping.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileDataSetMapping.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// An ADLS Gen2 file dataset mapping. + /// An ADLS Gen2 file data set mapping. /// [Newtonsoft.Json.JsonObject("AdlsGen2File")] [Rest.Serialization.JsonTransformation] @@ -33,6 +33,7 @@ public ADLSGen2FileDataSetMapping() /// /// Initializes a new instance of the ADLSGen2FileDataSetMapping class. /// + /// The id of the source data set. /// File path within the file system. /// File system to which the file /// belongs. @@ -45,12 +46,11 @@ public ADLSGen2FileDataSetMapping() /// The resource id of the azure resource /// Name of the azure resource /// Type of the azure resource - /// Gets the id of source dataset. - /// Gets the status of the dataset + /// Gets the status of the data set /// mapping. Possible values include: 'Ok', 'Broken' /// Type of output file. Possible values /// include: 'Csv', 'Parquet' - public ADLSGen2FileDataSetMapping(string filePath, string fileSystem, string resourceGroup, string storageAccountName, string subscriptionId, string id = default(string), string name = default(string), string type = default(string), string dataSetId = default(string), string dataSetMappingStatus = default(string), string outputType = default(string)) + public ADLSGen2FileDataSetMapping(string dataSetId, string filePath, string fileSystem, string resourceGroup, string storageAccountName, string subscriptionId, string id = default(string), string name = default(string), string type = default(string), string dataSetMappingStatus = default(string), string outputType = default(string)) : base(id, name, type) { DataSetId = dataSetId; @@ -70,13 +70,13 @@ public ADLSGen2FileDataSetMapping() partial void CustomInit(); /// - /// Gets the id of source dataset. + /// Gets or sets the id of the source data set. /// [JsonProperty(PropertyName = "properties.dataSetId")] public string DataSetId { get; set; } /// - /// Gets the status of the dataset mapping. Possible values include: + /// Gets the status of the data set mapping. Possible values include: /// 'Ok', 'Broken' /// [JsonProperty(PropertyName = "properties.dataSetMappingStatus")] @@ -127,6 +127,10 @@ public ADLSGen2FileDataSetMapping() /// public virtual void Validate() { + if (DataSetId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DataSetId"); + } if (FilePath == null) { throw new ValidationException(ValidationRules.CannotBeNull, "FilePath"); diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileSystemDataSet.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileSystemDataSet.cs index a367f4865b5e..a3125d86d880 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileSystemDataSet.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileSystemDataSet.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// An ADLS Gen 2 file system dataset. + /// An ADLS Gen 2 file system data set. /// [Newtonsoft.Json.JsonObject("AdlsGen2FileSystem")] [Rest.Serialization.JsonTransformation] diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileSystemDataSetMapping.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileSystemDataSetMapping.cs index e8eefa884d2c..03c793d81776 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileSystemDataSetMapping.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FileSystemDataSetMapping.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// An ADLS Gen2 file system dataset mapping. + /// An ADLS Gen2 file system data set mapping. /// [Newtonsoft.Json.JsonObject("AdlsGen2FileSystem")] [Rest.Serialization.JsonTransformation] @@ -35,6 +35,7 @@ public ADLSGen2FileSystemDataSetMapping() /// Initializes a new instance of the ADLSGen2FileSystemDataSetMapping /// class. /// + /// The id of the source data set. /// The file system name. /// Resource group of storage /// account. @@ -45,10 +46,9 @@ public ADLSGen2FileSystemDataSetMapping() /// The resource id of the azure resource /// Name of the azure resource /// Type of the azure resource - /// Gets the id of source dataset. - /// Gets the status of the dataset + /// Gets the status of the data set /// mapping. Possible values include: 'Ok', 'Broken' - public ADLSGen2FileSystemDataSetMapping(string fileSystem, string resourceGroup, string storageAccountName, string subscriptionId, string id = default(string), string name = default(string), string type = default(string), string dataSetId = default(string), string dataSetMappingStatus = default(string)) + public ADLSGen2FileSystemDataSetMapping(string dataSetId, string fileSystem, string resourceGroup, string storageAccountName, string subscriptionId, string id = default(string), string name = default(string), string type = default(string), string dataSetMappingStatus = default(string)) : base(id, name, type) { DataSetId = dataSetId; @@ -66,13 +66,13 @@ public ADLSGen2FileSystemDataSetMapping() partial void CustomInit(); /// - /// Gets the id of source dataset. + /// Gets or sets the id of the source data set. /// [JsonProperty(PropertyName = "properties.dataSetId")] public string DataSetId { get; set; } /// - /// Gets the status of the dataset mapping. Possible values include: + /// Gets the status of the data set mapping. Possible values include: /// 'Ok', 'Broken' /// [JsonProperty(PropertyName = "properties.dataSetMappingStatus")] @@ -110,6 +110,10 @@ public ADLSGen2FileSystemDataSetMapping() /// public virtual void Validate() { + if (DataSetId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DataSetId"); + } if (FileSystem == null) { throw new ValidationException(ValidationRules.CannotBeNull, "FileSystem"); diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FolderDataSet.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FolderDataSet.cs index 0188b8c616f8..fedc5729afd5 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FolderDataSet.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FolderDataSet.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// An ADLS Gen 2 folder dataset. + /// An ADLS Gen 2 folder data set. /// [Newtonsoft.Json.JsonObject("AdlsGen2Folder")] [Rest.Serialization.JsonTransformation] diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FolderDataSetMapping.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FolderDataSetMapping.cs index 57f162bc5ef0..8dba6abe511e 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FolderDataSetMapping.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/ADLSGen2FolderDataSetMapping.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// An ADLS Gen2 folder dataset mapping. + /// An ADLS Gen2 folder data set mapping. /// [Newtonsoft.Json.JsonObject("AdlsGen2Folder")] [Rest.Serialization.JsonTransformation] @@ -35,6 +35,7 @@ public ADLSGen2FolderDataSetMapping() /// Initializes a new instance of the ADLSGen2FolderDataSetMapping /// class. /// + /// The id of the source data set. /// File system to which the folder /// belongs. /// Folder path within the file @@ -48,10 +49,9 @@ public ADLSGen2FolderDataSetMapping() /// The resource id of the azure resource /// Name of the azure resource /// Type of the azure resource - /// Gets the id of source dataset. - /// Gets the status of the dataset + /// Gets the status of the data set /// mapping. Possible values include: 'Ok', 'Broken' - public ADLSGen2FolderDataSetMapping(string fileSystem, string folderPath, string resourceGroup, string storageAccountName, string subscriptionId, string id = default(string), string name = default(string), string type = default(string), string dataSetId = default(string), string dataSetMappingStatus = default(string)) + public ADLSGen2FolderDataSetMapping(string dataSetId, string fileSystem, string folderPath, string resourceGroup, string storageAccountName, string subscriptionId, string id = default(string), string name = default(string), string type = default(string), string dataSetMappingStatus = default(string)) : base(id, name, type) { DataSetId = dataSetId; @@ -70,13 +70,13 @@ public ADLSGen2FolderDataSetMapping() partial void CustomInit(); /// - /// Gets the id of source dataset. + /// Gets or sets the id of the source data set. /// [JsonProperty(PropertyName = "properties.dataSetId")] public string DataSetId { get; set; } /// - /// Gets the status of the dataset mapping. Possible values include: + /// Gets the status of the data set mapping. Possible values include: /// 'Ok', 'Broken' /// [JsonProperty(PropertyName = "properties.dataSetMappingStatus")] @@ -120,6 +120,10 @@ public ADLSGen2FolderDataSetMapping() /// public virtual void Validate() { + if (DataSetId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DataSetId"); + } if (FileSystem == null) { throw new ValidationException(ValidationRules.CannotBeNull, "FileSystem"); diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobContainerDataSet.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobContainerDataSet.cs index d6e015d67400..0ded39b11456 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobContainerDataSet.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobContainerDataSet.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// An Azure storage blob container dataset. + /// An Azure storage blob container data set. /// [Newtonsoft.Json.JsonObject("Container")] [Rest.Serialization.JsonTransformation] diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobContainerDataSetMapping.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobContainerDataSetMapping.cs index ff8c065b8d0a..4110c9486431 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobContainerDataSetMapping.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobContainerDataSetMapping.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// A Blob container dataset mapping. + /// A Blob container data set mapping. /// [Newtonsoft.Json.JsonObject("Container")] [Rest.Serialization.JsonTransformation] @@ -36,6 +36,7 @@ public BlobContainerDataSetMapping() /// class. /// /// BLOB Container name. + /// The id of the source data set. /// Resource group of storage /// account. /// Storage account name of the source @@ -45,10 +46,9 @@ public BlobContainerDataSetMapping() /// The resource id of the azure resource /// Name of the azure resource /// Type of the azure resource - /// Gets the id of source dataset. - /// Gets the status of the dataset + /// Gets the status of the data set /// mapping. Possible values include: 'Ok', 'Broken' - public BlobContainerDataSetMapping(string containerName, string resourceGroup, string storageAccountName, string subscriptionId, string id = default(string), string name = default(string), string type = default(string), string dataSetId = default(string), string dataSetMappingStatus = default(string)) + public BlobContainerDataSetMapping(string containerName, string dataSetId, string resourceGroup, string storageAccountName, string subscriptionId, string id = default(string), string name = default(string), string type = default(string), string dataSetMappingStatus = default(string)) : base(id, name, type) { ContainerName = containerName; @@ -72,13 +72,13 @@ public BlobContainerDataSetMapping() public string ContainerName { get; set; } /// - /// Gets the id of source dataset. + /// Gets or sets the id of the source data set. /// [JsonProperty(PropertyName = "properties.dataSetId")] public string DataSetId { get; set; } /// - /// Gets the status of the dataset mapping. Possible values include: + /// Gets the status of the data set mapping. Possible values include: /// 'Ok', 'Broken' /// [JsonProperty(PropertyName = "properties.dataSetMappingStatus")] @@ -114,6 +114,10 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "ContainerName"); } + if (DataSetId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DataSetId"); + } if (ResourceGroup == null) { throw new ValidationException(ValidationRules.CannotBeNull, "ResourceGroup"); diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobDataSet.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobDataSet.cs index 69c324058753..acbdc70ae9c1 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobDataSet.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobDataSet.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// An Azure storage blob dataset. + /// An Azure storage blob data set. /// [Newtonsoft.Json.JsonObject("Blob")] [Rest.Serialization.JsonTransformation] diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobDataSetMapping.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobDataSetMapping.cs index bc8546ee96c2..ee7d12aae54d 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobDataSetMapping.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobDataSetMapping.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// A Blob dataset mapping. + /// A Blob data set mapping. /// [Newtonsoft.Json.JsonObject("Blob")] [Rest.Serialization.JsonTransformation] @@ -35,6 +35,7 @@ public BlobDataSetMapping() /// /// Container that has the file /// path. + /// The id of the source data set. /// File path within the source data set /// Resource group of storage /// account. @@ -45,12 +46,11 @@ public BlobDataSetMapping() /// The resource id of the azure resource /// Name of the azure resource /// Type of the azure resource - /// Gets the id of source dataset. - /// Gets the status of the dataset + /// Gets the status of the data set /// mapping. Possible values include: 'Ok', 'Broken' /// File output type. Possible values include: /// 'Csv', 'Parquet' - public BlobDataSetMapping(string containerName, string filePath, string resourceGroup, string storageAccountName, string subscriptionId, string id = default(string), string name = default(string), string type = default(string), string dataSetId = default(string), string dataSetMappingStatus = default(string), string outputType = default(string)) + public BlobDataSetMapping(string containerName, string dataSetId, string filePath, string resourceGroup, string storageAccountName, string subscriptionId, string id = default(string), string name = default(string), string type = default(string), string dataSetMappingStatus = default(string), string outputType = default(string)) : base(id, name, type) { ContainerName = containerName; @@ -76,13 +76,13 @@ public BlobDataSetMapping() public string ContainerName { get; set; } /// - /// Gets the id of source dataset. + /// Gets or sets the id of the source data set. /// [JsonProperty(PropertyName = "properties.dataSetId")] public string DataSetId { get; set; } /// - /// Gets the status of the dataset mapping. Possible values include: + /// Gets the status of the data set mapping. Possible values include: /// 'Ok', 'Broken' /// [JsonProperty(PropertyName = "properties.dataSetMappingStatus")] @@ -131,6 +131,10 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "ContainerName"); } + if (DataSetId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DataSetId"); + } if (FilePath == null) { throw new ValidationException(ValidationRules.CannotBeNull, "FilePath"); diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobFolderDataSet.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobFolderDataSet.cs index 2fec0538a311..a5c0210fcdb0 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobFolderDataSet.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobFolderDataSet.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// An Azure storage blob folder dataset. + /// An Azure storage blob folder data set. /// [Newtonsoft.Json.JsonObject("BlobFolder")] [Rest.Serialization.JsonTransformation] diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobFolderDataSetMapping.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobFolderDataSetMapping.cs index d2e02ee50349..4a097b8421e9 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobFolderDataSetMapping.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/BlobFolderDataSetMapping.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// A Blob folder dataset mapping. + /// A Blob folder data set mapping. /// [Newtonsoft.Json.JsonObject("BlobFolder")] [Rest.Serialization.JsonTransformation] @@ -35,6 +35,7 @@ public BlobFolderDataSetMapping() /// /// Container that has the file /// path. + /// The id of the source data set. /// Prefix for blob folder /// Resource group of storage /// account. @@ -45,10 +46,9 @@ public BlobFolderDataSetMapping() /// The resource id of the azure resource /// Name of the azure resource /// Type of the azure resource - /// Gets the id of source dataset. - /// Gets the status of the dataset + /// Gets the status of the data set /// mapping. Possible values include: 'Ok', 'Broken' - public BlobFolderDataSetMapping(string containerName, string prefix, string resourceGroup, string storageAccountName, string subscriptionId, string id = default(string), string name = default(string), string type = default(string), string dataSetId = default(string), string dataSetMappingStatus = default(string)) + public BlobFolderDataSetMapping(string containerName, string dataSetId, string prefix, string resourceGroup, string storageAccountName, string subscriptionId, string id = default(string), string name = default(string), string type = default(string), string dataSetMappingStatus = default(string)) : base(id, name, type) { ContainerName = containerName; @@ -73,13 +73,13 @@ public BlobFolderDataSetMapping() public string ContainerName { get; set; } /// - /// Gets the id of source dataset. + /// Gets or sets the id of the source data set. /// [JsonProperty(PropertyName = "properties.dataSetId")] public string DataSetId { get; set; } /// - /// Gets the status of the dataset mapping. Possible values include: + /// Gets the status of the data set mapping. Possible values include: /// 'Ok', 'Broken' /// [JsonProperty(PropertyName = "properties.dataSetMappingStatus")] @@ -121,6 +121,10 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "ContainerName"); } + if (DataSetId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DataSetId"); + } if (Prefix == null) { throw new ValidationException(ValidationRules.CannotBeNull, "Prefix"); diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/DataSetMapping.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/DataSetMapping.cs index 45c5d5bcc945..99a33c2f8c57 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/DataSetMapping.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/DataSetMapping.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// A dataset mapping data transfer object. + /// A data set mapping data transfer object. /// public partial class DataSetMapping : ProxyDto { diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDBTableDataSet.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDBTableDataSet.cs index f8464dc1d064..eb6f8104bf99 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDBTableDataSet.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDBTableDataSet.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// A SQL DB table dataset. + /// A SQL DB table data set. /// [Newtonsoft.Json.JsonObject("SqlDBTable")] [Rest.Serialization.JsonTransformation] diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDBTableDataSetMapping.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDBTableDataSetMapping.cs index 61ae3db756a0..920d2fb21559 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDBTableDataSetMapping.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDBTableDataSetMapping.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// A SQL DB Table dataset mapping. + /// A SQL DB Table data set mapping. /// [Newtonsoft.Json.JsonObject("SqlDBTable")] [Rest.Serialization.JsonTransformation] @@ -35,15 +35,15 @@ public SqlDBTableDataSetMapping() /// /// DatabaseName name of the sink data /// set + /// The id of the source data set. /// Resource id of SQL server /// SQL DB table name. /// The resource id of the azure resource /// Name of the azure resource /// Type of the azure resource - /// Gets the id of source dataset. - /// Gets the status of the dataset + /// Gets the status of the data set /// mapping. Possible values include: 'Ok', 'Broken' - public SqlDBTableDataSetMapping(string databaseName, string sqlServerResourceId, string tableName, string id = default(string), string name = default(string), string type = default(string), string dataSetId = default(string), string dataSetMappingStatus = default(string)) + public SqlDBTableDataSetMapping(string databaseName, string dataSetId, string sqlServerResourceId, string tableName, string id = default(string), string name = default(string), string type = default(string), string dataSetMappingStatus = default(string)) : base(id, name, type) { DatabaseName = databaseName; @@ -66,13 +66,13 @@ public SqlDBTableDataSetMapping() public string DatabaseName { get; set; } /// - /// Gets the id of source dataset. + /// Gets or sets the id of the source data set. /// [JsonProperty(PropertyName = "properties.dataSetId")] public string DataSetId { get; set; } /// - /// Gets the status of the dataset mapping. Possible values include: + /// Gets the status of the data set mapping. Possible values include: /// 'Ok', 'Broken' /// [JsonProperty(PropertyName = "properties.dataSetMappingStatus")] @@ -102,6 +102,10 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "DatabaseName"); } + if (DataSetId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DataSetId"); + } if (SqlServerResourceId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "SqlServerResourceId"); diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDWTableDataSet.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDWTableDataSet.cs index 29f35d25c7ac..a1d14794d759 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDWTableDataSet.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDWTableDataSet.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// A SQL DW table dataset. + /// A SQL DW table data set. /// [Newtonsoft.Json.JsonObject("SqlDWTable")] [Rest.Serialization.JsonTransformation] diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDWTableDataSetMapping.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDWTableDataSetMapping.cs index 75fb45fe4cc3..0abe3c69f02b 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDWTableDataSetMapping.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SqlDWTableDataSetMapping.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// A SQL DW Table dataset mapping. + /// A SQL DW Table data set mapping. /// [Newtonsoft.Json.JsonObject("SqlDWTable")] [Rest.Serialization.JsonTransformation] @@ -33,6 +33,7 @@ public SqlDWTableDataSetMapping() /// /// Initializes a new instance of the SqlDWTableDataSetMapping class. /// + /// The id of the source data set. /// DataWarehouse name of the source /// data set /// Resource id of SQL server @@ -40,10 +41,9 @@ public SqlDWTableDataSetMapping() /// The resource id of the azure resource /// Name of the azure resource /// Type of the azure resource - /// Gets the id of source dataset. - /// Gets the status of the dataset + /// Gets the status of the data set /// mapping. Possible values include: 'Ok', 'Broken' - public SqlDWTableDataSetMapping(string dataWarehouseName, string sqlServerResourceId, string tableName, string id = default(string), string name = default(string), string type = default(string), string dataSetId = default(string), string dataSetMappingStatus = default(string)) + public SqlDWTableDataSetMapping(string dataSetId, string dataWarehouseName, string sqlServerResourceId, string tableName, string id = default(string), string name = default(string), string type = default(string), string dataSetMappingStatus = default(string)) : base(id, name, type) { DataSetId = dataSetId; @@ -60,13 +60,13 @@ public SqlDWTableDataSetMapping() partial void CustomInit(); /// - /// Gets the id of source dataset. + /// Gets or sets the id of the source data set. /// [JsonProperty(PropertyName = "properties.dataSetId")] public string DataSetId { get; set; } /// - /// Gets the status of the dataset mapping. Possible values include: + /// Gets the status of the data set mapping. Possible values include: /// 'Ok', 'Broken' /// [JsonProperty(PropertyName = "properties.dataSetMappingStatus")] @@ -98,6 +98,10 @@ public SqlDWTableDataSetMapping() /// public virtual void Validate() { + if (DataSetId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DataSetId"); + } if (DataWarehouseName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "DataWarehouseName"); diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SynchronizationDetails.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SynchronizationDetails.cs index 712fe5ce2ed8..29d8fbab382c 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SynchronizationDetails.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/Models/SynchronizationDetails.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.Management.DataShare.Models using System.Linq; /// - /// Synchronization details at dataset level + /// Synchronization details at data set level /// public partial class SynchronizationDetails { @@ -34,25 +34,25 @@ public SynchronizationDetails() /// 'Blob', 'Container', 'BlobFolder', 'AdlsGen2FileSystem', /// 'AdlsGen2Folder', 'AdlsGen2File', 'AdlsGen1Folder', 'AdlsGen1File', /// 'SqlDBTable', 'SqlDWTable' - /// duration of dataset level copy - /// End time of dataset level copy + /// duration of data set level copy + /// End time of data set level copy /// The number of files read from the source - /// dataset. + /// data set. /// The number of files written into the - /// sink dataset. + /// sink data set. /// Error Message if any /// name of dataSet /// The number of files copied into the sink - /// dataset. - /// The number of rows read from the source - /// dataset. + /// data set. + /// The number of rows read from the source data + /// set. /// The size of the data read from the source - /// dataset in bytes. + /// data set in bytes. /// The size of the data written into the - /// sink dataset in bytes. - /// start time of dataset level copy + /// sink data set in bytes. + /// start time of data set level copy /// Raw Status - /// The vCore units consumed for the dataset + /// The vCore units consumed for the data set /// synchronization. public SynchronizationDetails(string dataSetId = default(string), string dataSetType = default(string), int? durationMs = default(int?), System.DateTime? endTime = default(System.DateTime?), long? filesRead = default(long?), long? filesWritten = default(long?), string message = default(string), string name = default(string), long? rowsCopied = default(long?), long? rowsRead = default(long?), long? sizeRead = default(long?), long? sizeWritten = default(long?), System.DateTime? startTime = default(System.DateTime?), string status = default(string), long? vCore = default(long?)) { @@ -95,25 +95,25 @@ public SynchronizationDetails() public string DataSetType { get; private set; } /// - /// Gets duration of dataset level copy + /// Gets duration of data set level copy /// [JsonProperty(PropertyName = "durationMs")] public int? DurationMs { get; private set; } /// - /// Gets end time of dataset level copy + /// Gets end time of data set level copy /// [JsonProperty(PropertyName = "endTime")] public System.DateTime? EndTime { get; private set; } /// - /// Gets the number of files read from the source dataset. + /// Gets the number of files read from the source data set. /// [JsonProperty(PropertyName = "filesRead")] public long? FilesRead { get; private set; } /// - /// Gets the number of files written into the sink dataset. + /// Gets the number of files written into the sink data set. /// [JsonProperty(PropertyName = "filesWritten")] public long? FilesWritten { get; private set; } @@ -131,31 +131,31 @@ public SynchronizationDetails() public string Name { get; private set; } /// - /// Gets the number of files copied into the sink dataset. + /// Gets the number of files copied into the sink data set. /// [JsonProperty(PropertyName = "rowsCopied")] public long? RowsCopied { get; private set; } /// - /// Gets the number of rows read from the source dataset. + /// Gets the number of rows read from the source data set. /// [JsonProperty(PropertyName = "rowsRead")] public long? RowsRead { get; private set; } /// - /// Gets the size of the data read from the source dataset in bytes. + /// Gets the size of the data read from the source data set in bytes. /// [JsonProperty(PropertyName = "sizeRead")] public long? SizeRead { get; private set; } /// - /// Gets the size of the data written into the sink dataset in bytes. + /// Gets the size of the data written into the sink data set in bytes. /// [JsonProperty(PropertyName = "sizeWritten")] public long? SizeWritten { get; private set; } /// - /// Gets start time of dataset level copy + /// Gets start time of data set level copy /// [JsonProperty(PropertyName = "startTime")] public System.DateTime? StartTime { get; private set; } @@ -167,7 +167,7 @@ public SynchronizationDetails() public string Status { get; private set; } /// - /// Gets the vCore units consumed for the dataset synchronization. + /// Gets the vCore units consumed for the data set synchronization. /// [JsonProperty(PropertyName = "vCore")] public long? VCore { get; private set; } diff --git a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/SdkInfo_DataShareManagementClient.cs b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/SdkInfo_DataShareManagementClient.cs index febdf6010767..f766a56163c1 100644 --- a/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/SdkInfo_DataShareManagementClient.cs +++ b/sdk/datashare/Microsoft.Azure.Management.DataShare/src/Generated/SdkInfo_DataShareManagementClient.cs @@ -34,16 +34,5 @@ public static IEnumerable> ApiInfo_DataShareManage }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "latest"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datashare/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --tag=package-2018-11-01-preview --csharp-sdks-folder=F:\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "be57615271c318b48a5d9a619878a18697378277"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } - diff --git a/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/SdkInfo_PeeringManagementClient.cs b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/SdkInfo_PeeringManagementClient.cs new file mode 100644 index 000000000000..ed84e77cd4fd --- /dev/null +++ b/sdk/peering/Microsoft.Azure.Management.Peering/src/Generated/SdkInfo_PeeringManagementClient.cs @@ -0,0 +1,36 @@ + +// +// 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.Peering +{ + using System; + using System.Collections.Generic; + using System.Linq; + + internal static partial class SdkInfo + { + public static IEnumerable> ApiInfo_PeeringManagementClient + { + get + { + return new Tuple[] + { + new Tuple("Peering", "CheckServiceProviderAvailability", "2019-09-01-preview"), + new Tuple("Peering", "LegacyPeerings", "2019-09-01-preview"), + new Tuple("Peering", "Operations", "2019-09-01-preview"), + new Tuple("Peering", "PeerAsns", "2019-09-01-preview"), + new Tuple("Peering", "PeeringLocations", "2019-09-01-preview"), + new Tuple("Peering", "PeeringServiceLocations", "2019-09-01-preview"), + new Tuple("Peering", "PeeringServiceProviders", "2019-09-01-preview"), + new Tuple("Peering", "PeeringServices", "2019-09-01-preview"), + new Tuple("Peering", "Peerings", "2019-09-01-preview"), + new Tuple("Peering", "Prefixes", "2019-09-01-preview"), + }.AsEnumerable(); + } + } + } +} diff --git a/swagger_to_sdk_config.json b/swagger_to_sdk_config.json index 99979bf5d095..b73c428c76dc 100644 --- a/swagger_to_sdk_config.json +++ b/swagger_to_sdk_config.json @@ -6,7 +6,8 @@ "reflect-api-versions": "", "license-header": "MICROSOFT_MIT_NO_VERSION", "sdkrel:csharp-sdks-folder": "./sdk", - "use": "@microsoft.azure/autorest.csharp" + "use": "@microsoft.azure/autorest.csharp", + "csharp.clear-output-folder": "" }, "advanced_options": { "create_sdk_pull_requests": true,