CloudAMQP
getAccount
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.
Attributes reference
All attributes reference are computed
id
- The identifier for this data source. Set tona
since there is no unique identifier.instances
- An array of instances. Eachinstances
block consists of the fields documented below.
The 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.
Dependency
This data source depends on apikey set in the provider configuration.
Using getAccount
function getAccount(opts?: InvokeOptions): Promise<GetAccountResult>
def get_account(opts: Optional[InvokeOptions] = None) -> GetAccountResult
func GetAccount(ctx *Context, opts ...InvokeOption) (*GetAccountResult, error)
> Note: This function is named GetAccount
in the Go SDK.
public static class GetAccount
{
public static Task<GetAccountResult> InvokeAsync(InvokeOptions? opts = null)
}
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
getAccount Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Instances
List<Pulumi.
Cloud Amqp. Outputs. Get Account Instance>
- Id string
The provider-assigned unique ID for this managed resource.
- Instances
[]Get
Account Instance
- id String
The provider-assigned unique ID for this managed resource.
- instances
List<Get
Account Instance>
- id string
The provider-assigned unique ID for this managed resource.
- instances
Get
Account Instance[]
- id str
The provider-assigned unique ID for this managed resource.
- instances
Sequence[Get
Account Instance]
- id String
The provider-assigned unique ID for this managed resource.
- instances List<Property Map>
Supporting Types
GetAccountInstance
Package Details
- Repository
- https://github.com/pulumi/pulumi-cloudamqp
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
cloudamqp
Terraform Provider.