alicloud_cddc_dedicated_host

Nivis Nix constructor for the alicloud_cddc_dedicated_host 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,
  dedicated_host_group_id,
  host_class,
  payment_type,
  vswitch_id,
  zone_id,
  allocation_status ? null,
  auto_renew ? null,
  host_name ? null,
  id ? null,
  image_category ? null,
  os_password ? null,
  period ? null,
  tags ? null,
  used_time ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • dedicated_host_group_id
  • host_class
  • payment_type
  • vswitch_id
  • zone_id
Optional arguments
  • allocation_status (defaults to null)
  • auto_renew (defaults to null)
  • host_name (defaults to null)
  • id (defaults to null)
  • image_category (defaults to null)
  • os_password (defaults to null)
  • period (defaults to null)
  • tags (defaults to null)
  • used_time (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • dedicated_host_id
  • status
Example
alicloud_cddc_dedicated_host {
  name = "cddc_dedicated_host";
  dedicated_host_group_id = …;  # required
  host_class = …;  # required
  payment_type = …;  # required
  vswitch_id = …;  # required
  zone_id = …;  # required
}

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