All URIs are relative to https://api.scaleway.com
Method | HTTP request | Description |
---|---|---|
create_endpoint | POST /rdb/v1/regions/{region}/instances/{instance_id}/endpoints | Create a new instance endpoint |
delete_endpoint | DELETE /rdb/v1/regions/{region}/endpoints/{endpoint_id} | Delete an instance endpoint |
get_endpoint | GET /rdb/v1/regions/{region}/endpoints/{endpoint_id} | Get an instance endpoint |
crate::models::ScalewayPeriodRdbPeriodV1PeriodEndpoint create_endpoint(region, instance_id, create_endpoint_request) Create a new instance endpoint
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
instance_id | String | UUID of the instance you want to add endpoint to | [required] | |
create_endpoint_request | CreateEndpointRequest | [required] |
crate::models::ScalewayPeriodRdbPeriodV1PeriodEndpoint
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_endpoint(region, endpoint_id) Delete an instance endpoint
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
endpoint_id | String | This endpoint can also be used to delete a read replica endpoint. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodRdbPeriodV1PeriodEndpoint get_endpoint(region, endpoint_id) Get an instance endpoint
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
endpoint_id | String | UUID of the endpoint you want to get | [required] |
crate::models::ScalewayPeriodRdbPeriodV1PeriodEndpoint
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]