RabbitMQ v3.3.6 published on Monday, Oct 7, 2024 by Pulumi
rabbitmq.getExchange
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
fn::invoke:
function: rabbitmq:index/getExchange:getExchange
arguments:
# arguments dictionary
The following arguments are supported:
getExchange Result
The following output properties are available:
- Id string
- Name string
- Settings
List<Pulumi.
Rabbit MQ. Outputs. Get Exchange Setting> - Vhost string
- Id string
- Name string
- Settings
[]Get
Exchange Setting - Vhost string
- id String
- name String
- settings
List<Get
Exchange Setting> - vhost String
- id string
- name string
- settings
Get
Exchange Setting[] - vhost string
- id str
- name str
- settings
Sequence[Get
Exchange Setting] - vhost str
- id String
- name String
- settings List<Property Map>
- vhost String
Supporting Types
GetExchangeSetting
- Type string
- Arguments Dictionary<string, string>
- Auto
Delete bool - Durable bool
- Type string
- Arguments map[string]string
- Auto
Delete bool - Durable bool
- type String
- arguments Map<String,String>
- auto
Delete Boolean - durable Boolean
- type string
- arguments {[key: string]: string}
- auto
Delete boolean - durable boolean
- type str
- arguments Mapping[str, str]
- auto_
delete bool - durable bool
- type String
- arguments Map<String>
- auto
Delete 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.