Partager via


RabbitMQServerResource(String, ParameterResource, ParameterResource) Constructor

Definition

Initializes a new instance of the RabbitMQServerResource class.

public RabbitMQServerResource (string name, Aspire.Hosting.ApplicationModel.ParameterResource? userName, Aspire.Hosting.ApplicationModel.ParameterResource password);
new Aspire.Hosting.ApplicationModel.RabbitMQServerResource : string * Aspire.Hosting.ApplicationModel.ParameterResource * Aspire.Hosting.ApplicationModel.ParameterResource -> Aspire.Hosting.ApplicationModel.RabbitMQServerResource
Public Sub New (name As String, userName As ParameterResource, password As ParameterResource)

Parameters

name
String

The name of the resource.

userName
ParameterResource

A parameter that contains the RabbitMQ server user name, or null to use a default value.

password
ParameterResource

A parameter that contains the RabbitMQ server password.

Applies to