1. Packages
  2. Cloudamqp Provider
  3. API Docs
  4. getAccount
CloudAMQP v3.21.0 published on Tuesday, Apr 8, 2025 by Pulumi

cloudamqp.getAccount

Explore with Pulumi AI

CloudAMQP v3.21.0 published on Tuesday, Apr 8, 2025 by Pulumi

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.

Using getAccount

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 getAccount(opts?: InvokeOptions): Promise<GetAccountResult>
function getAccountOutput(opts?: InvokeOptions): Output<GetAccountResult>
Copy
def get_account(opts: Optional[InvokeOptions] = None) -> GetAccountResult
def get_account_output(opts: Optional[InvokeOptions] = None) -> Output[GetAccountResult]
Copy
func GetAccount(ctx *Context, opts ...InvokeOption) (*GetAccountResult, error)
func GetAccountOutput(ctx *Context, opts ...InvokeOption) GetAccountResultOutput
Copy

> Note: This function is named GetAccount in the Go SDK.

public static class GetAccount 
{
    public static Task<GetAccountResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetAccountResult> Invoke(InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAccountResult> getAccount(InvokeOptions options)
public static Output<GetAccountResult> getAccount(InvokeOptions options)
Copy
fn::invoke:
  function: cloudamqp:index/getAccount:getAccount
  arguments:
    # arguments dictionary
Copy

getAccount Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Instances List<Pulumi.CloudAmqp.Outputs.GetAccountInstance>
An array of instances. Each instances block consists of the fields documented below.
Id string
The provider-assigned unique ID for this managed resource.
Instances []GetAccountInstance
An array of instances. Each instances block consists of the fields documented below.
id String
The provider-assigned unique ID for this managed resource.
instances List<GetAccountInstance>
An array of instances. Each instances block consists of the fields documented below.
id string
The provider-assigned unique ID for this managed resource.
instances GetAccountInstance[]
An array of instances. Each instances block consists of the fields documented below.
id str
The provider-assigned unique ID for this managed resource.
instances Sequence[GetAccountInstance]
An array of instances. Each instances block consists of the fields documented below.
id String
The provider-assigned unique ID for this managed resource.
instances List<Property Map>
An array of instances. Each instances block consists of the fields documented below.

Supporting Types

GetAccountInstance

Id This property is required. int
The instance identifier.
Name This property is required. string
The name of the instance.
Plan This property is required. string
The subscription plan used for the instance.
Region This property is required. string
The region were the instanece is located in.
Tags List<string>
Optional tags set for the instance.
Id This property is required. int
The instance identifier.
Name This property is required. string
The name of the instance.
Plan This property is required. string
The subscription plan used for the instance.
Region This property is required. string
The region were the instanece is located in.
Tags []string
Optional tags set for the instance.
id This property is required. Integer
The instance identifier.
name This property is required. String
The name of the instance.
plan This property is required. String
The subscription plan used for the instance.
region This property is required. String
The region were the instanece is located in.
tags List<String>
Optional tags set for the instance.
id This property is required. number
The instance identifier.
name This property is required. string
The name of the instance.
plan This property is required. string
The subscription plan used for the instance.
region This property is required. string
The region were the instanece is located in.
tags string[]
Optional tags set for the instance.
id This property is required. int
The instance identifier.
name This property is required. str
The name of the instance.
plan This property is required. str
The subscription plan used for the instance.
region This property is required. str
The region were the instanece is located in.
tags Sequence[str]
Optional tags set for the instance.
id This property is required. Number
The instance identifier.
name This property is required. String
The name of the instance.
plan This property is required. String
The subscription plan used for the instance.
region This property is required. String
The region were the instanece is located in.
tags List<String>
Optional tags set for the instance.

Package Details

Repository
CloudAMQP pulumi/pulumi-cloudamqp
License
Apache-2.0
Notes
This Pulumi package is based on the cloudamqp Terraform Provider.
CloudAMQP v3.21.0 published on Tuesday, Apr 8, 2025 by Pulumi