Skip to content
Docs Try Aspire
Docs Try

RabbitMQServerResource

Handle
📦 Aspire.Hosting.RabbitMQ v13.3.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 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

property connectionStringExpression ReferenceExpression get
Gets the ConnectionStringExpression property
property host EndpointReferenceExpression get
Gets the Host property
property managementEndpoint EndpointReference get
Gets the ManagementEndpoint property
property passwordParameter ParameterResource get
Gets the PasswordParameter property
property port EndpointReferenceExpression get
Gets the Port property
property primaryEndpoint EndpointReference get
Gets the PrimaryEndpoint property
property uriExpression ReferenceExpression get
Gets the UriExpression property
property userNameParameter ParameterResource get
Gets the UserNameParameter property
property userNameReference ReferenceExpression get
Gets the UserNameReference property

Methods

method withDataBindMount builder
Adds a data bind mount to the RabbitMQ container
withDataBindMount(
source: string,
isReadOnly?: boolean): RabbitMQServerResource
source string
isReadOnly boolean optional = False
RabbitMQServerResource
method withDataVolume builder
Adds a data volume to the RabbitMQ container
withDataVolume(
name?: string,
isReadOnly?: boolean): RabbitMQServerResource
name string optional
isReadOnly boolean optional = False
RabbitMQServerResource
method withManagementPlugin builder
Enables the RabbitMQ management plugin
withManagementPlugin(port?: number): RabbitMQServerResource
port number optional
RabbitMQServerResource