1. Packages
  2. Rabbitmq Provider
  3. API Docs
  4. getExchange
RabbitMQ v3.3.6 published on Monday, Oct 7, 2024 by Pulumi

rabbitmq.getExchange

Explore with Pulumi AI

rabbitmq logo
RabbitMQ v3.3.6 published on Monday, Oct 7, 2024 by Pulumi

    Using getExchange

    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 getExchange(args: GetExchangeArgs, opts?: InvokeOptions): Promise<GetExchangeResult>
    function getExchangeOutput(args: GetExchangeOutputArgs, opts?: InvokeOptions): Output<GetExchangeResult>
    def get_exchange(name: Optional[str] = None,
                     vhost: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetExchangeResult
    def get_exchange_output(name: Optional[pulumi.Input[str]] = None,
                     vhost: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetExchangeResult]
    func LookupExchange(ctx *Context, args *LookupExchangeArgs, opts ...InvokeOption) (*LookupExchangeResult, error)
    func LookupExchangeOutput(ctx *Context, args *LookupExchangeOutputArgs, opts ...InvokeOption) LookupExchangeResultOutput

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

    public static class GetExchange 
    {
        public static Task<GetExchangeResult> InvokeAsync(GetExchangeArgs args, InvokeOptions? opts = null)
        public static Output<GetExchangeResult> Invoke(GetExchangeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetExchangeResult> getExchange(GetExchangeArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: rabbitmq:index/getExchange:getExchange
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Vhost string
    Name string
    Vhost string
    name String
    vhost String
    name string
    vhost string
    name str
    vhost str
    name String
    vhost String

    getExchange Result

    The following output properties are available:

    Supporting Types

    GetExchangeSetting

    Type string
    Arguments Dictionary<string, string>
    AutoDelete bool
    Durable bool
    Type string
    Arguments map[string]string
    AutoDelete bool
    Durable bool
    type String
    arguments Map<String,String>
    autoDelete Boolean
    durable Boolean
    type string
    arguments {[key: string]: string}
    autoDelete boolean
    durable boolean
    type str
    arguments Mapping[str, str]
    auto_delete bool
    durable bool
    type String
    arguments Map<String>
    autoDelete Boolean
    durable Boolean

    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.6 published on Monday, Oct 7, 2024 by Pulumi