Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithFlociAzureReference

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.6.1
func (ResourceWithEnvironment) WithFlociAzureReference(floci FlociAzureContainerResource) ResourceWithEnvironment

Signature

methodWithFlociAzureReferencebuilder
Adds a reference to a Floci Azure emulator resource
WithFlociAzureReference(floci FlociAzureContainerResource) ResourceWithEnvironment
flociFlociAzureContainerResourceThe Floci Azure 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