All URIs are relative to https://api.scaleway.com
Method | HTTP request | Description |
---|---|---|
get_offer | GET /baremetal/v1/zones/{zone}/offers/{offer_id} | Get offer |
list_offers | GET /baremetal/v1/zones/{zone}/offers | List offers |
crate::models::ScalewayPeriodBaremetalPeriodV1PeriodOffer get_offer(zone, offer_id) Get offer
Return specific offer for the given ID.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
zone | String | The zone you want to target | [required] | |
offer_id | String | ID of the researched Offer | [required] |
crate::models::ScalewayPeriodBaremetalPeriodV1PeriodOffer
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodBaremetalPeriodV1PeriodListOffersResponse list_offers(zone, page, page_size, subscription_period) List offers
List all available server offers.
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 offers per page | [default to 20] | |
subscription_period | Option<String> | Period of subscription to filter offers | [default to unknown_subscription_period] |
crate::models::ScalewayPeriodBaremetalPeriodV1PeriodListOffersResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]