Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithStorage

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.6.1
func (FlociAzureContainerResource) WithStorage(options ...*WithStorageOptions) FlociAzureStorageResource

Signature

methodWithStoragebuilder
Adds a Storage child resource to the Floci Azure emulator
WithStorage(options ...*WithStorageOptions) FlociAzureStorageResource
options...*WithStorageOptionsOptional settings, described under Options.

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

Name*stringThe name of the Storage resource (default: storage).
FlociAzureStorageResource

A reference to the IResourceBuilder for further configuration.

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

Applies to

This method applies to the following types: