alicloud_polardb_gateway_model_apiNivis 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_idmodel_categorypath_prefixprotocolroute_rules
Optional arguments
force_model(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)record_input(defaults tonull)record_output(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_timeinvoke_endpointmodel_api_idstatus
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.