BlobBaseClient Constructors

Definition

Overloads

BlobBaseClient()

Initializes a new instance of the BlobBaseClient class.

BlobBaseClient(Uri, BlobClientOptions)

Initializes a new instance of the BlobBaseClient class.

BlobBaseClient(String, String, String)

Initializes a new instance of the BlobBaseClient class.

BlobBaseClient(Uri, AzureSasCredential, BlobClientOptions)

Initializes a new instance of the BlobBaseClient class.

BlobBaseClient(Uri, TokenCredential, BlobClientOptions)

Initializes a new instance of the BlobBaseClient class.

BlobBaseClient(Uri, StorageSharedKeyCredential, BlobClientOptions)

Initializes a new instance of the BlobBaseClient class.

BlobBaseClient(String, String, String, BlobClientOptions)

Initializes a new instance of the BlobBaseClient class.

BlobBaseClient()

Source:
BlobBaseClient.cs
Source:
BlobBaseClient.cs

Initializes a new instance of the BlobBaseClient class.

protected BlobBaseClient ();
Protected Sub New ()

Applies to

BlobBaseClient(Uri, BlobClientOptions)

Source:
BlobBaseClient.cs
Source:
BlobBaseClient.cs

Initializes a new instance of the BlobBaseClient class.

public BlobBaseClient (Uri blobUri, Azure.Storage.Blobs.BlobClientOptions options = default);
new Azure.Storage.Blobs.Specialized.BlobBaseClient : Uri * Azure.Storage.Blobs.BlobClientOptions -> Azure.Storage.Blobs.Specialized.BlobBaseClient
Public Sub New (blobUri As Uri, Optional options As BlobClientOptions = Nothing)

Parameters

blobUri
Uri

A Uri referencing the blob that includes the name of the account, the name of the container, and the name of the blob. This is likely to be similar to "https://{account_name}.blob.core.windows.net/{container_name}/{blob_name}".

options
BlobClientOptions

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

Applies to

BlobBaseClient(String, String, String)

Source:
BlobBaseClient.cs
Source:
BlobBaseClient.cs

Initializes a new instance of the BlobBaseClient class.

public BlobBaseClient (string connectionString, string blobContainerName, string blobName);
new Azure.Storage.Blobs.Specialized.BlobBaseClient : string * string * string -> Azure.Storage.Blobs.Specialized.BlobBaseClient
Public Sub New (connectionString As String, blobContainerName As String, blobName 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

blobContainerName
String

The name of the container containing this blob.

blobName
String

The name of this blob.

Applies to

BlobBaseClient(Uri, AzureSasCredential, BlobClientOptions)

Source:
BlobBaseClient.cs
Source:
BlobBaseClient.cs

Initializes a new instance of the BlobBaseClient class.

public BlobBaseClient (Uri blobUri, Azure.AzureSasCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default);
new Azure.Storage.Blobs.Specialized.BlobBaseClient : Uri * Azure.AzureSasCredential * Azure.Storage.Blobs.BlobClientOptions -> Azure.Storage.Blobs.Specialized.BlobBaseClient
Public Sub New (blobUri As Uri, credential As AzureSasCredential, Optional options As BlobClientOptions = Nothing)

Parameters

blobUri
Uri

A Uri referencing the blob that includes the name of the account, the name of the container, and the name of the blob. This is likely to be similar to "https://{account_name}.blob.core.windows.net/{container_name}/{blob_name}". 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
BlobClientOptions

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

BlobBaseClient(Uri, TokenCredential, BlobClientOptions)

Source:
BlobBaseClient.cs
Source:
BlobBaseClient.cs

Initializes a new instance of the BlobBaseClient class.

public BlobBaseClient (Uri blobUri, Azure.Core.TokenCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default);
new Azure.Storage.Blobs.Specialized.BlobBaseClient : Uri * Azure.Core.TokenCredential * Azure.Storage.Blobs.BlobClientOptions -> Azure.Storage.Blobs.Specialized.BlobBaseClient
Public Sub New (blobUri As Uri, credential As TokenCredential, Optional options As BlobClientOptions = Nothing)

Parameters

blobUri
Uri

A Uri referencing the blob that includes the name of the account, the name of the container, and the name of the blob. This is likely to be similar to "https://{account_name}.blob.core.windows.net/{container_name}/{blob_name}".

credential
TokenCredential

The token credential used to sign requests.

options
BlobClientOptions

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

Applies to

BlobBaseClient(Uri, StorageSharedKeyCredential, BlobClientOptions)

Source:
BlobBaseClient.cs
Source:
BlobBaseClient.cs

Initializes a new instance of the BlobBaseClient class.

public BlobBaseClient (Uri blobUri, Azure.Storage.StorageSharedKeyCredential credential, Azure.Storage.Blobs.BlobClientOptions options = default);
new Azure.Storage.Blobs.Specialized.BlobBaseClient : Uri * Azure.Storage.StorageSharedKeyCredential * Azure.Storage.Blobs.BlobClientOptions -> Azure.Storage.Blobs.Specialized.BlobBaseClient
Public Sub New (blobUri As Uri, credential As StorageSharedKeyCredential, Optional options As BlobClientOptions = Nothing)

Parameters

blobUri
Uri

A Uri referencing the blob that includes the name of the account, the name of the container, and the name of the blob. This is likely to be similar to "https://{account_name}.blob.core.windows.net/{container_name}/{blob_name}".

credential
StorageSharedKeyCredential

The shared key credential used to sign requests.

options
BlobClientOptions

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

Applies to

BlobBaseClient(String, String, String, BlobClientOptions)

Source:
BlobBaseClient.cs
Source:
BlobBaseClient.cs

Initializes a new instance of the BlobBaseClient class.

public BlobBaseClient (string connectionString, string blobContainerName, string blobName, Azure.Storage.Blobs.BlobClientOptions options);
new Azure.Storage.Blobs.Specialized.BlobBaseClient : string * string * string * Azure.Storage.Blobs.BlobClientOptions -> Azure.Storage.Blobs.Specialized.BlobBaseClient
Public Sub New (connectionString As String, blobContainerName As String, blobName As String, options As BlobClientOptions)

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

blobContainerName
String

The name of the container containing this blob.

blobName
String

The name of this blob.

options
BlobClientOptions

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

Applies to