1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. veenedge
  6. Vpc
Viewing docs for volcenginecc v0.0.50
published on Monday, Jul 20, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.50
published on Monday, Jul 20, 2026 by Volcengine

    Edge computing custom VPC instance, used to create independent virtual network environments on edge nodes

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const example = new volcenginecc.veenedge.Vpc("Example", {
        desc: "测试VPC实例",
        project: "default",
        subnets: [
            {
                desc: "测试子网1",
                cidr: "10.0.0.0/16",
                name: "test-subnet-1",
            },
            {
                desc: "测试子网2",
                cidr: "10.1.0.0/16",
                name: "test-subnet-2",
            },
        ],
        clusterName: "bdcdn-sxcu",
        vpcName: "ccapi-dx-2",
        segment: "10.0.0.0/8",
        tags: [{
            key: "env",
            value: "test",
        }],
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    example = volcenginecc.veenedge.Vpc("Example",
        desc="测试VPC实例",
        project="default",
        subnets=[
            {
                "desc": "测试子网1",
                "cidr": "10.0.0.0/16",
                "name": "test-subnet-1",
            },
            {
                "desc": "测试子网2",
                "cidr": "10.1.0.0/16",
                "name": "test-subnet-2",
            },
        ],
        cluster_name="bdcdn-sxcu",
        vpc_name="ccapi-dx-2",
        segment="10.0.0.0/8",
        tags=[{
            "key": "env",
            "value": "test",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/veenedge"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := veenedge.NewVpc(ctx, "Example", &veenedge.VpcArgs{
    			Desc:    pulumi.String("测试VPC实例"),
    			Project: pulumi.String("default"),
    			Subnets: veenedge.VpcSubnetArray{
    				&veenedge.VpcSubnetArgs{
    					Desc: pulumi.String("测试子网1"),
    					Cidr: pulumi.String("10.0.0.0/16"),
    					Name: pulumi.String("test-subnet-1"),
    				},
    				&veenedge.VpcSubnetArgs{
    					Desc: pulumi.String("测试子网2"),
    					Cidr: pulumi.String("10.1.0.0/16"),
    					Name: pulumi.String("test-subnet-2"),
    				},
    			},
    			ClusterName: pulumi.String("bdcdn-sxcu"),
    			VpcName:     pulumi.String("ccapi-dx-2"),
    			Segment:     pulumi.String("10.0.0.0/8"),
    			Tags: veenedge.VpcTagArray{
    				&veenedge.VpcTagArgs{
    					Key:   pulumi.String("env"),
    					Value: pulumi.String("test"),
    				},
    			},
    		})
    		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 example = new Volcenginecc.Veenedge.Vpc("Example", new()
        {
            Desc = "测试VPC实例",
            Project = "default",
            Subnets = new[]
            {
                new Volcenginecc.Veenedge.Inputs.VpcSubnetArgs
                {
                    Desc = "测试子网1",
                    Cidr = "10.0.0.0/16",
                    Name = "test-subnet-1",
                },
                new Volcenginecc.Veenedge.Inputs.VpcSubnetArgs
                {
                    Desc = "测试子网2",
                    Cidr = "10.1.0.0/16",
                    Name = "test-subnet-2",
                },
            },
            ClusterName = "bdcdn-sxcu",
            VpcName = "ccapi-dx-2",
            Segment = "10.0.0.0/8",
            Tags = new[]
            {
                new Volcenginecc.Veenedge.Inputs.VpcTagArgs
                {
                    Key = "env",
                    Value = "test",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.veenedge.Vpc;
    import com.volcengine.volcenginecc.veenedge.VpcArgs;
    import com.pulumi.volcenginecc.veenedge.inputs.VpcSubnetArgs;
    import com.pulumi.volcenginecc.veenedge.inputs.VpcTagArgs;
    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 example = new Vpc("example", VpcArgs.builder()
                .desc("测试VPC实例")
                .project("default")
                .subnets(            
                    VpcSubnetArgs.builder()
                        .desc("测试子网1")
                        .cidr("10.0.0.0/16")
                        .name("test-subnet-1")
                        .build(),
                    VpcSubnetArgs.builder()
                        .desc("测试子网2")
                        .cidr("10.1.0.0/16")
                        .name("test-subnet-2")
                        .build())
                .clusterName("bdcdn-sxcu")
                .vpcName("ccapi-dx-2")
                .segment("10.0.0.0/8")
                .tags(VpcTagArgs.builder()
                    .key("env")
                    .value("test")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: volcenginecc:veenedge:Vpc
        name: Example
        properties:
          desc: 测试VPC实例
          project: default
          subnets:
            - desc: 测试子网1
              cidr: 10.0.0.0/16
              name: test-subnet-1
            - desc: 测试子网2
              cidr: 10.1.0.0/16
              name: test-subnet-2
          clusterName: bdcdn-sxcu
          vpcName: ccapi-dx-2
          segment: 10.0.0.0/8
          tags:
            - key: env
              value: test
    
    pulumi {
      required_providers {
        volcenginecc = {
          source = "pulumi/volcenginecc"
        }
      }
    }
    
    resource "volcenginecc_veenedge_vpc" "Example" {
      desc    = "测试VPC实例"
      project = "default"
      subnets {
        desc = "测试子网1"
        cidr = "10.0.0.0/16"
        name = "test-subnet-1"
      }
      subnets {
        desc = "测试子网2"
        cidr = "10.1.0.0/16"
        name = "test-subnet-2"
      }
      cluster_name = "bdcdn-sxcu"
      vpc_name     = "ccapi-dx-2"
      segment      = "10.0.0.0/8"
      tags {
        key   = "env"
        value = "test"
      }
    }
    

    Create Vpc Resource

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

    Constructor syntax

    new Vpc(name: string, args: VpcArgs, opts?: CustomResourceOptions);
    @overload
    def Vpc(resource_name: str,
            args: VpcArgs,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Vpc(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            cluster_name: Optional[str] = None,
            desc: Optional[str] = None,
            segment: Optional[str] = None,
            vpc_name: Optional[str] = None,
            project: Optional[str] = None,
            subnets: Optional[Sequence[VpcSubnetArgs]] = None,
            tags: Optional[Sequence[VpcTagArgs]] = None)
    func NewVpc(ctx *Context, name string, args VpcArgs, opts ...ResourceOption) (*Vpc, error)
    public Vpc(string name, VpcArgs args, CustomResourceOptions? opts = null)
    public Vpc(String name, VpcArgs args)
    public Vpc(String name, VpcArgs args, CustomResourceOptions options)
    
    type: volcenginecc:veenedge:Vpc
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "volcenginecc_veenedge_vpc" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args VpcArgs
    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 VpcArgs
    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 VpcArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcArgs
    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 vpcResource = new Volcenginecc.Veenedge.Vpc("vpcResource", new()
    {
        ClusterName = "string",
        Desc = "string",
        Segment = "string",
        VpcName = "string",
        Project = "string",
        Subnets = new[]
        {
            new Volcenginecc.Veenedge.Inputs.VpcSubnetArgs
            {
                Cidr = "string",
                Desc = "string",
                Name = "string",
            },
        },
        Tags = new[]
        {
            new Volcenginecc.Veenedge.Inputs.VpcTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := veenedge.NewVpc(ctx, "vpcResource", &veenedge.VpcArgs{
    	ClusterName: pulumi.String("string"),
    	Desc:        pulumi.String("string"),
    	Segment:     pulumi.String("string"),
    	VpcName:     pulumi.String("string"),
    	Project:     pulumi.String("string"),
    	Subnets: veenedge.VpcSubnetArray{
    		&veenedge.VpcSubnetArgs{
    			Cidr: pulumi.String("string"),
    			Desc: pulumi.String("string"),
    			Name: pulumi.String("string"),
    		},
    	},
    	Tags: veenedge.VpcTagArray{
    		&veenedge.VpcTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    resource "volcenginecc_veenedge_vpc" "vpcResource" {
      lifecycle {
        create_before_destroy = true
      }
      cluster_name = "string"
      desc         = "string"
      segment      = "string"
      vpc_name     = "string"
      project      = "string"
      subnets {
        cidr = "string"
        desc = "string"
        name = "string"
      }
      tags {
        key   = "string"
        value = "string"
      }
    }
    
    var vpcResource = new com.volcengine.volcenginecc.veenedge.Vpc("vpcResource", com.volcengine.volcenginecc.veenedge.VpcArgs.builder()
        .clusterName("string")
        .desc("string")
        .segment("string")
        .vpcName("string")
        .project("string")
        .subnets(VpcSubnetArgs.builder()
            .cidr("string")
            .desc("string")
            .name("string")
            .build())
        .tags(com.pulumi.volcenginecc.veenedge.inputs.VpcTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    vpc_resource = volcenginecc.veenedge.Vpc("vpcResource",
        cluster_name="string",
        desc="string",
        segment="string",
        vpc_name="string",
        project="string",
        subnets=[{
            "cidr": "string",
            "desc": "string",
            "name": "string",
        }],
        tags=[{
            "key": "string",
            "value": "string",
        }])
    
    const vpcResource = new volcenginecc.veenedge.Vpc("vpcResource", {
        clusterName: "string",
        desc: "string",
        segment: "string",
        vpcName: "string",
        project: "string",
        subnets: [{
            cidr: "string",
            desc: "string",
            name: "string",
        }],
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: volcenginecc:veenedge:Vpc
    properties:
        clusterName: string
        desc: string
        project: string
        segment: string
        subnets:
            - cidr: string
              desc: string
              name: string
        tags:
            - key: string
              value: string
        vpcName: string
    

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

    ClusterName string
    Cluster Name of VPC Instance
    Desc string
    Description of VPC Instance
    Segment string
    VPC Instance CIDR Block, e.g. 10.0.0.0/16
    VpcName string
    VPC Instance Name
    Project string
    Project Name of VPC Instance
    Subnets List<Volcengine.VpcSubnet>
    List of subnets created when creating the VPC 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.
    Tags List<Volcengine.VpcTag>
    Tag List of VPC Instance 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.
    ClusterName string
    Cluster Name of VPC Instance
    Desc string
    Description of VPC Instance
    Segment string
    VPC Instance CIDR Block, e.g. 10.0.0.0/16
    VpcName string
    VPC Instance Name
    Project string
    Project Name of VPC Instance
    Subnets []VpcSubnetArgs
    List of subnets created when creating the VPC 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.
    Tags []VpcTagArgs
    Tag List of VPC Instance 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.
    cluster_name string
    Cluster Name of VPC Instance
    desc string
    Description of VPC Instance
    segment string
    VPC Instance CIDR Block, e.g. 10.0.0.0/16
    vpc_name string
    VPC Instance Name
    project string
    Project Name of VPC Instance
    subnets list(object)
    List of subnets created when creating the VPC 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.
    tags list(object)
    Tag List of VPC Instance 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.
    clusterName String
    Cluster Name of VPC Instance
    desc String
    Description of VPC Instance
    segment String
    VPC Instance CIDR Block, e.g. 10.0.0.0/16
    vpcName String
    VPC Instance Name
    project String
    Project Name of VPC Instance
    subnets List<VpcSubnet>
    List of subnets created when creating the VPC 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.
    tags List<VpcTag>
    Tag List of VPC Instance 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.
    clusterName string
    Cluster Name of VPC Instance
    desc string
    Description of VPC Instance
    segment string
    VPC Instance CIDR Block, e.g. 10.0.0.0/16
    vpcName string
    VPC Instance Name
    project string
    Project Name of VPC Instance
    subnets VpcSubnet[]
    List of subnets created when creating the VPC 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.
    tags VpcTag[]
    Tag List of VPC Instance 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.
    cluster_name str
    Cluster Name of VPC Instance
    desc str
    Description of VPC Instance
    segment str
    VPC Instance CIDR Block, e.g. 10.0.0.0/16
    vpc_name str
    VPC Instance Name
    project str
    Project Name of VPC Instance
    subnets Sequence[VpcSubnetArgs]
    List of subnets created when creating the VPC 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.
    tags Sequence[VpcTagArgs]
    Tag List of VPC Instance 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.
    clusterName String
    Cluster Name of VPC Instance
    desc String
    Description of VPC Instance
    segment String
    VPC Instance CIDR Block, e.g. 10.0.0.0/16
    vpcName String
    VPC Instance Name
    project String
    Project Name of VPC Instance
    subnets List<Property Map>
    List of subnets created when creating the VPC 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.
    tags List<Property Map>
    Tag List of VPC Instance 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 Vpc resource produces the following output properties:

    CreateTime int
    VPC Instance Creation Time, Unix Timestamp
    CrossAccountVgwNum int
    Number of Cross-Account Virtual Gateways
    Id string
    The provider-assigned unique ID for this managed resource.
    IsCustom bool
    Is Custom VPC
    IsDefault bool
    Is Default VPC
    IsVlan bool
    Is VLAN Type VPC
    LocalAccountVgwNum int
    Number of Virtual Gateways for This Account
    Status string
    VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
    UpdateTime int
    VPC Instance Update Time, Unix Timestamp
    VpcIdentity string
    Unique Identifier of VPC Instance
    CreateTime int
    VPC Instance Creation Time, Unix Timestamp
    CrossAccountVgwNum int
    Number of Cross-Account Virtual Gateways
    Id string
    The provider-assigned unique ID for this managed resource.
    IsCustom bool
    Is Custom VPC
    IsDefault bool
    Is Default VPC
    IsVlan bool
    Is VLAN Type VPC
    LocalAccountVgwNum int
    Number of Virtual Gateways for This Account
    Status string
    VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
    UpdateTime int
    VPC Instance Update Time, Unix Timestamp
    VpcIdentity string
    Unique Identifier of VPC Instance
    create_time number
    VPC Instance Creation Time, Unix Timestamp
    cross_account_vgw_num number
    Number of Cross-Account Virtual Gateways
    id string
    The provider-assigned unique ID for this managed resource.
    is_custom bool
    Is Custom VPC
    is_default bool
    Is Default VPC
    is_vlan bool
    Is VLAN Type VPC
    local_account_vgw_num number
    Number of Virtual Gateways for This Account
    status string
    VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
    update_time number
    VPC Instance Update Time, Unix Timestamp
    vpc_identity string
    Unique Identifier of VPC Instance
    createTime Integer
    VPC Instance Creation Time, Unix Timestamp
    crossAccountVgwNum Integer
    Number of Cross-Account Virtual Gateways
    id String
    The provider-assigned unique ID for this managed resource.
    isCustom Boolean
    Is Custom VPC
    isDefault Boolean
    Is Default VPC
    isVlan Boolean
    Is VLAN Type VPC
    localAccountVgwNum Integer
    Number of Virtual Gateways for This Account
    status String
    VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
    updateTime Integer
    VPC Instance Update Time, Unix Timestamp
    vpcIdentity String
    Unique Identifier of VPC Instance
    createTime number
    VPC Instance Creation Time, Unix Timestamp
    crossAccountVgwNum number
    Number of Cross-Account Virtual Gateways
    id string
    The provider-assigned unique ID for this managed resource.
    isCustom boolean
    Is Custom VPC
    isDefault boolean
    Is Default VPC
    isVlan boolean
    Is VLAN Type VPC
    localAccountVgwNum number
    Number of Virtual Gateways for This Account
    status string
    VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
    updateTime number
    VPC Instance Update Time, Unix Timestamp
    vpcIdentity string
    Unique Identifier of VPC Instance
    create_time int
    VPC Instance Creation Time, Unix Timestamp
    cross_account_vgw_num int
    Number of Cross-Account Virtual Gateways
    id str
    The provider-assigned unique ID for this managed resource.
    is_custom bool
    Is Custom VPC
    is_default bool
    Is Default VPC
    is_vlan bool
    Is VLAN Type VPC
    local_account_vgw_num int
    Number of Virtual Gateways for This Account
    status str
    VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
    update_time int
    VPC Instance Update Time, Unix Timestamp
    vpc_identity str
    Unique Identifier of VPC Instance
    createTime Number
    VPC Instance Creation Time, Unix Timestamp
    crossAccountVgwNum Number
    Number of Cross-Account Virtual Gateways
    id String
    The provider-assigned unique ID for this managed resource.
    isCustom Boolean
    Is Custom VPC
    isDefault Boolean
    Is Default VPC
    isVlan Boolean
    Is VLAN Type VPC
    localAccountVgwNum Number
    Number of Virtual Gateways for This Account
    status String
    VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
    updateTime Number
    VPC Instance Update Time, Unix Timestamp
    vpcIdentity String
    Unique Identifier of VPC Instance

    Look up Existing Vpc Resource

    Get an existing Vpc 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?: VpcState, opts?: CustomResourceOptions): Vpc
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_name: Optional[str] = None,
            create_time: Optional[int] = None,
            cross_account_vgw_num: Optional[int] = None,
            desc: Optional[str] = None,
            is_custom: Optional[bool] = None,
            is_default: Optional[bool] = None,
            is_vlan: Optional[bool] = None,
            local_account_vgw_num: Optional[int] = None,
            project: Optional[str] = None,
            segment: Optional[str] = None,
            status: Optional[str] = None,
            subnets: Optional[Sequence[VpcSubnetArgs]] = None,
            tags: Optional[Sequence[VpcTagArgs]] = None,
            update_time: Optional[int] = None,
            vpc_identity: Optional[str] = None,
            vpc_name: Optional[str] = None) -> Vpc
    func GetVpc(ctx *Context, name string, id IDInput, state *VpcState, opts ...ResourceOption) (*Vpc, error)
    public static Vpc Get(string name, Input<string> id, VpcState? state, CustomResourceOptions? opts = null)
    public static Vpc get(String name, Output<String> id, VpcState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:veenedge:Vpc    get:      id: ${id}
    import {
      to = volcenginecc_veenedge_vpc.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:
    ClusterName string
    Cluster Name of VPC Instance
    CreateTime int
    VPC Instance Creation Time, Unix Timestamp
    CrossAccountVgwNum int
    Number of Cross-Account Virtual Gateways
    Desc string
    Description of VPC Instance
    IsCustom bool
    Is Custom VPC
    IsDefault bool
    Is Default VPC
    IsVlan bool
    Is VLAN Type VPC
    LocalAccountVgwNum int
    Number of Virtual Gateways for This Account
    Project string
    Project Name of VPC Instance
    Segment string
    VPC Instance CIDR Block, e.g. 10.0.0.0/16
    Status string
    VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
    Subnets List<Volcengine.VpcSubnet>
    List of subnets created when creating the VPC 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.
    Tags List<Volcengine.VpcTag>
    Tag List of VPC Instance 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.
    UpdateTime int
    VPC Instance Update Time, Unix Timestamp
    VpcIdentity string
    Unique Identifier of VPC Instance
    VpcName string
    VPC Instance Name
    ClusterName string
    Cluster Name of VPC Instance
    CreateTime int
    VPC Instance Creation Time, Unix Timestamp
    CrossAccountVgwNum int
    Number of Cross-Account Virtual Gateways
    Desc string
    Description of VPC Instance
    IsCustom bool
    Is Custom VPC
    IsDefault bool
    Is Default VPC
    IsVlan bool
    Is VLAN Type VPC
    LocalAccountVgwNum int
    Number of Virtual Gateways for This Account
    Project string
    Project Name of VPC Instance
    Segment string
    VPC Instance CIDR Block, e.g. 10.0.0.0/16
    Status string
    VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
    Subnets []VpcSubnetArgs
    List of subnets created when creating the VPC 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.
    Tags []VpcTagArgs
    Tag List of VPC Instance 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.
    UpdateTime int
    VPC Instance Update Time, Unix Timestamp
    VpcIdentity string
    Unique Identifier of VPC Instance
    VpcName string
    VPC Instance Name
    cluster_name string
    Cluster Name of VPC Instance
    create_time number
    VPC Instance Creation Time, Unix Timestamp
    cross_account_vgw_num number
    Number of Cross-Account Virtual Gateways
    desc string
    Description of VPC Instance
    is_custom bool
    Is Custom VPC
    is_default bool
    Is Default VPC
    is_vlan bool
    Is VLAN Type VPC
    local_account_vgw_num number
    Number of Virtual Gateways for This Account
    project string
    Project Name of VPC Instance
    segment string
    VPC Instance CIDR Block, e.g. 10.0.0.0/16
    status string
    VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
    subnets list(object)
    List of subnets created when creating the VPC 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.
    tags list(object)
    Tag List of VPC Instance 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.
    update_time number
    VPC Instance Update Time, Unix Timestamp
    vpc_identity string
    Unique Identifier of VPC Instance
    vpc_name string
    VPC Instance Name
    clusterName String
    Cluster Name of VPC Instance
    createTime Integer
    VPC Instance Creation Time, Unix Timestamp
    crossAccountVgwNum Integer
    Number of Cross-Account Virtual Gateways
    desc String
    Description of VPC Instance
    isCustom Boolean
    Is Custom VPC
    isDefault Boolean
    Is Default VPC
    isVlan Boolean
    Is VLAN Type VPC
    localAccountVgwNum Integer
    Number of Virtual Gateways for This Account
    project String
    Project Name of VPC Instance
    segment String
    VPC Instance CIDR Block, e.g. 10.0.0.0/16
    status String
    VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
    subnets List<VpcSubnet>
    List of subnets created when creating the VPC 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.
    tags List<VpcTag>
    Tag List of VPC Instance 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.
    updateTime Integer
    VPC Instance Update Time, Unix Timestamp
    vpcIdentity String
    Unique Identifier of VPC Instance
    vpcName String
    VPC Instance Name
    clusterName string
    Cluster Name of VPC Instance
    createTime number
    VPC Instance Creation Time, Unix Timestamp
    crossAccountVgwNum number
    Number of Cross-Account Virtual Gateways
    desc string
    Description of VPC Instance
    isCustom boolean
    Is Custom VPC
    isDefault boolean
    Is Default VPC
    isVlan boolean
    Is VLAN Type VPC
    localAccountVgwNum number
    Number of Virtual Gateways for This Account
    project string
    Project Name of VPC Instance
    segment string
    VPC Instance CIDR Block, e.g. 10.0.0.0/16
    status string
    VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
    subnets VpcSubnet[]
    List of subnets created when creating the VPC 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.
    tags VpcTag[]
    Tag List of VPC Instance 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.
    updateTime number
    VPC Instance Update Time, Unix Timestamp
    vpcIdentity string
    Unique Identifier of VPC Instance
    vpcName string
    VPC Instance Name
    cluster_name str
    Cluster Name of VPC Instance
    create_time int
    VPC Instance Creation Time, Unix Timestamp
    cross_account_vgw_num int
    Number of Cross-Account Virtual Gateways
    desc str
    Description of VPC Instance
    is_custom bool
    Is Custom VPC
    is_default bool
    Is Default VPC
    is_vlan bool
    Is VLAN Type VPC
    local_account_vgw_num int
    Number of Virtual Gateways for This Account
    project str
    Project Name of VPC Instance
    segment str
    VPC Instance CIDR Block, e.g. 10.0.0.0/16
    status str
    VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
    subnets Sequence[VpcSubnetArgs]
    List of subnets created when creating the VPC 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.
    tags Sequence[VpcTagArgs]
    Tag List of VPC Instance 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.
    update_time int
    VPC Instance Update Time, Unix Timestamp
    vpc_identity str
    Unique Identifier of VPC Instance
    vpc_name str
    VPC Instance Name
    clusterName String
    Cluster Name of VPC Instance
    createTime Number
    VPC Instance Creation Time, Unix Timestamp
    crossAccountVgwNum Number
    Number of Cross-Account Virtual Gateways
    desc String
    Description of VPC Instance
    isCustom Boolean
    Is Custom VPC
    isDefault Boolean
    Is Default VPC
    isVlan Boolean
    Is VLAN Type VPC
    localAccountVgwNum Number
    Number of Virtual Gateways for This Account
    project String
    Project Name of VPC Instance
    segment String
    VPC Instance CIDR Block, e.g. 10.0.0.0/16
    status String
    VPC Instance Status: available (available), modifying (modifying), deleting (deleting)
    subnets List<Property Map>
    List of subnets created when creating the VPC 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.
    tags List<Property Map>
    Tag List of VPC Instance 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.
    updateTime Number
    VPC Instance Update Time, Unix Timestamp
    vpcIdentity String
    Unique Identifier of VPC Instance
    vpcName String
    VPC Instance Name

    Supporting Types

    VpcSubnet, VpcSubnetArgs

    Cidr string
    Subnet CIDR Block, e.g. 10.1.0.0/16
    Desc string
    Subnet Description
    Name string
    Subnet Name
    Cidr string
    Subnet CIDR Block, e.g. 10.1.0.0/16
    Desc string
    Subnet Description
    Name string
    Subnet Name
    cidr string
    Subnet CIDR Block, e.g. 10.1.0.0/16
    desc string
    Subnet Description
    name string
    Subnet Name
    cidr String
    Subnet CIDR Block, e.g. 10.1.0.0/16
    desc String
    Subnet Description
    name String
    Subnet Name
    cidr string
    Subnet CIDR Block, e.g. 10.1.0.0/16
    desc string
    Subnet Description
    name string
    Subnet Name
    cidr str
    Subnet CIDR Block, e.g. 10.1.0.0/16
    desc str
    Subnet Description
    name str
    Subnet Name
    cidr String
    Subnet CIDR Block, e.g. 10.1.0.0/16
    desc String
    Subnet Description
    name String
    Subnet Name

    VpcTag, VpcTagArgs

    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

    Import

    $ pulumi import volcenginecc:veenedge/vpc:Vpc example "vpc_identity"
    

    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
    Viewing docs for volcenginecc v0.0.50
    published on Monday, Jul 20, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial