DataLakeServiceClient 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
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
- 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
- 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
- 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
- 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
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
- credential
- TokenCredential
The token credential used to sign requests.