alicloud_ens_diskNivis Nix constructor for the alicloud_ens_disk 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,
category,
ens_region_id,
payment_type,
disk_name ? null,
encrypted ? null,
id ? null,
kms_key_id ? null,
size ? null,
snapshot_id ? null,
tags ? null,
timeouts ? null,
overrides ? {}
}Required arguments
categoryens_region_idpayment_type
Optional arguments
disk_name(defaults tonull)encrypted(defaults tonull)id(defaults tonull)kms_key_id(defaults tonull)size(defaults tonull)snapshot_id(defaults tonull)tags(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_timestatus
Example
alicloud_ens_disk {
name = "ens_disk";
category = …; # required
ens_region_id = …; # required
payment_type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.