alicloud_cms_prometheus_instanceNivis Nix constructor for the alicloud_cms_prometheus_instance 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,
prometheus_instance_name,
workspace,
archive_duration ? null,
auth_free_read_policy ? null,
auth_free_write_policy ? null,
enable_auth_free_read ? null,
enable_auth_free_write ? null,
id ? null,
storage_duration ? null,
timeouts ? null,
overrides ? {}
}Required arguments
prometheus_instance_nameworkspace
Optional arguments
archive_duration(defaults tonull)auth_free_read_policy(defaults tonull)auth_free_write_policy(defaults tonull)enable_auth_free_read(defaults tonull)enable_auth_free_write(defaults tonull)id(defaults tonull)storage_duration(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_timepayment_typeregion_id
Example
alicloud_cms_prometheus_instance {
name = "cms_prometheus_instance";
prometheus_instance_name = …; # required
workspace = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.