AzureStorageResource.AddBlobContainer

Method
📦 Aspire.Hosting.Azure.Storage v17.0.0
type AzureStorageResource interface {
// ... omitted for brevity
AddBlobContainer(
name string,
options ...*AddBlobContainerOptions,
) AzureBlobStorageContainerResource
}

Signature

methodAddBlobContainerbuilder
Adds an Azure Blob Storage container resource
AddBlobContainer(
name string,
options ...*AddBlobContainerOptions,
) AzureBlobStorageContainerResource
namestringThe name of the resource.
options...*AddBlobContainerOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddBlobContainerOptions argument.

BlobContainerName*stringThe name of the blob container.
AzureBlobStorageContainerResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: