RDS
The SDK interfaces based on the RDS v3 API are as follows. For details about the invoking methods, see the sample codes.
|
Interface |
Method |
API |
|---|---|---|
|
InstanceManageService |
CreateInstanceResponse create(CreateInstanceRequest createRequest) |
POST /v3/{project_id}/instances |
|
ListInstanceResponse list() |
GET /v3/{project_id}/instances |
|
|
ListInstanceResponse list(Map<String, String> queryParams) |
GET /v3/{project_id}/instances |
|
|
ActionResponse delete(String instanceId) |
DELETE /v3/{project_id}/instances/{instanceId} |
|
|
InstanceCommonResponse restart(RestartInstanceRequest request, String instanceId) |
PUT /v3/{project_id}/instances/{instanceId}/action |
|
|
InstanceCommonResponse singleToHa(SingleToHaRdsRequest request, String instanceId) |
GET /v3/{project_id}/instances/{instanceId}/action |
|
|
InstanceCommonResponse resizeFlavor(ResizeFlavorRequest request, String instanceId) |
POST /v3/{project_id}/instances/{instanceId}/action |
|
|
InstanceCommonResponse enlargeVolume(EnlargeVolumeRequest request, String instanceId) |
POST /v3/{project_id}/instances/{instanceId}/action |
|
|
ErrorLogResponse listErrorLog(Map<String, String> queryParams, String instanceId) |
GET /v3/{project_id}/instances/{instanceId} /errorlog |
|
|
SlowLogListResponse listSlowLog(Map<String, String> queryParams, String instanceId) |
GET /v3/{project_id}/instances/{instanceId}/slowlog |
|
|
FlavorList listFlavors(Map<String, String> filteringParams, String engineName) |
GET /v3/{project_id}/flavors/{engineName} |
|
|
BackupsAndRestoreService |
ManualBackupResponse create(ManualBackupRequest request) |
POST /v3/{project_id}/backups |
|
BackupsResponse list(String instanceId, Map<String, String> filterParams) |
GET /v3/{project_id}/backups |
|
|
ActionResponse delete(String backupId) |
DELETE /v3/{project_id}/backups/{backupId} |
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.