pool.snapshottask.update_will_change_retention_for

Returns a list of snapshots which will change the retention if periodic snapshot task id is updated with data.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Type: integer

ID of the periodic snapshot task to analyze.

Parameter 2: data

data

Type: object

Proposed configuration changes to analyze.

No Additional Properties

Dataset

Type: string

The dataset to take snapshots of.

Recursive

Type: boolean

Whether to recursively snapshot child datasets.

Lifetime Value

Type: integer

Number of time units to retain snapshots. lifetime_unit gives the time unit.

Lifetime Unit

Type: enum (of string)

Unit of time for snapshot retention.

Must be one of:
  • "HOUR"
  • "DAY"
  • "WEEK"
  • "MONTH"
  • "YEAR"

Enabled

Type: boolean

Whether this periodic snapshot task is enabled.

Exclude

Type: array of string

Array of dataset patterns to exclude from recursive snapshots.

No Additional Items
Each item of this array must be:
Type: string

Naming Schema

Type: string

Naming pattern for generated snapshots using strftime format.

Allow Empty

Type: boolean

Whether to take snapshots even if no data has changed.

PoolSnapshotTaskCron

Type: object

Cron schedule for when snapshots should be taken.

No Additional Properties

Minute

Type: string Default: "00"

Minute when snapshots should be taken (cron format).

Hour

Type: string Default: "*"

"00" - "23"

Dom

Type: string Default: "*"

"1" - "31"

Month

Type: string Default: "*"

"1" (January) - "12" (December)

Dow

Type: string Default: "*"

"1" (Monday) - "7" (Sunday)

Begin

Type: string Default: "00:00"

Start time of the window when snapshots can be taken.


Examples:

"00:00"
"06:30"
"18:00"
"23:00"

End

Type: string Default: "23:59"

End time of the window when snapshots can be taken.


Examples:

"00:00"
"06:30"
"18:00"
"23:00"

Result

Type: object

Object mapping retention change types to arrays of affected snapshot names.

Each additional property must conform to the following schema

Type: array of string
No Additional Items
Each item of this array must be:
Type: string


Required roles: SNAPSHOT_TASK_READ