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.CloudAccountNsxt data source.
Example Usage
S
NSX-T 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.getCloudAccountNsxt({
id: vraCloudAccountNsxtId,
});
import pulumi
import pulumi_vra as vra
this = vra.get_cloud_account_nsxt(id=vra_cloud_account_nsxt_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.LookupCloudAccountNsxt(ctx, &vra.LookupCloudAccountNsxtArgs{
Id: pulumi.StringRef(vraCloudAccountNsxtId),
}, 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.GetCloudAccountNsxt.Invoke(new()
{
Id = vraCloudAccountNsxtId,
});
});
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.GetCloudAccountNsxtArgs;
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.getCloudAccountNsxt(GetCloudAccountNsxtArgs.builder()
.id(vraCloudAccountNsxtId)
.build());
}
}
variables:
this:
fn::invoke:
function: vra:getCloudAccountNsxt
arguments:
id: ${vraCloudAccountNsxtId}
NSX-T 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.getCloudAccountNsxt({
name: vraCloudAccountNsxtName,
});
import pulumi
import pulumi_vra as vra
this = vra.get_cloud_account_nsxt(name=vra_cloud_account_nsxt_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.LookupCloudAccountNsxt(ctx, &vra.LookupCloudAccountNsxtArgs{
Name: pulumi.StringRef(vraCloudAccountNsxtName),
}, 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.GetCloudAccountNsxt.Invoke(new()
{
Name = vraCloudAccountNsxtName,
});
});
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.GetCloudAccountNsxtArgs;
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.getCloudAccountNsxt(GetCloudAccountNsxtArgs.builder()
.name(vraCloudAccountNsxtName)
.build());
}
}
variables:
this:
fn::invoke:
function: vra:getCloudAccountNsxt
arguments:
name: ${vraCloudAccountNsxtName}
Using getCloudAccountNsxt
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 getCloudAccountNsxt(args: GetCloudAccountNsxtArgs, opts?: InvokeOptions): Promise<GetCloudAccountNsxtResult>
function getCloudAccountNsxtOutput(args: GetCloudAccountNsxtOutputArgs, opts?: InvokeOptions): Output<GetCloudAccountNsxtResult>def get_cloud_account_nsxt(id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[GetCloudAccountNsxtTag]] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudAccountNsxtResult
def get_cloud_account_nsxt_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[GetCloudAccountNsxtTagArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudAccountNsxtResult]func LookupCloudAccountNsxt(ctx *Context, args *LookupCloudAccountNsxtArgs, opts ...InvokeOption) (*LookupCloudAccountNsxtResult, error)
func LookupCloudAccountNsxtOutput(ctx *Context, args *LookupCloudAccountNsxtOutputArgs, opts ...InvokeOption) LookupCloudAccountNsxtResultOutput> Note: This function is named LookupCloudAccountNsxt in the Go SDK.
public static class GetCloudAccountNsxt
{
public static Task<GetCloudAccountNsxtResult> InvokeAsync(GetCloudAccountNsxtArgs args, InvokeOptions? opts = null)
public static Output<GetCloudAccountNsxtResult> Invoke(GetCloudAccountNsxtInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudAccountNsxtResult> getCloudAccountNsxt(GetCloudAccountNsxtArgs args, InvokeOptions options)
public static Output<GetCloudAccountNsxtResult> getCloudAccountNsxt(GetCloudAccountNsxtArgs args, InvokeOptions options)
fn::invoke:
function: vra:index/getCloudAccountNsxt:getCloudAccountNsxt
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The id of this NSX-T cloud account.
- Name string
- The name of this NSX-T cloud account.
-
List<Get
Cloud Account Nsxt 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 NSX-T cloud account.
- Name string
- The name of this NSX-T cloud account.
-
[]Get
Cloud Account Nsxt 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 NSX-T cloud account.
- name String
- The name of this NSX-T cloud account.
-
List<Get
Cloud Account Nsxt 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 NSX-T cloud account.
- name string
- The name of this NSX-T cloud account.
-
Get
Cloud Account Nsxt 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 NSX-T cloud account.
- name str
- The name of this NSX-T cloud account.
-
Sequence[Get
Cloud Account Nsxt 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 NSX-T cloud account.
- name String
- The name of this NSX-T cloud account.
- List<Property Map>
- A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
getCloudAccountNsxt Result
The following output properties are available:
- Associated
Cloud List<string>Account Ids - Cloud accounts associated with this cloud account.
- Created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
- Dc
Id string - Identifier of a data collector vm deployed in the on premise infrastructure.
- Description string
- A human-friendly description.
- Hostname string
- Host name for the NSX-T cloud account.
- Id string
- Links
List<Get
Cloud Account Nsxt Link> - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- Manager
Mode bool - Name string
- Org
Id string - The id of the organization this entity belongs to.
- Owner string
- Email of the user that owns the entity.
- Updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
- Username string
- Username to authenticate with the cloud account.
-
List<Get
Cloud Account Nsxt Tag> - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- Associated
Cloud []stringAccount Ids - Cloud accounts associated with this cloud account.
- Created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
- Dc
Id string - Identifier of a data collector vm deployed in the on premise infrastructure.
- Description string
- A human-friendly description.
- Hostname string
- Host name for the NSX-T cloud account.
- Id string
- Links
[]Get
Cloud Account Nsxt Link - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- Manager
Mode bool - Name string
- Org
Id string - The id of the organization this entity belongs to.
- Owner string
- Email of the user that owns the entity.
- Updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
- Username string
- Username to authenticate with the cloud account.
-
[]Get
Cloud Account Nsxt Tag - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- associated
Cloud List<String>Account Ids - Cloud accounts associated with this cloud account.
- created
At String - Date when the entity was created. The date is in ISO 6801 and UTC.
- dc
Id String - Identifier of a data collector vm deployed in the on premise infrastructure.
- description String
- A human-friendly description.
- hostname String
- Host name for the NSX-T cloud account.
- id String
- links
List<Get
Cloud Account Nsxt Link> - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- manager
Mode Boolean - name String
- org
Id String - The id of the organization this entity belongs to.
- owner String
- Email of the user that owns the entity.
- updated
At String - Date when the entity was last updated. The date is ISO 8601 and UTC.
- username String
- Username to authenticate with the cloud account.
-
List<Get
Cloud Account Nsxt Tag> - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- associated
Cloud string[]Account Ids - Cloud accounts associated with this cloud account.
- created
At string - Date when the entity was created. The date is in ISO 6801 and UTC.
- dc
Id string - Identifier of a data collector vm deployed in the on premise infrastructure.
- description string
- A human-friendly description.
- hostname string
- Host name for the NSX-T cloud account.
- id string
- links
Get
Cloud Account Nsxt Link[] - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- manager
Mode boolean - name string
- org
Id string - The id of the organization this entity belongs to.
- owner string
- Email of the user that owns the entity.
- updated
At string - Date when the entity was last updated. The date is ISO 8601 and UTC.
- username string
- Username to authenticate with the cloud account.
-
Get
Cloud Account Nsxt Tag[] - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- associated_
cloud_ Sequence[str]account_ ids - Cloud accounts associated with this cloud account.
- created_
at str - Date when the entity was created. The date is in ISO 6801 and UTC.
- dc_
id str - Identifier of a data collector vm deployed in the on premise infrastructure.
- description str
- A human-friendly description.
- hostname str
- Host name for the NSX-T cloud account.
- id str
- links
Sequence[Get
Cloud Account Nsxt Link] - Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- manager_
mode bool - name str
- org_
id str - The id of the organization this entity belongs to.
- owner str
- Email of the user that owns the entity.
- updated_
at str - Date when the entity was last updated. The date is ISO 8601 and UTC.
- username str
- Username to authenticate with the cloud account.
-
Sequence[Get
Cloud Account Nsxt Tag] - A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
- associated
Cloud List<String>Account Ids - Cloud accounts associated with this cloud account.
- created
At String - Date when the entity was created. The date is in ISO 6801 and UTC.
- dc
Id String - Identifier of a data collector vm deployed in the on premise infrastructure.
- description String
- A human-friendly description.
- hostname String
- Host name for the NSX-T cloud account.
- id String
- links List<Property Map>
- Hypermedia as the Engine of Application State (HATEOAS) of the entity.
- manager
Mode Boolean - name String
- org
Id String - The id of the organization this entity belongs to.
- owner String
- Email of the user that owns the entity.
- updated
At String - Date when the entity was last updated. The date is ISO 8601 and UTC.
- username String
- Username to authenticate with the cloud account.
- List<Property Map>
- A set of tag keys and optional values that were set on this resource. Example:
[ { "key" : "vmware", "value": "provider" } ]
Supporting Types
GetCloudAccountNsxtLink
GetCloudAccountNsxtTag
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
