alicloud_subnet

Nivis 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 to null)
  • cidr_block (defaults to null)
  • description (defaults to null)
  • enable_ipv6 (defaults to null)
  • id (defaults to null)
  • ipv6_cidr_block_mask (defaults to null)
  • is_default (defaults to null)
  • cfg_name (defaults to null)
  • tags (defaults to null)
  • vpc_id (defaults to null)
  • vpc_ipv6_cidr_block (defaults to null)
  • vswitch_name (defaults to null)
  • zone_id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • ipv6_cidr_block
  • status
Example
alicloud_subnet {
  name = "subnet";
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.