alicloud_cms_prometheus_instance

Nivis 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_name
  • workspace
Optional arguments
  • archive_duration (defaults to null)
  • auth_free_read_policy (defaults to null)
  • auth_free_write_policy (defaults to null)
  • enable_auth_free_read (defaults to null)
  • enable_auth_free_write (defaults to null)
  • id (defaults to null)
  • storage_duration (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • payment_type
  • region_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.