alicloud_polardb_gateway_model_api

Nivis Nix constructor for the alicloud_polardb_gateway_model_api 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_category,
  path_prefix,
  protocol,
  route_rules,
  force_model ? null,
  id ? null,
  cfg_name ? null,
  record_input ? null,
  record_output ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • gateway_id
  • model_category
  • path_prefix
  • protocol
  • route_rules
Optional arguments
  • force_model (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • record_input (defaults to null)
  • record_output (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • invoke_endpoint
  • model_api_id
  • status
Example
alicloud_polardb_gateway_model_api {
  name = "polardb_gateway_model_api";
  gateway_id = …;  # required
  model_category = …;  # required
  path_prefix = …;  # required
  protocol = …;  # required
  route_rules = …;  # required
}

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