addFlociGcp
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addFlociGcp( name: string, port?: number, defaultProjectId?: string): FlociGcpContainerResource;}Signature
method
addFlociGcp builderAdds a Floci GCP emulator container resource
addFlociGcp( name: string, port?: number, defaultProjectId?: string): FlociGcpContainerResourceParameters
namestringThe name of the Floci container resource.portnumberoptionalOptional. The host port to bind for the GCP endpoint.defaultProjectId stringoptional= floci-localOptional. The default GCP project ID (default: `floci-local`).Returns
FlociGcpContainerResource Applies to
This method applies to the following types: