<PackageReference Include="Azure.Storage.Files.DataLake" Version="12.24.0" />

Azure.Storage.Files.DataLake.DataLakeUriBuilder

public class DataLakeUriBuilder
The DataLakeUriBuilder class provides a convenient way to modify the contents of a Uri instance to point to different Azure Data Lake resources like an file system, directory, or file.
public string AccountName { get; set; }

Gets or sets the Azure Storage account name.

public string DirectoryOrFilePath { get; set; }

Gets or sets the path of the directory or file. The value defaults to Empty if not present in the Uri. Example: "mydirectory/myfile"

public string FileSystemName { get; set; }

Gets or sets the name of a file storage share. The value defaults to Empty if not present in the Uri.

public string Host { get; set; }

Gets or sets the Domain Name System (DNS) host name or IP address of a server. Example: "account.file.core.windows.net"

public int Port { get; set; }

Gets or sets the port number of the URI.

public string Query { get; set; }

Gets or sets any query information included in the URI that's not relevant to addressing Azure storage resources.

public DataLakeSasQueryParameters Sas { get; set; }

Gets or sets the Shared Access Signature query parameters, or null if not present in the Uri.

public string Scheme { get; set; }

Gets or sets the scheme name of the URI. Example: "https"

public string Snapshot { get; set; }

Gets or sets the name of a file snapshot. The value defaults to Empty if not present in the Uri.

public DataLakeUriBuilder(Uri uri)

Initializes a new instance of the DataLakeUriBuilder class with the specified Uri.

public Uri ToUri()

Returns the Uri constructed from the DataLakeUriBuilder's fields. The Query property contains the SAS and additional query parameters.