Network

Import

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

$ pulumi import alicloud:vpc/network:Network example vpc-abc123456

Properties

Link copied to clipboard
val cidrBlock: Output<String>?

The CIDR block for the VPC. The cidr_block is Optional and default value is 172.16.0.0/12 after v1.119.0+.

Link copied to clipboard
val description: Output<String>?

The VPC description. Defaults to null.

Link copied to clipboard
val dryRun: Output<Boolean>?

Specifies whether to pre-check this request only. Valid values: true and false.

Link copied to clipboard
val enableIpv6: Output<Boolean>?

Specifies whether to enable the IPv6 CIDR block. Valid values: false (Default): disables IPv6 CIDR blocks. true: enables IPv6 CIDR blocks. If the enable_ipv6 is true, the system will automatically create a free version of an IPv6 gateway for your private network and assign an IPv6 network segment assigned as /56.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val ipv6CidrBlock: Output<String>

(Available in v1.119.0+) ) The ipv6 cidr block of VPC.

Link copied to clipboard
val name: Output<String>

Field name has been deprecated from provider version 1.119.0. New field vpc_name instead.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceGroupId: Output<String>

The ID of resource group which the VPC belongs.

Link copied to clipboard
val routerId: Output<String>

The ID of the router created by default on VPC creation.

Link copied to clipboard
val routerTableId: Output<String>

(Deprecated) It has been deprecated and replaced with route_table_id.

Link copied to clipboard
val routeTableId: Output<String>

The route table ID of the router created by default on VPC creation.

Link copied to clipboard

Field secondary_cidr_blocks has been deprecated from provider version 1.185.0, and it will be removed in the future version. Please use the new resource 'alicloud_vpc_ipv4_cidr_block'. secondary_cidr_blocks attributes and alicloud.vpc.Ipv4CidrBlock resource cannot be used at the same time.

Link copied to clipboard
val status: Output<String>

The status of the VPC.

Link copied to clipboard
val tags: Output<Map<String, Any>>?

A mapping of tags to assign to the resource.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val userCidrs: Output<List<String>>?

The user cidr blocks of the VPC.

Link copied to clipboard
val vpcName: Output<String>

The name of the VPC. Defaults to null.