rabbitmq logo
RabbitMQ v3.3.0, Mar 22 23


Explore with Pulumi AI

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
  function: rabbitmq:index/getExchange:getExchange
    # 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


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

RabbitMQ pulumi/pulumi-rabbitmq

This Pulumi package is based on the rabbitmq Terraform Provider.