DataLakeFileClient 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
DataLakeFileClient()
- Source:
- DataLakeFileClient.cs
- Source:
- DataLakeFileClient.cs
Initializes a new instance of the DataLakeFileClient class for mocking.
protected DataLakeFileClient ();
Protected Sub New ()
Applies to
DataLakeFileClient(Uri, StorageSharedKeyCredential, DataLakeClientOptions)
- Source:
- DataLakeFileClient.cs
- Source:
- DataLakeFileClient.cs
Initializes a new instance of the DataLakeFileClient class.
public DataLakeFileClient (Uri fileUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakeFileClient : Uri * Azure.Storage.StorageSharedKeyCredential * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakeFileClient
Public Sub New (fileUri As Uri, credential As StorageSharedKeyCredential, options As DataLakeClientOptions)
Parameters
- fileUri
- Uri
A Uri referencing the file that includes the name of the account, the name of the file system, and the path of the file.
- credential
- StorageSharedKeyCredential
The shared key credential used to sign requests.
- options
- DataLakeClientOptions
Optional DataLakeClientOptions that define the transport pipeline policies for authentication, retries, etc., that are applied to every request.
Applies to
DataLakeFileClient(Uri, TokenCredential, DataLakeClientOptions)
- Source:
- DataLakeFileClient.cs
- Source:
- DataLakeFileClient.cs
Initializes a new instance of the DataLakeFileClient class.
public DataLakeFileClient (Uri fileUri, Azure.Core.TokenCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakeFileClient : Uri * Azure.Core.TokenCredential * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakeFileClient
Public Sub New (fileUri As Uri, credential As TokenCredential, options As DataLakeClientOptions)
Parameters
- fileUri
- Uri
A Uri referencing the file that includes the name of the account, the name of the file system, and the path of the file.
- credential
- TokenCredential
The token credential used to sign requests.
- options
- DataLakeClientOptions
Optional DataLakeClientOptions that define the transport pipeline policies for authentication, retries, etc., that are applied to every request.
Applies to
DataLakeFileClient(Uri, AzureSasCredential, DataLakeClientOptions)
- Source:
- DataLakeFileClient.cs
- Source:
- DataLakeFileClient.cs
Initializes a new instance of the DataLakeFileClient class.
public DataLakeFileClient (Uri fileUri, Azure.AzureSasCredential credential, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakeFileClient : Uri * Azure.AzureSasCredential * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakeFileClient
Public Sub New (fileUri As Uri, credential As AzureSasCredential, options As DataLakeClientOptions)
Parameters
- fileUri
- Uri
A Uri referencing the file that includes the name of the account, the name of the file system, and the path of the file. 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 DataLakeClientOptions 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
DataLakeFileClient(String, String, String)
- Source:
- DataLakeFileClient.cs
- Source:
- DataLakeFileClient.cs
Initializes a new instance of the DataLakeDirectoryClient.
public DataLakeFileClient (string connectionString, string fileSystemName, string filePath);
new Azure.Storage.Files.DataLake.DataLakeFileClient : string * string * string -> Azure.Storage.Files.DataLake.DataLakeFileClient
Public Sub New (connectionString As String, fileSystemName As String, filePath 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.
- filePath
- String
The path to the file.
Applies to
DataLakeFileClient(String, String, String, DataLakeClientOptions)
- Source:
- DataLakeFileClient.cs
- Source:
- DataLakeFileClient.cs
Initializes a new instance of the DataLakeDirectoryClient.
public DataLakeFileClient (string connectionString, string fileSystemName, string filePath, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakeFileClient : string * string * string * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakeFileClient
Public Sub New (connectionString As String, fileSystemName As String, filePath 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.
- filePath
- String
The path to the file.
- options
- DataLakeClientOptions
Optional client options that define the transport pipeline policies for authentication, retries, etc., that are applied to every request.
Applies to
DataLakeFileClient(Uri, DataLakeClientOptions)
- Source:
- DataLakeFileClient.cs
- Source:
- DataLakeFileClient.cs
Initializes a new instance of the DataLakeFileClient class.
public DataLakeFileClient (Uri fileUri, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakeFileClient : Uri * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakeFileClient
Public Sub New (fileUri As Uri, options As DataLakeClientOptions)
Parameters
- fileUri
- Uri
A Uri referencing the file that includes the name of the account, the name of the file system, and the path of the file.
- options
- DataLakeClientOptions
Optional DataLakeClientOptions that define the transport pipeline policies for authentication, retries, etc., that are applied to every request.
Applies to
DataLakeFileClient(Uri, TokenCredential)
- Source:
- DataLakeFileClient.cs
- Source:
- DataLakeFileClient.cs
Initializes a new instance of the DataLakeFileClient class.
public DataLakeFileClient (Uri fileUri, Azure.Core.TokenCredential credential);
new Azure.Storage.Files.DataLake.DataLakeFileClient : Uri * Azure.Core.TokenCredential -> Azure.Storage.Files.DataLake.DataLakeFileClient
Public Sub New (fileUri As Uri, credential As TokenCredential)
Parameters
- fileUri
- Uri
A Uri referencing the file that includes the name of the account, the name of the file system, and the path of the file.
- credential
- TokenCredential
The token credential used to sign requests.
Applies to
DataLakeFileClient(Uri, AzureSasCredential)
- Source:
- DataLakeFileClient.cs
- Source:
- DataLakeFileClient.cs
Initializes a new instance of the DataLakeFileClient class.
public DataLakeFileClient (Uri fileUri, Azure.AzureSasCredential credential);
new Azure.Storage.Files.DataLake.DataLakeFileClient : Uri * Azure.AzureSasCredential -> Azure.Storage.Files.DataLake.DataLakeFileClient
Public Sub New (fileUri As Uri, credential As AzureSasCredential)
Parameters
- fileUri
- Uri
A Uri referencing the file that includes the name of the account, the name of the file system, and the path of the file. 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
DataLakeFileClient(Uri)
- Source:
- DataLakeFileClient.cs
- Source:
- DataLakeFileClient.cs
Initializes a new instance of the DataLakeFileClient class.
public DataLakeFileClient (Uri fileUri);
new Azure.Storage.Files.DataLake.DataLakeFileClient : Uri -> Azure.Storage.Files.DataLake.DataLakeFileClient
Public Sub New (fileUri As Uri)
Parameters
- fileUri
- Uri
A Uri referencing the file that includes the name of the account, the name of the file system, and the path of the file.
Applies to
DataLakeFileClient(Uri, StorageSharedKeyCredential)
- Source:
- DataLakeFileClient.cs
- Source:
- DataLakeFileClient.cs
Initializes a new instance of the DataLakeFileClient class.
public DataLakeFileClient (Uri fileUri, Azure.Storage.StorageSharedKeyCredential credential);
new Azure.Storage.Files.DataLake.DataLakeFileClient : Uri * Azure.Storage.StorageSharedKeyCredential -> Azure.Storage.Files.DataLake.DataLakeFileClient
Public Sub New (fileUri As Uri, credential As StorageSharedKeyCredential)
Parameters
- fileUri
- Uri
A Uri referencing the file that includes the name of the account, the name of the file system, and the path of the file.
- credential
- StorageSharedKeyCredential
The shared key credential used to sign requests.
Applies to
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk