public class ApiOvhService extends ApiOvhBase
core| Constructor and Description |
|---|
ApiOvhService(ApiOvhCore core) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Long> |
GET()
List available services
REST: GET /service
API beta
|
OvhService |
serviceId_GET(Long serviceId)
Get this object properties
REST: GET /service/{serviceId}
|
void |
serviceId_PUT(Long serviceId,
OvhService body)
Alter this object properties
REST: PUT /service/{serviceId}
|
ArrayList<OvhRenewDescription> |
serviceId_renew_GET(String serviceId,
Boolean includeOptions)
List possible renews for this service
REST: GET /service/{serviceId}/renew
|
OvhRenewOrder |
serviceId_renew_POST(String serviceId,
Boolean dryRun,
String duration,
Long[] services)
Create a renew order
REST: POST /service/{serviceId}/renew
|
void |
serviceId_reopen_POST(Long serviceId)
Reopen a suspended service
REST: POST /service/{serviceId}/reopen
|
void |
serviceId_suspend_POST(Long serviceId)
Suspend the service.
|
void |
serviceId_terminate_POST(Long serviceId)
Terminates a suspended service
REST: POST /service/{serviceId}/terminate
|
public ApiOvhService(ApiOvhCore core)
public void serviceId_suspend_POST(Long serviceId) throws IOException
serviceId - [required] The internal ID of your service
API betaIOExceptionpublic void serviceId_reopen_POST(Long serviceId) throws IOException
serviceId - [required] The internal ID of your service
API betaIOExceptionpublic ArrayList<OvhRenewDescription> serviceId_renew_GET(String serviceId, Boolean includeOptions) throws IOException
serviceId - [required] Service IdincludeOptions - [required] Include service's option(s)
API betaIOExceptionpublic OvhRenewOrder serviceId_renew_POST(String serviceId, Boolean dryRun, String duration, Long[] services) throws IOException
serviceId - [required] Service IddryRun - [required] Indicates if renew order is generatedduration - [required] Renew durationservices - [required] List of services to renew
API betaIOExceptionpublic void serviceId_terminate_POST(Long serviceId) throws IOException
serviceId - [required] The internal ID of your service
API betaIOExceptionpublic OvhService serviceId_GET(Long serviceId) throws IOException
serviceId - [required] The internal ID of your service
API betaIOExceptionpublic void serviceId_PUT(Long serviceId, OvhService body) throws IOException
body - [required] New object propertiesserviceId - [required] The internal ID of your service
API betaIOExceptionpublic ArrayList<Long> GET() throws IOException
IOExceptionCopyright © 2018. All rights reserved.