Share via


DataLakeUriBuilder Class

Definition

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 class DataLakeUriBuilder
type DataLakeUriBuilder = class
Public Class DataLakeUriBuilder
Inheritance
DataLakeUriBuilder

Constructors

DataLakeUriBuilder(Uri)

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

Properties

AccountName

Gets or sets the Azure Storage account name.

DirectoryOrFilePath

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

FileSystemName

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

Host

Gets or sets the Domain Name System (DNS) host name or IP address of a server.

Example: "account.file.core.windows.net"

Port

Gets or sets the port number of the URI.

Query

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

Sas

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

Scheme

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

Snapshot

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

Methods

ToString()

Returns the display string for the specified DataLakeUriBuilder instance.

ToUri()

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

Applies to