Skip to content

Latest commit

 

History

History
99 lines (56 loc) · 3.18 KB

EndpointsApi.md

File metadata and controls

99 lines (56 loc) · 3.18 KB

\EndpointsApi

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

create_endpoint

crate::models::ScalewayPeriodRdbPeriodV1PeriodEndpoint create_endpoint(region, instance_id, create_endpoint_request) Create a new instance endpoint

Parameters

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]

Return type

crate::models::ScalewayPeriodRdbPeriodV1PeriodEndpoint

Authorization

scaleway

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_endpoint

delete_endpoint(region, endpoint_id) Delete an instance endpoint

Parameters

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]

Return type

(empty response body)

Authorization

scaleway

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_endpoint

crate::models::ScalewayPeriodRdbPeriodV1PeriodEndpoint get_endpoint(region, endpoint_id) Get an instance endpoint

Parameters

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]

Return type

crate::models::ScalewayPeriodRdbPeriodV1PeriodEndpoint

Authorization

scaleway

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]