alicloud_cddc_dedicated_hostNivis 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_idhost_classpayment_typevswitch_idzone_id
Optional arguments
allocation_status(defaults tonull)auto_renew(defaults tonull)host_name(defaults tonull)id(defaults tonull)image_category(defaults tonull)os_password(defaults tonull)period(defaults tonull)tags(defaults tonull)used_time(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
dedicated_host_idstatus
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.