Viewing docs for vra 0.17.0
published on Tuesday, Mar 10, 2026 by vmware
published on Tuesday, Mar 10, 2026 by vmware
Viewing docs for vra 0.17.0
published on Tuesday, Mar 10, 2026 by vmware
published on Tuesday, Mar 10, 2026 by vmware
Provides a vra.CloudAccountAws data source.
Example Usage
S
AWS cloud account data source by its id:
This is an example of how to read the cloud account data source using its id.
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
const _this = vra.getCloudAccountAws({
id: vraCloudAccountAwsId,
});
import pulumi
import pulumi_vra as vra
this = vra.get_cloud_account_aws(id=vra_cloud_account_aws_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vra/vra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vra.LookupCloudAccountAws(ctx, &vra.LookupCloudAccountAwsArgs{
Id: pulumi.StringRef(vraCloudAccountAwsId),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vra = Pulumi.Vra;
return await Deployment.RunAsync(() =>
{
var @this = Vra.GetCloudAccountAws.Invoke(new()
{
Id = vraCloudAccountAwsId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vra.VraFunctions;
import com.pulumi.vra.inputs.GetCloudAccountAwsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var this = VraFunctions.getCloudAccountAws(GetCloudAccountAwsArgs.builder()
.id(vraCloudAccountAwsId)
.build());
}
}
variables:
this:
fn::invoke:
function: vra:getCloudAccountAws
arguments:
id: ${vraCloudAccountAwsId}
AWS cloud account data source by its name:
This is an example of how to read the cloud account data source using its name.
import * as pulumi from "@pulumi/pulumi";
import * as vra from "@pulumi/vra";
const _this = vra.getCloudAccountAws({
name: vraCloudAccountAwsName,
});
import pulumi
import pulumi_vra as vra
this = vra.get_cloud_account_aws(name=vra_cloud_account_aws_name)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vra/vra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vra.LookupCloudAccountAws(ctx, &vra.LookupCloudAccountAwsArgs{
Name: pulumi.StringRef(vraCloudAccountAwsName),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vra = Pulumi.Vra;
return await Deployment.RunAsync(() =>
{
var @this = Vra.GetCloudAccountAws.Invoke(new()
{
Name = vraCloudAccountAwsName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vra.VraFunctions;
import com.pulumi.vra.inputs.GetCloudAccountAwsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var this = VraFunctions.getCloudAccountAws(GetCloudAccountAwsArgs.builder()
.name(vraCloudAccountAwsName)
.build());
}
}
variables:
this:
fn::invoke:
function: vra:getCloudAccountAws
arguments:
name: ${vraCloudAccountAwsName}
Using getCloudAccountAws
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 getCloudAccountAws(args: GetCloudAccountAwsArgs, opts?: InvokeOptions): Promise<GetCloudAccountAwsResult>
function getCloudAccountAwsOutput(args: GetCloudAccountAwsOutputArgs, opts?: InvokeOptions): Output<GetCloudAccountAwsResult>def get_cloud_account_aws(id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[GetCloudAccountAwsTag]] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudAccountAwsResult
def get_cloud_account_aws_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[GetCloudAccountAwsTagArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudAccountAwsResult]func LookupCloudAccountAws(ctx *Context, args *LookupCloudAccountAwsArgs, opts ...InvokeOption) (*LookupCloudAccountAwsResult, error)
func LookupCloudAccountAwsOutput(ctx *Context, args *LookupCloudAccountAwsOutputArgs, opts ...InvokeOption) LookupCloudAccountAwsResultOutput> Note: This function is named LookupCloudAccountAws in the Go SDK.
public static class GetCloudAccountAws
{
public static Task<GetCloudAccountAwsResult> InvokeAsync(GetCloudAccountAwsArgs args, InvokeOptions? opts = null)
public static Output<GetCloudAccountAwsResult> Invoke(GetCloudAccountAwsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudAccountAwsResult> getCloudAccountAws(GetCloudAccountAwsArgs args, InvokeOptions options)
public static Output<GetCloudAccountAwsResult> getCloudAccountAws(GetCloudAccountAwsArgs args, InvokeOptions options)
fn::invoke:
function: vra:index/getCloudAccountAws:getCloudAccountAws
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The id of this AWS cloud account.
- Name string
- The name of this AWS cloud account.
-
List<Get
Cloud Account Aws Tag> - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- Id string
- The id of this AWS cloud account.
- Name string
- The name of this AWS cloud account.
-
[]Get
Cloud Account Aws Tag - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- id String
- The id of this AWS cloud account.
- name String
- The name of this AWS cloud account.
-
List<Get
Cloud Account Aws Tag> - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- id string
- The id of this AWS cloud account.
- name string
- The name of this AWS cloud account.
-
Get
Cloud Account Aws Tag[] - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- id str
- The id of this AWS cloud account.
- name str
- The name of this AWS cloud account.
-
Sequence[Get
Cloud Account Aws Tag] - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- id String
- The id of this AWS cloud account.
- name String
- The name of this AWS cloud account.
- List<Property Map>
- A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
getCloudAccountAws Result
The following output properties are available:
- Access
Key string - Access key id for Aws.
- Created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
- Description string
- A human-friendly description.
- Id string
- Links
List<Get
Cloud Account Aws Link> - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- Name string
- Org
Id string - The id of the organization this entity belongs to.
- Owner string
- Email of the user that owns the entity.
- Regions List<string>
- A set of region names that are enabled for this account.
- Updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
-
List<Get
Cloud Account Aws Tag> - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- Access
Key string - Access key id for Aws.
- Created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
- Description string
- A human-friendly description.
- Id string
- Links
[]Get
Cloud Account Aws Link - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- Name string
- Org
Id string - The id of the organization this entity belongs to.
- Owner string
- Email of the user that owns the entity.
- Regions []string
- A set of region names that are enabled for this account.
- Updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
-
[]Get
Cloud Account Aws Tag - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- access
Key String - Access key id for Aws.
- created
At String - Date when the entity was created. The date is in ISO 6801 and UTC.
- description String
- A human-friendly description.
- id String
- links
List<Get
Cloud Account Aws Link> - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- name String
- org
Id String - The id of the organization this entity belongs to.
- owner String
- Email of the user that owns the entity.
- regions List<String>
- A set of region names that are enabled for this account.
- updated
At String - Date when the entity was last updated. The date is ISO 8601 and UTC.
-
List<Get
Cloud Account Aws Tag> - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- access
Key string - Access key id for Aws.
- created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
- description string
- A human-friendly description.
- id string
- links
Get
Cloud Account Aws Link[] - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- name string
- org
Id string - The id of the organization this entity belongs to.
- owner string
- Email of the user that owns the entity.
- regions string[]
- A set of region names that are enabled for this account.
- updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
-
Get
Cloud Account Aws Tag[] - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- access_
key str - Access key id for Aws.
- created_
at str - Date when the entity was created. The date is in ISO 6801 and UTC.
- description str
- A human-friendly description.
- id str
- links
Sequence[Get
Cloud Account Aws Link] - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- name str
- org_
id str - The id of the organization this entity belongs to.
- owner str
- Email of the user that owns the entity.
- regions Sequence[str]
- A set of region names that are enabled for this account.
- updated_
at str - Date when the entity was last updated. The date is ISO 8601 and UTC.
-
Sequence[Get
Cloud Account Aws Tag] - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- access
Key String - Access key id for Aws.
- created
At String - Date when the entity was created. The date is in ISO 6801 and UTC.
- description String
- A human-friendly description.
- id String
- links List<Property Map>
- Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- name String
- org
Id String - The id of the organization this entity belongs to.
- owner String
- Email of the user that owns the entity.
- regions List<String>
- A set of region names that are enabled for this account.
- updated
At String - Date when the entity was last updated. The date is ISO 8601 and UTC.
- List<Property Map>
- A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
Supporting Types
GetCloudAccountAwsLink
GetCloudAccountAwsTag
Package Details
- Repository
- vra vmware/terraform-provider-vra
- License
- Notes
- This Pulumi package is based on the
vraTerraform Provider.
Viewing docs for vra 0.17.0
published on Tuesday, Mar 10, 2026 by vmware
published on Tuesday, Mar 10, 2026 by vmware
