1. Packages
  2. RabbitMQ
  3. API Docs
  4. getExchange
RabbitMQ v3.3.2 published on Thursday, Mar 21, 2024 by Pulumi

rabbitmq.getExchange

Explore with Pulumi AI

rabbitmq logo
RabbitMQ v3.3.2 published on Thursday, Mar 21, 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, object>
    AutoDelete bool
    Durable bool
    Type string
    Arguments map[string]interface{}
    AutoDelete bool
    Durable bool
    type String
    arguments Map<String,Object>
    autoDelete Boolean
    durable Boolean
    type string
    arguments {[key: string]: any}
    autoDelete boolean
    durable boolean
    type str
    arguments Mapping[str, Any]
    auto_delete bool
    durable bool
    type String
    arguments Map<Any>
    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.2 published on Thursday, Mar 21, 2024 by Pulumi