Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithFlociGcpReference

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.6.1
func (ResourceWithEnvironment) WithFlociGcpReference(floci FlociGcpContainerResource) ResourceWithEnvironment

Signature

methodWithFlociGcpReferencebuilder
Adds a reference to a Floci GCP emulator resource
WithFlociGcpReference(floci FlociGcpContainerResource) ResourceWithEnvironment
flociFlociGcpContainerResourceThe Floci GCP resource to reference.
ResourceWithEnvironment

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:

typeCSharpAppResource
typeContainerResource
typeDotnetToolResource
typeExecutableResource
typeFlociAwsContainerResource
typeFlociAzureContainerResource
typeFlociGcpContainerResource
typeFlociUIContainerResource
typeProjectResource