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

rabbitmq.getExchange

Explore with Pulumi AI

RabbitMQ v3.3.9 published on Wednesday, Feb 12, 2025 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>
Copy
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]
Copy
func LookupExchange(ctx *Context, args *LookupExchangeArgs, opts ...InvokeOption) (*LookupExchangeResult, error)
func LookupExchangeOutput(ctx *Context, args *LookupExchangeOutputArgs, opts ...InvokeOption) LookupExchangeResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetExchangeResult> getExchange(GetExchangeArgs args, InvokeOptions options)
public static Output<GetExchangeResult> getExchange(GetExchangeArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: rabbitmq:index/getExchange:getExchange
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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

getExchange Result

The following output properties are available:

Supporting Types

GetExchangeSetting

Type This property is required. string
Arguments Dictionary<string, string>
AutoDelete bool
Durable bool
Type This property is required. string
Arguments map[string]string
AutoDelete bool
Durable bool
type This property is required. String
arguments Map<String,String>
autoDelete Boolean
durable Boolean
type This property is required. string
arguments {[key: string]: string}
autoDelete boolean
durable boolean
type This property is required. str
arguments Mapping[str, str]
auto_delete bool
durable bool
type This property is required. 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 v3.3.9 published on Wednesday, Feb 12, 2025 by Pulumi