Use this data source to retrieve basic information about all instances available for an account. Uses the included apikey in provider configuration, to determine which account to read from.
All attributes reference are computed
id- The identifier for this data source. Set to
nasince there is no unique identifier.
instances- An array of instances. Each
instancesblock consists of the fields documented below.
instances block consist of
id- The instance identifier.
name- The name of the instance.
plan- The subscription plan used for the instance.
region- The region were the instanece is located in.
tags- Optional tags set for the instance.
This data source depends on apikey set in the provider configuration.
def get_account(opts: Optional[InvokeOptions] = None) -> GetAccountResult
> Note: This function is named
GetAccount in the Go SDK.
public static CompletableFuture<GetAccountResult> getAccount(InvokeOptions options) // Output-based functions aren't available in Java yet
fn::invoke: function: cloudamqp:index/getAccount:getAccount arguments: # arguments dictionary
The following output properties are available: