google_monitoring_metric_descriptor

Nivis Nix constructor for the google_monitoring_metric_descriptor resource (provider google). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  metric_kind,
  type,
  value_type,
  deletion_policy ? null,
  description ? null,
  display_name ? null,
  id ? null,
  launch_stage ? null,
  project ? null,
  unit ? null,
  labels ? null,
  metadata ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • metric_kind
  • type
  • value_type
Optional arguments
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • display_name (defaults to null)
  • id (defaults to null)
  • launch_stage (defaults to null)
  • project (defaults to null)
  • unit (defaults to null)
  • labels (defaults to null)
  • metadata (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • monitored_resource_types
  • name
Example
google_monitoring_metric_descriptor {
  name = "monitoring_metric_descriptor";
  metric_kind = …;  # required
  type = …;  # required
  value_type = …;  # required
}

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