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

arvancloud_cloudlogs_sink (Data Source)

Fetches a CloudLogs log sink by ID.

Example Usage

data "arvancloud_cloudlogs_sink" "example" {
id = "00000000-0000-0000-0000-000000000003"
}

output "sink_name" {
value = data.arvancloud_cloudlogs_sink.example.name
}

output "sink_destination" {
value = {
type = data.arvancloud_cloudlogs_sink.example.destination_type
id = data.arvancloud_cloudlogs_sink.example.destination_id
}
}

output "sink_status" {
value = data.arvancloud_cloudlogs_sink.example.status
}

Schema

Required

  • id (String) UUID of the log sink.

Read-Only

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