Set Depots Sync Schedule
DescriptionSets the software depot sync schedule. if you do not have all of the privileges described as follows: - Operation execution requires VcIntegrity.lifecycleSettings.Write.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
Information of the software depot sync schedule. If unset, it will be reset to the default schedule, which is daily at a random hour chosen when this API is called.
{
"email_addresses": [
"string"
],
"enabled": false
}
Email addresses to which the notification will be sent. If empty, no notification is sent.
Flag indicating whether automatic sync is enabled or not
The schedule to check for new updates. If unset the schedule must be disabled.
Authentication
Errors
Errors
com.vmware.vapi.std.errors.invalid_argument : If SyncSchedule.Spec.schedule is unset while SyncSchedule.Spec.enabled is set to true or if any of the values is not within valid range.
com.vmware.vapi.std.errors.error : If there is some unknown error. The accompanying error message will give more details about the failure.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
PowerCLI Client SDK All Parameters Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: set