backups_supported_policies
Creates, updates, deletes, gets or lists a backups_supported_policies
resource.
Overview
Name | backups_supported_policies |
Type | Resource |
Id | digitalocean.droplets.backups_supported_policies |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The name of the Droplet backup plan. |
possible_days | array | The day of the week the backup will occur. |
possible_window_starts | array | An array of integers representing the hours of the day that a backup can start. |
retention_period_days | integer | The number of days that a backup will be kept. |
window_length_hours | integer | The number of hours that a backup window is open. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
droplets_list_supported_backup_policies | SELECT |
| To retrieve a list of all supported Droplet backup policies, send a GET request to /v2/droplets/backups/supported_policies . |
SELECT
examples
To retrieve a list of all supported Droplet backup policies, send a GET request to /v2/droplets/backups/supported_policies
.
SELECT
name,
possible_days,
possible_window_starts,
retention_period_days,
window_length_hours
FROM digitalocean.droplets.backups_supported_policies
;