alicloud_polardb_gateway_model_service

Nivis 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_key
  • base_url
  • gateway_id
  • model_category
  • protocol
  • vendor
Optional arguments
  • id (defaults to null)
  • input_cost_points_per_million (defaults to null)
  • cfg_name (defaults to null)
  • output_cost_points_per_million (defaults to null)
  • request_cost_points (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • model_service_id
  • status
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.