RabbitMQServerResource

Handle
📦 Aspire.Hosting.RabbitMQ v17.0.0
interface RabbitMQServerResource
extends IComputeResource,
IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithArgs,
IResourceWithConnectionString,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport,
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
readonly host: EndpointReferenceExpression;
readonly managementEndpoint: EndpointReference;
readonly passwordParameter: ParameterResource;
readonly port: EndpointReferenceExpression;
readonly primaryEndpoint: EndpointReference;
readonly resourceTypeDisplayName: string;
readonly uriExpression: ReferenceExpression;
readonly userNameParameter: ParameterResource;
readonly userNameReference: ReferenceExpression;
withDataBindMount(
source: string,
isReadOnly?: boolean): RabbitMQServerResource;
withDataVolume(
name?: string,
isReadOnly?: boolean): RabbitMQServerResource;
withManagementPlugin(port?: number): RabbitMQServerResource;
}

Properties

propertyconnectionStringExpressionReferenceExpressionget
Gets the connection string expression for the RabbitMQ server.
propertyhostEndpointReferenceExpressionget
Gets the host endpoint reference for this resource.
propertymanagementEndpointEndpointReferenceget
Gets the management endpoint for the RabbitMQ server.
propertypasswordParameterParameterResourceget
Gets the parameter that contains the RabbitMQ server password.
propertyportEndpointReferenceExpressionget
Gets the port endpoint reference for this resource.
propertyprimaryEndpointEndpointReferenceget
Gets the primary endpoint for the RabbitMQ server.
propertyresourceTypeDisplayNamestringget
Gets the ResourceTypeDisplayName property
propertyuriExpressionReferenceExpressionget
Gets the connection URI expression for the RabbitMQ server.
propertyuserNameParameterParameterResourceget
Gets the parameter that contains the RabbitMQ server user name.
propertyuserNameReferenceReferenceExpressionget
Gets a reference to the user name for the RabbitMQ server.

Methods

methodwithDataBindMountbuilder
Adds a bind mount for the data folder to a RabbitMQ container resource.
withDataBindMount(
source: string,
isReadOnly?: boolean): RabbitMQServerResource
sourcestringThe source directory on the host to mount into the container.
isReadOnlybooleanoptional= FalseA flag that indicates if this is a read-only mount.
RabbitMQServerResource
methodwithDataVolumebuilder
Adds a named volume for the data folder to a RabbitMQ container resource.
withDataVolume(
name?: string,
isReadOnly?: boolean): RabbitMQServerResource
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
isReadOnlybooleanoptional= FalseA flag that indicates if this is a read-only volume.
RabbitMQServerResource
Enables the RabbitMQ management plugin
withManagementPlugin(port?: number): RabbitMQServerResource
portnumberoptional
RabbitMQServerResource