alicloud_polardb_gateway_consumer

Nivis 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 to null)
  • consumer_group_id (defaults to null)
  • id (defaults to null)
  • is_default (defaults to null)
  • key_type (defaults to null)
  • cfg_name (defaults to null)
  • nickname (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • allowed_models
  • api_key
  • consumer_group_name
  • consumer_id
  • create_time
  • lifetime_cost_count
  • lifetime_token_count
  • modify_time
  • month_to_date_cost_count
  • month_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.