# FlociAzureServiceBusResource

- Module: [CommunityToolkit.Aspire.Hosting.Floci](/reference/api/go/communitytoolkit.aspire.hosting.floci.md)
- Version: `13.6.1`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

Represents the Service Bus AMQP data plane exposed by a Floci Azure emulator resource.

## Remarks

floci-az serves Service Bus AMQP from an Artemis sidecar container that publishes the
configured ports directly on the Docker host. The resource models those host ports as
proxyless Aspire endpoints which the integration allocates without proxying traffic to the
parent container. Container consumers reach those same ports through the container runtime's
host gateway. This resource is only supported in run mode.

## Definition

```go
type FlociAzureServiceBusResource interface {
    ExpressionValue
    Resource
    ResourceWithConnectionString
    ResourceWithEndpoints
    ResourceWithParent
}
```

## Embeds

- `ExpressionValue`
- `Resource`
- `ResourceWithConnectionString`
- `ResourceWithEndpoints`
- `ResourceWithParent`

## Properties

- `AmqpEndpoint`: `EndpointReference` `get` -- Gets the Service Bus plain AMQP endpoint.
- `AmqpTlsEndpoint`: `EndpointReference` `get` -- Gets the Service Bus AMQPS/TLS endpoint.
- `ConnectionStringExpression`: `*ReferenceExpression` `get` -- Gets the Service Bus connection string expression. `UseDevelopmentEmulator=true` makes the Azure SDKs use plain AMQP (no TLS), matching the official Service Bus emulator's connection-string shape.
- `Parent`: [`FlociAzureContainerResource`](/reference/api/go/communitytoolkit.aspire.hosting.floci/flociazurecontainerresource.md) `get` -- Gets the parent Floci Azure emulator resource.
