public class ApiOvhHostingreseller extends ApiOvhBase
core| Constructor and Description |
|---|
ApiOvhHostingreseller(ApiOvhCore core) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<String> |
GET()
List available services
REST: GET /hosting/reseller
|
ArrayList<Long> |
serviceName_changeContact_POST(String serviceName,
String contactAdmin,
String contactTech,
String contactBilling)
Launch a contact change procedure
REST: POST /hosting/reseller/{serviceName}/changeContact
|
String |
serviceName_email_POST(String serviceName,
String email)
Change user email
REST: POST /hosting/reseller/{serviceName}/email
|
OvhProduct |
serviceName_GET(String serviceName)
Get this object properties
REST: GET /hosting/reseller/{serviceName}
|
String |
serviceName_language_POST(String serviceName,
OvhPleskLanguageTypeEnum language)
Change language of the Plesk instance
REST: POST /hosting/reseller/{serviceName}/language
|
String |
serviceName_reboot_POST(String serviceName,
Boolean hard)
Restart instance
REST: POST /hosting/reseller/{serviceName}/reboot
|
String |
serviceName_reinstall_POST(String serviceName)
Reinstall instance
REST: POST /hosting/reseller/{serviceName}/reinstall
|
String |
serviceName_resetPasswordUrl_GET(String serviceName)
Get reset instance password url
REST: GET /hosting/reseller/{serviceName}/resetPasswordUrl
|
String |
serviceName_reverse_POST(String serviceName,
String reverse)
Set new reverse to ip
REST: POST /hosting/reseller/{serviceName}/reverse
|
OvhService |
serviceName_serviceInfos_GET(String serviceName)
Get this object properties
REST: GET /hosting/reseller/{serviceName}/serviceInfos
|
void |
serviceName_serviceInfos_PUT(String serviceName,
OvhService body)
Alter this object properties
REST: PUT /hosting/reseller/{serviceName}/serviceInfos
|
ArrayList<OvhSnapshot> |
serviceName_snapshot_GET(String serviceName)
List instance's current snapshots
REST: GET /hosting/reseller/{serviceName}/snapshot
|
String |
serviceName_snapshot_POST(String serviceName)
Make manual snapshot
REST: POST /hosting/reseller/{serviceName}/snapshot
|
OvhSnapshot |
serviceName_snapshot_snapshotId_GET(String serviceName,
String snapshotId)
Detail of a snapshot
REST: GET /hosting/reseller/{serviceName}/snapshot/{snapshotId}
|
String |
serviceName_snapshot_snapshotId_restore_POST(String serviceName,
String snapshotId)
Restore a snapshot
REST: POST /hosting/reseller/{serviceName}/snapshot/{snapshotId}/restore
|
ArrayList<OvhTask> |
serviceName_task_GET(String serviceName)
Get list of tasks
REST: GET /hosting/reseller/{serviceName}/task
|
OvhTask |
serviceName_task_taskId_GET(String serviceName,
String taskId)
Get task information given its id
REST: GET /hosting/reseller/{serviceName}/task/{taskId}
|
public ApiOvhHostingreseller(ApiOvhCore core)
public OvhService serviceName_serviceInfos_GET(String serviceName) throws IOException
serviceName - [required] The internal name of your reseller serviceIOExceptionpublic void serviceName_serviceInfos_PUT(String serviceName, OvhService body) throws IOException
body - [required] New object propertiesserviceName - [required] The internal name of your reseller serviceIOExceptionpublic OvhProduct serviceName_GET(String serviceName) throws IOException
serviceName - [required] The internal name of your reseller serviceIOExceptionpublic String serviceName_reboot_POST(String serviceName, Boolean hard) throws IOException
serviceName - [required] The internal name of your reseller servicehard - [required] Force a hard rebootIOExceptionpublic String serviceName_reinstall_POST(String serviceName) throws IOException
serviceName - [required] The internal name of your reseller serviceIOExceptionpublic String serviceName_language_POST(String serviceName, OvhPleskLanguageTypeEnum language) throws IOException
serviceName - [required] The internal name of your reseller servicelanguage - [required] Locale valueIOExceptionpublic String serviceName_resetPasswordUrl_GET(String serviceName) throws IOException
serviceName - [required] The internal name of your reseller serviceIOExceptionpublic ArrayList<OvhTask> serviceName_task_GET(String serviceName) throws IOException
serviceName - [required] The internal name of your reseller serviceIOExceptionpublic OvhTask serviceName_task_taskId_GET(String serviceName, String taskId) throws IOException
serviceName - [required] The internal name of your reseller servicetaskId - [required] Task id to retrieveIOExceptionpublic String serviceName_reverse_POST(String serviceName, String reverse) throws IOException
serviceName - [required] The internal name of your reseller servicereverse - [required] Domain to set the ip reverseIOExceptionpublic ArrayList<Long> serviceName_changeContact_POST(String serviceName, String contactAdmin, String contactTech, String contactBilling) 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] The internal name of your reseller serviceIOExceptionpublic String serviceName_email_POST(String serviceName, String email) throws IOException
serviceName - [required] The internal name of your reseller serviceemail - [required] New emailIOExceptionpublic OvhSnapshot serviceName_snapshot_snapshotId_GET(String serviceName, String snapshotId) throws IOException
serviceName - [required] The internal name of your reseller servicesnapshotId - [required] Snapshot targetedIOExceptionpublic String serviceName_snapshot_snapshotId_restore_POST(String serviceName, String snapshotId) throws IOException
serviceName - [required] The internal name of your reseller servicesnapshotId - [required] Snapshot to restoreIOExceptionpublic ArrayList<OvhSnapshot> serviceName_snapshot_GET(String serviceName) throws IOException
serviceName - [required] The internal name of your reseller serviceIOExceptionpublic String serviceName_snapshot_POST(String serviceName) throws IOException
serviceName - [required] The internal name of your reseller serviceIOExceptionpublic ArrayList<String> GET() throws IOException
IOExceptionCopyright © 2018. All rights reserved.