Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddFlociGcp

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.6.1
func (DistributedApplicationBuilder) AddFlociGcp(
name string,
options ...*AddFlociGcpOptions,
) FlociGcpContainerResource

Signature

methodAddFlociGcpbuilder
Adds a Floci GCP emulator container resource
AddFlociGcp(
name string,
options ...*AddFlociGcpOptions,
) FlociGcpContainerResource
namestringThe name of the Floci container resource.
options...*AddFlociGcpOptionsOptional settings, described under Options.

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

Port*float64Optional. The host port to bind for the GCP endpoint.
DefaultProjectId*stringOptional. The default GCP project ID (default: floci-local).
FlociGcpContainerResource

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