# LogDestinations Object

> Source: https://truto.one/docs/api-reference/unified-cloud-infrastructure-api/logdestinations/

Schema for the `LogDestinations` resource in **Unified Cloud Infrastructure API**.

## Properties

- **`id`** _(string, required)_
  Stable identifier for this destination.
- **`provider_ref`** _(string, required)_
  The provider's own unbroken identifier for the destination.
- **`provider`** _(string)_
  Which cloud this came from.
- **`account_ref`** _(string)_
  The account, subscription or project the destination belongs to.
- **`region`** _(string)_
  Where the destination is. 'global' for genuinely global resources.
- **`native_type`** _(string)_
  The provider's own type string.
- **`tags`** _(object)_
  Key-value pairs exactly as the customer set them.
- **`collected_at`** _(string)_
  When this was actually read, not when it was asked for.
- **`destination_ref`** _(string)_
  The destination's provider reference.
- **`destination_type`** _(string)_
  What kind of sink this is: log_group, storage_bucket, workspace or log_sink.
- **`name`** _(string)_
  The destination's name as the customer sees it.
- **`location`** _(string)_
  Where the logs physically sit. Equal to region for a regional sink.
- **`retention_days`** _(integer)_
  How many days logs are kept. Null when the provider keeps them indefinitely - read retention_is_indefinite before treating null as unknown.
- **`retention_is_indefinite`** _(boolean)_
  Whether logs are kept forever because no retention period is set. True is a real answer, not a missing one.
- **`retention_locked`** _(boolean)_
  Whether retention can no longer be shortened or the logs deleted.
- **`encryption_key_ref`** _(string)_
  The customer-managed key protecting the logs. Null means the provider's own key, not absence of encryption.
- **`per_table_retention`** _(array<object>)_
  Per-table retention overrides where the provider supports them.
  - **`table`** _(string)_
    The table or stream the override applies to.
  - **`retention_days`** _(integer)_
    Days kept for that table, overriding the destination default.
- **`deletion_protection_enabled`** _(boolean)_
  Whether the destination itself is protected from deletion.
- **`stored_bytes`** _(integer)_
  Bytes currently held, where the provider reports it.
- **`log_class`** _(string)_
  The provider's storage class for this destination, which can change what is queryable.
- **`created_at`** _(string)_
  When the destination was created, UTC ISO 8601.
- **`unreadable_fields`** _(array<object>)_
  Fields on this object that could not be read, and why. An empty array means everything was read. Use this to tell a real value from a missing one.
  - **`field`** _(string)_
    The property on this resource that could not be read.
  - **`reason`** _(string)_
    Why the field could not be read.
    Allowed: `not_supported_by_provider`, `not_configured`, `permission_denied`, `not_collected`, `collection_error`, `partially_collected`
  - **`detail`** _(string)_
    Explanation of the reason, where one adds anything.
- **`remote_data`** _(object)_
  Raw data returned from the remote API call.

## Methods

- [GET /unified/cloud-infrastructure/log_destinations](/docs/api-reference/unified-cloud-infrastructure-api/logdestinations/list) — List Log destinations
