CloudAMQP v3.20.2 published on Tuesday, Oct 29, 2024 by Pulumi
cloudamqp.getInstance
Explore with Pulumi AI
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.
Using getInstance
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 getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>
def get_instance(instance_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(instance_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]
func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput
> Note: This function is named LookupInstance
in the Go SDK.
public static class GetInstance
{
public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: cloudamqp:index/getInstance:getInstance
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id int - The CloudAMQP instance identifier.
- Instance
Id int - The CloudAMQP instance identifier.
- instance
Id Integer - The CloudAMQP instance identifier.
- instance
Id number - The CloudAMQP instance identifier.
- instance_
id int - The CloudAMQP instance identifier.
- instance
Id Number - The CloudAMQP instance identifier.
getInstance Result
The following output properties are available:
- Apikey string
- Backend string
- Dedicated bool
- Host string
- Host
Internal string - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id int - Name string
- No
Default boolAlarms - Nodes int
- Plan string
- Ready bool
- Region string
- Rmq
Version string - List<string>
- Url string
- Vhost string
- Vpc
Id int - Vpc
Subnet string
- Apikey string
- Backend string
- Dedicated bool
- Host string
- Host
Internal string - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id int - Name string
- No
Default boolAlarms - Nodes int
- Plan string
- Ready bool
- Region string
- Rmq
Version string - []string
- Url string
- Vhost string
- Vpc
Id int - Vpc
Subnet string
- apikey String
- backend String
- dedicated Boolean
- host String
- host
Internal String - id String
- The provider-assigned unique ID for this managed resource.
- instance
Id Integer - name String
- no
Default BooleanAlarms - nodes Integer
- plan String
- ready Boolean
- region String
- rmq
Version String - List<String>
- url String
- vhost String
- vpc
Id Integer - vpc
Subnet String
- apikey string
- backend string
- dedicated boolean
- host string
- host
Internal string - id string
- The provider-assigned unique ID for this managed resource.
- instance
Id number - name string
- no
Default booleanAlarms - nodes number
- plan string
- ready boolean
- region string
- rmq
Version string - string[]
- url string
- vhost string
- vpc
Id number - vpc
Subnet string
- apikey str
- backend str
- dedicated bool
- host str
- host_
internal str - id str
- The provider-assigned unique ID for this managed resource.
- instance_
id int - name str
- no_
default_ boolalarms - nodes int
- plan str
- ready bool
- region str
- rmq_
version str - Sequence[str]
- url str
- vhost str
- vpc_
id int - vpc_
subnet str
- apikey String
- backend String
- dedicated Boolean
- host String
- host
Internal String - id String
- The provider-assigned unique ID for this managed resource.
- instance
Id Number - name String
- no
Default BooleanAlarms - nodes Number
- plan String
- ready Boolean
- region String
- rmq
Version String - List<String>
- url String
- vhost String
- vpc
Id Number - vpc
Subnet String
Package Details
- Repository
- CloudAMQP pulumi/pulumi-cloudamqp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudamqp
Terraform Provider.