RabbitMQBuilderExtensions.WithManagementPlugin Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the RabbitMQ container resource to enable the RabbitMQ management plugin.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.RabbitMQServerResource> WithManagementPlugin (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.RabbitMQServerResource> builder);
static member WithManagementPlugin : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.RabbitMQServerResource> -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.RabbitMQServerResource>
<Extension()>
Public Function WithManagementPlugin (builder As IResourceBuilder(Of RabbitMQServerResource)) As IResourceBuilder(Of RabbitMQServerResource)
Parameters
- builder
- IResourceBuilder<RabbitMQServerResource>
The resource builder.
Returns
The IResourceBuilder<T>.
Exceptions
Thrown when the current container image and tag do not match the defaults for RabbitMQServerResource.
Remarks
This method only supports the default RabbitMQ container image and tags, e.g. 3
, 3.12-alpine
, 3.12.13-management-alpine
, etc.
Calling this method on a resource configured with an unrecognized image registry, name, or tag will result in a DistributedApplicationException being thrown.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for