StorageProtectionBody
Fields
Section titled “Fields”| Field | Type | Required | Description and constraints |
|---|---|---|---|
selection |
StorageFilter | Yes | |
until |
string (date-time) or null | No | |
retentionDays |
integer or null | No | |
remove |
boolean | No | default false |
Additional properties are rejected by this schema.
JSON schema
Section titled “JSON schema”{ "properties": { "selection": { "$ref": "#/components/schemas/StorageFilter" }, "until": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "null" } ], "title": "Until" }, "retentionDays": { "anyOf": [ { "type": "integer", "maximum": 3650.0, "minimum": 1.0 }, { "type": "null" } ], "title": "Retentiondays" }, "remove": { "type": "boolean", "title": "Remove", "default": false } }, "additionalProperties": false, "type": "object", "required": [ "selection" ], "title": "StorageProtectionBody"}