1. Packages
  2. Volcengine
  3. API Docs
  4. private_zone
  5. PrivateZone
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

volcengine.private_zone.PrivateZone

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

    Provides a resource to manage private zone

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@volcengine/pulumi";
    
    const foo = new volcengine.private_zone.PrivateZone("foo", {
        intelligentMode: true,
        loadBalanceMode: true,
        projectName: "default",
        recursionMode: true,
        remark: "acc-test-new",
        tags: [{
            key: "k1",
            value: "v1",
        }],
        vpcs: [
            {
                vpcId: "vpc-rs4mi0jedipsv0x57pf****",
            },
            {
                region: "cn-shanghai",
                vpcId: "vpc-3qdzk9xju6o747prml0jk****",
            },
        ],
        zoneName: "acc-test-pz.com",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.private_zone.PrivateZone("foo",
        intelligent_mode=True,
        load_balance_mode=True,
        project_name="default",
        recursion_mode=True,
        remark="acc-test-new",
        tags=[volcengine.private_zone.PrivateZoneTagArgs(
            key="k1",
            value="v1",
        )],
        vpcs=[
            volcengine.private_zone.PrivateZoneVpcArgs(
                vpc_id="vpc-rs4mi0jedipsv0x57pf****",
            ),
            volcengine.private_zone.PrivateZoneVpcArgs(
                region="cn-shanghai",
                vpc_id="vpc-3qdzk9xju6o747prml0jk****",
            ),
        ],
        zone_name="acc-test-pz.com")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/private_zone"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := private_zone.NewPrivateZone(ctx, "foo", &private_zone.PrivateZoneArgs{
    			IntelligentMode: pulumi.Bool(true),
    			LoadBalanceMode: pulumi.Bool(true),
    			ProjectName:     pulumi.String("default"),
    			RecursionMode:   pulumi.Bool(true),
    			Remark:          pulumi.String("acc-test-new"),
    			Tags: private_zone.PrivateZoneTagArray{
    				&private_zone.PrivateZoneTagArgs{
    					Key:   pulumi.String("k1"),
    					Value: pulumi.String("v1"),
    				},
    			},
    			Vpcs: private_zone.PrivateZoneVpcArray{
    				&private_zone.PrivateZoneVpcArgs{
    					VpcId: pulumi.String("vpc-rs4mi0jedipsv0x57pf****"),
    				},
    				&private_zone.PrivateZoneVpcArgs{
    					Region: pulumi.String("cn-shanghai"),
    					VpcId:  pulumi.String("vpc-3qdzk9xju6o747prml0jk****"),
    				},
    			},
    			ZoneName: pulumi.String("acc-test-pz.com"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Volcengine.Private_zone.PrivateZone("foo", new()
        {
            IntelligentMode = true,
            LoadBalanceMode = true,
            ProjectName = "default",
            RecursionMode = true,
            Remark = "acc-test-new",
            Tags = new[]
            {
                new Volcengine.Private_zone.Inputs.PrivateZoneTagArgs
                {
                    Key = "k1",
                    Value = "v1",
                },
            },
            Vpcs = new[]
            {
                new Volcengine.Private_zone.Inputs.PrivateZoneVpcArgs
                {
                    VpcId = "vpc-rs4mi0jedipsv0x57pf****",
                },
                new Volcengine.Private_zone.Inputs.PrivateZoneVpcArgs
                {
                    Region = "cn-shanghai",
                    VpcId = "vpc-3qdzk9xju6o747prml0jk****",
                },
            },
            ZoneName = "acc-test-pz.com",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.private_zone.PrivateZone;
    import com.pulumi.volcengine.private_zone.PrivateZoneArgs;
    import com.pulumi.volcengine.private_zone.inputs.PrivateZoneTagArgs;
    import com.pulumi.volcengine.private_zone.inputs.PrivateZoneVpcArgs;
    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 foo = new PrivateZone("foo", PrivateZoneArgs.builder()        
                .intelligentMode(true)
                .loadBalanceMode(true)
                .projectName("default")
                .recursionMode(true)
                .remark("acc-test-new")
                .tags(PrivateZoneTagArgs.builder()
                    .key("k1")
                    .value("v1")
                    .build())
                .vpcs(            
                    PrivateZoneVpcArgs.builder()
                        .vpcId("vpc-rs4mi0jedipsv0x57pf****")
                        .build(),
                    PrivateZoneVpcArgs.builder()
                        .region("cn-shanghai")
                        .vpcId("vpc-3qdzk9xju6o747prml0jk****")
                        .build())
                .zoneName("acc-test-pz.com")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: volcengine:private_zone:PrivateZone
        properties:
          intelligentMode: true
          loadBalanceMode: true
          projectName: default
          recursionMode: true
          remark: acc-test-new
          tags:
            - key: k1
              value: v1
          vpcs:
            - vpcId: vpc-rs4mi0jedipsv0x57pf****
            - region: cn-shanghai
              vpcId: vpc-3qdzk9xju6o747prml0jk****
          zoneName: acc-test-pz.com
    

    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,
                    vpcs: Optional[Sequence[PrivateZoneVpcArgs]] = None,
                    zone_name: Optional[str] = None,
                    intelligent_mode: Optional[bool] = None,
                    load_balance_mode: Optional[bool] = None,
                    project_name: Optional[str] = None,
                    recursion_mode: Optional[bool] = None,
                    remark: Optional[str] = None,
                    tags: Optional[Sequence[PrivateZoneTagArgs]] = None,
                    vpc_trns: Optional[Sequence[str]] = 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: volcengine:private_zone:PrivateZone
    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 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 Volcengine.Private_zone.PrivateZone("privateZoneResource", new()
    {
        Vpcs = new[]
        {
            new Volcengine.Private_zone.Inputs.PrivateZoneVpcArgs
            {
                VpcId = "string",
                Region = "string",
            },
        },
        ZoneName = "string",
        IntelligentMode = false,
        LoadBalanceMode = false,
        ProjectName = "string",
        RecursionMode = false,
        Remark = "string",
        Tags = new[]
        {
            new Volcengine.Private_zone.Inputs.PrivateZoneTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        VpcTrns = new[]
        {
            "string",
        },
    });
    
    example, err := private_zone.NewPrivateZone(ctx, "privateZoneResource", &private_zone.PrivateZoneArgs{
    	Vpcs: private_zone.PrivateZoneVpcArray{
    		&private_zone.PrivateZoneVpcArgs{
    			VpcId:  pulumi.String("string"),
    			Region: pulumi.String("string"),
    		},
    	},
    	ZoneName:        pulumi.String("string"),
    	IntelligentMode: pulumi.Bool(false),
    	LoadBalanceMode: pulumi.Bool(false),
    	ProjectName:     pulumi.String("string"),
    	RecursionMode:   pulumi.Bool(false),
    	Remark:          pulumi.String("string"),
    	Tags: private_zone.PrivateZoneTagArray{
    		&private_zone.PrivateZoneTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	VpcTrns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var privateZoneResource = new PrivateZone("privateZoneResource", PrivateZoneArgs.builder()
        .vpcs(PrivateZoneVpcArgs.builder()
            .vpcId("string")
            .region("string")
            .build())
        .zoneName("string")
        .intelligentMode(false)
        .loadBalanceMode(false)
        .projectName("string")
        .recursionMode(false)
        .remark("string")
        .tags(PrivateZoneTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .vpcTrns("string")
        .build());
    
    private_zone_resource = volcengine.private_zone.PrivateZone("privateZoneResource",
        vpcs=[{
            "vpc_id": "string",
            "region": "string",
        }],
        zone_name="string",
        intelligent_mode=False,
        load_balance_mode=False,
        project_name="string",
        recursion_mode=False,
        remark="string",
        tags=[{
            "key": "string",
            "value": "string",
        }],
        vpc_trns=["string"])
    
    const privateZoneResource = new volcengine.private_zone.PrivateZone("privateZoneResource", {
        vpcs: [{
            vpcId: "string",
            region: "string",
        }],
        zoneName: "string",
        intelligentMode: false,
        loadBalanceMode: false,
        projectName: "string",
        recursionMode: false,
        remark: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
        vpcTrns: ["string"],
    });
    
    type: volcengine:private_zone:PrivateZone
    properties:
        intelligentMode: false
        loadBalanceMode: false
        projectName: string
        recursionMode: false
        remark: string
        tags:
            - key: string
              value: string
        vpcTrns:
            - 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:

    Vpcs List<PrivateZoneVpc>
    The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
    ZoneName string
    The name of the private zone.
    IntelligentMode bool
    Whether to enable the intelligent mode of the private zone.
    LoadBalanceMode bool
    Whether to enable the load balance mode of the private zone.
    ProjectName string
    The project name of the private zone.
    RecursionMode bool
    Whether to enable the recursion mode of the private zone.
    Remark string
    The remark of the private zone.
    Tags List<PrivateZoneTag>
    Tags.
    VpcTrns List<string>
    The vpc trns of the private zone. Format: trn:vpc:region:accountId:vpc/vpcId. This field is only effected when creating resource. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    Vpcs []PrivateZoneVpcArgs
    The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
    ZoneName string
    The name of the private zone.
    IntelligentMode bool
    Whether to enable the intelligent mode of the private zone.
    LoadBalanceMode bool
    Whether to enable the load balance mode of the private zone.
    ProjectName string
    The project name of the private zone.
    RecursionMode bool
    Whether to enable the recursion mode of the private zone.
    Remark string
    The remark of the private zone.
    Tags []PrivateZoneTagArgs
    Tags.
    VpcTrns []string
    The vpc trns of the private zone. Format: trn:vpc:region:accountId:vpc/vpcId. This field is only effected when creating resource. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    vpcs List<PrivateZoneVpc>
    The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
    zoneName String
    The name of the private zone.
    intelligentMode Boolean
    Whether to enable the intelligent mode of the private zone.
    loadBalanceMode Boolean
    Whether to enable the load balance mode of the private zone.
    projectName String
    The project name of the private zone.
    recursionMode Boolean
    Whether to enable the recursion mode of the private zone.
    remark String
    The remark of the private zone.
    tags List<PrivateZoneTag>
    Tags.
    vpcTrns List<String>
    The vpc trns of the private zone. Format: trn:vpc:region:accountId:vpc/vpcId. This field is only effected when creating resource. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    vpcs PrivateZoneVpc[]
    The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
    zoneName string
    The name of the private zone.
    intelligentMode boolean
    Whether to enable the intelligent mode of the private zone.
    loadBalanceMode boolean
    Whether to enable the load balance mode of the private zone.
    projectName string
    The project name of the private zone.
    recursionMode boolean
    Whether to enable the recursion mode of the private zone.
    remark string
    The remark of the private zone.
    tags PrivateZoneTag[]
    Tags.
    vpcTrns string[]
    The vpc trns of the private zone. Format: trn:vpc:region:accountId:vpc/vpcId. This field is only effected when creating resource. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    vpcs Sequence[PrivateZoneVpcArgs]
    The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
    zone_name str
    The name of the private zone.
    intelligent_mode bool
    Whether to enable the intelligent mode of the private zone.
    load_balance_mode bool
    Whether to enable the load balance mode of the private zone.
    project_name str
    The project name of the private zone.
    recursion_mode bool
    Whether to enable the recursion mode of the private zone.
    remark str
    The remark of the private zone.
    tags Sequence[PrivateZoneTagArgs]
    Tags.
    vpc_trns Sequence[str]
    The vpc trns of the private zone. Format: trn:vpc:region:accountId:vpc/vpcId. This field is only effected when creating resource. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    vpcs List<Property Map>
    The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
    zoneName String
    The name of the private zone.
    intelligentMode Boolean
    Whether to enable the intelligent mode of the private zone.
    loadBalanceMode Boolean
    Whether to enable the load balance mode of the private zone.
    projectName String
    The project name of the private zone.
    recursionMode Boolean
    Whether to enable the recursion mode of the private zone.
    remark String
    The remark of the private zone.
    tags List<Property Map>
    Tags.
    vpcTrns List<String>
    The vpc trns of the private zone. Format: trn:vpc:region:accountId:vpc/vpcId. This field is only effected when creating resource. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    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,
            intelligent_mode: Optional[bool] = None,
            load_balance_mode: Optional[bool] = None,
            project_name: Optional[str] = None,
            recursion_mode: Optional[bool] = None,
            remark: Optional[str] = None,
            tags: Optional[Sequence[PrivateZoneTagArgs]] = None,
            vpc_trns: Optional[Sequence[str]] = None,
            vpcs: Optional[Sequence[PrivateZoneVpcArgs]] = 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: volcengine:private_zone:PrivateZone    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:
    IntelligentMode bool
    Whether to enable the intelligent mode of the private zone.
    LoadBalanceMode bool
    Whether to enable the load balance mode of the private zone.
    ProjectName string
    The project name of the private zone.
    RecursionMode bool
    Whether to enable the recursion mode of the private zone.
    Remark string
    The remark of the private zone.
    Tags List<PrivateZoneTag>
    Tags.
    VpcTrns List<string>
    The vpc trns of the private zone. Format: trn:vpc:region:accountId:vpc/vpcId. This field is only effected when creating resource. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    Vpcs List<PrivateZoneVpc>
    The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
    ZoneName string
    The name of the private zone.
    IntelligentMode bool
    Whether to enable the intelligent mode of the private zone.
    LoadBalanceMode bool
    Whether to enable the load balance mode of the private zone.
    ProjectName string
    The project name of the private zone.
    RecursionMode bool
    Whether to enable the recursion mode of the private zone.
    Remark string
    The remark of the private zone.
    Tags []PrivateZoneTagArgs
    Tags.
    VpcTrns []string
    The vpc trns of the private zone. Format: trn:vpc:region:accountId:vpc/vpcId. This field is only effected when creating resource. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    Vpcs []PrivateZoneVpcArgs
    The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
    ZoneName string
    The name of the private zone.
    intelligentMode Boolean
    Whether to enable the intelligent mode of the private zone.
    loadBalanceMode Boolean
    Whether to enable the load balance mode of the private zone.
    projectName String
    The project name of the private zone.
    recursionMode Boolean
    Whether to enable the recursion mode of the private zone.
    remark String
    The remark of the private zone.
    tags List<PrivateZoneTag>
    Tags.
    vpcTrns List<String>
    The vpc trns of the private zone. Format: trn:vpc:region:accountId:vpc/vpcId. This field is only effected when creating resource. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    vpcs List<PrivateZoneVpc>
    The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
    zoneName String
    The name of the private zone.
    intelligentMode boolean
    Whether to enable the intelligent mode of the private zone.
    loadBalanceMode boolean
    Whether to enable the load balance mode of the private zone.
    projectName string
    The project name of the private zone.
    recursionMode boolean
    Whether to enable the recursion mode of the private zone.
    remark string
    The remark of the private zone.
    tags PrivateZoneTag[]
    Tags.
    vpcTrns string[]
    The vpc trns of the private zone. Format: trn:vpc:region:accountId:vpc/vpcId. This field is only effected when creating resource. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    vpcs PrivateZoneVpc[]
    The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
    zoneName string
    The name of the private zone.
    intelligent_mode bool
    Whether to enable the intelligent mode of the private zone.
    load_balance_mode bool
    Whether to enable the load balance mode of the private zone.
    project_name str
    The project name of the private zone.
    recursion_mode bool
    Whether to enable the recursion mode of the private zone.
    remark str
    The remark of the private zone.
    tags Sequence[PrivateZoneTagArgs]
    Tags.
    vpc_trns Sequence[str]
    The vpc trns of the private zone. Format: trn:vpc:region:accountId:vpc/vpcId. This field is only effected when creating resource. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    vpcs Sequence[PrivateZoneVpcArgs]
    The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
    zone_name str
    The name of the private zone.
    intelligentMode Boolean
    Whether to enable the intelligent mode of the private zone.
    loadBalanceMode Boolean
    Whether to enable the load balance mode of the private zone.
    projectName String
    The project name of the private zone.
    recursionMode Boolean
    Whether to enable the recursion mode of the private zone.
    remark String
    The remark of the private zone.
    tags List<Property Map>
    Tags.
    vpcTrns List<String>
    The vpc trns of the private zone. Format: trn:vpc:region:accountId:vpc/vpcId. This field is only effected when creating resource. When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignore_changes ignore changes in fields.
    vpcs List<Property Map>
    The bind vpc object of the private zone. If you want to bind another account's VPC, you need to first use resource volcengine.private_zone.UserVpcAuthorization to complete the authorization.
    zoneName String
    The name of the private zone.

    Supporting Types

    PrivateZoneTag, PrivateZoneTagArgs

    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.
    key string
    The Key of Tags.
    value string
    The Value of Tags.
    key str
    The Key of Tags.
    value str
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.

    PrivateZoneVpc, PrivateZoneVpcArgs

    VpcId string
    The id of the bind vpc.
    Region string
    The region of the bind vpc. The default value is the region of the default provider config.
    VpcId string
    The id of the bind vpc.
    Region string
    The region of the bind vpc. The default value is the region of the default provider config.
    vpcId String
    The id of the bind vpc.
    region String
    The region of the bind vpc. The default value is the region of the default provider config.
    vpcId string
    The id of the bind vpc.
    region string
    The region of the bind vpc. The default value is the region of the default provider config.
    vpc_id str
    The id of the bind vpc.
    region str
    The region of the bind vpc. The default value is the region of the default provider config.
    vpcId String
    The id of the bind vpc.
    region String
    The region of the bind vpc. The default value is the region of the default provider config.

    Import

    PrivateZone can be imported using the id, e.g.

    $ pulumi import volcengine:private_zone/privateZone:PrivateZone default resource_id
    

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

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine