共用方式為


DataLakeServiceClient Constructors

Definition

Overloads

DataLakeServiceClient()

Initializes a new instance of the DataLakeServiceClient class for mocking.

DataLakeServiceClient(Uri, StorageSharedKeyCredential, DataLakeClientOptions)

Initializes a new instance of the DataLakeServiceClient class.

DataLakeServiceClient(Uri, TokenCredential, DataLakeClientOptions)

Initializes a new instance of the DataLakeServiceClient class.

DataLakeServiceClient(Uri, StorageSharedKeyCredential)

Initializes a new instance of the DataLakeServiceClient class.

DataLakeServiceClient(Uri, DataLakeClientOptions)

Initializes a new instance of the DataLakeServiceClient class.

DataLakeServiceClient(Uri, AzureSasCredential, DataLakeClientOptions)

Initializes a new instance of the DataLakeServiceClient class.

DataLakeServiceClient(Uri, AzureSasCredential)

Initializes a new instance of the DataLakeServiceClient class.

DataLakeServiceClient(String, DataLakeClientOptions)

Initializes a new instance of the DataLakeServiceClient class.

DataLakeServiceClient(Uri)

Initializes a new instance of the DataLakeServiceClient class.

DataLakeServiceClient(String)

Initializes a new instance of the DataLakeServiceClient class.

DataLakeServiceClient(Uri, TokenCredential)

Initializes a new instance of the DataLakeServiceClient class.

DataLakeServiceClient()

Source:
DataLakeServiceClient.cs
Source:
DataLakeServiceClient.cs

Initializes a new instance of the DataLakeServiceClient class for mocking.

protected DataLakeServiceClient ();
Protected Sub New ()

Applies to

DataLakeServiceClient(Uri, StorageSharedKeyCredential, DataLakeClientOptions)

Source:
DataLakeServiceClient.cs
Source:
DataLakeServiceClient.cs

Initializes a new instance of the DataLakeServiceClient class.

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

Parameters

serviceUri
Uri

A Uri referencing the Data Lake service.

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

DataLakeServiceClient(Uri, TokenCredential, DataLakeClientOptions)

Source:
DataLakeServiceClient.cs
Source:
DataLakeServiceClient.cs

Initializes a new instance of the DataLakeServiceClient class.

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

Parameters

serviceUri
Uri

A Uri referencing the Data Lake service.

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

DataLakeServiceClient(Uri, StorageSharedKeyCredential)

Source:
DataLakeServiceClient.cs
Source:
DataLakeServiceClient.cs

Initializes a new instance of the DataLakeServiceClient class.

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

Parameters

serviceUri
Uri

A Uri referencing the Data Lake service.

credential
StorageSharedKeyCredential

The shared key credential used to sign requests.

Applies to

DataLakeServiceClient(Uri, DataLakeClientOptions)

Source:
DataLakeServiceClient.cs
Source:
DataLakeServiceClient.cs

Initializes a new instance of the DataLakeServiceClient class.

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

Parameters

serviceUri
Uri

A Uri referencing the Data Lake service.

options
DataLakeClientOptions

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

Applies to

DataLakeServiceClient(Uri, AzureSasCredential, DataLakeClientOptions)

Source:
DataLakeServiceClient.cs
Source:
DataLakeServiceClient.cs

Initializes a new instance of the DataLakeServiceClient class.

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

Parameters

serviceUri
Uri

A Uri referencing the Data Lake service. 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

DataLakeServiceClient(Uri, AzureSasCredential)

Source:
DataLakeServiceClient.cs
Source:
DataLakeServiceClient.cs

Initializes a new instance of the DataLakeServiceClient class.

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

Parameters

serviceUri
Uri

A Uri referencing the Data Lake service. 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

DataLakeServiceClient(String, DataLakeClientOptions)

Source:
DataLakeServiceClient.cs
Source:
DataLakeServiceClient.cs

Initializes a new instance of the DataLakeServiceClient class.

public DataLakeServiceClient (string connectionString, Azure.Storage.Files.DataLake.DataLakeClientOptions options);
new Azure.Storage.Files.DataLake.DataLakeServiceClient : string * Azure.Storage.Files.DataLake.DataLakeClientOptions -> Azure.Storage.Files.DataLake.DataLakeServiceClient
Public Sub New (connectionString 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.

options
DataLakeClientOptions

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

Applies to

DataLakeServiceClient(Uri)

Source:
DataLakeServiceClient.cs
Source:
DataLakeServiceClient.cs

Initializes a new instance of the DataLakeServiceClient class.

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

Parameters

serviceUri
Uri

A Uri referencing the Data Lake service.

Applies to

DataLakeServiceClient(String)

Source:
DataLakeServiceClient.cs
Source:
DataLakeServiceClient.cs

Initializes a new instance of the DataLakeServiceClient class.

public DataLakeServiceClient (string connectionString);
new Azure.Storage.Files.DataLake.DataLakeServiceClient : string -> Azure.Storage.Files.DataLake.DataLakeServiceClient
Public Sub New (connectionString 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.

Applies to

DataLakeServiceClient(Uri, TokenCredential)

Source:
DataLakeServiceClient.cs
Source:
DataLakeServiceClient.cs

Initializes a new instance of the DataLakeServiceClient class.

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

Parameters

serviceUri
Uri

A Uri referencing the Data Lake service.

credential
TokenCredential

The token credential used to sign requests.

Applies to