DataLakeDirectoryClient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DataLakeDirectoryClient()
- Source:
- DataLakeDirectoryClient.cs
- Source:
- DataLakeDirectoryClient.cs
Initializes a new instance of the DataLakeDirectoryClient class for mocking.
protected DataLakeDirectoryClient ();
Protected Sub New ()
Applies to
DataLakeDirectoryClient(Uri)
- Source:
- DataLakeDirectoryClient.cs
- Source:
- DataLakeDirectoryClient.cs
Initializes a new instance of the DataLakeDirectoryClient class.
public DataLakeDirectoryClient (Uri directoryUri);
new Azure.Storage.Files.DataLake.DataLakeDirectoryClient : Uri -> Azure.Storage.Files.DataLake.DataLakeDirectoryClient
Public Sub New (directoryUri As Uri)
Parameters
- directoryUri
- Uri
A Uri referencing the directory that includes the name of the account, the name of the file system, and the path of the directory.
Applies to
DataLakeDirectoryClient(Uri, AzureSasCredential)
- Source:
- DataLakeDirectoryClient.cs
- Source:
- DataLakeDirectoryClient.cs
Initializes a new instance of the DataLakeDirectoryClient class.
public DataLakeDirectoryClient (Uri directoryUri, Azure.AzureSasCredential credential);
new Azure.Storage.Files.DataLake.DataLakeDirectoryClient : Uri * Azure.AzureSasCredential -> Azure.Storage.Files.DataLake.DataLakeDirectoryClient
Public Sub New (directoryUri As Uri, credential As AzureSasCredential)
Parameters
- directoryUri
- Uri
A Uri referencing the directory that includes the name of the account, the name of the file system, and the path of the directory. 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
DataLakeDirectoryClient(Uri, TokenCredential)
- Source:
- DataLakeDirectoryClient.cs
- Source:
- DataLakeDirectoryClient.cs
Initializes a new instance of the DataLakeDirectoryClient class.
public DataLakeDirectoryClient (Uri directoryUri, Azure.Core.TokenCredential credential);
new Azure.Storage.Files.DataLake.DataLakeDirectoryClient : Uri * Azure.Core.TokenCredential -> Azure.Storage.Files.DataLake.DataLakeDirectoryClient
Public Sub New (directoryUri As Uri, credential As TokenCredential)
Parameters
- directoryUri
- Uri
A Uri referencing the directory that includes the name of the account, the name of the file system, and the path of the directory.
- credential
- TokenCredential
The token credential used to sign requests.
Applies to
DataLakeDirectoryClient(Uri, DataLakeClientOptions)
- Source:
- DataLakeDirectoryClient.cs
- Source:
- DataLakeDirectoryClient.cs
Initializes a new instance of the DataLakeDirectoryClient class.
public DataLakeDirectoryClient (Uri directoryUri, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakeDirectoryClient : Uri * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakeDirectoryClient
Public Sub New (directoryUri As Uri, options As DataLakeClientOptions)
Parameters
- directoryUri
- Uri
A Uri referencing the directory that includes the name of the account, the name of the file system, and the path of the directory.
- options
- DataLakeClientOptions
Optional DataLakeClientOptions that define the transport pipeline policies for authentication, retries, etc., that are applied to every request.
Applies to
DataLakeDirectoryClient(Uri, StorageSharedKeyCredential)
- Source:
- DataLakeDirectoryClient.cs
- Source:
- DataLakeDirectoryClient.cs
Initializes a new instance of the DataLakeDirectoryClient class.
public DataLakeDirectoryClient (Uri directoryUri, Azure.Storage.StorageSharedKeyCredential credential);
new Azure.Storage.Files.DataLake.DataLakeDirectoryClient : Uri * Azure.Storage.StorageSharedKeyCredential -> Azure.Storage.Files.DataLake.DataLakeDirectoryClient
Public Sub New (directoryUri As Uri, credential As StorageSharedKeyCredential)
Parameters
- directoryUri
- Uri
A Uri referencing the directory that includes the name of the account, the name of the file system, and the path of the directory.
- credential
- StorageSharedKeyCredential
The shared key credential used to sign requests.
Applies to
DataLakeDirectoryClient(String, String, String)
- Source:
- DataLakeDirectoryClient.cs
- Source:
- DataLakeDirectoryClient.cs
Initializes a new instance of the DataLakeDirectoryClient.
public DataLakeDirectoryClient (string connectionString, string fileSystemName, string directoryPath);
new Azure.Storage.Files.DataLake.DataLakeDirectoryClient : string * string * string -> Azure.Storage.Files.DataLake.DataLakeDirectoryClient
Public Sub New (connectionString As String, fileSystemName As String, directoryPath 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.
- directoryPath
- String
The path to the directory.
Applies to
DataLakeDirectoryClient(Uri, AzureSasCredential, DataLakeClientOptions)
- Source:
- DataLakeDirectoryClient.cs
- Source:
- DataLakeDirectoryClient.cs
Initializes a new instance of the DataLakeDirectoryClient class.
public DataLakeDirectoryClient (Uri directoryUri, Azure.AzureSasCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakeDirectoryClient : Uri * Azure.AzureSasCredential * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakeDirectoryClient
Public Sub New (directoryUri As Uri, credential As AzureSasCredential, options As DataLakeClientOptions)
Parameters
- directoryUri
- Uri
A Uri referencing the directory that includes the name of the account, the name of the file system, and the path of the directory. 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
DataLakeDirectoryClient(Uri, TokenCredential, DataLakeClientOptions)
- Source:
- DataLakeDirectoryClient.cs
- Source:
- DataLakeDirectoryClient.cs
Initializes a new instance of the DataLakeDirectoryClient class.
public DataLakeDirectoryClient (Uri directoryUri, Azure.Core.TokenCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakeDirectoryClient : Uri * Azure.Core.TokenCredential * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakeDirectoryClient
Public Sub New (directoryUri As Uri, credential As TokenCredential, options As DataLakeClientOptions)
Parameters
- directoryUri
- Uri
A Uri referencing the directory that includes the name of the account, the name of the file system, and the path of the directory.
- 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
DataLakeDirectoryClient(Uri, StorageSharedKeyCredential, DataLakeClientOptions)
- Source:
- DataLakeDirectoryClient.cs
- Source:
- DataLakeDirectoryClient.cs
Initializes a new instance of the DataLakeDirectoryClient class.
public DataLakeDirectoryClient (Uri directoryUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakeDirectoryClient : Uri * Azure.Storage.StorageSharedKeyCredential * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakeDirectoryClient
Public Sub New (directoryUri As Uri, credential As StorageSharedKeyCredential, options As DataLakeClientOptions)
Parameters
- directoryUri
- Uri
A Uri referencing the directory that includes the name of the account, the name of the file system, and the path of the directory.
- 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
DataLakeDirectoryClient(String, String, String, DataLakeClientOptions)
- Source:
- DataLakeDirectoryClient.cs
- Source:
- DataLakeDirectoryClient.cs
Initializes a new instance of the DataLakeDirectoryClient.
public DataLakeDirectoryClient (string connectionString, string fileSystemName, string directoryPath, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakeDirectoryClient : string * string * string * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakeDirectoryClient
Public Sub New (connectionString As String, fileSystemName As String, directoryPath 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.
- directoryPath
- String
The path to the directory.
- options
- DataLakeClientOptions
Optional client options that define the transport pipeline policies for authentication, retries, etc., that are applied to every request.