Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddFlociAzure

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.6.1
func (DistributedApplicationBuilder) AddFlociAzure(
name string,
options ...*AddFlociAzureOptions,
) FlociAzureContainerResource

Signature

methodAddFlociAzurebuilder
Adds a Floci Azure emulator container resource
AddFlociAzure(
name string,
options ...*AddFlociAzureOptions,
) FlociAzureContainerResource
namestringThe name of the Floci container resource.
options...*AddFlociAzureOptionsOptional settings, described under Options.

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

Port*float64Optional. The host port to bind for the Azure endpoint.
FlociAzureContainerResource

A reference to the IResourceBuilder for further resource configuration.

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

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder