alicloud_polardb_gateway_model_serviceNivis Nix constructor for the alicloud_polardb_gateway_model_service 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,
api_key,
base_url,
gateway_id,
model_category,
protocol,
vendor,
id ? null,
input_cost_points_per_million ? null,
cfg_name ? null,
output_cost_points_per_million ? null,
request_cost_points ? null,
timeouts ? null,
overrides ? {}
}Required arguments
api_keybase_urlgateway_idmodel_categoryprotocolvendor
Optional arguments
id(defaults tonull)input_cost_points_per_million(defaults tonull)cfg_name(defaults tonull)output_cost_points_per_million(defaults tonull)request_cost_points(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_timemodel_service_idstatus
Example
alicloud_polardb_gateway_model_service {
name = "polardb_gateway_model_service";
api_key = …; # required
base_url = …; # required
gateway_id = …; # required
model_category = …; # required
protocol = …; # required
vendor = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.