alicloud_polardb_gateway_cost_ruleNivis 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_idmodel_namemodel_service_id
Optional arguments
cache_cost_points_per_million(defaults tonull)id(defaults tonull)input_cost_points_per_million(defaults tonull)output_cost_points_per_million(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
cost_rule_idcreate_timemodify_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.