Condividi tramite


BlobServiceClient.CreateClient Method

Definition

Intended for DataLake to create a backing blob client.

Initializes a new instance of the BlobServiceClient class.

protected static Azure.Storage.Blobs.BlobServiceClient CreateClient (Uri serviceUri, Azure.Storage.Blobs.BlobClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy authentication, Azure.Core.Pipeline.HttpPipeline pipeline, Azure.Storage.StorageSharedKeyCredential sharedKeyCredential, Azure.AzureSasCredential sasCredential, Azure.Core.TokenCredential tokenCredential);
static member CreateClient : Uri * Azure.Storage.Blobs.BlobClientOptions * Azure.Core.Pipeline.HttpPipelinePolicy * Azure.Core.Pipeline.HttpPipeline * Azure.Storage.StorageSharedKeyCredential * Azure.AzureSasCredential * Azure.Core.TokenCredential -> Azure.Storage.Blobs.BlobServiceClient
Protected Shared Function CreateClient (serviceUri As Uri, options As BlobClientOptions, authentication As HttpPipelinePolicy, pipeline As HttpPipeline, sharedKeyCredential As StorageSharedKeyCredential, sasCredential As AzureSasCredential, tokenCredential As TokenCredential) As BlobServiceClient

Parameters

serviceUri
Uri

A Uri referencing the block blob that includes the name of the account, the name of the container, and the name of the blob.

options
BlobClientOptions

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

authentication
HttpPipelinePolicy

An optional authentication policy used to sign requests.

pipeline
HttpPipeline

The transport pipeline used to send every request.

sharedKeyCredential
StorageSharedKeyCredential

The shared key credential used to sign requests.

sasCredential
AzureSasCredential

The SAS credential used to sign requests.

tokenCredential
TokenCredential

The token credential used to sign requests.

Returns

New instanc of the BlobServiceClient class.

Applies to