Class VHost
The rabbitmq..VHost resource creates and manages a vhost.
Example Usage
using Pulumi;
using RabbitMQ = Pulumi.RabbitMQ;
class MyStack : Stack
{
public MyStack()
{
var myVhost = new RabbitMQ.VHost("myVhost", new RabbitMQ.VHostArgs
{
});
}
}
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.RabbitMQ
Assembly: Pulumi.RabbitMQ.dll
Syntax
public class VHost : CustomResource
Constructors
View SourceVHost(String, VHostArgs, CustomResourceOptions)
Create a VHost resource with the given unique name, arguments, and options.
Declaration
public VHost(string name, VHostArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| VHostArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceName
The name of the vhost.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, VHostState, CustomResourceOptions)
Get an existing VHost resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static VHost Get(string name, Input<string> id, VHostState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| VHostState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| VHost |