arvancloud_cloudlogs_space (Data Source)
Fetches a CloudLogs log space by ID.
Example Usage
data "arvancloud_cloudlogs_space" "example" {
id = "00000000-0000-0000-0000-000000000002"
}
output "space_name" {
description = "Name of the fetched log space"
value = data.arvancloud_cloudlogs_space.example.name
}
output "space_status" {
description = "Lifecycle status reported by the API"
value = data.arvancloud_cloudlogs_space.example.status
}
Schema
Required
id(String) UUID of the log space.
Read-Only
account_id(String) Account ID that owns the space.deletion_requested(Boolean) Whether deletion has been requested.description(String) Description of the log space.name(String) Name of the log space.region(String) Region of the log space.retention_days(Number) Retention period in days.status(String) Current lifecycle status of the log space.