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

arvancloud_cloudlogs_space (Resource)

Manages a CloudLogs log space.

Example Usage

resource "arvancloud_cloudlogs_space" "example" {
name = "prod-logs"
region = "ir-central1"
retention_days = 30
description = "Production log space"
}

output "space_id" {
description = "UUID of the created log space"
value = arvancloud_cloudlogs_space.example.id
}

Schema

Required

  • name (String) Unique name of the log space.
  • region (String) Region where the log space is stored.
  • retention_days (Number) Number of days logs are retained (1-365).

Optional

  • description (String) Optional description of the log space.

Read-Only

  • account_id (String) Account ID that owns the space.
  • deletion_requested (Boolean) Whether deletion has been requested for this space.
  • id (String) UUID of the log space.
  • status (String) Current lifecycle status of the log space.