Data source
dcloud_subnets
Subnets, optionally of one VPC (create them with dcloud_subnet).
Example Usage
data "dcloud_subnets" "main" {
vpc_id = dcloud_vpc.main.id
}Schema
Optional
vpc_id(String) Only this VPC's subnets.
Read-Only
items(Attributes List) One object per element. (see below for nested schema)
Nested Schema for items
Read-Only:
cidr_block(String) Address range.id(String) Subnet id;subnet_idofdcloud_instanceanddcloud_db_instance.is_public(Boolean) Whether it is public.name(String) Name.vpc_id(String) Its VPC.
Generated from the provider's schema.
Related