Use this data source to retrieve information about an already created CloudAMQP instance. In order to retrieve the correct information, the CoudAMQP instance identifier is needed.
instance_id- (Required) The CloudAMQP instance identifier.
name- (Computed) The name of the CloudAMQP instance.
plan- (Computed) The subscription plan for the CloudAMQP instance.
region- (Computed) The cloud platform and region that host the CloudAMQP instance,
vpc_subnet- (Computed) Dedicated VPC subnet configured for the CloudAMQP instance.
nodes- (Computed) Number of nodes in the cluster of the CloudAMQP instance.
rmq_version- (Computed) The version of installed Rabbit MQ.
url- (Computed/Sensitive) The AMQP url, used by clients to connect for pub/sub.
apikey- (Computed/Sensitive) The API key to secondary API handing alarms, integration etc.
tags- (Computed) Tags the CloudAMQP instance with categories.
host- (Computed) The hostname for the CloudAMQP instance.
vhost- (Computed) The virtual host configured in Rabbit MQ.
def get_instance(instance_id: Optional[int] = None, vpc_subnet: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetInstanceResult
func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
Note: This function is named
LookupInstancein the Go SDK.
The following arguments are supported:
The following output properties are available: