alicloud_polardb_gateway_rate_limit_policy

Nivis Nix constructor for the alicloud_polardb_gateway_rate_limit_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,
  gateway_id,
  rate_limit_rpm,
  rate_limit_tpm,
  scope_ref_id,
  scope_type,
  id ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • gateway_id
  • rate_limit_rpm
  • rate_limit_tpm
  • scope_ref_id
  • scope_type
Optional arguments
  • id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • modify_time
  • policy_id
  • policy_type
  • status
Example
alicloud_polardb_gateway_rate_limit_policy {
  name = "polardb_gateway_rate_limit_policy";
  gateway_id = …;  # required
  rate_limit_rpm = …;  # required
  rate_limit_tpm = …;  # required
  scope_ref_id = …;  # required
  scope_type = …;  # required
}

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