Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ internal DataSetMappingsOperations(DataShareManagementClient client)
/// The name of the share subscription which will hold the data set sink.
/// </param>
/// <param name='dataSetMappingName'>
/// The Id of the source data set being mapped.
/// The name of the data set mapping to be created.
/// </param>
/// <param name='dataSetMapping'>
/// Destination data set configuration details.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
/// </param>
/// <param name='dataSetMappingName'>
/// The Id of the source data set being mapped.
/// The name of the data set mapping to be created.
/// </param>
/// <param name='dataSetMapping'>
/// Destination data set configuration details.
Expand Down Expand Up @@ -131,7 +131,7 @@ public static DataSetMapping Create(this IDataSetMappingsOperations operations,
/// The name of the share subscription which will hold the data set sink.
/// </param>
/// <param name='dataSetMappingName'>
/// The Id of the source data set being mapped.
/// The name of the data set mapping to be created.
/// </param>
/// <param name='dataSetMapping'>
/// Destination data set configuration details.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public partial interface IDataSetMappingsOperations
/// sink.
/// </param>
/// <param name='dataSetMappingName'>
/// The Id of the source data set being mapped.
/// The name of the data set mapping to be created.
/// </param>
/// <param name='dataSetMapping'>
/// Destination data set configuration details.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models
using System.Linq;

/// <summary>
/// An ADLS Gen 1 file dataset.
/// An ADLS Gen 1 file data set.
/// </summary>
[Newtonsoft.Json.JsonObject("AdlsGen1File")]
[Rest.Serialization.JsonTransformation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models
using System.Linq;

/// <summary>
/// An ADLS Gen 1 folder dataset.
/// An ADLS Gen 1 folder data set.
/// </summary>
[Newtonsoft.Json.JsonObject("AdlsGen1Folder")]
[Rest.Serialization.JsonTransformation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models
using System.Linq;

/// <summary>
/// An ADLS Gen 2 file dataset.
/// An ADLS Gen 2 file data set.
/// </summary>
[Newtonsoft.Json.JsonObject("AdlsGen2File")]
[Rest.Serialization.JsonTransformation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models
using System.Linq;

/// <summary>
/// An ADLS Gen2 file dataset mapping.
/// An ADLS Gen2 file data set mapping.
/// </summary>
[Newtonsoft.Json.JsonObject("AdlsGen2File")]
[Rest.Serialization.JsonTransformation]
Expand All @@ -33,6 +33,7 @@ public ADLSGen2FileDataSetMapping()
/// <summary>
/// Initializes a new instance of the ADLSGen2FileDataSetMapping class.
/// </summary>
/// <param name="dataSetId">The id of the source data set.</param>
/// <param name="filePath">File path within the file system.</param>
/// <param name="fileSystem">File system to which the file
/// belongs.</param>
Expand All @@ -45,12 +46,11 @@ public ADLSGen2FileDataSetMapping()
/// <param name="id">The resource id of the azure resource</param>
/// <param name="name">Name of the azure resource</param>
/// <param name="type">Type of the azure resource</param>
/// <param name="dataSetId">Gets the id of source dataset.</param>
/// <param name="dataSetMappingStatus">Gets the status of the dataset
/// <param name="dataSetMappingStatus">Gets the status of the data set
/// mapping. Possible values include: 'Ok', 'Broken'</param>
/// <param name="outputType">Type of output file. Possible values
/// include: 'Csv', 'Parquet'</param>
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;
Expand All @@ -70,13 +70,13 @@ public ADLSGen2FileDataSetMapping()
partial void CustomInit();

/// <summary>
/// Gets the id of source dataset.
/// Gets or sets the id of the source data set.
/// </summary>
[JsonProperty(PropertyName = "properties.dataSetId")]
public string DataSetId { get; set; }

/// <summary>
/// Gets the status of the dataset mapping. Possible values include:
/// Gets the status of the data set mapping. Possible values include:
/// 'Ok', 'Broken'
/// </summary>
[JsonProperty(PropertyName = "properties.dataSetMappingStatus")]
Expand Down Expand Up @@ -127,6 +127,10 @@ public ADLSGen2FileDataSetMapping()
/// </exception>
public virtual void Validate()
{
if (DataSetId == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "DataSetId");
}
if (FilePath == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "FilePath");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models
using System.Linq;

/// <summary>
/// An ADLS Gen 2 file system dataset.
/// An ADLS Gen 2 file system data set.
/// </summary>
[Newtonsoft.Json.JsonObject("AdlsGen2FileSystem")]
[Rest.Serialization.JsonTransformation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models
using System.Linq;

/// <summary>
/// An ADLS Gen2 file system dataset mapping.
/// An ADLS Gen2 file system data set mapping.
/// </summary>
[Newtonsoft.Json.JsonObject("AdlsGen2FileSystem")]
[Rest.Serialization.JsonTransformation]
Expand All @@ -35,6 +35,7 @@ public ADLSGen2FileSystemDataSetMapping()
/// Initializes a new instance of the ADLSGen2FileSystemDataSetMapping
/// class.
/// </summary>
/// <param name="dataSetId">The id of the source data set.</param>
/// <param name="fileSystem">The file system name.</param>
/// <param name="resourceGroup">Resource group of storage
/// account.</param>
Expand All @@ -45,10 +46,9 @@ public ADLSGen2FileSystemDataSetMapping()
/// <param name="id">The resource id of the azure resource</param>
/// <param name="name">Name of the azure resource</param>
/// <param name="type">Type of the azure resource</param>
/// <param name="dataSetId">Gets the id of source dataset.</param>
/// <param name="dataSetMappingStatus">Gets the status of the dataset
/// <param name="dataSetMappingStatus">Gets the status of the data set
/// mapping. Possible values include: 'Ok', 'Broken'</param>
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;
Expand All @@ -66,13 +66,13 @@ public ADLSGen2FileSystemDataSetMapping()
partial void CustomInit();

/// <summary>
/// Gets the id of source dataset.
/// Gets or sets the id of the source data set.
/// </summary>
[JsonProperty(PropertyName = "properties.dataSetId")]
public string DataSetId { get; set; }

/// <summary>
/// Gets the status of the dataset mapping. Possible values include:
/// Gets the status of the data set mapping. Possible values include:
/// 'Ok', 'Broken'
/// </summary>
[JsonProperty(PropertyName = "properties.dataSetMappingStatus")]
Expand Down Expand Up @@ -110,6 +110,10 @@ public ADLSGen2FileSystemDataSetMapping()
/// </exception>
public virtual void Validate()
{
if (DataSetId == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "DataSetId");
}
if (FileSystem == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "FileSystem");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models
using System.Linq;

/// <summary>
/// An ADLS Gen 2 folder dataset.
/// An ADLS Gen 2 folder data set.
/// </summary>
[Newtonsoft.Json.JsonObject("AdlsGen2Folder")]
[Rest.Serialization.JsonTransformation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models
using System.Linq;

/// <summary>
/// An ADLS Gen2 folder dataset mapping.
/// An ADLS Gen2 folder data set mapping.
/// </summary>
[Newtonsoft.Json.JsonObject("AdlsGen2Folder")]
[Rest.Serialization.JsonTransformation]
Expand All @@ -35,6 +35,7 @@ public ADLSGen2FolderDataSetMapping()
/// Initializes a new instance of the ADLSGen2FolderDataSetMapping
/// class.
/// </summary>
/// <param name="dataSetId">The id of the source data set.</param>
/// <param name="fileSystem">File system to which the folder
/// belongs.</param>
/// <param name="folderPath">Folder path within the file
Expand All @@ -48,10 +49,9 @@ public ADLSGen2FolderDataSetMapping()
/// <param name="id">The resource id of the azure resource</param>
/// <param name="name">Name of the azure resource</param>
/// <param name="type">Type of the azure resource</param>
/// <param name="dataSetId">Gets the id of source dataset.</param>
/// <param name="dataSetMappingStatus">Gets the status of the dataset
/// <param name="dataSetMappingStatus">Gets the status of the data set
/// mapping. Possible values include: 'Ok', 'Broken'</param>
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;
Expand All @@ -70,13 +70,13 @@ public ADLSGen2FolderDataSetMapping()
partial void CustomInit();

/// <summary>
/// Gets the id of source dataset.
/// Gets or sets the id of the source data set.
/// </summary>
[JsonProperty(PropertyName = "properties.dataSetId")]
public string DataSetId { get; set; }

/// <summary>
/// Gets the status of the dataset mapping. Possible values include:
/// Gets the status of the data set mapping. Possible values include:
/// 'Ok', 'Broken'
/// </summary>
[JsonProperty(PropertyName = "properties.dataSetMappingStatus")]
Expand Down Expand Up @@ -120,6 +120,10 @@ public ADLSGen2FolderDataSetMapping()
/// </exception>
public virtual void Validate()
{
if (DataSetId == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "DataSetId");
}
if (FileSystem == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "FileSystem");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models
using System.Linq;

/// <summary>
/// An Azure storage blob container dataset.
/// An Azure storage blob container data set.
/// </summary>
[Newtonsoft.Json.JsonObject("Container")]
[Rest.Serialization.JsonTransformation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models
using System.Linq;

/// <summary>
/// A Blob container dataset mapping.
/// A Blob container data set mapping.
/// </summary>
[Newtonsoft.Json.JsonObject("Container")]
[Rest.Serialization.JsonTransformation]
Expand All @@ -36,6 +36,7 @@ public BlobContainerDataSetMapping()
/// class.
/// </summary>
/// <param name="containerName">BLOB Container name.</param>
/// <param name="dataSetId">The id of the source data set.</param>
/// <param name="resourceGroup">Resource group of storage
/// account.</param>
/// <param name="storageAccountName">Storage account name of the source
Expand All @@ -45,10 +46,9 @@ public BlobContainerDataSetMapping()
/// <param name="id">The resource id of the azure resource</param>
/// <param name="name">Name of the azure resource</param>
/// <param name="type">Type of the azure resource</param>
/// <param name="dataSetId">Gets the id of source dataset.</param>
/// <param name="dataSetMappingStatus">Gets the status of the dataset
/// <param name="dataSetMappingStatus">Gets the status of the data set
/// mapping. Possible values include: 'Ok', 'Broken'</param>
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;
Expand All @@ -72,13 +72,13 @@ public BlobContainerDataSetMapping()
public string ContainerName { get; set; }

/// <summary>
/// Gets the id of source dataset.
/// Gets or sets the id of the source data set.
/// </summary>
[JsonProperty(PropertyName = "properties.dataSetId")]
public string DataSetId { get; set; }

/// <summary>
/// Gets the status of the dataset mapping. Possible values include:
/// Gets the status of the data set mapping. Possible values include:
/// 'Ok', 'Broken'
/// </summary>
[JsonProperty(PropertyName = "properties.dataSetMappingStatus")]
Expand Down Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models
using System.Linq;

/// <summary>
/// An Azure storage blob dataset.
/// An Azure storage blob data set.
/// </summary>
[Newtonsoft.Json.JsonObject("Blob")]
[Rest.Serialization.JsonTransformation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.DataShare.Models
using System.Linq;

/// <summary>
/// A Blob dataset mapping.
/// A Blob data set mapping.
/// </summary>
[Newtonsoft.Json.JsonObject("Blob")]
[Rest.Serialization.JsonTransformation]
Expand All @@ -35,6 +35,7 @@ public BlobDataSetMapping()
/// </summary>
/// <param name="containerName">Container that has the file
/// path.</param>
/// <param name="dataSetId">The id of the source data set.</param>
/// <param name="filePath">File path within the source data set</param>
/// <param name="resourceGroup">Resource group of storage
/// account.</param>
Expand All @@ -45,12 +46,11 @@ public BlobDataSetMapping()
/// <param name="id">The resource id of the azure resource</param>
/// <param name="name">Name of the azure resource</param>
/// <param name="type">Type of the azure resource</param>
/// <param name="dataSetId">Gets the id of source dataset.</param>
/// <param name="dataSetMappingStatus">Gets the status of the dataset
/// <param name="dataSetMappingStatus">Gets the status of the data set
/// mapping. Possible values include: 'Ok', 'Broken'</param>
/// <param name="outputType">File output type. Possible values include:
/// 'Csv', 'Parquet'</param>
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;
Expand All @@ -76,13 +76,13 @@ public BlobDataSetMapping()
public string ContainerName { get; set; }

/// <summary>
/// Gets the id of source dataset.
/// Gets or sets the id of the source data set.
/// </summary>
[JsonProperty(PropertyName = "properties.dataSetId")]
public string DataSetId { get; set; }

/// <summary>
/// Gets the status of the dataset mapping. Possible values include:
/// Gets the status of the data set mapping. Possible values include:
/// 'Ok', 'Broken'
/// </summary>
[JsonProperty(PropertyName = "properties.dataSetMappingStatus")]
Expand Down Expand Up @@ -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");
Expand Down
Loading