Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

FlociUIContainerResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Floci v13.6.1

Resource for the Floci UI web console container. A single UI instance can attach to any combination of Floci cloud resources (AWS, Azure, GCP) — one created it via WithFlociUI (its Parent), and any others are attached via WithReference.

type FlociUIContainerResource interface {
IComputeResource
Resource
ResourceWithArgs
ResourceWithEndpoints
ResourceWithEnvironment
ResourceWithParent
ResourceWithWaitSupport
}

Properties

propertyPrimaryEndpointEndpointReferenceget
Gets the http endpoint for the Floci UI resource.
PrimaryEndpoint() EndpointReference

Methods

methodWithAwsReferencebuilder
Attaches an additional Floci AWS resource to a Floci UI console
WithAwsReference(cloud FlociAwsContainerResource) FlociUIContainerResource
cloudFlociAwsContainerResourceThe additional Floci AWS resource to attach.
FlociUIContainerResource

A reference to the IResourceBuilder for further configuration.

Returns a handle; failures surface later via Err().

methodWithAzureReferencebuilder
Attaches an additional Floci Azure resource to a Floci UI console
WithAzureReference(cloud FlociAzureContainerResource) FlociUIContainerResource
cloudFlociAzureContainerResourceThe additional Floci Azure resource to attach.
FlociUIContainerResource

A reference to the IResourceBuilder for further configuration.

Returns a handle; failures surface later via Err().

methodWithGcpReferencebuilder
Attaches an additional Floci GCP resource to a Floci UI console
WithGcpReference(cloud FlociGcpContainerResource) FlociUIContainerResource
cloudFlociGcpContainerResourceThe additional Floci GCP resource to attach.
FlociUIContainerResource

A reference to the IResourceBuilder for further configuration.

Returns a handle; failures surface later via Err().

methodWithHostPortbuilder
Configures the host port that the Floci UI resource is exposed on instead of using a randomly assigned port.
WithHostPort(port *float64) FlociUIContainerResource
port*float64The port to bind on the host. If null is used a random port will be assigned.
FlociUIContainerResource

The resource builder for Floci UI.

Returns a handle; failures surface later via Err().