All URIs are relative to https://api.scaleway.com
Method | HTTP request | Description |
---|---|---|
get_os | GET /baremetal/v1/zones/{zone}/os/{os_id} | Get an OS with a given ID |
list_os | GET /baremetal/v1/zones/{zone}/os | List all available OS that can be install on an elastic metal server |
crate::models::ScalewayPeriodBaremetalPeriodV1PeriodOs get_os(zone, os_id) Get an OS with a given ID
Return specific OS for the given ID.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
zone | String | The zone you want to target | [required] | |
os_id | String | ID of the OS | [required] |
crate::models::ScalewayPeriodBaremetalPeriodV1PeriodOs
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodBaremetalPeriodV1PeriodListOsResponse list_os(zone, page, page_size, offer_id) List all available OS that can be install on an elastic metal server
List all available OS that can be install on an elastic metal server.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
zone | String | The zone you want to target | [required] | |
page | Option<i32> | Page number | [default to 1] | |
page_size | Option<i32> | Number of OS per page | [default to 20] | |
offer_id | Option<String> | Filter OS by offer ID |
crate::models::ScalewayPeriodBaremetalPeriodV1PeriodListOsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]