public class ApiOvhDeskaas extends ApiOvhBase
core| Constructor and Description |
|---|
ApiOvhDeskaas(ApiOvhCore core) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<String> |
GET()
List available services
REST: GET /deskaas
|
OvhTask |
serviceName_changeAlias_POST(String serviceName,
String alias)
Change the Virtual Desktop alias
REST: POST /deskaas/{serviceName}/changeAlias
|
ArrayList<Long> |
serviceName_changeContact_POST(String serviceName,
String contactAdmin,
String contactBilling,
String contactTech)
Launch a contact change procedure
REST: POST /deskaas/{serviceName}/changeContact
|
String |
serviceName_confirmTermination_POST(String serviceName,
String commentary,
OvhTerminationFutureUseEnum futureUse,
OvhTerminationReasonEnum reason,
String token)
Confirm termination of your service
REST: POST /deskaas/{serviceName}/confirmTermination
|
OvhTask |
serviceName_console_POST(String serviceName)
New console access
REST: POST /deskaas/{serviceName}/console
|
OvhDeskaas |
serviceName_GET(String serviceName)
Get this object properties
REST: GET /deskaas/{serviceName}
|
OvhPasswordPolicy |
serviceName_passwordPolicy_GET(String serviceName)
Get the current password policy for your Desktop As A Service
REST: GET /deskaas/{serviceName}/passwordPolicy
|
OvhTask |
serviceName_reboot_POST(String serviceName)
Reboot the Operating system of the Cloud Desktop.
|
OvhTask |
serviceName_refresh_POST(String serviceName)
Refresh the Operating system of the Desktop As A Service.
|
OvhService |
serviceName_serviceInfos_GET(String serviceName)
Get this object properties
REST: GET /deskaas/{serviceName}/serviceInfos
|
void |
serviceName_serviceInfos_PUT(String serviceName,
OvhService body)
Alter this object properties
REST: PUT /deskaas/{serviceName}/serviceInfos
|
ArrayList<Long> |
serviceName_task_GET(String serviceName,
OvhTaskStateEnum state)
Tasks associated with this Desktop As A Service
REST: GET /deskaas/{serviceName}/task
|
OvhTask |
serviceName_task_taskId_GET(String serviceName,
Long taskId)
Get this object properties
REST: GET /deskaas/{serviceName}/task/{taskId}
|
String |
serviceName_terminate_POST(String serviceName)
Terminate your service
REST: POST /deskaas/{serviceName}/terminate
|
OvhTask |
serviceName_upgrade_POST(String serviceName,
String newReference,
String planCode)
Upgrading the Desktop As A Service to another profile.
|
OvhTask |
serviceName_user_changePassword_POST(String serviceName,
String password)
Change Desktop As A Service user password
REST: POST /deskaas/{serviceName}/user/changePassword
|
OvhTask |
serviceName_user_changeProperties_POST(String serviceName,
String email)
Change Desktop As A Service user properties
REST: POST /deskaas/{serviceName}/user/changeProperties
|
OvhUser |
serviceName_user_GET(String serviceName)
Get this object properties
REST: GET /deskaas/{serviceName}/user
|
ArrayList<Long> |
serviceName_user_task_GET(String serviceName,
OvhTaskStateEnum state)
Tasks associated with this User
REST: GET /deskaas/{serviceName}/user/task
|
OvhTask |
serviceName_user_task_taskId_GET(String serviceName,
Long taskId)
Get this object properties
REST: GET /deskaas/{serviceName}/user/task/{taskId}
|
public ApiOvhDeskaas(ApiOvhCore core)
public ArrayList<Long> serviceName_changeContact_POST(String serviceName, String contactAdmin, String contactBilling, String contactTech) throws IOException
contactAdmin - The contact to set as admin contactcontactTech - The contact to set as tech contactcontactBilling - The contact to set as billing contactserviceName - [required] Domain of the serviceIOExceptionpublic 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] Domain of the serviceIOExceptionpublic OvhService serviceName_serviceInfos_GET(String serviceName) throws IOException
serviceName - [required] Domain of the serviceIOExceptionpublic void serviceName_serviceInfos_PUT(String serviceName, OvhService body) throws IOException
body - [required] New object propertiesserviceName - [required] Domain of the serviceIOExceptionpublic OvhTask serviceName_refresh_POST(String serviceName) throws IOException
serviceName - [required] Domain of the serviceIOExceptionpublic OvhTask serviceName_upgrade_POST(String serviceName, String newReference, String planCode) throws IOException
planCode - [required] New plan of Desktop As A ServicenewReference - [required] New reference of Desktop As A ServiceserviceName - [required] Domain of the serviceIOExceptionpublic OvhTask serviceName_changeAlias_POST(String serviceName, String alias) throws IOException
alias - [required] New alias of Desktop As A ServiceserviceName - [required] Domain of the serviceIOExceptionpublic String serviceName_terminate_POST(String serviceName) throws IOException
serviceName - [required] Domain of the serviceIOExceptionpublic OvhPasswordPolicy serviceName_passwordPolicy_GET(String serviceName) throws IOException
serviceName - [required] Domain of the serviceIOExceptionpublic OvhUser serviceName_user_GET(String serviceName) throws IOException
serviceName - [required] Domain of the serviceIOExceptionpublic OvhTask serviceName_user_changePassword_POST(String serviceName, String password) throws IOException
password - [required] New password for this Desktop As A Service user. It must fits your Desktop As A Service password policy. If this field is empty, a random password will be generated and sent by email.serviceName - [required] Domain of the serviceIOExceptionpublic ArrayList<Long> serviceName_user_task_GET(String serviceName, OvhTaskStateEnum state) throws IOException
state - [required] Filter the value of state property (=)serviceName - [required] Domain of the serviceIOExceptionpublic OvhTask serviceName_user_task_taskId_GET(String serviceName, Long taskId) throws IOException
serviceName - [required] Domain of the servicetaskId - [required] Task idIOExceptionpublic OvhTask serviceName_user_changeProperties_POST(String serviceName, String email) throws IOException
email - [required]serviceName - [required] Domain of the serviceIOExceptionpublic OvhTask serviceName_console_POST(String serviceName) throws IOException
serviceName - [required] Domain of the serviceIOExceptionpublic OvhDeskaas serviceName_GET(String serviceName) throws IOException
serviceName - [required] Domain of the serviceIOExceptionpublic OvhTask serviceName_reboot_POST(String serviceName) throws IOException
serviceName - [required] Domain of the serviceIOExceptionpublic OvhTask serviceName_task_taskId_GET(String serviceName, Long taskId) throws IOException
serviceName - [required] Domain of the servicetaskId - [required] Task idIOExceptionpublic ArrayList<Long> serviceName_task_GET(String serviceName, OvhTaskStateEnum state) throws IOException
state - [required] Filter the value of state property (=)serviceName - [required] Domain of the serviceIOExceptionpublic ArrayList<String> GET() throws IOException
IOExceptionCopyright © 2018. All rights reserved.