BlobClientBuilderExtensions.AddBlobServiceClient Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
AddBlobServiceClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Inscrit un BlobServiceClient instance avec les options de connexion chargées à partir de la instance fournie |
AddBlobServiceClient<TBuilder>(TBuilder, String) |
Inscrit un BlobServiceClient instance avec le fourni |
AddBlobServiceClient<TBuilder>(TBuilder, Uri) |
Inscrit un BlobServiceClient instance avec le fourni |
AddBlobServiceClient<TBuilder>(TBuilder, Uri, StorageSharedKeyCredential) |
Inscrit un BlobServiceClient instance avec le fourni |
AddBlobServiceClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
Inscrit un BlobServiceClient instance avec les options de connexion chargées à partir de la instance fournie configuration
.
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)
Paramètres de type
- TBuilder
- TConfiguration
Paramètres
- builder
- TBuilder
- configuration
- TConfiguration
Retours
S’applique à
AddBlobServiceClient<TBuilder>(TBuilder, String)
Inscrit un BlobServiceClient instance avec le fourniconnectionString
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)
Paramètres de type
- TBuilder
Paramètres
- builder
- TBuilder
- connectionString
- String
Retours
S’applique à
AddBlobServiceClient<TBuilder>(TBuilder, Uri)
Inscrit un BlobServiceClient instance avec le fourniserviceUri
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)
Paramètres de type
- TBuilder
Paramètres
- builder
- TBuilder
- serviceUri
- Uri
Retours
S’applique à
AddBlobServiceClient<TBuilder>(TBuilder, Uri, StorageSharedKeyCredential)
Inscrit un BlobServiceClient instance avec le fourni serviceUri
etsharedKeyCredential
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)
Paramètres de type
- TBuilder
Paramètres
- builder
- TBuilder
- serviceUri
- Uri
- sharedKeyCredential
- StorageSharedKeyCredential
Retours
S’applique à
Azure SDK for .NET