addFlociGcp

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.6.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addFlociGcp(
name: string,
port?: number,
defaultProjectId?: string): FlociGcpContainerResource;
}

Signature

methodaddFlociGcpbuilder
Adds a Floci GCP emulator container resource
addFlociGcp(
name: string,
port?: number,
defaultProjectId?: string): FlociGcpContainerResource
namestringThe name of the Floci container resource.
portnumberoptionalOptional. The host port to bind for the GCP endpoint.
defaultProjectIdstringoptional= floci-localOptional. The default GCP project ID (default: `floci-local`).
FlociGcpContainerResource

Applies to

This method applies to the following types: