From c96a35db641e86ce4d9f6bf2e3713e82a70ec4fc Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Wed, 11 Sep 2024 14:41:43 +0000 Subject: [PATCH] feat: update generated APIs --- api/baremetal/v1/baremetal_sdk.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/baremetal/v1/baremetal_sdk.go b/api/baremetal/v1/baremetal_sdk.go index 41e78853..7ccc8547 100644 --- a/api/baremetal/v1/baremetal_sdk.go +++ b/api/baremetal/v1/baremetal_sdk.go @@ -883,6 +883,9 @@ type OS struct { // Allowed: defines if a specific Organization is allowed to install this OS type. Allowed bool `json:"allowed"` + + // CustomPartitioningSupported: defines if custom partitioning is supported by this OS. + CustomPartitioningSupported bool `json:"custom_partitioning_supported"` } // Offer: offer. @@ -1765,7 +1768,6 @@ func NewAPI(client *scw.Client) *API { client: client, } } - func (s *API) Zones() []scw.Zone { return []scw.Zone{scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2} } @@ -2680,7 +2682,6 @@ func NewPrivateNetworkAPI(client *scw.Client) *PrivateNetworkAPI { client: client, } } - func (s *PrivateNetworkAPI) Zones() []scw.Zone { return []scw.Zone{scw.ZoneFrPar2} }