共用方式為


BlobService.IClientCreator<BlobServiceClient,BlobClientOptions>.CreateClient Method

Definition

Create a BlobServiceClient after deploying a BlobService resource.

Azure.Storage.Blobs.BlobServiceClient IClientCreator<BlobServiceClient,BlobClientOptions>.CreateClient (System.Collections.Generic.IReadOnlyDictionary<string,object?> deploymentOutputs, Azure.Core.TokenCredential credential, Azure.Storage.Blobs.BlobClientOptions? options);
abstract member Azure.Provisioning.Primitives.IClientCreator<Azure.Storage.Blobs.BlobServiceClient,Azure.Storage.Blobs.BlobClientOptions>.CreateClient : System.Collections.Generic.IReadOnlyDictionary<string, obj> * Azure.Core.TokenCredential * Azure.Storage.Blobs.BlobClientOptions -> Azure.Storage.Blobs.BlobServiceClient
override this.Azure.Provisioning.Primitives.IClientCreator<Azure.Storage.Blobs.BlobServiceClient,Azure.Storage.Blobs.BlobClientOptions>.CreateClient : System.Collections.Generic.IReadOnlyDictionary<string, obj> * Azure.Core.TokenCredential * Azure.Storage.Blobs.BlobClientOptions -> Azure.Storage.Blobs.BlobServiceClient
Function CreateClient (deploymentOutputs As IReadOnlyDictionary(Of String, Object), credential As TokenCredential, options As BlobClientOptions) As BlobServiceClient Implements IClientCreator(Of BlobServiceClient, BlobClientOptions).CreateClient

Parameters

deploymentOutputs
IReadOnlyDictionary<String,Object>

The deployment outputs.

credential
TokenCredential

A credential to use for creating the client.

options
BlobClientOptions

Optional BlobClientOptions to use for configuring the BlobServiceClient.

Returns

A BlobServiceClient client for the provisioned BlobService resource.

Implements

Applies to