1. Packages
  2. Rabbitmq Provider
  3. API Docs
  4. getVHost
RabbitMQ v3.3.9 published on Wednesday, Feb 12, 2025 by Pulumi

rabbitmq.getVHost

Explore with Pulumi AI

RabbitMQ v3.3.9 published on Wednesday, Feb 12, 2025 by Pulumi

Using getVHost

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getVHost(args: GetVHostArgs, opts?: InvokeOptions): Promise<GetVHostResult>
function getVHostOutput(args: GetVHostOutputArgs, opts?: InvokeOptions): Output<GetVHostResult>
Copy
def get_v_host(name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetVHostResult
def get_v_host_output(name: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetVHostResult]
Copy
func LookupVHost(ctx *Context, args *LookupVHostArgs, opts ...InvokeOption) (*LookupVHostResult, error)
func LookupVHostOutput(ctx *Context, args *LookupVHostOutputArgs, opts ...InvokeOption) LookupVHostResultOutput
Copy

> Note: This function is named LookupVHost in the Go SDK.

public static class GetVHost 
{
    public static Task<GetVHostResult> InvokeAsync(GetVHostArgs args, InvokeOptions? opts = null)
    public static Output<GetVHostResult> Invoke(GetVHostInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVHostResult> getVHost(GetVHostArgs args, InvokeOptions options)
public static Output<GetVHostResult> getVHost(GetVHostArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: rabbitmq:index/getVHost:getVHost
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Name This property is required. string
name This property is required. String
name This property is required. string
name This property is required. str
name This property is required. String

getVHost Result

The following output properties are available:

Id string
Name string
Id string
Name string
id String
name String
id string
name string
id str
name str
id String
name String

Package Details

Repository
RabbitMQ pulumi/pulumi-rabbitmq
License
Apache-2.0
Notes
This Pulumi package is based on the rabbitmq Terraform Provider.
RabbitMQ v3.3.9 published on Wednesday, Feb 12, 2025 by Pulumi