Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6107,6 +6107,7 @@ components:
The available values depend on retention plans specified in your organization's contract/subscriptions.
example: 360
format: int64
nullable: true
type: integer
num_retention_days:
description: |-
Expand Down Expand Up @@ -6179,6 +6180,7 @@ components:
**Note**: Changing this value affects all logs already in this index. It may also affect billing.
example: 360
format: int64
nullable: true
type: integer
num_retention_days:
description: |-
Expand Down
7 changes: 4 additions & 3 deletions src/datadog_api_client/v1/model/logs_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from datadog_api_client.model_utils import (
ModelNormal,
cached_property,
none_type,
unset,
UnsetType,
)
Expand Down Expand Up @@ -41,7 +42,7 @@ def openapi_types(_):
"filter": (LogsFilter,),
"is_rate_limited": (bool,),
"name": (str,),
"num_flex_logs_retention_days": (int,),
"num_flex_logs_retention_days": (int, none_type),
"num_retention_days": (int,),
"tags": ([str],),
}
Expand Down Expand Up @@ -71,7 +72,7 @@ def __init__(
daily_limit_warning_threshold_percentage: Union[float, UnsetType] = unset,
exclusion_filters: Union[List[LogsExclusion], UnsetType] = unset,
is_rate_limited: Union[bool, UnsetType] = unset,
num_flex_logs_retention_days: Union[int, UnsetType] = unset,
num_flex_logs_retention_days: Union[int, none_type, UnsetType] = unset,
num_retention_days: Union[int, UnsetType] = unset,
tags: Union[List[str], UnsetType] = unset,
**kwargs,
Expand Down Expand Up @@ -107,7 +108,7 @@ def __init__(
If Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified through ``num_retention_days`` ,
and then stored in Flex Tier until the number of days specified in ``num_flex_logs_retention_days`` is reached.
The available values depend on retention plans specified in your organization's contract/subscriptions.
:type num_flex_logs_retention_days: int, optional
:type num_flex_logs_retention_days: int, none_type, optional

:param num_retention_days: The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.
The available values depend on retention plans specified in your organization's contract/subscriptions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from datadog_api_client.model_utils import (
ModelNormal,
cached_property,
none_type,
unset,
UnsetType,
)
Expand Down Expand Up @@ -40,7 +41,7 @@ def openapi_types(_):
"disable_daily_limit": (bool,),
"exclusion_filters": ([LogsExclusion],),
"filter": (LogsFilter,),
"num_flex_logs_retention_days": (int,),
"num_flex_logs_retention_days": (int, none_type),
"num_retention_days": (int,),
"tags": ([str],),
}
Expand All @@ -65,7 +66,7 @@ def __init__(
daily_limit_warning_threshold_percentage: Union[float, UnsetType] = unset,
disable_daily_limit: Union[bool, UnsetType] = unset,
exclusion_filters: Union[List[LogsExclusion], UnsetType] = unset,
num_flex_logs_retention_days: Union[int, UnsetType] = unset,
num_flex_logs_retention_days: Union[int, none_type, UnsetType] = unset,
num_retention_days: Union[int, UnsetType] = unset,
tags: Union[List[str], UnsetType] = unset,
**kwargs,
Expand Down Expand Up @@ -101,7 +102,7 @@ def __init__(
The available values depend on retention plans specified in your organization's contract/subscriptions.

**Note** : Changing this value affects all logs already in this index. It may also affect billing.
:type num_flex_logs_retention_days: int, optional
:type num_flex_logs_retention_days: int, none_type, optional

:param num_retention_days: The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.
The available values depend on retention plans specified in your organization's contract/subscriptions.
Expand Down
Loading