1. Packages
  2. Vra Provider
  3. API Docs
  4. CloudAccountVsphere
vra 0.12.0 published on Monday, Apr 14, 2025 by vmware

vra.CloudAccountVsphere

Explore with Pulumi AI

vra logo
vra 0.12.0 published on Monday, Apr 14, 2025 by vmware

    Creates a VMware vRealize Automation vSphere cloud account resource.

    Example Usage

    S

    The following example shows how to create a vSphere cloud account resource.

    import * as pulumi from "@pulumi/pulumi";
    import * as vra from "@pulumi/vra";
    
    const _this = new vra.CloudAccountVsphere("this", {
        description: "foobar",
        username: _var.username,
        password: _var.password,
        hostname: _var.hostname,
        dcId: _var.vra_data_collector_id,
        regions: _var.regions,
        associatedCloudAccountIds: [_var.vra_cloud_account_nsxt_id],
        acceptSelfSignedCert: true,
        tags: [{
            key: "foo",
            value: "bar",
        }],
    });
    
    import pulumi
    import pulumi_vra as vra
    
    this = vra.CloudAccountVsphere("this",
        description="foobar",
        username=var["username"],
        password=var["password"],
        hostname=var["hostname"],
        dc_id=var["vra_data_collector_id"],
        regions=var["regions"],
        associated_cloud_account_ids=[var["vra_cloud_account_nsxt_id"]],
        accept_self_signed_cert=True,
        tags=[{
            "key": "foo",
            "value": "bar",
        }])
    
    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.NewCloudAccountVsphere(ctx, "this", &vra.CloudAccountVsphereArgs{
    			Description: pulumi.String("foobar"),
    			Username:    pulumi.Any(_var.Username),
    			Password:    pulumi.Any(_var.Password),
    			Hostname:    pulumi.Any(_var.Hostname),
    			DcId:        pulumi.Any(_var.Vra_data_collector_id),
    			Regions:     pulumi.Any(_var.Regions),
    			AssociatedCloudAccountIds: pulumi.StringArray{
    				_var.Vra_cloud_account_nsxt_id,
    			},
    			AcceptSelfSignedCert: pulumi.Bool(true),
    			Tags: vra.CloudAccountVsphereTagArray{
    				&vra.CloudAccountVsphereTagArgs{
    					Key:   pulumi.String("foo"),
    					Value: pulumi.String("bar"),
    				},
    			},
    		})
    		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 = new Vra.CloudAccountVsphere("this", new()
        {
            Description = "foobar",
            Username = @var.Username,
            Password = @var.Password,
            Hostname = @var.Hostname,
            DcId = @var.Vra_data_collector_id,
            Regions = @var.Regions,
            AssociatedCloudAccountIds = new[]
            {
                @var.Vra_cloud_account_nsxt_id,
            },
            AcceptSelfSignedCert = true,
            Tags = new[]
            {
                new Vra.Inputs.CloudAccountVsphereTagArgs
                {
                    Key = "foo",
                    Value = "bar",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vra.CloudAccountVsphere;
    import com.pulumi.vra.CloudAccountVsphereArgs;
    import com.pulumi.vra.inputs.CloudAccountVsphereTagArgs;
    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) {
            var this_ = new CloudAccountVsphere("this", CloudAccountVsphereArgs.builder()
                .description("foobar")
                .username(var_.username())
                .password(var_.password())
                .hostname(var_.hostname())
                .dcId(var_.vra_data_collector_id())
                .regions(var_.regions())
                .associatedCloudAccountIds(var_.vra_cloud_account_nsxt_id())
                .acceptSelfSignedCert(true)
                .tags(CloudAccountVsphereTagArgs.builder()
                    .key("foo")
                    .value("bar")
                    .build())
                .build());
    
        }
    }
    
    resources:
      this:
        type: vra:CloudAccountVsphere
        properties:
          description: foobar
          username: ${var.username}
          password: ${var.password}
          hostname: ${var.hostname}
          dcId: ${var.vra_data_collector_id}
          # Required for vRA Cloud, Optional for vRA 8.X
          regions: ${var.regions}
          associatedCloudAccountIds:
            - ${var.vra_cloud_account_nsxt_id}
          acceptSelfSignedCert: true
          tags:
            - key: foo
              value: bar
    

    Create CloudAccountVsphere Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CloudAccountVsphere(name: string, args: CloudAccountVsphereArgs, opts?: CustomResourceOptions);
    @overload
    def CloudAccountVsphere(resource_name: str,
                            args: CloudAccountVsphereArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudAccountVsphere(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            hostname: Optional[str] = None,
                            password: Optional[str] = None,
                            regions: Optional[Sequence[str]] = None,
                            username: Optional[str] = None,
                            accept_self_signed_cert: Optional[bool] = None,
                            associated_cloud_account_ids: Optional[Sequence[str]] = None,
                            cloud_account_vsphere_id: Optional[str] = None,
                            dc_id: Optional[str] = None,
                            description: Optional[str] = None,
                            name: Optional[str] = None,
                            tags: Optional[Sequence[CloudAccountVsphereTagArgs]] = None)
    func NewCloudAccountVsphere(ctx *Context, name string, args CloudAccountVsphereArgs, opts ...ResourceOption) (*CloudAccountVsphere, error)
    public CloudAccountVsphere(string name, CloudAccountVsphereArgs args, CustomResourceOptions? opts = null)
    public CloudAccountVsphere(String name, CloudAccountVsphereArgs args)
    public CloudAccountVsphere(String name, CloudAccountVsphereArgs args, CustomResourceOptions options)
    
    type: vra:CloudAccountVsphere
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CloudAccountVsphereArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CloudAccountVsphereArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CloudAccountVsphereArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudAccountVsphereArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudAccountVsphereArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cloudAccountVsphereResource = new Vra.CloudAccountVsphere("cloudAccountVsphereResource", new()
    {
        Hostname = "string",
        Password = "string",
        Regions = new[]
        {
            "string",
        },
        Username = "string",
        AcceptSelfSignedCert = false,
        AssociatedCloudAccountIds = new[]
        {
            "string",
        },
        CloudAccountVsphereId = "string",
        DcId = "string",
        Description = "string",
        Name = "string",
        Tags = new[]
        {
            new Vra.Inputs.CloudAccountVsphereTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := vra.NewCloudAccountVsphere(ctx, "cloudAccountVsphereResource", &vra.CloudAccountVsphereArgs{
    	Hostname: pulumi.String("string"),
    	Password: pulumi.String("string"),
    	Regions: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Username:             pulumi.String("string"),
    	AcceptSelfSignedCert: pulumi.Bool(false),
    	AssociatedCloudAccountIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	CloudAccountVsphereId: pulumi.String("string"),
    	DcId:                  pulumi.String("string"),
    	Description:           pulumi.String("string"),
    	Name:                  pulumi.String("string"),
    	Tags: vra.CloudAccountVsphereTagArray{
    		&vra.CloudAccountVsphereTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    var cloudAccountVsphereResource = new CloudAccountVsphere("cloudAccountVsphereResource", CloudAccountVsphereArgs.builder()
        .hostname("string")
        .password("string")
        .regions("string")
        .username("string")
        .acceptSelfSignedCert(false)
        .associatedCloudAccountIds("string")
        .cloudAccountVsphereId("string")
        .dcId("string")
        .description("string")
        .name("string")
        .tags(CloudAccountVsphereTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    cloud_account_vsphere_resource = vra.CloudAccountVsphere("cloudAccountVsphereResource",
        hostname="string",
        password="string",
        regions=["string"],
        username="string",
        accept_self_signed_cert=False,
        associated_cloud_account_ids=["string"],
        cloud_account_vsphere_id="string",
        dc_id="string",
        description="string",
        name="string",
        tags=[{
            "key": "string",
            "value": "string",
        }])
    
    const cloudAccountVsphereResource = new vra.CloudAccountVsphere("cloudAccountVsphereResource", {
        hostname: "string",
        password: "string",
        regions: ["string"],
        username: "string",
        acceptSelfSignedCert: false,
        associatedCloudAccountIds: ["string"],
        cloudAccountVsphereId: "string",
        dcId: "string",
        description: "string",
        name: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: vra:CloudAccountVsphere
    properties:
        acceptSelfSignedCert: false
        associatedCloudAccountIds:
            - string
        cloudAccountVsphereId: string
        dcId: string
        description: string
        hostname: string
        name: string
        password: string
        regions:
            - string
        tags:
            - key: string
              value: string
        username: string
    

    CloudAccountVsphere Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CloudAccountVsphere resource accepts the following input properties:

    Hostname string
    IP address or FQDN of the vCenter Server. The cloud proxy belongs on this vCenter.
    Password string
    Password used to authenticate to the cloud account.
    Regions List<string>
    A set of region names that are enabled for the cloud account.
    Username string
    vSphere username used to authenticate to the cloud account.
    AcceptSelfSignedCert bool
    Accept self-signed certificate when connecting to the cloud account.
    AssociatedCloudAccountIds List<string>
    Cloud accounts associated with the cloud account.
    CloudAccountVsphereId string
    (Optional) ID of the vSphere cloud account.
    DcId string
    Identifier of a data collector VM deployed in the on premise infrastructure.
    Description string
    Human-friendly description.
    Name string
    Name of the vSphere cloud account.
    Tags List<CloudAccountVsphereTag>
    A set of tag keys and optional values to apply to the cloud account. Example: [ { "key" : "vmware", "value": "provider" } ]
    Hostname string
    IP address or FQDN of the vCenter Server. The cloud proxy belongs on this vCenter.
    Password string
    Password used to authenticate to the cloud account.
    Regions []string
    A set of region names that are enabled for the cloud account.
    Username string
    vSphere username used to authenticate to the cloud account.
    AcceptSelfSignedCert bool
    Accept self-signed certificate when connecting to the cloud account.
    AssociatedCloudAccountIds []string
    Cloud accounts associated with the cloud account.
    CloudAccountVsphereId string
    (Optional) ID of the vSphere cloud account.
    DcId string
    Identifier of a data collector VM deployed in the on premise infrastructure.
    Description string
    Human-friendly description.
    Name string
    Name of the vSphere cloud account.
    Tags []CloudAccountVsphereTagArgs
    A set of tag keys and optional values to apply to the cloud account. Example: [ { "key" : "vmware", "value": "provider" } ]
    hostname String
    IP address or FQDN of the vCenter Server. The cloud proxy belongs on this vCenter.
    password String
    Password used to authenticate to the cloud account.
    regions List<String>
    A set of region names that are enabled for the cloud account.
    username String
    vSphere username used to authenticate to the cloud account.
    acceptSelfSignedCert Boolean
    Accept self-signed certificate when connecting to the cloud account.
    associatedCloudAccountIds List<String>
    Cloud accounts associated with the cloud account.
    cloudAccountVsphereId String
    (Optional) ID of the vSphere cloud account.
    dcId String
    Identifier of a data collector VM deployed in the on premise infrastructure.
    description String
    Human-friendly description.
    name String
    Name of the vSphere cloud account.
    tags List<CloudAccountVsphereTag>
    A set of tag keys and optional values to apply to the cloud account. Example: [ { "key" : "vmware", "value": "provider" } ]
    hostname string
    IP address or FQDN of the vCenter Server. The cloud proxy belongs on this vCenter.
    password string
    Password used to authenticate to the cloud account.
    regions string[]
    A set of region names that are enabled for the cloud account.
    username string
    vSphere username used to authenticate to the cloud account.
    acceptSelfSignedCert boolean
    Accept self-signed certificate when connecting to the cloud account.
    associatedCloudAccountIds string[]
    Cloud accounts associated with the cloud account.
    cloudAccountVsphereId string
    (Optional) ID of the vSphere cloud account.
    dcId string
    Identifier of a data collector VM deployed in the on premise infrastructure.
    description string
    Human-friendly description.
    name string
    Name of the vSphere cloud account.
    tags CloudAccountVsphereTag[]
    A set of tag keys and optional values to apply to the cloud account. Example: [ { "key" : "vmware", "value": "provider" } ]
    hostname str
    IP address or FQDN of the vCenter Server. The cloud proxy belongs on this vCenter.
    password str
    Password used to authenticate to the cloud account.
    regions Sequence[str]
    A set of region names that are enabled for the cloud account.
    username str
    vSphere username used to authenticate to the cloud account.
    accept_self_signed_cert bool
    Accept self-signed certificate when connecting to the cloud account.
    associated_cloud_account_ids Sequence[str]
    Cloud accounts associated with the cloud account.
    cloud_account_vsphere_id str
    (Optional) ID of the vSphere cloud account.
    dc_id str
    Identifier of a data collector VM deployed in the on premise infrastructure.
    description str
    Human-friendly description.
    name str
    Name of the vSphere cloud account.
    tags Sequence[CloudAccountVsphereTagArgs]
    A set of tag keys and optional values to apply to the cloud account. Example: [ { "key" : "vmware", "value": "provider" } ]
    hostname String
    IP address or FQDN of the vCenter Server. The cloud proxy belongs on this vCenter.
    password String
    Password used to authenticate to the cloud account.
    regions List<String>
    A set of region names that are enabled for the cloud account.
    username String
    vSphere username used to authenticate to the cloud account.
    acceptSelfSignedCert Boolean
    Accept self-signed certificate when connecting to the cloud account.
    associatedCloudAccountIds List<String>
    Cloud accounts associated with the cloud account.
    cloudAccountVsphereId String
    (Optional) ID of the vSphere cloud account.
    dcId String
    Identifier of a data collector VM deployed in the on premise infrastructure.
    description String
    Human-friendly description.
    name String
    Name of the vSphere cloud account.
    tags List<Property Map>
    A set of tag keys and optional values to apply to the cloud account. Example: [ { "key" : "vmware", "value": "provider" } ]

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CloudAccountVsphere resource produces the following output properties:

    CreatedAt string
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    Id string
    The provider-assigned unique ID for this managed resource.
    Links List<CloudAccountVsphereLink>
    HATEOAS of entity.
    OrgId string
    ID of organization that entity belongs to.
    Owner string
    Email of entity owner.
    UpdatedAt string
    Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
    CreatedAt string
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    Id string
    The provider-assigned unique ID for this managed resource.
    Links []CloudAccountVsphereLink
    HATEOAS of entity.
    OrgId string
    ID of organization that entity belongs to.
    Owner string
    Email of entity owner.
    UpdatedAt string
    Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
    createdAt String
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    id String
    The provider-assigned unique ID for this managed resource.
    links List<CloudAccountVsphereLink>
    HATEOAS of entity.
    orgId String
    ID of organization that entity belongs to.
    owner String
    Email of entity owner.
    updatedAt String
    Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
    createdAt string
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    id string
    The provider-assigned unique ID for this managed resource.
    links CloudAccountVsphereLink[]
    HATEOAS of entity.
    orgId string
    ID of organization that entity belongs to.
    owner string
    Email of entity owner.
    updatedAt string
    Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
    created_at str
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    id str
    The provider-assigned unique ID for this managed resource.
    links Sequence[CloudAccountVsphereLink]
    HATEOAS of entity.
    org_id str
    ID of organization that entity belongs to.
    owner str
    Email of entity owner.
    updated_at str
    Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
    createdAt String
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    id String
    The provider-assigned unique ID for this managed resource.
    links List<Property Map>
    HATEOAS of entity.
    orgId String
    ID of organization that entity belongs to.
    owner String
    Email of entity owner.
    updatedAt String
    Date when the entity was last updated. Date and time format is ISO 8601 and UTC.

    Look up Existing CloudAccountVsphere Resource

    Get an existing CloudAccountVsphere resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CloudAccountVsphereState, opts?: CustomResourceOptions): CloudAccountVsphere
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accept_self_signed_cert: Optional[bool] = None,
            associated_cloud_account_ids: Optional[Sequence[str]] = None,
            cloud_account_vsphere_id: Optional[str] = None,
            created_at: Optional[str] = None,
            dc_id: Optional[str] = None,
            description: Optional[str] = None,
            hostname: Optional[str] = None,
            links: Optional[Sequence[CloudAccountVsphereLinkArgs]] = None,
            name: Optional[str] = None,
            org_id: Optional[str] = None,
            owner: Optional[str] = None,
            password: Optional[str] = None,
            regions: Optional[Sequence[str]] = None,
            tags: Optional[Sequence[CloudAccountVsphereTagArgs]] = None,
            updated_at: Optional[str] = None,
            username: Optional[str] = None) -> CloudAccountVsphere
    func GetCloudAccountVsphere(ctx *Context, name string, id IDInput, state *CloudAccountVsphereState, opts ...ResourceOption) (*CloudAccountVsphere, error)
    public static CloudAccountVsphere Get(string name, Input<string> id, CloudAccountVsphereState? state, CustomResourceOptions? opts = null)
    public static CloudAccountVsphere get(String name, Output<String> id, CloudAccountVsphereState state, CustomResourceOptions options)
    resources:  _:    type: vra:CloudAccountVsphere    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AcceptSelfSignedCert bool
    Accept self-signed certificate when connecting to the cloud account.
    AssociatedCloudAccountIds List<string>
    Cloud accounts associated with the cloud account.
    CloudAccountVsphereId string
    (Optional) ID of the vSphere cloud account.
    CreatedAt string
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    DcId string
    Identifier of a data collector VM deployed in the on premise infrastructure.
    Description string
    Human-friendly description.
    Hostname string
    IP address or FQDN of the vCenter Server. The cloud proxy belongs on this vCenter.
    Links List<CloudAccountVsphereLink>
    HATEOAS of entity.
    Name string
    Name of the vSphere cloud account.
    OrgId string
    ID of organization that entity belongs to.
    Owner string
    Email of entity owner.
    Password string
    Password used to authenticate to the cloud account.
    Regions List<string>
    A set of region names that are enabled for the cloud account.
    Tags List<CloudAccountVsphereTag>
    A set of tag keys and optional values to apply to the cloud account. Example: [ { "key" : "vmware", "value": "provider" } ]
    UpdatedAt string
    Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
    Username string
    vSphere username used to authenticate to the cloud account.
    AcceptSelfSignedCert bool
    Accept self-signed certificate when connecting to the cloud account.
    AssociatedCloudAccountIds []string
    Cloud accounts associated with the cloud account.
    CloudAccountVsphereId string
    (Optional) ID of the vSphere cloud account.
    CreatedAt string
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    DcId string
    Identifier of a data collector VM deployed in the on premise infrastructure.
    Description string
    Human-friendly description.
    Hostname string
    IP address or FQDN of the vCenter Server. The cloud proxy belongs on this vCenter.
    Links []CloudAccountVsphereLinkArgs
    HATEOAS of entity.
    Name string
    Name of the vSphere cloud account.
    OrgId string
    ID of organization that entity belongs to.
    Owner string
    Email of entity owner.
    Password string
    Password used to authenticate to the cloud account.
    Regions []string
    A set of region names that are enabled for the cloud account.
    Tags []CloudAccountVsphereTagArgs
    A set of tag keys and optional values to apply to the cloud account. Example: [ { "key" : "vmware", "value": "provider" } ]
    UpdatedAt string
    Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
    Username string
    vSphere username used to authenticate to the cloud account.
    acceptSelfSignedCert Boolean
    Accept self-signed certificate when connecting to the cloud account.
    associatedCloudAccountIds List<String>
    Cloud accounts associated with the cloud account.
    cloudAccountVsphereId String
    (Optional) ID of the vSphere cloud account.
    createdAt String
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    dcId String
    Identifier of a data collector VM deployed in the on premise infrastructure.
    description String
    Human-friendly description.
    hostname String
    IP address or FQDN of the vCenter Server. The cloud proxy belongs on this vCenter.
    links List<CloudAccountVsphereLink>
    HATEOAS of entity.
    name String
    Name of the vSphere cloud account.
    orgId String
    ID of organization that entity belongs to.
    owner String
    Email of entity owner.
    password String
    Password used to authenticate to the cloud account.
    regions List<String>
    A set of region names that are enabled for the cloud account.
    tags List<CloudAccountVsphereTag>
    A set of tag keys and optional values to apply to the cloud account. Example: [ { "key" : "vmware", "value": "provider" } ]
    updatedAt String
    Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
    username String
    vSphere username used to authenticate to the cloud account.
    acceptSelfSignedCert boolean
    Accept self-signed certificate when connecting to the cloud account.
    associatedCloudAccountIds string[]
    Cloud accounts associated with the cloud account.
    cloudAccountVsphereId string
    (Optional) ID of the vSphere cloud account.
    createdAt string
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    dcId string
    Identifier of a data collector VM deployed in the on premise infrastructure.
    description string
    Human-friendly description.
    hostname string
    IP address or FQDN of the vCenter Server. The cloud proxy belongs on this vCenter.
    links CloudAccountVsphereLink[]
    HATEOAS of entity.
    name string
    Name of the vSphere cloud account.
    orgId string
    ID of organization that entity belongs to.
    owner string
    Email of entity owner.
    password string
    Password used to authenticate to the cloud account.
    regions string[]
    A set of region names that are enabled for the cloud account.
    tags CloudAccountVsphereTag[]
    A set of tag keys and optional values to apply to the cloud account. Example: [ { "key" : "vmware", "value": "provider" } ]
    updatedAt string
    Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
    username string
    vSphere username used to authenticate to the cloud account.
    accept_self_signed_cert bool
    Accept self-signed certificate when connecting to the cloud account.
    associated_cloud_account_ids Sequence[str]
    Cloud accounts associated with the cloud account.
    cloud_account_vsphere_id str
    (Optional) ID of the vSphere cloud account.
    created_at str
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    dc_id str
    Identifier of a data collector VM deployed in the on premise infrastructure.
    description str
    Human-friendly description.
    hostname str
    IP address or FQDN of the vCenter Server. The cloud proxy belongs on this vCenter.
    links Sequence[CloudAccountVsphereLinkArgs]
    HATEOAS of entity.
    name str
    Name of the vSphere cloud account.
    org_id str
    ID of organization that entity belongs to.
    owner str
    Email of entity owner.
    password str
    Password used to authenticate to the cloud account.
    regions Sequence[str]
    A set of region names that are enabled for the cloud account.
    tags Sequence[CloudAccountVsphereTagArgs]
    A set of tag keys and optional values to apply to the cloud account. Example: [ { "key" : "vmware", "value": "provider" } ]
    updated_at str
    Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
    username str
    vSphere username used to authenticate to the cloud account.
    acceptSelfSignedCert Boolean
    Accept self-signed certificate when connecting to the cloud account.
    associatedCloudAccountIds List<String>
    Cloud accounts associated with the cloud account.
    cloudAccountVsphereId String
    (Optional) ID of the vSphere cloud account.
    createdAt String
    Date when entity was created. Date and time format is ISO 8601 and UTC.
    dcId String
    Identifier of a data collector VM deployed in the on premise infrastructure.
    description String
    Human-friendly description.
    hostname String
    IP address or FQDN of the vCenter Server. The cloud proxy belongs on this vCenter.
    links List<Property Map>
    HATEOAS of entity.
    name String
    Name of the vSphere cloud account.
    orgId String
    ID of organization that entity belongs to.
    owner String
    Email of entity owner.
    password String
    Password used to authenticate to the cloud account.
    regions List<String>
    A set of region names that are enabled for the cloud account.
    tags List<Property Map>
    A set of tag keys and optional values to apply to the cloud account. Example: [ { "key" : "vmware", "value": "provider" } ]
    updatedAt String
    Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
    username String
    vSphere username used to authenticate to the cloud account.

    Supporting Types

    Href string
    Hrefs List<string>
    Rel string
    Href string
    Hrefs []string
    Rel string
    href String
    hrefs List<String>
    rel String
    href string
    hrefs string[]
    rel string
    href str
    hrefs Sequence[str]
    rel str
    href String
    hrefs List<String>
    rel String

    CloudAccountVsphereTag, CloudAccountVsphereTagArgs

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    Import

    To import the vSphere cloud account, use the ID as in the following example:

    $ pulumi import vra:index/cloudAccountVsphere:CloudAccountVsphere new_vsphere 05956583-6488-4e7d-84c9-92a7b7219a15`
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    vra vmware/terraform-provider-vra
    License
    Notes
    This Pulumi package is based on the vra Terraform Provider.
    vra logo
    vra 0.12.0 published on Monday, Apr 14, 2025 by vmware