alicloud_subnetNivis Nix constructor for the alicloud_subnet resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
availability_zone ? null,
cidr_block ? null,
description ? null,
enable_ipv6 ? null,
id ? null,
ipv6_cidr_block_mask ? null,
is_default ? null,
cfg_name ? null,
tags ? null,
vpc_id ? null,
vpc_ipv6_cidr_block ? null,
vswitch_name ? null,
zone_id ? null,
timeouts ? null,
overrides ? {}
}Required arguments
_None._
Optional arguments
availability_zone(defaults tonull)cidr_block(defaults tonull)description(defaults tonull)enable_ipv6(defaults tonull)id(defaults tonull)ipv6_cidr_block_mask(defaults tonull)is_default(defaults tonull)cfg_name(defaults tonull)tags(defaults tonull)vpc_id(defaults tonull)vpc_ipv6_cidr_block(defaults tonull)vswitch_name(defaults tonull)zone_id(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_timeipv6_cidr_blockstatus
Example
alicloud_subnet {
name = "subnet";
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.