Condividi tramite


BlobClientBuilderExtensions.AddBlobServiceClient Method

Definition

Overloads

AddBlobServiceClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a BlobServiceClient instance with connection options loaded from the provided configuration instance.

AddBlobServiceClient<TBuilder>(TBuilder, String)

Registers a BlobServiceClient instance with the provided connectionString

AddBlobServiceClient<TBuilder>(TBuilder, Uri)

Registers a BlobServiceClient instance with the provided serviceUri

AddBlobServiceClient<TBuilder>(TBuilder, Uri, StorageSharedKeyCredential)

Registers a BlobServiceClient instance with the provided serviceUri and sharedKeyCredential

AddBlobServiceClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
BlobClientBuilderExtensions.cs
Source:
BlobClientBuilderExtensions.cs

Registers a BlobServiceClient instance with connection options loaded from the provided configuration instance.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Blobs.BlobServiceClient,Azure.Storage.Blobs.BlobClientOptions> AddBlobServiceClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddBlobServiceClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Blobs.BlobServiceClient, Azure.Storage.Blobs.BlobClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddBlobServiceClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of BlobServiceClient, BlobClientOptions)

Type Parameters

TBuilder
TConfiguration

Parameters

builder
TBuilder
configuration
TConfiguration

Returns

Applies to

AddBlobServiceClient<TBuilder>(TBuilder, String)

Source:
BlobClientBuilderExtensions.cs
Source:
BlobClientBuilderExtensions.cs

Registers a BlobServiceClient instance with the provided connectionString

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Blobs.BlobServiceClient,Azure.Storage.Blobs.BlobClientOptions> AddBlobServiceClient<TBuilder> (this TBuilder builder, string connectionString) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddBlobServiceClient : 'Builder * string -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Blobs.BlobServiceClient, Azure.Storage.Blobs.BlobClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddBlobServiceClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, connectionString As String) As IAzureClientBuilder(Of BlobServiceClient, BlobClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder
connectionString
String

Returns

Applies to

AddBlobServiceClient<TBuilder>(TBuilder, Uri)

Source:
BlobClientBuilderExtensions.cs
Source:
BlobClientBuilderExtensions.cs

Registers a BlobServiceClient instance with the provided serviceUri

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Blobs.BlobServiceClient,Azure.Storage.Blobs.BlobClientOptions> AddBlobServiceClient<TBuilder> (this TBuilder builder, Uri serviceUri) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddBlobServiceClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Blobs.BlobServiceClient, Azure.Storage.Blobs.BlobClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddBlobServiceClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, serviceUri As Uri) As IAzureClientBuilder(Of BlobServiceClient, BlobClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder
serviceUri
Uri

Returns

Applies to

AddBlobServiceClient<TBuilder>(TBuilder, Uri, StorageSharedKeyCredential)

Source:
BlobClientBuilderExtensions.cs
Source:
BlobClientBuilderExtensions.cs

Registers a BlobServiceClient instance with the provided serviceUri and sharedKeyCredential

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Blobs.BlobServiceClient,Azure.Storage.Blobs.BlobClientOptions> AddBlobServiceClient<TBuilder> (this TBuilder builder, Uri serviceUri, Azure.Storage.StorageSharedKeyCredential sharedKeyCredential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddBlobServiceClient : 'Builder * Uri * Azure.Storage.StorageSharedKeyCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Blobs.BlobServiceClient, Azure.Storage.Blobs.BlobClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddBlobServiceClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, serviceUri As Uri, sharedKeyCredential As StorageSharedKeyCredential) As IAzureClientBuilder(Of BlobServiceClient, BlobClientOptions)

Type Parameters

TBuilder

Parameters

builder
TBuilder
serviceUri
Uri
sharedKeyCredential
StorageSharedKeyCredential

Returns

Applies to