set_time_travel_retention
Set the time-travel retention period on a Microsoft Fabric Data Warehouse by specifying workspace, warehouse, and days (1–120). Returns the updated settings after the change.
Instructions
Set the time-travel retention period on a warehouse.
Executes ALTER DATABASE CURRENT SET TIME_TRAVEL_RETENTION_PERIOD = <n> DAYS
and returns the effective settings read back after the change.
Only supported on Fabric Data Warehouses (not SQL Analytics Endpoints).
SQL Analytics Endpoints are rejected with a ToolError.
Args: workspace: Workspace name or GUID. item: Warehouse name or GUID. SQL Analytics Endpoints are rejected. days: Retention period in days. Must be in the range 1-120 (inclusive).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | ||
| item | Yes | ||
| workspace | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||