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

vra.Zone

Explore with Pulumi AI

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

    Example Usage

    S

    This is an example of how to create a zone resource.

    import * as pulumi from "@pulumi/pulumi";
    import * as vra from "@pulumi/vra";
    
    const _this = new vra.Zone("this", {
        description: "my terraform test cloud zone",
        regionId: data.vra_region["this"].id,
        tags: [
            {
                key: "my-tf-key",
                value: "my-tf-value",
            },
            {
                key: "tf-foo",
                value: "tf-bar",
            },
        ],
    });
    
    import pulumi
    import pulumi_vra as vra
    
    this = vra.Zone("this",
        description="my terraform test cloud zone",
        region_id=data["vra_region"]["this"]["id"],
        tags=[
            {
                "key": "my-tf-key",
                "value": "my-tf-value",
            },
            {
                "key": "tf-foo",
                "value": "tf-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.NewZone(ctx, "this", &vra.ZoneArgs{
    			Description: pulumi.String("my terraform test cloud zone"),
    			RegionId:    pulumi.Any(data.Vra_region.This.Id),
    			Tags: vra.ZoneTagArray{
    				&vra.ZoneTagArgs{
    					Key:   pulumi.String("my-tf-key"),
    					Value: pulumi.String("my-tf-value"),
    				},
    				&vra.ZoneTagArgs{
    					Key:   pulumi.String("tf-foo"),
    					Value: pulumi.String("tf-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.Zone("this", new()
        {
            Description = "my terraform test cloud zone",
            RegionId = data.Vra_region.This.Id,
            Tags = new[]
            {
                new Vra.Inputs.ZoneTagArgs
                {
                    Key = "my-tf-key",
                    Value = "my-tf-value",
                },
                new Vra.Inputs.ZoneTagArgs
                {
                    Key = "tf-foo",
                    Value = "tf-bar",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vra.Zone;
    import com.pulumi.vra.ZoneArgs;
    import com.pulumi.vra.inputs.ZoneTagArgs;
    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 Zone("this", ZoneArgs.builder()
                .description("my terraform test cloud zone")
                .regionId(data.vra_region().this().id())
                .tags(            
                    ZoneTagArgs.builder()
                        .key("my-tf-key")
                        .value("my-tf-value")
                        .build(),
                    ZoneTagArgs.builder()
                        .key("tf-foo")
                        .value("tf-bar")
                        .build())
                .build());
    
        }
    }
    
    resources:
      this:
        type: vra:Zone
        properties:
          description: my terraform test cloud zone
          regionId: ${data.vra_region.this.id}
          tags:
            - key: my-tf-key
              value: my-tf-value
            - key: tf-foo
              value: tf-bar
    

    A zone resource supports the following arguments:

    Create Zone Resource

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

    Constructor syntax

    new Zone(name: string, args: ZoneArgs, opts?: CustomResourceOptions);
    @overload
    def Zone(resource_name: str,
             args: ZoneArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Zone(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             region_id: Optional[str] = None,
             compute_ids: Optional[Sequence[str]] = None,
             custom_properties: Optional[Mapping[str, str]] = None,
             description: Optional[str] = None,
             folder: Optional[str] = None,
             name: Optional[str] = None,
             placement_policy: Optional[str] = None,
             tags: Optional[Sequence[ZoneTagArgs]] = None,
             tags_to_matches: Optional[Sequence[ZoneTagsToMatchArgs]] = None,
             zone_id: Optional[str] = None)
    func NewZone(ctx *Context, name string, args ZoneArgs, opts ...ResourceOption) (*Zone, error)
    public Zone(string name, ZoneArgs args, CustomResourceOptions? opts = null)
    public Zone(String name, ZoneArgs args)
    public Zone(String name, ZoneArgs args, CustomResourceOptions options)
    
    type: vra:Zone
    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 ZoneArgs
    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 ZoneArgs
    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 ZoneArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ZoneArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ZoneArgs
    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 zoneResource = new Vra.Zone("zoneResource", new()
    {
        RegionId = "string",
        ComputeIds = new[]
        {
            "string",
        },
        CustomProperties = 
        {
            { "string", "string" },
        },
        Description = "string",
        Folder = "string",
        Name = "string",
        PlacementPolicy = "string",
        Tags = new[]
        {
            new Vra.Inputs.ZoneTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        TagsToMatches = new[]
        {
            new Vra.Inputs.ZoneTagsToMatchArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        ZoneId = "string",
    });
    
    example, err := vra.NewZone(ctx, "zoneResource", &vra.ZoneArgs{
    RegionId: pulumi.String("string"),
    ComputeIds: pulumi.StringArray{
    pulumi.String("string"),
    },
    CustomProperties: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    Description: pulumi.String("string"),
    Folder: pulumi.String("string"),
    Name: pulumi.String("string"),
    PlacementPolicy: pulumi.String("string"),
    Tags: .ZoneTagArray{
    &.ZoneTagArgs{
    Key: pulumi.String("string"),
    Value: pulumi.String("string"),
    },
    },
    TagsToMatches: .ZoneTagsToMatchArray{
    &.ZoneTagsToMatchArgs{
    Key: pulumi.String("string"),
    Value: pulumi.String("string"),
    },
    },
    ZoneId: pulumi.String("string"),
    })
    
    var zoneResource = new Zone("zoneResource", ZoneArgs.builder()
        .regionId("string")
        .computeIds("string")
        .customProperties(Map.of("string", "string"))
        .description("string")
        .folder("string")
        .name("string")
        .placementPolicy("string")
        .tags(ZoneTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .tagsToMatches(ZoneTagsToMatchArgs.builder()
            .key("string")
            .value("string")
            .build())
        .zoneId("string")
        .build());
    
    zone_resource = vra.Zone("zoneResource",
        region_id="string",
        compute_ids=["string"],
        custom_properties={
            "string": "string",
        },
        description="string",
        folder="string",
        name="string",
        placement_policy="string",
        tags=[{
            "key": "string",
            "value": "string",
        }],
        tags_to_matches=[{
            "key": "string",
            "value": "string",
        }],
        zone_id="string")
    
    const zoneResource = new vra.Zone("zoneResource", {
        regionId: "string",
        computeIds: ["string"],
        customProperties: {
            string: "string",
        },
        description: "string",
        folder: "string",
        name: "string",
        placementPolicy: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
        tagsToMatches: [{
            key: "string",
            value: "string",
        }],
        zoneId: "string",
    });
    
    type: vra:Zone
    properties:
        computeIds:
            - string
        customProperties:
            string: string
        description: string
        folder: string
        name: string
        placementPolicy: string
        regionId: string
        tags:
            - key: string
              value: string
        tagsToMatches:
            - key: string
              value: string
        zoneId: string
    

    Zone 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 Zone resource accepts the following input properties:

    RegionId string
    The id of the region for which this zone is created.
    ComputeIds List<string>
    The ids of the compute resources that will be explicitly assigned to this zone.
    CustomProperties Dictionary<string, string>
    A list of key value pair of properties that will be used.
    Description string
    A human-friendly description.
    Folder string
    The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
    Name string
    A human-friendly name used as an identifier for the zone resource instance.
    PlacementPolicy string
    The placement policy for the zone. One of DEFAULT, SPREAD or BINPACK. Default is DEFAULT.
    Tags List<ZoneTag>
    A set of tag keys and optional values that were set on this resource:
    TagsToMatches List<ZoneTagsToMatch>
    A set of tag keys and optional values for compute resource filtering:
    ZoneId string
    RegionId string
    The id of the region for which this zone is created.
    ComputeIds []string
    The ids of the compute resources that will be explicitly assigned to this zone.
    CustomProperties map[string]string
    A list of key value pair of properties that will be used.
    Description string
    A human-friendly description.
    Folder string
    The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
    Name string
    A human-friendly name used as an identifier for the zone resource instance.
    PlacementPolicy string
    The placement policy for the zone. One of DEFAULT, SPREAD or BINPACK. Default is DEFAULT.
    Tags []ZoneTagArgs
    A set of tag keys and optional values that were set on this resource:
    TagsToMatches []ZoneTagsToMatchArgs
    A set of tag keys and optional values for compute resource filtering:
    ZoneId string
    regionId String
    The id of the region for which this zone is created.
    computeIds List<String>
    The ids of the compute resources that will be explicitly assigned to this zone.
    customProperties Map<String,String>
    A list of key value pair of properties that will be used.
    description String
    A human-friendly description.
    folder String
    The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
    name String
    A human-friendly name used as an identifier for the zone resource instance.
    placementPolicy String
    The placement policy for the zone. One of DEFAULT, SPREAD or BINPACK. Default is DEFAULT.
    tags List<ZoneTag>
    A set of tag keys and optional values that were set on this resource:
    tagsToMatches List<ZoneTagsToMatch>
    A set of tag keys and optional values for compute resource filtering:
    zoneId String
    regionId string
    The id of the region for which this zone is created.
    computeIds string[]
    The ids of the compute resources that will be explicitly assigned to this zone.
    customProperties {[key: string]: string}
    A list of key value pair of properties that will be used.
    description string
    A human-friendly description.
    folder string
    The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
    name string
    A human-friendly name used as an identifier for the zone resource instance.
    placementPolicy string
    The placement policy for the zone. One of DEFAULT, SPREAD or BINPACK. Default is DEFAULT.
    tags ZoneTag[]
    A set of tag keys and optional values that were set on this resource:
    tagsToMatches ZoneTagsToMatch[]
    A set of tag keys and optional values for compute resource filtering:
    zoneId string
    region_id str
    The id of the region for which this zone is created.
    compute_ids Sequence[str]
    The ids of the compute resources that will be explicitly assigned to this zone.
    custom_properties Mapping[str, str]
    A list of key value pair of properties that will be used.
    description str
    A human-friendly description.
    folder str
    The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
    name str
    A human-friendly name used as an identifier for the zone resource instance.
    placement_policy str
    The placement policy for the zone. One of DEFAULT, SPREAD or BINPACK. Default is DEFAULT.
    tags Sequence[ZoneTagArgs]
    A set of tag keys and optional values that were set on this resource:
    tags_to_matches Sequence[ZoneTagsToMatchArgs]
    A set of tag keys and optional values for compute resource filtering:
    zone_id str
    regionId String
    The id of the region for which this zone is created.
    computeIds List<String>
    The ids of the compute resources that will be explicitly assigned to this zone.
    customProperties Map<String>
    A list of key value pair of properties that will be used.
    description String
    A human-friendly description.
    folder String
    The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
    name String
    A human-friendly name used as an identifier for the zone resource instance.
    placementPolicy String
    The placement policy for the zone. One of DEFAULT, SPREAD or BINPACK. Default is DEFAULT.
    tags List<Property Map>
    A set of tag keys and optional values that were set on this resource:
    tagsToMatches List<Property Map>
    A set of tag keys and optional values for compute resource filtering:
    zoneId String

    Outputs

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

    CloudAccountId string
    The ID of the cloud account this zone belongs to.
    CreatedAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    ExternalRegionId string
    The id of the region for which this zone is defined.
    Id string
    The provider-assigned unique ID for this managed resource.
    Links List<ZoneLink>
    HATEOAS of entity.
    OrgId string
    The id of the organization this entity belongs to.
    Owner string
    Email of the user that owns the entity.
    UpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    CloudAccountId string
    The ID of the cloud account this zone belongs to.
    CreatedAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    ExternalRegionId string
    The id of the region for which this zone is defined.
    Id string
    The provider-assigned unique ID for this managed resource.
    Links []ZoneLink
    HATEOAS of entity.
    OrgId string
    The id of the organization this entity belongs to.
    Owner string
    Email of the user that owns the entity.
    UpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloudAccountId String
    The ID of the cloud account this zone belongs to.
    createdAt String
    Date when the entity was created. The date is in ISO 8601 and UTC.
    externalRegionId String
    The id of the region for which this zone is defined.
    id String
    The provider-assigned unique ID for this managed resource.
    links List<ZoneLink>
    HATEOAS of entity.
    orgId String
    The id of the organization this entity belongs to.
    owner String
    Email of the user that owns the entity.
    updatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloudAccountId string
    The ID of the cloud account this zone belongs to.
    createdAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    externalRegionId string
    The id of the region for which this zone is defined.
    id string
    The provider-assigned unique ID for this managed resource.
    links ZoneLink[]
    HATEOAS of entity.
    orgId string
    The id of the organization this entity belongs to.
    owner string
    Email of the user that owns the entity.
    updatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    cloud_account_id str
    The ID of the cloud account this zone belongs to.
    created_at str
    Date when the entity was created. The date is in ISO 8601 and UTC.
    external_region_id str
    The id of the region for which this zone is defined.
    id str
    The provider-assigned unique ID for this managed resource.
    links Sequence[ZoneLink]
    HATEOAS of entity.
    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.
    cloudAccountId String
    The ID of the cloud account this zone belongs to.
    createdAt String
    Date when the entity was created. The date is in ISO 8601 and UTC.
    externalRegionId String
    The id of the region for which this zone is defined.
    id String
    The provider-assigned unique ID for this managed resource.
    links List<Property Map>
    HATEOAS of entity.
    orgId String
    The id of the organization this entity belongs to.
    owner String
    Email of the user that owns the entity.
    updatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.

    Look up Existing Zone Resource

    Get an existing Zone 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?: ZoneState, opts?: CustomResourceOptions): Zone
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cloud_account_id: Optional[str] = None,
            compute_ids: Optional[Sequence[str]] = None,
            created_at: Optional[str] = None,
            custom_properties: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            external_region_id: Optional[str] = None,
            folder: Optional[str] = None,
            links: Optional[Sequence[ZoneLinkArgs]] = None,
            name: Optional[str] = None,
            org_id: Optional[str] = None,
            owner: Optional[str] = None,
            placement_policy: Optional[str] = None,
            region_id: Optional[str] = None,
            tags: Optional[Sequence[ZoneTagArgs]] = None,
            tags_to_matches: Optional[Sequence[ZoneTagsToMatchArgs]] = None,
            updated_at: Optional[str] = None,
            zone_id: Optional[str] = None) -> Zone
    func GetZone(ctx *Context, name string, id IDInput, state *ZoneState, opts ...ResourceOption) (*Zone, error)
    public static Zone Get(string name, Input<string> id, ZoneState? state, CustomResourceOptions? opts = null)
    public static Zone get(String name, Output<String> id, ZoneState state, CustomResourceOptions options)
    resources:  _:    type: vra:Zone    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:
    CloudAccountId string
    The ID of the cloud account this zone belongs to.
    ComputeIds List<string>
    The ids of the compute resources that will be explicitly assigned to this zone.
    CreatedAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    CustomProperties Dictionary<string, string>
    A list of key value pair of properties that will be used.
    Description string
    A human-friendly description.
    ExternalRegionId string
    The id of the region for which this zone is defined.
    Folder string
    The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
    Links List<ZoneLink>
    HATEOAS of entity.
    Name string
    A human-friendly name used as an identifier for the zone resource instance.
    OrgId string
    The id of the organization this entity belongs to.
    Owner string
    Email of the user that owns the entity.
    PlacementPolicy string
    The placement policy for the zone. One of DEFAULT, SPREAD or BINPACK. Default is DEFAULT.
    RegionId string
    The id of the region for which this zone is created.
    Tags List<ZoneTag>
    A set of tag keys and optional values that were set on this resource:
    TagsToMatches List<ZoneTagsToMatch>
    A set of tag keys and optional values for compute resource filtering:
    UpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    ZoneId string
    CloudAccountId string
    The ID of the cloud account this zone belongs to.
    ComputeIds []string
    The ids of the compute resources that will be explicitly assigned to this zone.
    CreatedAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    CustomProperties map[string]string
    A list of key value pair of properties that will be used.
    Description string
    A human-friendly description.
    ExternalRegionId string
    The id of the region for which this zone is defined.
    Folder string
    The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
    Links []ZoneLinkArgs
    HATEOAS of entity.
    Name string
    A human-friendly name used as an identifier for the zone resource instance.
    OrgId string
    The id of the organization this entity belongs to.
    Owner string
    Email of the user that owns the entity.
    PlacementPolicy string
    The placement policy for the zone. One of DEFAULT, SPREAD or BINPACK. Default is DEFAULT.
    RegionId string
    The id of the region for which this zone is created.
    Tags []ZoneTagArgs
    A set of tag keys and optional values that were set on this resource:
    TagsToMatches []ZoneTagsToMatchArgs
    A set of tag keys and optional values for compute resource filtering:
    UpdatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    ZoneId string
    cloudAccountId String
    The ID of the cloud account this zone belongs to.
    computeIds List<String>
    The ids of the compute resources that will be explicitly assigned to this zone.
    createdAt String
    Date when the entity was created. The date is in ISO 8601 and UTC.
    customProperties Map<String,String>
    A list of key value pair of properties that will be used.
    description String
    A human-friendly description.
    externalRegionId String
    The id of the region for which this zone is defined.
    folder String
    The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
    links List<ZoneLink>
    HATEOAS of entity.
    name String
    A human-friendly name used as an identifier for the zone resource instance.
    orgId String
    The id of the organization this entity belongs to.
    owner String
    Email of the user that owns the entity.
    placementPolicy String
    The placement policy for the zone. One of DEFAULT, SPREAD or BINPACK. Default is DEFAULT.
    regionId String
    The id of the region for which this zone is created.
    tags List<ZoneTag>
    A set of tag keys and optional values that were set on this resource:
    tagsToMatches List<ZoneTagsToMatch>
    A set of tag keys and optional values for compute resource filtering:
    updatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    zoneId String
    cloudAccountId string
    The ID of the cloud account this zone belongs to.
    computeIds string[]
    The ids of the compute resources that will be explicitly assigned to this zone.
    createdAt string
    Date when the entity was created. The date is in ISO 8601 and UTC.
    customProperties {[key: string]: string}
    A list of key value pair of properties that will be used.
    description string
    A human-friendly description.
    externalRegionId string
    The id of the region for which this zone is defined.
    folder string
    The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
    links ZoneLink[]
    HATEOAS of entity.
    name string
    A human-friendly name used as an identifier for the zone resource instance.
    orgId string
    The id of the organization this entity belongs to.
    owner string
    Email of the user that owns the entity.
    placementPolicy string
    The placement policy for the zone. One of DEFAULT, SPREAD or BINPACK. Default is DEFAULT.
    regionId string
    The id of the region for which this zone is created.
    tags ZoneTag[]
    A set of tag keys and optional values that were set on this resource:
    tagsToMatches ZoneTagsToMatch[]
    A set of tag keys and optional values for compute resource filtering:
    updatedAt string
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    zoneId string
    cloud_account_id str
    The ID of the cloud account this zone belongs to.
    compute_ids Sequence[str]
    The ids of the compute resources that will be explicitly assigned to this zone.
    created_at str
    Date when the entity was created. The date is in ISO 8601 and UTC.
    custom_properties Mapping[str, str]
    A list of key value pair of properties that will be used.
    description str
    A human-friendly description.
    external_region_id str
    The id of the region for which this zone is defined.
    folder str
    The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
    links Sequence[ZoneLinkArgs]
    HATEOAS of entity.
    name str
    A human-friendly name used as an identifier for the zone resource instance.
    org_id str
    The id of the organization this entity belongs to.
    owner str
    Email of the user that owns the entity.
    placement_policy str
    The placement policy for the zone. One of DEFAULT, SPREAD or BINPACK. Default is DEFAULT.
    region_id str
    The id of the region for which this zone is created.
    tags Sequence[ZoneTagArgs]
    A set of tag keys and optional values that were set on this resource:
    tags_to_matches Sequence[ZoneTagsToMatchArgs]
    A set of tag keys and optional values for compute resource filtering:
    updated_at str
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    zone_id str
    cloudAccountId String
    The ID of the cloud account this zone belongs to.
    computeIds List<String>
    The ids of the compute resources that will be explicitly assigned to this zone.
    createdAt String
    Date when the entity was created. The date is in ISO 8601 and UTC.
    customProperties Map<String>
    A list of key value pair of properties that will be used.
    description String
    A human-friendly description.
    externalRegionId String
    The id of the region for which this zone is defined.
    folder String
    The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
    links List<Property Map>
    HATEOAS of entity.
    name String
    A human-friendly name used as an identifier for the zone resource instance.
    orgId String
    The id of the organization this entity belongs to.
    owner String
    Email of the user that owns the entity.
    placementPolicy String
    The placement policy for the zone. One of DEFAULT, SPREAD or BINPACK. Default is DEFAULT.
    regionId String
    The id of the region for which this zone is created.
    tags List<Property Map>
    A set of tag keys and optional values that were set on this resource:
    tagsToMatches List<Property Map>
    A set of tag keys and optional values for compute resource filtering:
    updatedAt String
    Date when the entity was last updated. The date is ISO 8601 and UTC.
    zoneId String

    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

    ZoneTag, ZoneTagArgs

    Key string
    Tag’s key.
    Value string
    Tag’s value.
    Key string
    Tag’s key.
    Value string
    Tag’s value.
    key String
    Tag’s key.
    value String
    Tag’s value.
    key string
    Tag’s key.
    value string
    Tag’s value.
    key str
    Tag’s key.
    value str
    Tag’s value.
    key String
    Tag’s key.
    value String
    Tag’s value.

    ZoneTagsToMatch, ZoneTagsToMatchArgs

    Key string
    Tag’s key.
    Value string
    Tag’s value.
    Key string
    Tag’s key.
    Value string
    Tag’s value.
    key String
    Tag’s key.
    value String
    Tag’s value.
    key string
    Tag’s key.
    value string
    Tag’s value.
    key str
    Tag’s key.
    value str
    Tag’s value.
    key String
    Tag’s key.
    value String
    Tag’s value.

    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