1. Registry
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. privatezone
  6. PrivateZone
Viewing docs for volcenginecc v0.0.61
published on Thursday, Sep 10, 2026 by Volcengine
volcenginecc logo volcenginecc
Viewing docs for volcenginecc v0.0.61
published on Thursday, Sep 10, 2026 by Volcengine

    Private network resolution

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const privateZoneDemo = new volcenginecc.privatezone.PrivateZone("PrivateZoneDemo", {
        zoneName: "new.example.com",
        vpcs: [{
            vpc_id: "vpc-btgxxxxx0b2tnxxxxx",
            region: "cn-beijing",
        }],
        projectName: "default",
        lineMode: 1,
        recursionMode: true,
        tags: [{
            value: "test",
            key: "env",
        }],
        remark: "测试域名",
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    private_zone_demo = volcenginecc.privatezone.PrivateZone("PrivateZoneDemo",
        zone_name="new.example.com",
        vpcs=[{
            "vpc_id": "vpc-btgxxxxx0b2tnxxxxx",
            "region": "cn-beijing",
        }],
        project_name="default",
        line_mode=1,
        recursion_mode=True,
        tags=[{
            "value": "test",
            "key": "env",
        }],
        remark="测试域名")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/privatezone"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := privatezone.NewPrivateZone(ctx, "PrivateZoneDemo", &privatezone.PrivateZoneArgs{
    			ZoneName: pulumi.String("new.example.com"),
    			Vpcs: privatezone.PrivateZoneVpcArray{
    				&privatezone.PrivateZoneVpcArgs{
    					Vpc_id: "vpc-btgxxxxx0b2tnxxxxx",
    					Region: pulumi.String("cn-beijing"),
    				},
    			},
    			ProjectName:   pulumi.String("default"),
    			LineMode:      pulumi.Int(1),
    			RecursionMode: pulumi.Bool(true),
    			Tags: privatezone.PrivateZoneTagArray{
    				&privatezone.PrivateZoneTagArgs{
    					Value: pulumi.String("test"),
    					Key:   pulumi.String("env"),
    				},
    			},
    			Remark: pulumi.String("测试域名"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var privateZoneDemo = new Volcenginecc.Privatezone.PrivateZone("PrivateZoneDemo", new()
        {
            ZoneName = "new.example.com",
            Vpcs = new[]
            {
                new Volcenginecc.Privatezone.Inputs.PrivateZoneVpcArgs
                {
                    Vpc_id = "vpc-btgxxxxx0b2tnxxxxx",
                    Region = "cn-beijing",
                },
            },
            ProjectName = "default",
            LineMode = 1,
            RecursionMode = true,
            Tags = new[]
            {
                new Volcenginecc.Privatezone.Inputs.PrivateZoneTagArgs
                {
                    Value = "test",
                    Key = "env",
                },
            },
            Remark = "测试域名",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.privatezone.PrivateZone;
    import com.volcengine.volcenginecc.privatezone.PrivateZoneArgs;
    import com.pulumi.volcenginecc.privatezone.inputs.PrivateZoneVpcArgs;
    import com.pulumi.volcenginecc.privatezone.inputs.PrivateZoneTagArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 privateZoneDemo = new PrivateZone("privateZoneDemo", PrivateZoneArgs.builder()
                .zoneName("new.example.com")
                .vpcs(PrivateZoneVpcArgs.builder()
                    .vpc_id("vpc-btgxxxxx0b2tnxxxxx")
                    .region("cn-beijing")
                    .build())
                .projectName("default")
                .lineMode(1)
                .recursionMode(true)
                .tags(PrivateZoneTagArgs.builder()
                    .value("test")
                    .key("env")
                    .build())
                .remark("测试域名")
                .build());
    
        }
    }
    
    resources:
      privateZoneDemo:
        type: volcenginecc:privatezone:PrivateZone
        name: PrivateZoneDemo
        properties:
          zoneName: new.example.com
          vpcs:
            - vpc_id: vpc-btgxxxxx0b2tnxxxxx
              region: cn-beijing
          projectName: default
          lineMode: 1
          recursionMode: true
          tags:
            - value: test
              key: env
          remark: 测试域名
    
    pulumi {
      required_providers {
        volcenginecc = {
          source = "pulumi/volcenginecc"
        }
      }
    }
    
    resource "volcenginecc_privatezone_privatezone" "PrivateZoneDemo" {
      zone_name = "new.example.com"
      vpcs {
        vpc_id = "vpc-btgxxxxx0b2tnxxxxx"
        region = "cn-beijing"
      }
      project_name   = "default"
      line_mode      = 1
      recursion_mode = true
      tags {
        value = "test"
        key   = "env"
      }
      remark = "测试域名"
    }
    

    Create PrivateZone Resource

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

    Constructor syntax

    new PrivateZone(name: string, args: PrivateZoneArgs, opts?: CustomResourceOptions);
    @overload
    def PrivateZone(resource_name: str,
                    args: PrivateZoneArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def PrivateZone(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    zone_name: Optional[str] = None,
                    line_mode: Optional[int] = None,
                    project_name: Optional[str] = None,
                    recursion_mode: Optional[bool] = None,
                    remark: Optional[str] = None,
                    tags: Optional[Sequence[PrivateZoneTagArgs]] = None,
                    vpcs: Optional[Sequence[PrivateZoneVpcArgs]] = None)
    func NewPrivateZone(ctx *Context, name string, args PrivateZoneArgs, opts ...ResourceOption) (*PrivateZone, error)
    public PrivateZone(string name, PrivateZoneArgs args, CustomResourceOptions? opts = null)
    public PrivateZone(String name, PrivateZoneArgs args)
    public PrivateZone(String name, PrivateZoneArgs args, CustomResourceOptions options)
    
    type: volcenginecc:privatezone:PrivateZone
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "volcenginecc_privatezone_private_zone" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PrivateZoneArgs
    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 PrivateZoneArgs
    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 PrivateZoneArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PrivateZoneArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PrivateZoneArgs
    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 privateZoneResource = new Volcenginecc.Privatezone.PrivateZone("privateZoneResource", new()
    {
        ZoneName = "string",
        LineMode = 0,
        ProjectName = "string",
        RecursionMode = false,
        Remark = "string",
        Tags = new[]
        {
            new Volcenginecc.Privatezone.Inputs.PrivateZoneTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        Vpcs = new[]
        {
            new Volcenginecc.Privatezone.Inputs.PrivateZoneVpcArgs
            {
                Region = "string",
                VpcId = "string",
            },
        },
    });
    
    example, err := privatezone.NewPrivateZone(ctx, "privateZoneResource", &privatezone.PrivateZoneArgs{
    	ZoneName:      pulumi.String("string"),
    	LineMode:      pulumi.Int(0),
    	ProjectName:   pulumi.String("string"),
    	RecursionMode: pulumi.Bool(false),
    	Remark:        pulumi.String("string"),
    	Tags: privatezone.PrivateZoneTagArray{
    		&privatezone.PrivateZoneTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	Vpcs: privatezone.PrivateZoneVpcArray{
    		&privatezone.PrivateZoneVpcArgs{
    			Region: pulumi.String("string"),
    			VpcId:  pulumi.String("string"),
    		},
    	},
    })
    
    resource "volcenginecc_privatezone_private_zone" "privateZoneResource" {
      lifecycle {
        create_before_destroy = true
      }
      zone_name      = "string"
      line_mode      = 0
      project_name   = "string"
      recursion_mode = false
      remark         = "string"
      tags {
        key   = "string"
        value = "string"
      }
      vpcs {
        region = "string"
        vpc_id = "string"
      }
    }
    
    var privateZoneResource = new PrivateZone("privateZoneResource", PrivateZoneArgs.builder()
        .zoneName("string")
        .lineMode(0)
        .projectName("string")
        .recursionMode(false)
        .remark("string")
        .tags(PrivateZoneTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .vpcs(PrivateZoneVpcArgs.builder()
            .region("string")
            .vpcId("string")
            .build())
        .build());
    
    private_zone_resource = volcenginecc.privatezone.PrivateZone("privateZoneResource",
        zone_name="string",
        line_mode=0,
        project_name="string",
        recursion_mode=False,
        remark="string",
        tags=[{
            "key": "string",
            "value": "string",
        }],
        vpcs=[{
            "region": "string",
            "vpc_id": "string",
        }])
    
    const privateZoneResource = new volcenginecc.privatezone.PrivateZone("privateZoneResource", {
        zoneName: "string",
        lineMode: 0,
        projectName: "string",
        recursionMode: false,
        remark: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
        vpcs: [{
            region: "string",
            vpcId: "string",
        }],
    });
    
    type: volcenginecc:privatezone:PrivateZone
    properties:
        lineMode: 0
        projectName: string
        recursionMode: false
        remark: string
        tags:
            - key: string
              value: string
        vpcs:
            - region: string
              vpcId: string
        zoneName: string
    

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

    ZoneName string
    Domain name, can be a second-level or multi-level domain
    LineMode int
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    ProjectName string
    Name of the project the domain belongs to. Default is default
    RecursionMode bool
    Enable recursive resolution: true to enable, false to disable. Default is false
    Remark string
    Remarks. Default is an empty string
    Tags List<Volcengine.PrivateZoneTag>
    One or more tags associated with the domain. A resource can be associated with up to 50 tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Vpcs List<Volcengine.PrivateZoneVpc>
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    ZoneName string
    Domain name, can be a second-level or multi-level domain
    LineMode int
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    ProjectName string
    Name of the project the domain belongs to. Default is default
    RecursionMode bool
    Enable recursive resolution: true to enable, false to disable. Default is false
    Remark string
    Remarks. Default is an empty string
    Tags []PrivateZoneTagArgs
    One or more tags associated with the domain. A resource can be associated with up to 50 tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Vpcs []PrivateZoneVpcArgs
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    zone_name string
    Domain name, can be a second-level or multi-level domain
    line_mode number
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    project_name string
    Name of the project the domain belongs to. Default is default
    recursion_mode bool
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark string
    Remarks. Default is an empty string
    tags list(object)
    One or more tags associated with the domain. A resource can be associated with up to 50 tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    vpcs list(object)
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    zoneName String
    Domain name, can be a second-level or multi-level domain
    lineMode Integer
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    projectName String
    Name of the project the domain belongs to. Default is default
    recursionMode Boolean
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark String
    Remarks. Default is an empty string
    tags List<PrivateZoneTag>
    One or more tags associated with the domain. A resource can be associated with up to 50 tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    vpcs List<PrivateZoneVpc>
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    zoneName string
    Domain name, can be a second-level or multi-level domain
    lineMode number
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    projectName string
    Name of the project the domain belongs to. Default is default
    recursionMode boolean
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark string
    Remarks. Default is an empty string
    tags PrivateZoneTag[]
    One or more tags associated with the domain. A resource can be associated with up to 50 tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    vpcs PrivateZoneVpc[]
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    zone_name str
    Domain name, can be a second-level or multi-level domain
    line_mode int
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    project_name str
    Name of the project the domain belongs to. Default is default
    recursion_mode bool
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark str
    Remarks. Default is an empty string
    tags Sequence[PrivateZoneTagArgs]
    One or more tags associated with the domain. A resource can be associated with up to 50 tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    vpcs Sequence[PrivateZoneVpcArgs]
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    zoneName String
    Domain name, can be a second-level or multi-level domain
    lineMode Number
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    projectName String
    Name of the project the domain belongs to. Default is default
    recursionMode Boolean
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark String
    Remarks. Default is an empty string
    tags List<Property Map>
    One or more tags associated with the domain. A resource can be associated with up to 50 tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    vpcs List<Property Map>
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

    Outputs

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

    CreatedAt string
    Domain creation time
    Id string
    The provider-assigned unique ID for this managed resource.
    LastOperator string
    Most recent operator
    RecordCount int
    Number of DNS records under the domain name
    UpdatedAt string
    Most recent update time of the domain
    Zid string
    Unique ID identifying the domain name
    CreatedAt string
    Domain creation time
    Id string
    The provider-assigned unique ID for this managed resource.
    LastOperator string
    Most recent operator
    RecordCount int
    Number of DNS records under the domain name
    UpdatedAt string
    Most recent update time of the domain
    Zid string
    Unique ID identifying the domain name
    created_at string
    Domain creation time
    id string
    The provider-assigned unique ID for this managed resource.
    last_operator string
    Most recent operator
    record_count number
    Number of DNS records under the domain name
    updated_at string
    Most recent update time of the domain
    zid string
    Unique ID identifying the domain name
    createdAt String
    Domain creation time
    id String
    The provider-assigned unique ID for this managed resource.
    lastOperator String
    Most recent operator
    recordCount Integer
    Number of DNS records under the domain name
    updatedAt String
    Most recent update time of the domain
    zid String
    Unique ID identifying the domain name
    createdAt string
    Domain creation time
    id string
    The provider-assigned unique ID for this managed resource.
    lastOperator string
    Most recent operator
    recordCount number
    Number of DNS records under the domain name
    updatedAt string
    Most recent update time of the domain
    zid string
    Unique ID identifying the domain name
    created_at str
    Domain creation time
    id str
    The provider-assigned unique ID for this managed resource.
    last_operator str
    Most recent operator
    record_count int
    Number of DNS records under the domain name
    updated_at str
    Most recent update time of the domain
    zid str
    Unique ID identifying the domain name
    createdAt String
    Domain creation time
    id String
    The provider-assigned unique ID for this managed resource.
    lastOperator String
    Most recent operator
    recordCount Number
    Number of DNS records under the domain name
    updatedAt String
    Most recent update time of the domain
    zid String
    Unique ID identifying the domain name

    Look up Existing PrivateZone Resource

    Get an existing PrivateZone 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?: PrivateZoneState, opts?: CustomResourceOptions): PrivateZone
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            last_operator: Optional[str] = None,
            line_mode: Optional[int] = None,
            project_name: Optional[str] = None,
            record_count: Optional[int] = None,
            recursion_mode: Optional[bool] = None,
            remark: Optional[str] = None,
            tags: Optional[Sequence[PrivateZoneTagArgs]] = None,
            updated_at: Optional[str] = None,
            vpcs: Optional[Sequence[PrivateZoneVpcArgs]] = None,
            zid: Optional[str] = None,
            zone_name: Optional[str] = None) -> PrivateZone
    func GetPrivateZone(ctx *Context, name string, id IDInput, state *PrivateZoneState, opts ...ResourceOption) (*PrivateZone, error)
    public static PrivateZone Get(string name, Input<string> id, PrivateZoneState? state, CustomResourceOptions? opts = null)
    public static PrivateZone get(String name, Output<String> id, PrivateZoneState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:privatezone:PrivateZone    get:      id: ${id}
    import {
      to = volcenginecc_privatezone_private_zone.example
      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:
    CreatedAt string
    Domain creation time
    LastOperator string
    Most recent operator
    LineMode int
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    ProjectName string
    Name of the project the domain belongs to. Default is default
    RecordCount int
    Number of DNS records under the domain name
    RecursionMode bool
    Enable recursive resolution: true to enable, false to disable. Default is false
    Remark string
    Remarks. Default is an empty string
    Tags List<Volcengine.PrivateZoneTag>
    One or more tags associated with the domain. A resource can be associated with up to 50 tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    UpdatedAt string
    Most recent update time of the domain
    Vpcs List<Volcengine.PrivateZoneVpc>
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Zid string
    Unique ID identifying the domain name
    ZoneName string
    Domain name, can be a second-level or multi-level domain
    CreatedAt string
    Domain creation time
    LastOperator string
    Most recent operator
    LineMode int
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    ProjectName string
    Name of the project the domain belongs to. Default is default
    RecordCount int
    Number of DNS records under the domain name
    RecursionMode bool
    Enable recursive resolution: true to enable, false to disable. Default is false
    Remark string
    Remarks. Default is an empty string
    Tags []PrivateZoneTagArgs
    One or more tags associated with the domain. A resource can be associated with up to 50 tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    UpdatedAt string
    Most recent update time of the domain
    Vpcs []PrivateZoneVpcArgs
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Zid string
    Unique ID identifying the domain name
    ZoneName string
    Domain name, can be a second-level or multi-level domain
    created_at string
    Domain creation time
    last_operator string
    Most recent operator
    line_mode number
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    project_name string
    Name of the project the domain belongs to. Default is default
    record_count number
    Number of DNS records under the domain name
    recursion_mode bool
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark string
    Remarks. Default is an empty string
    tags list(object)
    One or more tags associated with the domain. A resource can be associated with up to 50 tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    updated_at string
    Most recent update time of the domain
    vpcs list(object)
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    zid string
    Unique ID identifying the domain name
    zone_name string
    Domain name, can be a second-level or multi-level domain
    createdAt String
    Domain creation time
    lastOperator String
    Most recent operator
    lineMode Integer
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    projectName String
    Name of the project the domain belongs to. Default is default
    recordCount Integer
    Number of DNS records under the domain name
    recursionMode Boolean
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark String
    Remarks. Default is an empty string
    tags List<PrivateZoneTag>
    One or more tags associated with the domain. A resource can be associated with up to 50 tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    updatedAt String
    Most recent update time of the domain
    vpcs List<PrivateZoneVpc>
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    zid String
    Unique ID identifying the domain name
    zoneName String
    Domain name, can be a second-level or multi-level domain
    createdAt string
    Domain creation time
    lastOperator string
    Most recent operator
    lineMode number
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    projectName string
    Name of the project the domain belongs to. Default is default
    recordCount number
    Number of DNS records under the domain name
    recursionMode boolean
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark string
    Remarks. Default is an empty string
    tags PrivateZoneTag[]
    One or more tags associated with the domain. A resource can be associated with up to 50 tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    updatedAt string
    Most recent update time of the domain
    vpcs PrivateZoneVpc[]
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    zid string
    Unique ID identifying the domain name
    zoneName string
    Domain name, can be a second-level or multi-level domain
    created_at str
    Domain creation time
    last_operator str
    Most recent operator
    line_mode int
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    project_name str
    Name of the project the domain belongs to. Default is default
    record_count int
    Number of DNS records under the domain name
    recursion_mode bool
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark str
    Remarks. Default is an empty string
    tags Sequence[PrivateZoneTagArgs]
    One or more tags associated with the domain. A resource can be associated with up to 50 tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    updated_at str
    Most recent update time of the domain
    vpcs Sequence[PrivateZoneVpcArgs]
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    zid str
    Unique ID identifying the domain name
    zone_name str
    Domain name, can be a second-level or multi-level domain
    createdAt String
    Domain creation time
    lastOperator String
    Most recent operator
    lineMode Number
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    projectName String
    Name of the project the domain belongs to. Default is default
    recordCount Number
    Number of DNS records under the domain name
    recursionMode Boolean
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark String
    Remarks. Default is an empty string
    tags List<Property Map>
    One or more tags associated with the domain. A resource can be associated with up to 50 tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    updatedAt String
    Most recent update time of the domain
    vpcs List<Property Map>
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    zid String
    Unique ID identifying the domain name
    zoneName String
    Domain name, can be a second-level or multi-level domain

    Supporting Types

    PrivateZoneTag, PrivateZoneTagArgs

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

    PrivateZoneVpc, PrivateZoneVpcArgs

    Region string
    Region where the VPC is located
    VpcId string
    VPC ID
    Region string
    Region where the VPC is located
    VpcId string
    VPC ID
    region string
    Region where the VPC is located
    vpc_id string
    VPC ID
    region String
    Region where the VPC is located
    vpcId String
    VPC ID
    region string
    Region where the VPC is located
    vpcId string
    VPC ID
    region str
    Region where the VPC is located
    vpc_id str
    VPC ID
    region String
    Region where the VPC is located
    vpcId String
    VPC ID

    Import

    $ pulumi import volcenginecc:privatezone/privateZone:PrivateZone example "zid"
    

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

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo volcenginecc
    Viewing docs for volcenginecc v0.0.61
    published on Thursday, Sep 10, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial