volcengine.vpc.Vpc
Explore with Pulumi AI
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)
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:
- Cidr
Block 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.
- Dns
Servers List<string> - 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.
- Ipv6Cidr
Block string - The IPv6 CIDR block of the VPC.
- Project
Name string - The ProjectName of the VPC.
- List<Vpc
Tag> - Tags.
- Vpc
Name string - The name of the VPC.
- Cidr
Block 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.
- Dns
Servers []string - 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.
- Ipv6Cidr
Block string - The IPv6 CIDR block of the VPC.
- Project
Name string - The ProjectName of the VPC.
- []Vpc
Tag Args - Tags.
- Vpc
Name string - The name of the VPC.
- cidr
Block 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.
- dns
Servers List<String> - The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
- enable
Ipv6 Boolean - Specifies whether to enable the IPv6 CIDR block of the VPC.
- ipv6Cidr
Block String - The IPv6 CIDR block of the VPC.
- project
Name String - The ProjectName of the VPC.
- List<Vpc
Tag> - Tags.
- vpc
Name String - The name of the VPC.
- cidr
Block 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.
- dns
Servers string[] - The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
- enable
Ipv6 boolean - Specifies whether to enable the IPv6 CIDR block of the VPC.
- ipv6Cidr
Block string - The IPv6 CIDR block of the VPC.
- project
Name string - The ProjectName of the VPC.
- Vpc
Tag[] - Tags.
- vpc
Name 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_ strblock - The IPv6 CIDR block of the VPC.
- project_
name str - The ProjectName of the VPC.
- Sequence[Vpc
Tag Args] - Tags.
- vpc_
name str - The name of the VPC.
- cidr
Block 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.
- dns
Servers List<String> - The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
- enable
Ipv6 Boolean - Specifies whether to enable the IPv6 CIDR block of the VPC.
- ipv6Cidr
Block String - The IPv6 CIDR block of the VPC.
- project
Name String - The ProjectName of the VPC.
- List<Property Map>
- Tags.
- vpc
Name 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:
- Account
Id string - The account ID of VPC.
- Associate
Cens List<VpcAssociate Cen> - The associate cen list of VPC.
- Auxiliary
Cidr List<string>Blocks - The auxiliary cidr block list of VPC.
- Creation
Time string - Creation time of VPC.
- Id string
- The provider-assigned unique ID for this managed resource.
- Nat
Gateway List<string>Ids - The nat gateway ID list of VPC.
- Route
Table List<string>Ids - The route table ID list of VPC.
- Security
Group List<string>Ids - The security group ID list of VPC.
- Status string
- Status of VPC.
- Subnet
Ids List<string> - The subnet ID list of VPC.
- Update
Time string - The update time of VPC.
- Vpc
Id string - The ID of VPC.
- Account
Id string - The account ID of VPC.
- Associate
Cens []VpcAssociate Cen - The associate cen list of VPC.
- Auxiliary
Cidr []stringBlocks - The auxiliary cidr block list of VPC.
- Creation
Time string - Creation time of VPC.
- Id string
- The provider-assigned unique ID for this managed resource.
- Nat
Gateway []stringIds - The nat gateway ID list of VPC.
- Route
Table []stringIds - The route table ID list of VPC.
- Security
Group []stringIds - The security group ID list of VPC.
- Status string
- Status of VPC.
- Subnet
Ids []string - The subnet ID list of VPC.
- Update
Time string - The update time of VPC.
- Vpc
Id string - The ID of VPC.
- account
Id String - The account ID of VPC.
- associate
Cens List<VpcAssociate Cen> - The associate cen list of VPC.
- auxiliary
Cidr List<String>Blocks - The auxiliary cidr block list of VPC.
- creation
Time String - Creation time of VPC.
- id String
- The provider-assigned unique ID for this managed resource.
- nat
Gateway List<String>Ids - The nat gateway ID list of VPC.
- route
Table List<String>Ids - The route table ID list of VPC.
- security
Group List<String>Ids - The security group ID list of VPC.
- status String
- Status of VPC.
- subnet
Ids List<String> - The subnet ID list of VPC.
- update
Time String - The update time of VPC.
- vpc
Id String - The ID of VPC.
- account
Id string - The account ID of VPC.
- associate
Cens VpcAssociate Cen[] - The associate cen list of VPC.
- auxiliary
Cidr string[]Blocks - The auxiliary cidr block list of VPC.
- creation
Time string - Creation time of VPC.
- id string
- The provider-assigned unique ID for this managed resource.
- nat
Gateway string[]Ids - The nat gateway ID list of VPC.
- route
Table string[]Ids - The route table ID list of VPC.
- security
Group string[]Ids - The security group ID list of VPC.
- status string
- Status of VPC.
- subnet
Ids string[] - The subnet ID list of VPC.
- update
Time string - The update time of VPC.
- vpc
Id string - The ID of VPC.
- account_
id str - The account ID of VPC.
- associate_
cens Sequence[VpcAssociate Cen] - The associate cen list of VPC.
- auxiliary_
cidr_ Sequence[str]blocks - 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_ Sequence[str]ids - The nat gateway ID list of VPC.
- route_
table_ Sequence[str]ids - The route table ID list of VPC.
- security_
group_ Sequence[str]ids - 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.
- account
Id String - The account ID of VPC.
- associate
Cens List<Property Map> - The associate cen list of VPC.
- auxiliary
Cidr List<String>Blocks - The auxiliary cidr block list of VPC.
- creation
Time String - Creation time of VPC.
- id String
- The provider-assigned unique ID for this managed resource.
- nat
Gateway List<String>Ids - The nat gateway ID list of VPC.
- route
Table List<String>Ids - The route table ID list of VPC.
- security
Group List<String>Ids - The security group ID list of VPC.
- status String
- Status of VPC.
- subnet
Ids List<String> - The subnet ID list of VPC.
- update
Time String - The update time of VPC.
- vpc
Id 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.
- Account
Id string - The account ID of VPC.
- Associate
Cens List<VpcAssociate Cen> - The associate cen list of VPC.
- Auxiliary
Cidr List<string>Blocks - The auxiliary cidr block list of VPC.
- Cidr
Block 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).
- Creation
Time string - Creation time of VPC.
- Description string
- The description of the VPC.
- Dns
Servers List<string> - 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.
- Ipv6Cidr
Block string - The IPv6 CIDR block of the VPC.
- Nat
Gateway List<string>Ids - The nat gateway ID list of VPC.
- Project
Name string - The ProjectName of the VPC.
- Route
Table List<string>Ids - The route table ID list of VPC.
- Security
Group List<string>Ids - The security group ID list of VPC.
- Status string
- Status of VPC.
- Subnet
Ids List<string> - The subnet ID list of VPC.
- List<Vpc
Tag> - Tags.
- Update
Time string - The update time of VPC.
- Vpc
Id string - The ID of VPC.
- Vpc
Name string - The name of the VPC.
- Account
Id string - The account ID of VPC.
- Associate
Cens []VpcAssociate Cen Args - The associate cen list of VPC.
- Auxiliary
Cidr []stringBlocks - The auxiliary cidr block list of VPC.
- Cidr
Block 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).
- Creation
Time string - Creation time of VPC.
- Description string
- The description of the VPC.
- Dns
Servers []string - 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.
- Ipv6Cidr
Block string - The IPv6 CIDR block of the VPC.
- Nat
Gateway []stringIds - The nat gateway ID list of VPC.
- Project
Name string - The ProjectName of the VPC.
- Route
Table []stringIds - The route table ID list of VPC.
- Security
Group []stringIds - The security group ID list of VPC.
- Status string
- Status of VPC.
- Subnet
Ids []string - The subnet ID list of VPC.
- []Vpc
Tag Args - Tags.
- Update
Time string - The update time of VPC.
- Vpc
Id string - The ID of VPC.
- Vpc
Name string - The name of the VPC.
- account
Id String - The account ID of VPC.
- associate
Cens List<VpcAssociate Cen> - The associate cen list of VPC.
- auxiliary
Cidr List<String>Blocks - The auxiliary cidr block list of VPC.
- cidr
Block 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).
- creation
Time String - Creation time of VPC.
- description String
- The description of the VPC.
- dns
Servers List<String> - The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
- enable
Ipv6 Boolean - Specifies whether to enable the IPv6 CIDR block of the VPC.
- ipv6Cidr
Block String - The IPv6 CIDR block of the VPC.
- nat
Gateway List<String>Ids - The nat gateway ID list of VPC.
- project
Name String - The ProjectName of the VPC.
- route
Table List<String>Ids - The route table ID list of VPC.
- security
Group List<String>Ids - The security group ID list of VPC.
- status String
- Status of VPC.
- subnet
Ids List<String> - The subnet ID list of VPC.
- List<Vpc
Tag> - Tags.
- update
Time String - The update time of VPC.
- vpc
Id String - The ID of VPC.
- vpc
Name String - The name of the VPC.
- account
Id string - The account ID of VPC.
- associate
Cens VpcAssociate Cen[] - The associate cen list of VPC.
- auxiliary
Cidr string[]Blocks - The auxiliary cidr block list of VPC.
- cidr
Block 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).
- creation
Time string - Creation time of VPC.
- description string
- The description of the VPC.
- dns
Servers string[] - The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
- enable
Ipv6 boolean - Specifies whether to enable the IPv6 CIDR block of the VPC.
- ipv6Cidr
Block string - The IPv6 CIDR block of the VPC.
- nat
Gateway string[]Ids - The nat gateway ID list of VPC.
- project
Name string - The ProjectName of the VPC.
- route
Table string[]Ids - The route table ID list of VPC.
- security
Group string[]Ids - The security group ID list of VPC.
- status string
- Status of VPC.
- subnet
Ids string[] - The subnet ID list of VPC.
- Vpc
Tag[] - Tags.
- update
Time string - The update time of VPC.
- vpc
Id string - The ID of VPC.
- vpc
Name string - The name of the VPC.
- account_
id str - The account ID of VPC.
- associate_
cens Sequence[VpcAssociate Cen Args] - The associate cen list of VPC.
- auxiliary_
cidr_ Sequence[str]blocks - 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_ strblock - The IPv6 CIDR block of the VPC.
- nat_
gateway_ Sequence[str]ids - The nat gateway ID list of VPC.
- project_
name str - The ProjectName of the VPC.
- route_
table_ Sequence[str]ids - The route table ID list of VPC.
- security_
group_ Sequence[str]ids - The security group ID list of VPC.
- status str
- Status of VPC.
- subnet_
ids Sequence[str] - The subnet ID list of VPC.
- Sequence[Vpc
Tag Args] - Tags.
- update_
time str - The update time of VPC.
- vpc_
id str - The ID of VPC.
- vpc_
name str - The name of the VPC.
- account
Id String - The account ID of VPC.
- associate
Cens List<Property Map> - The associate cen list of VPC.
- auxiliary
Cidr List<String>Blocks - The auxiliary cidr block list of VPC.
- cidr
Block 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).
- creation
Time String - Creation time of VPC.
- description String
- The description of the VPC.
- dns
Servers List<String> - The DNS server list of the VPC. And you can specify 0 to 5 servers to this list.
- enable
Ipv6 Boolean - Specifies whether to enable the IPv6 CIDR block of the VPC.
- ipv6Cidr
Block String - The IPv6 CIDR block of the VPC.
- nat
Gateway List<String>Ids - The nat gateway ID list of VPC.
- project
Name String - The ProjectName of the VPC.
- route
Table List<String>Ids - The route table ID list of VPC.
- security
Group List<String>Ids - The security group ID list of VPC.
- status String
- Status of VPC.
- subnet
Ids List<String> - The subnet ID list of VPC.
- List<Property Map>
- Tags.
- update
Time String - The update time of VPC.
- vpc
Id String - The ID of VPC.
- vpc
Name String - The name of the VPC.
Supporting Types
VpcAssociateCen, VpcAssociateCenArgs
- Cen
Id string - The ID of CEN.
- Cen
Owner stringId - The owner ID of CEN.
- Cen
Status string - The status of CEN.
- Cen
Id string - The ID of CEN.
- Cen
Owner stringId - The owner ID of CEN.
- Cen
Status string - The status of CEN.
- cen
Id String - The ID of CEN.
- cen
Owner StringId - The owner ID of CEN.
- cen
Status String - The status of CEN.
- cen
Id string - The ID of CEN.
- cen
Owner stringId - The owner ID of CEN.
- cen
Status string - The status of CEN.
- cen_
id str - The ID of CEN.
- cen_
owner_ strid - The owner ID of CEN.
- cen_
status str - The status of CEN.
- cen
Id String - The ID of CEN.
- cen
Owner StringId - The owner ID of CEN.
- cen
Status String - The status of CEN.
VpcTag, VpcTagArgs
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.