Udostępnij za pośrednictwem


AzureStorageExtensions.AddBlobs Method

Definition

Creates a builder for the AzureBlobStorageResource which can be referenced to get the Azure Storage blob endpoint for the storage account.

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureBlobStorageResource> AddBlobs (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureStorageResource> builder, string name);
static member AddBlobs : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureStorageResource> * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureBlobStorageResource>
<Extension()>
Public Function AddBlobs (builder As IResourceBuilder(Of AzureStorageResource), name As String) As IResourceBuilder(Of AzureBlobStorageResource)

Parameters

name
String

The name of the resource.

Returns

An IResourceBuilder<T> for the AzureBlobStorageResource.

Applies to