alicloud_polardb_gateway_budget_policy

Nivis Nix constructor for the alicloud_polardb_gateway_budget_policy 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,
  budget_points,
  budget_type,
  gateway_id,
  reset_day_of_month,
  alert_threshold_pct ? null,
  budget_dimension_ref_id ? null,
  id ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • budget_points
  • budget_type
  • gateway_id
  • reset_day_of_month
Optional arguments
  • alert_threshold_pct (defaults to null)
  • budget_dimension_ref_id (defaults to null)
  • id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • alert_triggered
  • budget_dimension_type
  • budget_policy_id
  • create_time
  • exceeded
  • modify_time
  • status
  • used_points
Example
alicloud_polardb_gateway_budget_policy {
  name = "polardb_gateway_budget_policy";
  budget_points = …;  # required
  budget_type = …;  # required
  gateway_id = …;  # required
  reset_day_of_month = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.