All URIs are relative to https://api.scaleway.com
Method | HTTP request | Description |
---|---|---|
clone_instance | POST /rdb/v1/regions/{region}/instances/{instance_id}/clone | Clone an instance |
create_instance | POST /rdb/v1/regions/{region}/instances | Create an instance |
delete_instance | DELETE /rdb/v1/regions/{region}/instances/{instance_id} | Delete an instance |
get_instance | GET /rdb/v1/regions/{region}/instances/{instance_id} | Get an instance |
get_instance_certificate | GET /rdb/v1/regions/{region}/instances/{instance_id}/certificate | Get the TLS certificate of an instance |
get_instance_log | GET /rdb/v1/regions/{region}/logs/{instance_log_id} | Get specific logs of a given instance |
get_instance_metrics | GET /rdb/v1/regions/{region}/instances/{instance_id}/metrics | Get instance metrics |
list_instance_logs | GET /rdb/v1/regions/{region}/instances/{instance_id}/logs | List available logs of a given instance |
list_instance_logs_details | GET /rdb/v1/regions/{region}/instances/{instance_id}/logs-details | List remote instances logs details |
list_instances | GET /rdb/v1/regions/{region}/instances | List instances |
prepare_instance_logs | POST /rdb/v1/regions/{region}/instances/{instance_id}/prepare-logs | Prepare logs of a given instance |
purge_instance_logs | POST /rdb/v1/regions/{region}/instances/{instance_id}/purge-logs | Purge remote instances logs |
renew_instance_certificate | POST /rdb/v1/regions/{region}/instances/{instance_id}/renew-certificate | Renew the TLS certificate of an instance |
restart_instance | POST /rdb/v1/regions/{region}/instances/{instance_id}/restart | Restart an instance |
update_instance | PATCH /rdb/v1/regions/{region}/instances/{instance_id} | Update an instance |
upgrade_instance | POST /rdb/v1/regions/{region}/instances/{instance_id}/upgrade | Upgrade an instance |
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstance clone_instance(region, instance_id, clone_instance_request) Clone an instance
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_id | String | UUID of the instance you want to clone | [required] | |
clone_instance_request | CloneInstanceRequest | [required] |
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstance
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstance create_instance(region, create_instance_request) Create an instance
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
create_instance_request | CreateInstanceRequest | [required] |
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstance
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstance delete_instance(region, instance_id) Delete an instance
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_id | String | UUID of the instance to delete | [required] |
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstance
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstance get_instance(region, instance_id) Get an instance
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_id | String | UUID of the instance | [required] |
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstance
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodStdPeriodFile get_instance_certificate(region, instance_id) Get the TLS certificate of an instance
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_id | String | UUID of the instance | [required] |
crate::models::ScalewayPeriodStdPeriodFile
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstanceLog get_instance_log(region, instance_log_id) Get specific logs of a given instance
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_log_id | String | UUID of the instance_log you want | [required] |
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstanceLog
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstanceMetrics get_instance_metrics(region, instance_id, start_date, end_date, metric_name) Get instance metrics
Get database instance metrics.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_id | String | UUID of the instance | [required] | |
start_date | Option<String> | Start date to gather metrics from (RFC 3339 format) | ||
end_date | Option<String> | End date to gather metrics from (RFC 3339 format) | ||
metric_name | Option<String> | Name of the metric to gather |
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstanceMetrics
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodRdbPeriodV1PeriodListInstanceLogsResponse list_instance_logs(region, instance_id, order_by) List available logs of a given instance
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_id | String | UUID of the instance you want logs of | [required] | |
order_by | Option<String> | Criteria to use when ordering instance logs listing | [default to created_at_asc] |
crate::models::ScalewayPeriodRdbPeriodV1PeriodListInstanceLogsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodRdbPeriodV1PeriodListInstanceLogsDetailsResponse list_instance_logs_details(region, instance_id) List remote instances logs details
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_id | String | UUID of the instance you want logs of | [required] |
crate::models::ScalewayPeriodRdbPeriodV1PeriodListInstanceLogsDetailsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodRdbPeriodV1PeriodListInstancesResponse list_instances(region, tags, name, order_by, organization_id, project_id, page, page_size) List instances
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
tags | Option<Vec> | List instance that have a given tags | ||
name | Option<String> | List instance that match a given name pattern | ||
order_by | Option<String> | Criteria to use when ordering instance listing | [default to created_at_asc] | |
organization_id | Option<String> | Please use project_id instead |
||
project_id | Option<String> | Project ID to list the instance of | ||
page | Option<i32> | Page number | [default to 1] | |
page_size | Option<i32> | Page size | [default to 20] |
crate::models::ScalewayPeriodRdbPeriodV1PeriodListInstancesResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodRdbPeriodV1PeriodPrepareInstanceLogsResponse prepare_instance_logs(region, instance_id, prepare_instance_logs_request) Prepare logs of a given instance
Prepare your instance logs. Logs will be grouped on a minimum interval of a day.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_id | String | UUID of the instance you want logs of | [required] | |
prepare_instance_logs_request | PrepareInstanceLogsRequest | [required] |
crate::models::ScalewayPeriodRdbPeriodV1PeriodPrepareInstanceLogsResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
purge_instance_logs(region, instance_id, purge_instance_logs_request) Purge remote instances logs
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_id | String | UUID of the instance you want logs of | [required] | |
purge_instance_logs_request | PurgeInstanceLogsRequest | [required] |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
renew_instance_certificate(region, instance_id, body) Renew the TLS certificate of an instance
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_id | String | UUID of the instance you want logs of | [required] | |
body | serde_json::Value | [required] |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstance restart_instance(region, instance_id, body) Restart an instance
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_id | String | UUID of the instance you want to restart | [required] | |
body | serde_json::Value | [required] |
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstance
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstance update_instance(region, instance_id, update_instance_request) Update an instance
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_id | String | UUID of the instance to update | [required] | |
update_instance_request | UpdateInstanceRequest | [required] |
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstance
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstance upgrade_instance(region, instance_id, upgrade_instance_request) Upgrade an instance
Upgrade your current instance specifications like node type, high availability, volume, or db engine version.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_id | String | UUID of the instance you want to upgrade | [required] | |
upgrade_instance_request | UpgradeInstanceRequest | [required] |
crate::models::ScalewayPeriodRdbPeriodV1PeriodInstance
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]