1. Packages
  2. Volcengine
  3. API Docs
  4. vpc
  5. Vpc
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.vpc.Vpc

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

    Provides a resource to manage vpc

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@volcengine/pulumi";
    
    const foo = new volcengine.vpc.Vpc("foo", {
        cidrBlock: "172.16.0.0/16",
        dnsServers: [
            "8.8.8.8",
            "114.114.114.114",
        ],
        projectName: "AS_test",
        vpcName: "tf-project-1",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.vpc.Vpc("foo",
        cidr_block="172.16.0.0/16",
        dns_servers=[
            "8.8.8.8",
            "114.114.114.114",
        ],
        project_name="AS_test",
        vpc_name="tf-project-1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vpc.NewVpc(ctx, "foo", &vpc.VpcArgs{
    			CidrBlock: pulumi.String("172.16.0.0/16"),
    			DnsServers: pulumi.StringArray{
    				pulumi.String("8.8.8.8"),
    				pulumi.String("114.114.114.114"),
    			},
    			ProjectName: pulumi.String("AS_test"),
    			VpcName:     pulumi.String("tf-project-1"),
    		})
    		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.Vpc.Vpc("foo", new()
        {
            CidrBlock = "172.16.0.0/16",
            DnsServers = new[]
            {
                "8.8.8.8",
                "114.114.114.114",
            },
            ProjectName = "AS_test",
            VpcName = "tf-project-1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.vpc.Vpc;
    import com.pulumi.volcengine.vpc.VpcArgs;
    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 Vpc("foo", VpcArgs.builder()        
                .cidrBlock("172.16.0.0/16")
                .dnsServers(            
                    "8.8.8.8",
                    "114.114.114.114")
                .projectName("AS_test")
                .vpcName("tf-project-1")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: volcengine:vpc:Vpc
        properties:
          cidrBlock: 172.16.0.0/16
          dnsServers:
            - 8.8.8.8
            - 114.114.114.114
          projectName: AS_test
          vpcName: tf-project-1
    

    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,
            cidr_block: Optional[str] = None,
            description: Optional[str] = None,
            dns_servers: Optional[Sequence[str]] = None,
            enable_ipv6: Optional[bool] = None,
            ipv6_cidr_block: Optional[str] = None,
            project_name: Optional[str] = None,
            tags: Optional[Sequence[VpcTagArgs]] = None,
            vpc_name: Optional[str] = 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: volcengine:vpc:Vpc
    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 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 volcengineVpcResource = new Volcengine.Vpc.Vpc("volcengineVpcResource", new()
    {
        CidrBlock = "string",
        Description = "string",
        DnsServers = new[]
        {
            "string",
        },
        EnableIpv6 = false,
        Ipv6CidrBlock = "string",
        ProjectName = "string",
        Tags = new[]
        {
            new Volcengine.Vpc.Inputs.VpcTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        VpcName = "string",
    });
    
    example, err := vpc.NewVpc(ctx, "volcengineVpcResource", &vpc.VpcArgs{
    	CidrBlock:   pulumi.String("string"),
    	Description: pulumi.String("string"),
    	DnsServers: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	EnableIpv6:    pulumi.Bool(false),
    	Ipv6CidrBlock: pulumi.String("string"),
    	ProjectName:   pulumi.String("string"),
    	Tags: vpc.VpcTagArray{
    		&vpc.VpcTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	VpcName: pulumi.String("string"),
    })
    
    var volcengineVpcResource = new Vpc("volcengineVpcResource", VpcArgs.builder()
        .cidrBlock("string")
        .description("string")
        .dnsServers("string")
        .enableIpv6(false)
        .ipv6CidrBlock("string")
        .projectName("string")
        .tags(VpcTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .vpcName("string")
        .build());
    
    volcengine_vpc_resource = volcengine.vpc.Vpc("volcengineVpcResource",
        cidr_block="string",
        description="string",
        dns_servers=["string"],
        enable_ipv6=False,
        ipv6_cidr_block="string",
        project_name="string",
        tags=[{
            "key": "string",
            "value": "string",
        }],
        vpc_name="string")
    
    const volcengineVpcResource = new volcengine.vpc.Vpc("volcengineVpcResource", {
        cidrBlock: "string",
        description: "string",
        dnsServers: ["string"],
        enableIpv6: false,
        ipv6CidrBlock: "string",
        projectName: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
        vpcName: "string",
    });
    
    type: volcengine:vpc:Vpc
    properties:
        cidrBlock: string
        description: string
        dnsServers:
            - string
        enableIpv6: false
        ipv6CidrBlock: string
        projectName: 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:

    CidrBlock string
    A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
    Description string
    The description of the VPC.
    DnsServers List<string>
    The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
    EnableIpv6 bool
    Specifies whether to enable the IPv6 CIDR block of the VPC.
    Ipv6CidrBlock string
    The IPv6 CIDR block of the VPC.
    ProjectName string
    The ProjectName of the VPC.
    Tags List<VpcTag>
    Tags.
    VpcName string
    The name of the VPC.
    CidrBlock string
    A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
    Description string
    The description of the VPC.
    DnsServers []string
    The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
    EnableIpv6 bool
    Specifies whether to enable the IPv6 CIDR block of the VPC.
    Ipv6CidrBlock string
    The IPv6 CIDR block of the VPC.
    ProjectName string
    The ProjectName of the VPC.
    Tags []VpcTagArgs
    Tags.
    VpcName string
    The name of the VPC.
    cidrBlock String
    A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
    description String
    The description of the VPC.
    dnsServers List<String>
    The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
    enableIpv6 Boolean
    Specifies whether to enable the IPv6 CIDR block of the VPC.
    ipv6CidrBlock String
    The IPv6 CIDR block of the VPC.
    projectName String
    The ProjectName of the VPC.
    tags List<VpcTag>
    Tags.
    vpcName String
    The name of the VPC.
    cidrBlock string
    A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
    description string
    The description of the VPC.
    dnsServers string[]
    The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
    enableIpv6 boolean
    Specifies whether to enable the IPv6 CIDR block of the VPC.
    ipv6CidrBlock string
    The IPv6 CIDR block of the VPC.
    projectName string
    The ProjectName of the VPC.
    tags VpcTag[]
    Tags.
    vpcName string
    The name of the VPC.
    cidr_block str
    A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
    description str
    The description of the VPC.
    dns_servers Sequence[str]
    The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
    enable_ipv6 bool
    Specifies whether to enable the IPv6 CIDR block of the VPC.
    ipv6_cidr_block str
    The IPv6 CIDR block of the VPC.
    project_name str
    The ProjectName of the VPC.
    tags Sequence[VpcTagArgs]
    Tags.
    vpc_name str
    The name of the VPC.
    cidrBlock String
    A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
    description String
    The description of the VPC.
    dnsServers List<String>
    The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
    enableIpv6 Boolean
    Specifies whether to enable the IPv6 CIDR block of the VPC.
    ipv6CidrBlock String
    The IPv6 CIDR block of the VPC.
    projectName String
    The ProjectName of the VPC.
    tags List<Property Map>
    Tags.
    vpcName String
    The name of the VPC.

    Outputs

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

    AccountId string
    The account ID of VPC.
    AssociateCens List<VpcAssociateCen>
    The associate cen list of VPC.
    AuxiliaryCidrBlocks List<string>
    The auxiliary cidr block list of VPC.
    CreationTime string
    Creation time of VPC.
    Id string
    The provider-assigned unique ID for this managed resource.
    NatGatewayIds List<string>
    The nat gateway ID list of VPC.
    RouteTableIds List<string>
    The route table ID list of VPC.
    SecurityGroupIds List<string>
    The security group ID list of VPC.
    Status string
    Status of VPC.
    SubnetIds List<string>
    The subnet ID list of VPC.
    UpdateTime string
    The update time of VPC.
    VpcId string
    The ID of VPC.
    AccountId string
    The account ID of VPC.
    AssociateCens []VpcAssociateCen
    The associate cen list of VPC.
    AuxiliaryCidrBlocks []string
    The auxiliary cidr block list of VPC.
    CreationTime string
    Creation time of VPC.
    Id string
    The provider-assigned unique ID for this managed resource.
    NatGatewayIds []string
    The nat gateway ID list of VPC.
    RouteTableIds []string
    The route table ID list of VPC.
    SecurityGroupIds []string
    The security group ID list of VPC.
    Status string
    Status of VPC.
    SubnetIds []string
    The subnet ID list of VPC.
    UpdateTime string
    The update time of VPC.
    VpcId string
    The ID of VPC.
    accountId String
    The account ID of VPC.
    associateCens List<VpcAssociateCen>
    The associate cen list of VPC.
    auxiliaryCidrBlocks List<String>
    The auxiliary cidr block list of VPC.
    creationTime String
    Creation time of VPC.
    id String
    The provider-assigned unique ID for this managed resource.
    natGatewayIds List<String>
    The nat gateway ID list of VPC.
    routeTableIds List<String>
    The route table ID list of VPC.
    securityGroupIds List<String>
    The security group ID list of VPC.
    status String
    Status of VPC.
    subnetIds List<String>
    The subnet ID list of VPC.
    updateTime String
    The update time of VPC.
    vpcId String
    The ID of VPC.
    accountId string
    The account ID of VPC.
    associateCens VpcAssociateCen[]
    The associate cen list of VPC.
    auxiliaryCidrBlocks string[]
    The auxiliary cidr block list of VPC.
    creationTime string
    Creation time of VPC.
    id string
    The provider-assigned unique ID for this managed resource.
    natGatewayIds string[]
    The nat gateway ID list of VPC.
    routeTableIds string[]
    The route table ID list of VPC.
    securityGroupIds string[]
    The security group ID list of VPC.
    status string
    Status of VPC.
    subnetIds string[]
    The subnet ID list of VPC.
    updateTime string
    The update time of VPC.
    vpcId string
    The ID of VPC.
    account_id str
    The account ID of VPC.
    associate_cens Sequence[VpcAssociateCen]
    The associate cen list of VPC.
    auxiliary_cidr_blocks Sequence[str]
    The auxiliary cidr block list of VPC.
    creation_time str
    Creation time of VPC.
    id str
    The provider-assigned unique ID for this managed resource.
    nat_gateway_ids Sequence[str]
    The nat gateway ID list of VPC.
    route_table_ids Sequence[str]
    The route table ID list of VPC.
    security_group_ids Sequence[str]
    The security group ID list of VPC.
    status str
    Status of VPC.
    subnet_ids Sequence[str]
    The subnet ID list of VPC.
    update_time str
    The update time of VPC.
    vpc_id str
    The ID of VPC.
    accountId String
    The account ID of VPC.
    associateCens List<Property Map>
    The associate cen list of VPC.
    auxiliaryCidrBlocks List<String>
    The auxiliary cidr block list of VPC.
    creationTime String
    Creation time of VPC.
    id String
    The provider-assigned unique ID for this managed resource.
    natGatewayIds List<String>
    The nat gateway ID list of VPC.
    routeTableIds List<String>
    The route table ID list of VPC.
    securityGroupIds List<String>
    The security group ID list of VPC.
    status String
    Status of VPC.
    subnetIds List<String>
    The subnet ID list of VPC.
    updateTime String
    The update time of VPC.
    vpcId String
    The ID of VPC.

    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,
            account_id: Optional[str] = None,
            associate_cens: Optional[Sequence[VpcAssociateCenArgs]] = None,
            auxiliary_cidr_blocks: Optional[Sequence[str]] = None,
            cidr_block: Optional[str] = None,
            creation_time: Optional[str] = None,
            description: Optional[str] = None,
            dns_servers: Optional[Sequence[str]] = None,
            enable_ipv6: Optional[bool] = None,
            ipv6_cidr_block: Optional[str] = None,
            nat_gateway_ids: Optional[Sequence[str]] = None,
            project_name: Optional[str] = None,
            route_table_ids: Optional[Sequence[str]] = None,
            security_group_ids: Optional[Sequence[str]] = None,
            status: Optional[str] = None,
            subnet_ids: Optional[Sequence[str]] = None,
            tags: Optional[Sequence[VpcTagArgs]] = None,
            update_time: Optional[str] = None,
            vpc_id: 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: volcengine:vpc:Vpc    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:
    AccountId string
    The account ID of VPC.
    AssociateCens List<VpcAssociateCen>
    The associate cen list of VPC.
    AuxiliaryCidrBlocks List<string>
    The auxiliary cidr block list of VPC.
    CidrBlock string
    A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
    CreationTime string
    Creation time of VPC.
    Description string
    The description of the VPC.
    DnsServers List<string>
    The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
    EnableIpv6 bool
    Specifies whether to enable the IPv6 CIDR block of the VPC.
    Ipv6CidrBlock string
    The IPv6 CIDR block of the VPC.
    NatGatewayIds List<string>
    The nat gateway ID list of VPC.
    ProjectName string
    The ProjectName of the VPC.
    RouteTableIds List<string>
    The route table ID list of VPC.
    SecurityGroupIds List<string>
    The security group ID list of VPC.
    Status string
    Status of VPC.
    SubnetIds List<string>
    The subnet ID list of VPC.
    Tags List<VpcTag>
    Tags.
    UpdateTime string
    The update time of VPC.
    VpcId string
    The ID of VPC.
    VpcName string
    The name of the VPC.
    AccountId string
    The account ID of VPC.
    AssociateCens []VpcAssociateCenArgs
    The associate cen list of VPC.
    AuxiliaryCidrBlocks []string
    The auxiliary cidr block list of VPC.
    CidrBlock string
    A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
    CreationTime string
    Creation time of VPC.
    Description string
    The description of the VPC.
    DnsServers []string
    The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
    EnableIpv6 bool
    Specifies whether to enable the IPv6 CIDR block of the VPC.
    Ipv6CidrBlock string
    The IPv6 CIDR block of the VPC.
    NatGatewayIds []string
    The nat gateway ID list of VPC.
    ProjectName string
    The ProjectName of the VPC.
    RouteTableIds []string
    The route table ID list of VPC.
    SecurityGroupIds []string
    The security group ID list of VPC.
    Status string
    Status of VPC.
    SubnetIds []string
    The subnet ID list of VPC.
    Tags []VpcTagArgs
    Tags.
    UpdateTime string
    The update time of VPC.
    VpcId string
    The ID of VPC.
    VpcName string
    The name of the VPC.
    accountId String
    The account ID of VPC.
    associateCens List<VpcAssociateCen>
    The associate cen list of VPC.
    auxiliaryCidrBlocks List<String>
    The auxiliary cidr block list of VPC.
    cidrBlock String
    A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
    creationTime String
    Creation time of VPC.
    description String
    The description of the VPC.
    dnsServers List<String>
    The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
    enableIpv6 Boolean
    Specifies whether to enable the IPv6 CIDR block of the VPC.
    ipv6CidrBlock String
    The IPv6 CIDR block of the VPC.
    natGatewayIds List<String>
    The nat gateway ID list of VPC.
    projectName String
    The ProjectName of the VPC.
    routeTableIds List<String>
    The route table ID list of VPC.
    securityGroupIds List<String>
    The security group ID list of VPC.
    status String
    Status of VPC.
    subnetIds List<String>
    The subnet ID list of VPC.
    tags List<VpcTag>
    Tags.
    updateTime String
    The update time of VPC.
    vpcId String
    The ID of VPC.
    vpcName String
    The name of the VPC.
    accountId string
    The account ID of VPC.
    associateCens VpcAssociateCen[]
    The associate cen list of VPC.
    auxiliaryCidrBlocks string[]
    The auxiliary cidr block list of VPC.
    cidrBlock string
    A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
    creationTime string
    Creation time of VPC.
    description string
    The description of the VPC.
    dnsServers string[]
    The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
    enableIpv6 boolean
    Specifies whether to enable the IPv6 CIDR block of the VPC.
    ipv6CidrBlock string
    The IPv6 CIDR block of the VPC.
    natGatewayIds string[]
    The nat gateway ID list of VPC.
    projectName string
    The ProjectName of the VPC.
    routeTableIds string[]
    The route table ID list of VPC.
    securityGroupIds string[]
    The security group ID list of VPC.
    status string
    Status of VPC.
    subnetIds string[]
    The subnet ID list of VPC.
    tags VpcTag[]
    Tags.
    updateTime string
    The update time of VPC.
    vpcId string
    The ID of VPC.
    vpcName string
    The name of the VPC.
    account_id str
    The account ID of VPC.
    associate_cens Sequence[VpcAssociateCenArgs]
    The associate cen list of VPC.
    auxiliary_cidr_blocks Sequence[str]
    The auxiliary cidr block list of VPC.
    cidr_block str
    A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
    creation_time str
    Creation time of VPC.
    description str
    The description of the VPC.
    dns_servers Sequence[str]
    The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
    enable_ipv6 bool
    Specifies whether to enable the IPv6 CIDR block of the VPC.
    ipv6_cidr_block str
    The IPv6 CIDR block of the VPC.
    nat_gateway_ids Sequence[str]
    The nat gateway ID list of VPC.
    project_name str
    The ProjectName of the VPC.
    route_table_ids Sequence[str]
    The route table ID list of VPC.
    security_group_ids Sequence[str]
    The security group ID list of VPC.
    status str
    Status of VPC.
    subnet_ids Sequence[str]
    The subnet ID list of VPC.
    tags Sequence[VpcTagArgs]
    Tags.
    update_time str
    The update time of VPC.
    vpc_id str
    The ID of VPC.
    vpc_name str
    The name of the VPC.
    accountId String
    The account ID of VPC.
    associateCens List<Property Map>
    The associate cen list of VPC.
    auxiliaryCidrBlocks List<String>
    The auxiliary cidr block list of VPC.
    cidrBlock String
    A network address block which should be a subnet of the three internal network segments (10.0.0.0/16, 172.16.0.0/12 and 192.168.0.0/16).
    creationTime String
    Creation time of VPC.
    description String
    The description of the VPC.
    dnsServers List<String>
    The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
    enableIpv6 Boolean
    Specifies whether to enable the IPv6 CIDR block of the VPC.
    ipv6CidrBlock String
    The IPv6 CIDR block of the VPC.
    natGatewayIds List<String>
    The nat gateway ID list of VPC.
    projectName String
    The ProjectName of the VPC.
    routeTableIds List<String>
    The route table ID list of VPC.
    securityGroupIds List<String>
    The security group ID list of VPC.
    status String
    Status of VPC.
    subnetIds List<String>
    The subnet ID list of VPC.
    tags List<Property Map>
    Tags.
    updateTime String
    The update time of VPC.
    vpcId String
    The ID of VPC.
    vpcName String
    The name of the VPC.

    Supporting Types

    VpcAssociateCen, VpcAssociateCenArgs

    CenId string
    The ID of CEN.
    CenOwnerId string
    The owner ID of CEN.
    CenStatus string
    The status of CEN.
    CenId string
    The ID of CEN.
    CenOwnerId string
    The owner ID of CEN.
    CenStatus string
    The status of CEN.
    cenId String
    The ID of CEN.
    cenOwnerId String
    The owner ID of CEN.
    cenStatus String
    The status of CEN.
    cenId string
    The ID of CEN.
    cenOwnerId string
    The owner ID of CEN.
    cenStatus string
    The status of CEN.
    cen_id str
    The ID of CEN.
    cen_owner_id str
    The owner ID of CEN.
    cen_status str
    The status of CEN.
    cenId String
    The ID of CEN.
    cenOwnerId String
    The owner ID of CEN.
    cenStatus String
    The status of CEN.

    VpcTag, VpcTagArgs

    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.

    Import

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

    $ pulumi import volcengine:vpc/vpc:Vpc default vpc-mizl7m1kqccg5smt1bdpijuj
    

    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.27 published on Tuesday, Dec 10, 2024 by Volcengine