Condividi tramite


DataLakePathClient Constructors

Definition

Overloads

DataLakePathClient()

Initializes a new instance of the DataLakePathClient class for mocking.

DataLakePathClient(Uri)

Initializes a new instance of the DataLakePathClient class.

DataLakePathClient(DataLakeFileSystemClient, String)

Initializes a new instance of the DataLakePathClient.

DataLakePathClient(Uri, AzureSasCredential)

Initializes a new instance of the DataLakePathClient class.

DataLakePathClient(Uri, TokenCredential)

Initializes a new instance of the DataLakePathClient class.

DataLakePathClient(Uri, DataLakeClientOptions)

Initializes a new instance of the DataLakePathClient class.

DataLakePathClient(Uri, StorageSharedKeyCredential)

Initializes a new instance of the DataLakePathClient class.

DataLakePathClient(String, String, String)

Initializes a new instance of the DataLakePathClient.

DataLakePathClient(Uri, AzureSasCredential, DataLakeClientOptions)

Initializes a new instance of the DataLakePathClient class.

DataLakePathClient(Uri, TokenCredential, DataLakeClientOptions)

Initializes a new instance of the DataLakePathClient class.

DataLakePathClient(Uri, StorageSharedKeyCredential, DataLakeClientOptions)

Initializes a new instance of the DataLakePathClient class.

DataLakePathClient(String, String, String, DataLakeClientOptions)

Initializes a new instance of the DataLakePathClient.

DataLakePathClient()

Source:
DataLakePathClient.cs
Source:
DataLakePathClient.cs

Initializes a new instance of the DataLakePathClient class for mocking.

protected DataLakePathClient ();
Protected Sub New ()

Applies to

DataLakePathClient(Uri)

Source:
DataLakePathClient.cs
Source:
DataLakePathClient.cs

Initializes a new instance of the DataLakePathClient class.

public DataLakePathClient (Uri pathUri);
new Azure.Storage.Files.DataLake.DataLakePathClient : Uri -> Azure.Storage.Files.DataLake.DataLakePathClient
Public Sub New (pathUri As Uri)

Parameters

pathUri
Uri

A Uri referencing the resource that includes the name of the account, the name of the file system, and the path to the resource.

Applies to

DataLakePathClient(DataLakeFileSystemClient, String)

Source:
DataLakePathClient.cs
Source:
DataLakePathClient.cs

Initializes a new instance of the DataLakePathClient.

public DataLakePathClient (Azure.Storage.Files.DataLake.DataLakeFileSystemClient fileSystemClient, string path);
new Azure.Storage.Files.DataLake.DataLakePathClient : Azure.Storage.Files.DataLake.DataLakeFileSystemClient * string -> Azure.Storage.Files.DataLake.DataLakePathClient
Public Sub New (fileSystemClient As DataLakeFileSystemClient, path As String)

Parameters

fileSystemClient
DataLakeFileSystemClient

DataLakeFileSystemClient of the path's File System.

path
String

The path to the DataLakePathClient.

Applies to

DataLakePathClient(Uri, AzureSasCredential)

Source:
DataLakePathClient.cs
Source:
DataLakePathClient.cs

Initializes a new instance of the DataLakePathClient class.

public DataLakePathClient (Uri pathUri, Azure.AzureSasCredential credential);
new Azure.Storage.Files.DataLake.DataLakePathClient : Uri * Azure.AzureSasCredential -> Azure.Storage.Files.DataLake.DataLakePathClient
Public Sub New (pathUri As Uri, credential As AzureSasCredential)

Parameters

pathUri
Uri

A Uri referencing the resource that includes the name of the account, the name of the file system, and the path to the resource. Must not contain shared access signature, which should be passed in the second parameter.

credential
AzureSasCredential

The shared access signature credential used to sign requests.

Remarks

This constructor should only be used when shared access signature needs to be updated during lifespan of this client.

Applies to

DataLakePathClient(Uri, TokenCredential)

Source:
DataLakePathClient.cs
Source:
DataLakePathClient.cs

Initializes a new instance of the DataLakePathClient class.

public DataLakePathClient (Uri pathUri, Azure.Core.TokenCredential credential);
new Azure.Storage.Files.DataLake.DataLakePathClient : Uri * Azure.Core.TokenCredential -> Azure.Storage.Files.DataLake.DataLakePathClient
Public Sub New (pathUri As Uri, credential As TokenCredential)

Parameters

pathUri
Uri

A Uri referencing the resource that includes the name of the account, the name of the file system, and the path to the resource.

credential
TokenCredential

The token credential used to sign requests.

Applies to

DataLakePathClient(Uri, DataLakeClientOptions)

Source:
DataLakePathClient.cs
Source:
DataLakePathClient.cs

Initializes a new instance of the DataLakePathClient class.

public DataLakePathClient (Uri pathUri, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakePathClient : Uri * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakePathClient
Public Sub New (pathUri As Uri, options As DataLakeClientOptions)

Parameters

pathUri
Uri

A Uri referencing the resource that includes the name of the account, the name of the file system, and the path to the resource.

options
DataLakeClientOptions

Optional DataLakeClientOptions that define the transport pipeline policies for authentication, retries, etc., that are applied to every request.

Applies to

DataLakePathClient(Uri, StorageSharedKeyCredential)

Source:
DataLakePathClient.cs
Source:
DataLakePathClient.cs

Initializes a new instance of the DataLakePathClient class.

public DataLakePathClient (Uri pathUri, Azure.Storage.StorageSharedKeyCredential credential);
new Azure.Storage.Files.DataLake.DataLakePathClient : Uri * Azure.Storage.StorageSharedKeyCredential -> Azure.Storage.Files.DataLake.DataLakePathClient
Public Sub New (pathUri As Uri, credential As StorageSharedKeyCredential)

Parameters

pathUri
Uri

A Uri referencing the resource that includes the name of the account, the name of the file system, and the path to the resource.

credential
StorageSharedKeyCredential

The shared key credential used to sign requests.

Applies to

DataLakePathClient(String, String, String)

Source:
DataLakePathClient.cs
Source:
DataLakePathClient.cs

Initializes a new instance of the DataLakePathClient.

public DataLakePathClient (string connectionString, string fileSystemName, string path);
new Azure.Storage.Files.DataLake.DataLakePathClient : string * string * string -> Azure.Storage.Files.DataLake.DataLakePathClient
Public Sub New (connectionString As String, fileSystemName As String, path As String)

Parameters

connectionString
String

A connection string includes the authentication information required for your application to access data in an Azure Storage account at runtime.

For more information, Configure Azure Storage connection strings

fileSystemName
String

The name of the file system containing this path.

path
String

The path to the file or directory.

Applies to

DataLakePathClient(Uri, AzureSasCredential, DataLakeClientOptions)

Source:
DataLakePathClient.cs
Source:
DataLakePathClient.cs

Initializes a new instance of the DataLakePathClient class.

public DataLakePathClient (Uri pathUri, Azure.AzureSasCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakePathClient : Uri * Azure.AzureSasCredential * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakePathClient
Public Sub New (pathUri As Uri, credential As AzureSasCredential, options As DataLakeClientOptions)

Parameters

pathUri
Uri

A Uri referencing the resource that includes the name of the account, the name of the file system, and the path to the resource. Must not contain shared access signature, which should be passed in the second parameter.

credential
AzureSasCredential

The shared access signature credential used to sign requests.

options
DataLakeClientOptions

Optional client options that define the transport pipeline policies for authentication, retries, etc., that are applied to every request.

Remarks

This constructor should only be used when shared access signature needs to be updated during lifespan of this client.

Applies to

DataLakePathClient(Uri, TokenCredential, DataLakeClientOptions)

Source:
DataLakePathClient.cs
Source:
DataLakePathClient.cs

Initializes a new instance of the DataLakePathClient class.

public DataLakePathClient (Uri pathUri, Azure.Core.TokenCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakePathClient : Uri * Azure.Core.TokenCredential * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakePathClient
Public Sub New (pathUri As Uri, credential As TokenCredential, options As DataLakeClientOptions)

Parameters

pathUri
Uri

A Uri referencing the resource that includes the name of the account, the name of the file system, and the path to the resource.

credential
TokenCredential

The token credential used to sign requests.

options
DataLakeClientOptions

Optional client options that define the transport pipeline policies for authentication, retries, etc., that are applied to every request.

Applies to

DataLakePathClient(Uri, StorageSharedKeyCredential, DataLakeClientOptions)

Source:
DataLakePathClient.cs
Source:
DataLakePathClient.cs

Initializes a new instance of the DataLakePathClient class.

public DataLakePathClient (Uri pathUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakePathClient : Uri * Azure.Storage.StorageSharedKeyCredential * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakePathClient
Public Sub New (pathUri As Uri, credential As StorageSharedKeyCredential, options As DataLakeClientOptions)

Parameters

pathUri
Uri

A Uri referencing the resource that includes the name of the account, the name of the file system, and the path to the resource.

credential
StorageSharedKeyCredential

The shared key credential used to sign requests.

options
DataLakeClientOptions

Optional client options that define the transport pipeline policies for authentication, retries, etc., that are applied to every request.

Applies to

DataLakePathClient(String, String, String, DataLakeClientOptions)

Source:
DataLakePathClient.cs
Source:
DataLakePathClient.cs

Initializes a new instance of the DataLakePathClient.

public DataLakePathClient (string connectionString, string fileSystemName, string path, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakePathClient : string * string * string * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakePathClient
Public Sub New (connectionString As String, fileSystemName As String, path As String, options As DataLakeClientOptions)

Parameters

connectionString
String

A connection string includes the authentication information required for your application to access data in an Azure Storage account at runtime.

For more information, Configure Azure Storage connection strings

fileSystemName
String

The name of the file system containing this path.

path
String

The path to the file or directory.

options
DataLakeClientOptions

Optional client options that define the transport pipeline policies for authentication, retries, etc., that are applied to every request.

Applies to