public class ApiOvhLicenseworklight extends ApiOvhBase
core| Constructor and Description |
|---|
ApiOvhLicenseworklight(ApiOvhCore core) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<String> |
GET()
List available services
REST: GET /license/worklight
|
ArrayList<OvhWorkLightOrderConfiguration> |
orderableVersions_GET(String ip)
Get the orderable WorkLight versions
REST: GET /license/worklight/orderableVersions
|
ArrayList<String> |
serviceName_allowedDestinationIp_GET(String serviceName)
Returns an array of ips where the license can be moved to
REST: GET /license/worklight/{serviceName}/allowedDestinationIp
|
OvhChangeIpStatus |
serviceName_canLicenseBeMovedTo_GET(String serviceName,
String destinationIp)
Will tell if the ip can accept the license
REST: GET /license/worklight/{serviceName}/canLicenseBeMovedTo
|
OvhTask |
serviceName_changeIp_POST(String serviceName,
String destinationIp)
Move this license to another Ip
REST: POST /license/worklight/{serviceName}/changeIp
|
String |
serviceName_confirmTermination_POST(String serviceName,
String commentary,
OvhTerminationFutureUseEnum futureUse,
OvhTerminationReasonEnum reason,
String token)
Confirm termination of your service
REST: POST /license/worklight/{serviceName}/confirmTermination
|
OvhWorkLight |
serviceName_GET(String serviceName)
Get this object properties
REST: GET /license/worklight/{serviceName}
|
void |
serviceName_PUT(String serviceName,
OvhWorkLight body)
Alter this object properties
REST: PUT /license/worklight/{serviceName}
|
OvhService |
serviceName_serviceInfos_GET(String serviceName)
Get this object properties
REST: GET /license/worklight/{serviceName}/serviceInfos
|
void |
serviceName_serviceInfos_PUT(String serviceName,
OvhService body)
Alter this object properties
REST: PUT /license/worklight/{serviceName}/serviceInfos
|
ArrayList<Long> |
serviceName_tasks_GET(String serviceName,
OvhActionType action,
OvhTaskStateEnum status)
Tasks linked to this license
REST: GET /license/worklight/{serviceName}/tasks
|
OvhTask |
serviceName_tasks_taskId_GET(String serviceName,
Long taskId)
Get this object properties
REST: GET /license/worklight/{serviceName}/tasks/{taskId}
|
String |
serviceName_terminate_POST(String serviceName)
Terminate your service
REST: POST /license/worklight/{serviceName}/terminate
|
public ApiOvhLicenseworklight(ApiOvhCore core)
public ArrayList<String> GET() throws IOException
IOExceptionpublic ArrayList<OvhWorkLightOrderConfiguration> orderableVersions_GET(String ip) throws IOException
ip - [required] Your license IpIOExceptionpublic OvhChangeIpStatus serviceName_canLicenseBeMovedTo_GET(String serviceName, String destinationIp) throws IOException
destinationIp - [required] The Ip on which you want to move this licenseserviceName - [required] The name of your WorkLight licenseIOExceptionpublic OvhWorkLight serviceName_GET(String serviceName) throws IOException
serviceName - [required] The name of your WorkLight licenseIOExceptionpublic void serviceName_PUT(String serviceName, OvhWorkLight body) throws IOException
body - [required] New object propertiesserviceName - [required] The name of your WorkLight licenseIOExceptionpublic String serviceName_confirmTermination_POST(String serviceName, String commentary, OvhTerminationFutureUseEnum futureUse, OvhTerminationReasonEnum reason, String token) throws IOException
futureUse - What next after your termination requestreason - Reason of your termination requestcommentary - Commentary about your termination requesttoken - [required] The termination token sent by mail to the admin contactserviceName - [required] The name of your WorkLight licenseIOExceptionpublic String serviceName_terminate_POST(String serviceName) throws IOException
serviceName - [required] The name of your WorkLight licenseIOExceptionpublic OvhService serviceName_serviceInfos_GET(String serviceName) throws IOException
serviceName - [required] The name of your WorkLight licenseIOExceptionpublic void serviceName_serviceInfos_PUT(String serviceName, OvhService body) throws IOException
body - [required] New object propertiesserviceName - [required] The name of your WorkLight licenseIOExceptionpublic OvhTask serviceName_changeIp_POST(String serviceName, String destinationIp) throws IOException
destinationIp - [required] The Ip on which you want to move this licenseserviceName - [required] The name of your WorkLight licenseIOExceptionpublic ArrayList<Long> serviceName_tasks_GET(String serviceName, OvhActionType action, OvhTaskStateEnum status) throws IOException
action - [required] Filter the value of action property (=)status - [required] Filter the value of status property (=)serviceName - [required] The name of your WorkLight licenseIOExceptionpublic OvhTask serviceName_tasks_taskId_GET(String serviceName, Long taskId) throws IOException
serviceName - [required] The name of your WorkLight licensetaskId - [required] This Task idIOExceptionpublic ArrayList<String> serviceName_allowedDestinationIp_GET(String serviceName) throws IOException
serviceName - [required] The name of your WorkLight licenseIOExceptionCopyright © 2018. All rights reserved.