All URIs are relative to https://api.scaleway.com
Method | HTTP request | Description |
---|---|---|
delete_server_user_data | DELETE /instance/v1/zones/{zone}/servers/{server_id}/user_data/{key} | Delete user data |
get_server_user_data | GET /instance/v1/zones/{zone}/servers/{server_id}/user_data/{key} | Get user data |
list_server_user_data | GET /instance/v1/zones/{zone}/servers/{server_id}/user_data | List user data |
set_server_user_data | PATCH /instance/v1/zones/{zone}/servers/{server_id}/user_data/{key} | Add/Set user data |
delete_server_user_data(zone, server_id, key) Delete user data
Delete the given key from a server user data.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
zone | String | The zone you want to target | [required] | |
server_id | String | UUID of the server | [required] | |
key | String | Key of the user data to delete | [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::ScalewayPeriodStdPeriodFile get_server_user_data(zone, server_id, key) Get user data
Get the content of a user data with the given key on a server.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
zone | String | The zone you want to target | [required] | |
server_id | String | UUID of the server | [required] | |
key | String | Key of the user data to get | [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::ScalewayPeriodInstancePeriodV1PeriodListServerUserDataResponse list_server_user_data(zone, server_id) List user data
List all user data keys registered on a given server.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
zone | String | The zone you want to target | [required] | |
server_id | String | UUID of the server | [required] |
crate::models::ScalewayPeriodInstancePeriodV1PeriodListServerUserDataResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
set_server_user_data(zone, server_id, key, body) Add/Set user data
Add or update a user data with the given key on a server.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
zone | String | The zone you want to target | [required] | |
server_id | String | UUID of the server | [required] | |
key | String | Key of the user data to set | [required] | |
body | std::path::PathBuf | [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]