alicloud_eci_image_cacheNivis Nix constructor for the alicloud_eci_image_cache 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,
image_cache_name,
images,
security_group_id,
vswitch_id,
eip_instance_id ? null,
id ? null,
image_cache_size ? null,
resource_group_id ? null,
retention_days ? null,
zone_id ? null,
image_registry_credential ? null,
timeouts ? null,
overrides ? {}
}Required arguments
image_cache_nameimagessecurity_group_idvswitch_id
Optional arguments
eip_instance_id(defaults tonull)id(defaults tonull)image_cache_size(defaults tonull)resource_group_id(defaults tonull)retention_days(defaults tonull)zone_id(defaults tonull)image_registry_credential(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
container_group_idstatus
Example
alicloud_eci_image_cache {
name = "eci_image_cache";
image_cache_name = …; # required
images = …; # required
security_group_id = …; # required
vswitch_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.