پرش به مطلب اصلی

arvancloud_cloudlogs_sinks (Data Source)

Lists CloudLogs log sinks.

Example Usage

data "arvancloud_cloudlogs_sinks" "all" {}

output "sink_count" {
value = length(data.arvancloud_cloudlogs_sinks.all.sinks)
}

output "sink_names" {
value = [for s in data.arvancloud_cloudlogs_sinks.all.sinks : s.name]
}

Schema

Optional

  • page (Number)
  • per_page (Number)

Read-Only

Nested Schema for sinks

Read-Only:

  • account_id (String)
  • description (String)
  • destination_id (String)
  • destination_type (String)
  • disabled (Boolean)
  • exclusion_rule (String)
  • id (String)
  • inclusion_rule (String)
  • name (String)
  • status (String) Current lifecycle status of the log sink.