1. Packages
  2. RabbitMQ
  3. API Docs
  4. getVHost
RabbitMQ v3.3.3 published on Friday, May 24, 2024 by Pulumi

rabbitmq.getVHost

Explore with Pulumi AI

rabbitmq logo
RabbitMQ v3.3.3 published on Friday, May 24, 2024 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>
    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]
    func LookupVHost(ctx *Context, args *LookupVHostArgs, opts ...InvokeOption) (*LookupVHostResult, error)
    func LookupVHostOutput(ctx *Context, args *LookupVHostOutputArgs, opts ...InvokeOption) LookupVHostResultOutput

    > 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)
    }
    public static CompletableFuture<GetVHostResult> getVHost(GetVHostArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: rabbitmq:index/getVHost:getVHost
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name string
    name String
    name string
    name str
    name 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 logo
    RabbitMQ v3.3.3 published on Friday, May 24, 2024 by Pulumi