getMaintenanceWindows


SoftLayer_Provisioning_Maintenance_Window::getMaintenanceWindows

Returns available maintenance windows

Description

This method returns a list of available maintenance windows

Parameters

Name Type Description
beginDate dateTime The beginning date of the date range you wish to search for maintenance windows in.
endDate dateTime The ending date of the date range you wish to search for maintenance windows in.
locationId int The location of the data center that you wish to search for maintenance windows in.
slotsNeeded int The number of slots required for the maintenance window.

Required Headers

Optional Headers

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [dateTime, dateTime, int, int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Provisioning_Maintenance_Window/getMaintenanceWindows'