MonitoringResponse constructor

const MonitoringResponse({
  1. required Input<List<MonitoringDestinationResponse>> consumerDestinations,
  2. required Input<List<MonitoringDestinationResponse>> producerDestinations,
})

Creates a new MonitoringResponse. consumerDestinations Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration. producerDestinations Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.

Implementation

const MonitoringResponse({
  required this.consumerDestinations,
  required this.producerDestinations,
});