alicloud_polardb_gateway_consumerNivis Nix constructor for the alicloud_polardb_gateway_consumer 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,
api_key_reset_token ? null,
consumer_group_id ? null,
id ? null,
is_default ? null,
key_type ? null,
cfg_name ? null,
nickname ? null,
timeouts ? null,
overrides ? {}
}Required arguments
gateway_id
Optional arguments
api_key_reset_token(defaults tonull)consumer_group_id(defaults tonull)id(defaults tonull)is_default(defaults tonull)key_type(defaults tonull)cfg_name(defaults tonull)nickname(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
allowed_modelsapi_keyconsumer_group_nameconsumer_idcreate_timelifetime_cost_countlifetime_token_countmodify_timemonth_to_date_cost_countmonth_to_date_token_count
Example
alicloud_polardb_gateway_consumer {
name = "polardb_gateway_consumer";
gateway_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.