Skip to content

Commit 1980d7e

Browse files
authored
feat: add webhosting/v1 and qaas (#1427)
1 parent 052d409 commit 1980d7e

File tree

16 files changed

+4209
-14
lines changed

16 files changed

+4209
-14
lines changed

packages/clients/src/api/ipam/v1/api.gen.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export class API extends ParentAPI {
4747
public static readonly LOCALITIES: Region[] = ['fr-par', 'nl-ams', 'pl-waw']
4848

4949
/**
50-
* Book a new IP. Book a new IP from the specified source. Currently IPs can
51-
* only be booked from a Private Network.
50+
* Reserve a new IP. Reserve a new IP from the specified source. Currently IPs
51+
* can only be reserved from a Private Network.
5252
*
5353
* @param request - The request {@link BookIPRequest}
5454
* @returns A Promise of IP
@@ -173,7 +173,7 @@ export class API extends ParentAPI {
173173
enrichForPagination('ips', this.pageOfListIPs, request)
174174

175175
/**
176-
* Attach existing IP to custom resource. Attach an existing IP from a Private
176+
* Attach IP to custom resource. Attach an existing reserved IP from a Private
177177
* Network subnet to a custom, named resource via its MAC address. An example
178178
* of a custom resource is a virtual machine hosted on an Elastic Metal
179179
* server. Do not use this method for attaching IP addresses to standard
@@ -197,11 +197,11 @@ export class API extends ParentAPI {
197197
)
198198

199199
/**
200-
* Detach existing IP from a custom resource. Detach a private IP from a
201-
* custom resource. An example of a custom resource is a virtual machine
202-
* hosted on an Elastic Metal server. Do not use this method for attaching IP
203-
* addresses to standard Scaleway resources (e.g. Instances, Load Balancers)
204-
* as it will fail - see the relevant product API for an equivalent method.
200+
* Detach IP from a custom resource. Detach a private IP from a custom
201+
* resource. An example of a custom resource is a virtual machine hosted on an
202+
* Elastic Metal server. Do not use this method for detaching IP addresses
203+
* from standard Scaleway resources (e.g. Instances, Load Balancers) as it
204+
* will fail - see the relevant product API for an equivalent method.
205205
*
206206
* @param request - The request {@link DetachIPRequest}
207207
* @returns A Promise of IP
@@ -220,7 +220,7 @@ export class API extends ParentAPI {
220220
)
221221

222222
/**
223-
* Move existing IP to a custom resource. Move an existing private IP from one
223+
* Move IP to a custom resource. Move an existing reserved private IP from one
224224
* custom resource (e.g. a virtual machine hosted on an Elastic Metal server)
225225
* to another custom resource. This will detach it from the first resource,
226226
* and attach it to the second. Do not use this method for moving IP addresses

packages/clients/src/api/ipam/v1/types.gen.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ export interface IP {
9292
projectId: string
9393
/** Defines whether the IP is an IPv6 (false = IPv4). */
9494
isIpv6: boolean
95-
/** Date the IP was booked. */
95+
/** Date the IP was reserved. */
9696
createdAt?: Date
9797
/** Date the IP was last modified. */
9898
updatedAt?: Date
99-
/** Source pool where the IP was booked in. */
99+
/** Source pool where the IP was reserved in. */
100100
source?: Source
101101
/** Resource which the IP is attached to. */
102102
resource?: Resource
@@ -133,20 +133,23 @@ export type BookIPRequest = {
133133
* Private Network's Project.
134134
*/
135135
projectId?: string
136-
/** Source in which to book the IP. Not all sources are available for booking. */
136+
/**
137+
* Source in which to reserve the IP. Not all sources are available for
138+
* reservation.
139+
*/
137140
source: Source
138141
/** Request an IPv6 instead of an IPv4. */
139142
isIpv6: boolean
140143
/**
141144
* The requested address should not include the subnet mask (/suffix). Note
142145
* that only the Private Network source allows you to pick a specific IP. If
143-
* the requested IP is already booked, then the call will fail.
146+
* the requested IP is already reserved, then the call will fail.
144147
*/
145148
address?: string
146149
/** Tags for the IP. */
147150
tags?: string[]
148151
/**
149-
* Custom resource to attach to the IP being booked. An example of a custom
152+
* Custom resource to attach to the IP being reserved. An example of a custom
150153
* resource is a virtual machine hosted on an Elastic Metal server. Do not use
151154
* this for attaching IP addresses to standard Scaleway resources, as it will
152155
* fail - instead, see the relevant product API for an equivalent method.

0 commit comments

Comments
 (0)