alicloud_polardb_gateway_cost_rule

Nivis Nix constructor for the alicloud_polardb_gateway_cost_rule 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,
  model_name,
  model_service_id,
  cache_cost_points_per_million ? null,
  id ? null,
  input_cost_points_per_million ? null,
  output_cost_points_per_million ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • gateway_id
  • model_name
  • model_service_id
Optional arguments
  • cache_cost_points_per_million (defaults to null)
  • id (defaults to null)
  • input_cost_points_per_million (defaults to null)
  • output_cost_points_per_million (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • cost_rule_id
  • create_time
  • modify_time
Example
alicloud_polardb_gateway_cost_rule {
  name = "polardb_gateway_cost_rule";
  gateway_id = …;  # required
  model_name = …;  # required
  model_service_id = …;  # required
}

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