Recovery_Backup_Schedules_CreateSpec
The Schedules.CreateSpec structure contains fields to be specified for creating a new schedule. The structure includes parts, location information, encryption password and enable flag.
{
"parts": [
"string"
],
"backup_password": "string",
"location": "string",
"location_user": "string",
"location_password": "string",
"enable": false,
"recurrence_info": {
"minute": 0,
"hour": 0,
"days": [
"string"
]
},
"retention_info": {
"max_count": 0
}
}
List of optional parts to be backed up. Use the Parts.list operation to get information about the supported parts. If unset all the optional parts will not be backed up.
Password for a backup piece. The backupPassword must adhere to the following password requirements: At least 8 characters, cannot be more than 20 characters in length. At least 1 uppercase letter. At least 1 lowercase letter. At least 1 numeric digit. At least 1 special character (i.e. any character not in [0-9,a-z,A-Z]). Only visible ASCII characters (for example, no space). If unset the backup piece will not be encrypted.
URL of the backup location.
Username for the given location. If unset authentication will not be used for the specified location.
Password for the given location. If unset authentication will not be used for the specified location.
Enable or disable a schedule. If unset the schedule will be enabled.
The Schedules.RecurrenceInfo structure contains the recurrence information associated with a schedule.
The Schedules.RetentionInfo structure contains retention information associated with a schedule.