你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BlobService.IClientCreator<BlobServiceClient,BlobClientOptions>.CreateClient Method
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.
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.