@scaleway/sdk 2.72.0 → 2.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/dist/api/account/v3/api.gen.cjs +13 -32
  2. package/dist/api/account/v3/api.gen.d.ts +17 -36
  3. package/dist/api/account/v3/api.gen.js +13 -32
  4. package/dist/api/account/v3/types.gen.d.ts +187 -85
  5. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
  6. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
  7. package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
  8. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
  9. package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
  10. package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
  11. package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
  12. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
  13. package/dist/api/baremetal/v1/api.gen.cjs +28 -61
  14. package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
  15. package/dist/api/baremetal/v1/api.gen.js +28 -61
  16. package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
  17. package/dist/api/baremetal/v3/api.gen.cjs +7 -14
  18. package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
  19. package/dist/api/baremetal/v3/api.gen.js +7 -14
  20. package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
  21. package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
  22. package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
  23. package/dist/api/billing/v2beta1/api.gen.js +11 -20
  24. package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
  25. package/dist/api/block/v1/api.gen.cjs +37 -55
  26. package/dist/api/block/v1/api.gen.d.ts +19 -37
  27. package/dist/api/block/v1/api.gen.js +37 -55
  28. package/dist/api/block/v1/types.gen.d.ts +306 -125
  29. package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
  30. package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
  31. package/dist/api/block/v1alpha1/api.gen.js +45 -64
  32. package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
  33. package/dist/api/cockpit/v1/api.gen.cjs +100 -156
  34. package/dist/api/cockpit/v1/api.gen.d.ts +53 -112
  35. package/dist/api/cockpit/v1/api.gen.js +100 -156
  36. package/dist/api/cockpit/v1/types.gen.d.ts +567 -246
  37. package/dist/api/container/v1beta1/api.gen.cjs +7 -14
  38. package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
  39. package/dist/api/container/v1beta1/api.gen.js +7 -14
  40. package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
  41. package/dist/api/dedibox/v1/api.gen.cjs +45 -69
  42. package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
  43. package/dist/api/dedibox/v1/api.gen.js +45 -69
  44. package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
  45. package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
  46. package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
  47. package/dist/api/domain/v2beta1/api.gen.js +119 -178
  48. package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
  49. package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
  50. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
  51. package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
  52. package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
  53. package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
  54. package/dist/api/inference/v1/api.gen.cjs +8 -11
  55. package/dist/api/inference/v1/api.gen.d.ts +6 -9
  56. package/dist/api/inference/v1/api.gen.js +8 -11
  57. package/dist/api/inference/v1/types.gen.d.ts +330 -150
  58. package/dist/api/inference/v1beta1/api.gen.cjs +8 -11
  59. package/dist/api/inference/v1beta1/api.gen.d.ts +6 -9
  60. package/dist/api/inference/v1beta1/api.gen.js +8 -11
  61. package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
  62. package/dist/api/instance/v1/api.gen.cjs +64 -113
  63. package/dist/api/instance/v1/api.gen.d.ts +54 -103
  64. package/dist/api/instance/v1/api.gen.js +64 -113
  65. package/dist/api/instance/v1/types.gen.d.ts +1351 -598
  66. package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
  67. package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
  68. package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
  69. package/dist/api/interlink/v1beta1/api.gen.js +21 -67
  70. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
  71. package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
  72. package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
  73. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
  74. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
  75. package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
  76. package/dist/api/iot/v1/api.gen.cjs +37 -70
  77. package/dist/api/iot/v1/api.gen.d.ts +34 -67
  78. package/dist/api/iot/v1/api.gen.js +37 -70
  79. package/dist/api/iot/v1/types.gen.d.ts +566 -321
  80. package/dist/api/ipam/v1/api.gen.cjs +6 -26
  81. package/dist/api/ipam/v1/api.gen.d.ts +8 -29
  82. package/dist/api/ipam/v1/api.gen.js +6 -26
  83. package/dist/api/ipam/v1/types.gen.d.ts +146 -105
  84. package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
  85. package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
  86. package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
  87. package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
  88. package/dist/api/k8s/v1/api.gen.cjs +33 -78
  89. package/dist/api/k8s/v1/api.gen.d.ts +27 -72
  90. package/dist/api/k8s/v1/api.gen.js +33 -78
  91. package/dist/api/k8s/v1/types.gen.d.ts +743 -506
  92. package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
  93. package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
  94. package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
  95. package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
  96. package/dist/api/marketplace/v2/api.gen.cjs +8 -21
  97. package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
  98. package/dist/api/marketplace/v2/api.gen.js +8 -21
  99. package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
  100. package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
  101. package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
  102. package/dist/api/mnq/v1beta1/api.gen.js +24 -76
  103. package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
  104. package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
  105. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
  106. package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
  107. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
  108. package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
  109. package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
  110. package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
  111. package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
  112. package/dist/api/rdb/v1/api.gen.cjs +62 -202
  113. package/dist/api/rdb/v1/api.gen.d.ts +60 -201
  114. package/dist/api/rdb/v1/api.gen.js +62 -202
  115. package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
  116. package/dist/api/redis/v1/api.gen.cjs +23 -83
  117. package/dist/api/redis/v1/api.gen.d.ts +25 -85
  118. package/dist/api/redis/v1/api.gen.js +23 -83
  119. package/dist/api/redis/v1/types.gen.d.ts +447 -170
  120. package/dist/api/registry/v1/api.gen.cjs +12 -40
  121. package/dist/api/registry/v1/api.gen.d.ts +14 -42
  122. package/dist/api/registry/v1/api.gen.js +12 -40
  123. package/dist/api/registry/v1/types.gen.d.ts +200 -116
  124. package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
  125. package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
  126. package/dist/api/secret/v1beta1/api.gen.js +19 -47
  127. package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
  128. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
  129. package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
  130. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
  131. package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
  132. package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
  133. package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
  134. package/dist/api/tem/v1alpha1/api.gen.js +22 -58
  135. package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
  136. package/dist/api/test/v1/api.gen.cjs +8 -11
  137. package/dist/api/test/v1/api.gen.d.ts +6 -9
  138. package/dist/api/test/v1/api.gen.js +8 -11
  139. package/dist/api/test/v1/types.gen.d.ts +21 -10
  140. package/dist/client/dist/package.json.cjs +1 -1
  141. package/dist/client/dist/package.json.js +1 -1
  142. package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
  143. package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
  144. package/node_modules/@scaleway/sdk-client/package.json +1 -2
  145. package/package.json +2 -2
  146. package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
@@ -4,193 +4,301 @@ export type ListFlexibleIPsRequestOrderBy = 'created_at_asc' | 'created_at_desc'
4
4
  export type MACAddressStatus = 'unknown' | 'ready' | 'updating' | 'used' | 'error' | 'deleting';
5
5
  export type MACAddressType = 'unknown_type' | 'vmware' | 'xen' | 'kvm';
6
6
  export interface MACAddress {
7
- /** ID of the flexible IP. */
7
+ /**
8
+ * ID of the flexible IP.
9
+ */
8
10
  id: string;
9
- /** MAC address of the Virtual MAC. */
11
+ /**
12
+ * MAC address of the Virtual MAC.
13
+ */
10
14
  macAddress: string;
11
- /** Type of virtual MAC. */
15
+ /**
16
+ * Type of virtual MAC.
17
+ */
12
18
  macType: MACAddressType;
13
- /** Status of virtual MAC. */
19
+ /**
20
+ * Status of virtual MAC.
21
+ */
14
22
  status: MACAddressStatus;
15
- /** Date on which the virtual MAC was last updated. */
23
+ /**
24
+ * Date on which the virtual MAC was last updated.
25
+ */
16
26
  updatedAt?: Date;
17
- /** Date on which the virtual MAC was created. */
27
+ /**
28
+ * Date on which the virtual MAC was created.
29
+ */
18
30
  createdAt?: Date;
19
- /** MAC address IP Availability Zone. */
31
+ /**
32
+ * MAC address IP Availability Zone.
33
+ */
20
34
  zone: ScwZone;
21
35
  }
22
36
  export interface FlexibleIP {
23
- /** ID of the flexible IP. */
37
+ /**
38
+ * ID of the flexible IP.
39
+ */
24
40
  id: string;
25
- /** ID of the Organization the flexible IP is attached to. */
41
+ /**
42
+ * ID of the Organization the flexible IP is attached to.
43
+ */
26
44
  organizationId: string;
27
- /** ID of the Project the flexible IP is attached to. */
45
+ /**
46
+ * ID of the Project the flexible IP is attached to.
47
+ */
28
48
  projectId: string;
29
- /** Flexible IP description. */
49
+ /**
50
+ * Flexible IP description.
51
+ */
30
52
  description: string;
31
- /** Flexible IP tags. */
53
+ /**
54
+ * Flexible IP tags.
55
+ */
32
56
  tags: string[];
33
- /** Date on which the flexible IP was last updated. */
57
+ /**
58
+ * Date on which the flexible IP was last updated.
59
+ */
34
60
  updatedAt?: Date;
35
- /** Date on which the flexible IP was created. */
61
+ /**
62
+ * Date on which the flexible IP was created.
63
+ */
36
64
  createdAt?: Date;
37
65
  /**
38
- * - Ready : flexible IP is created and ready to be attached to a server or to
39
- * be associated with a virtual MAC.
40
- * - Updating: flexible IP is being attached to a server or a virtual MAC
41
- * operation is ongoing
42
- * - Attached: flexible IP is attached to a server
43
- * - Error: a flexible IP operation resulted in an error
44
- * - Detaching: flexible IP is being detached from a server
45
- * - Locked: the resource of the flexible IP is locked.
66
+ * - ready : flexible IP is created and ready to be attached to a server or to be associated with a virtual MAC.
67
+ - updating: flexible IP is being attached to a server or a virtual MAC operation is ongoing
68
+ - attached: flexible IP is attached to a server
69
+ - error: a flexible IP operation resulted in an error
70
+ - detaching: flexible IP is being detached from a server
71
+ - locked: the resource of the flexible IP is locked.
46
72
  */
47
73
  status: FlexibleIPStatus;
48
- /** IP of the flexible IP. */
74
+ /**
75
+ * IP of the flexible IP.
76
+ */
49
77
  ipAddress: string;
50
- /** MAC address of the flexible IP. */
78
+ /**
79
+ * MAC address of the flexible IP.
80
+ */
51
81
  macAddress?: MACAddress;
52
- /** ID of the server linked to the flexible IP. */
82
+ /**
83
+ * ID of the server linked to the flexible IP.
84
+ */
53
85
  serverId?: string;
54
- /** Reverse DNS value. */
86
+ /**
87
+ * Reverse DNS value.
88
+ */
55
89
  reverse: string;
56
- /** Availability Zone of the flexible IP. */
90
+ /**
91
+ * Availability Zone of the flexible IP.
92
+ */
57
93
  zone: ScwZone;
58
94
  }
59
95
  export type AttachFlexibleIPRequest = {
60
- /** Zone to target. If none is passed will use default zone from the config. */
96
+ /**
97
+ * Zone to target. If none is passed will use default zone from the config.
98
+ */
61
99
  zone?: ScwZone;
62
100
  /**
63
- * Multiple IDs can be provided, but note that flexible IPs must belong to the
64
- * same MAC group (see details about MAC groups).
101
+ * Multiple IDs can be provided, but note that flexible IPs must belong to the same MAC group (see details about MAC groups).
65
102
  */
66
103
  fipsIds: string[];
67
- /** ID of the server on which to attach the flexible IPs. */
104
+ /**
105
+ * ID of the server on which to attach the flexible IPs.
106
+ */
68
107
  serverId: string;
69
108
  };
70
109
  export interface AttachFlexibleIPsResponse {
71
- /** Total count of flexible IPs that are being updated. */
110
+ /**
111
+ * Total count of flexible IPs that are being updated.
112
+ */
72
113
  totalCount: number;
73
- /** List of flexible IPs in an updating state. */
114
+ /**
115
+ * List of flexible IPs in an updating state.
116
+ */
74
117
  flexibleIps: FlexibleIP[];
75
118
  }
76
119
  export type CreateFlexibleIPRequest = {
77
- /** Zone to target. If none is passed will use default zone from the config. */
120
+ /**
121
+ * Zone to target. If none is passed will use default zone from the config.
122
+ */
78
123
  zone?: ScwZone;
79
- /** ID of the project to associate with the Flexible IP. */
124
+ /**
125
+ * ID of the project to associate with the Flexible IP.
126
+ */
80
127
  projectId?: string;
81
- /** Flexible IP description (max. of 255 characters). */
128
+ /**
129
+ * Flexible IP description (max. of 255 characters).
130
+ */
82
131
  description: string;
83
- /** Tags to associate to the flexible IP. */
132
+ /**
133
+ * Tags to associate to the flexible IP.
134
+ */
84
135
  tags?: string[];
85
- /** ID of the server to which the newly created flexible IP will be attached. */
136
+ /**
137
+ * ID of the server to which the newly created flexible IP will be attached.
138
+ */
86
139
  serverId?: string;
87
- /** Value of the reverse DNS. */
140
+ /**
141
+ * Value of the reverse DNS.
142
+ */
88
143
  reverse?: string;
89
- /** Defines whether the flexible IP has an IPv6 address. */
144
+ /**
145
+ * Defines whether the flexible IP has an IPv6 address.
146
+ */
90
147
  isIpv6: boolean;
91
148
  };
92
149
  export type DeleteFlexibleIPRequest = {
93
- /** Zone to target. If none is passed will use default zone from the config. */
150
+ /**
151
+ * Zone to target. If none is passed will use default zone from the config.
152
+ */
94
153
  zone?: ScwZone;
95
- /** ID of the flexible IP to delete. */
154
+ /**
155
+ * ID of the flexible IP to delete.
156
+ */
96
157
  fipId: string;
97
158
  };
98
159
  export type DeleteMACAddrRequest = {
99
- /** Zone to target. If none is passed will use default zone from the config. */
160
+ /**
161
+ * Zone to target. If none is passed will use default zone from the config.
162
+ */
100
163
  zone?: ScwZone;
101
164
  /**
102
- * If the flexible IP belongs to a MAC group, the MAC will be removed from
103
- * both the MAC group and flexible IP.
165
+ * If the flexible IP belongs to a MAC group, the MAC will be removed from both the MAC group and flexible IP.
104
166
  */
105
167
  fipId: string;
106
168
  };
107
169
  export type DetachFlexibleIPRequest = {
108
- /** Zone to target. If none is passed will use default zone from the config. */
170
+ /**
171
+ * Zone to target. If none is passed will use default zone from the config.
172
+ */
109
173
  zone?: ScwZone;
110
174
  /**
111
- * List of flexible IP IDs to detach from a server. Multiple IDs can be
112
- * provided. Note that flexible IPs must belong to the same MAC group.
175
+ * List of flexible IP IDs to detach from a server. Multiple IDs can be provided. Note that flexible IPs must belong to the same MAC group.
113
176
  */
114
177
  fipsIds: string[];
115
178
  };
116
179
  export interface DetachFlexibleIPsResponse {
117
- /** Total count of flexible IPs that are being detached. */
180
+ /**
181
+ * Total count of flexible IPs that are being detached.
182
+ */
118
183
  totalCount: number;
119
- /** List of flexible IPs in a detaching state. */
184
+ /**
185
+ * List of flexible IPs in a detaching state.
186
+ */
120
187
  flexibleIps: FlexibleIP[];
121
188
  }
122
189
  export type DuplicateMACAddrRequest = {
123
- /** Zone to target. If none is passed will use default zone from the config. */
190
+ /**
191
+ * Zone to target. If none is passed will use default zone from the config.
192
+ */
124
193
  zone?: ScwZone;
125
- /** Note that the flexible IPs need to be attached to the same server. */
194
+ /**
195
+ * Note that the flexible IPs need to be attached to the same server.
196
+ */
126
197
  fipId: string;
127
- /** Note that flexible IPs need to be attached to the same server. */
198
+ /**
199
+ * Note that flexible IPs need to be attached to the same server.
200
+ */
128
201
  duplicateFromFipId: string;
129
202
  };
130
203
  export type GenerateMACAddrRequest = {
131
- /** Zone to target. If none is passed will use default zone from the config. */
204
+ /**
205
+ * Zone to target. If none is passed will use default zone from the config.
206
+ */
132
207
  zone?: ScwZone;
133
- /** ID of the flexible IP for which to generate a virtual MAC. */
208
+ /**
209
+ * ID of the flexible IP for which to generate a virtual MAC.
210
+ */
134
211
  fipId: string;
135
- /** TODO. */
212
+ /**
213
+ * TODO.
214
+ */
136
215
  macType: MACAddressType;
137
216
  };
138
217
  export type GetFlexibleIPRequest = {
139
- /** Zone to target. If none is passed will use default zone from the config. */
218
+ /**
219
+ * Zone to target. If none is passed will use default zone from the config.
220
+ */
140
221
  zone?: ScwZone;
141
- /** ID of the flexible IP. */
222
+ /**
223
+ * ID of the flexible IP.
224
+ */
142
225
  fipId: string;
143
226
  };
144
227
  export type ListFlexibleIPsRequest = {
145
- /** Zone to target. If none is passed will use default zone from the config. */
228
+ /**
229
+ * Zone to target. If none is passed will use default zone from the config.
230
+ */
146
231
  zone?: ScwZone;
147
- /** Sort order of the returned flexible IPs. */
232
+ /**
233
+ * Sort order of the returned flexible IPs.
234
+ */
148
235
  orderBy?: ListFlexibleIPsRequestOrderBy;
149
- /** Page number. */
236
+ /**
237
+ * Page number.
238
+ */
150
239
  page?: number;
151
- /** Maximum number of flexible IPs per page. */
240
+ /**
241
+ * Maximum number of flexible IPs per page.
242
+ */
152
243
  pageSize?: number;
153
244
  /**
154
- * Filter by tag, only flexible IPs with one or more matching tags will be
155
- * returned.
245
+ * Filter by tag, only flexible IPs with one or more matching tags will be returned.
156
246
  */
157
247
  tags?: string[];
158
- /** Filter by status, only flexible IPs with this status will be returned. */
248
+ /**
249
+ * Filter by status, only flexible IPs with this status will be returned.
250
+ */
159
251
  status?: FlexibleIPStatus[];
160
252
  /**
161
- * Filter by server IDs, only flexible IPs with these server IDs will be
162
- * returned.
253
+ * Filter by server IDs, only flexible IPs with these server IDs will be returned.
163
254
  */
164
255
  serverIds?: string[];
165
256
  /**
166
- * Filter by Organization ID, only flexible IPs from this Organization will be
167
- * returned.
257
+ * Filter by Organization ID, only flexible IPs from this Organization will be returned.
168
258
  */
169
259
  organizationId?: string;
170
- /** Filter by Project ID, only flexible IPs from this Project will be returned. */
260
+ /**
261
+ * Filter by Project ID, only flexible IPs from this Project will be returned.
262
+ */
171
263
  projectId?: string;
172
264
  };
173
265
  export interface ListFlexibleIPsResponse {
174
- /** Total count of matching flexible IPs. */
266
+ /**
267
+ * Total count of matching flexible IPs.
268
+ */
175
269
  totalCount: number;
176
- /** List of all flexible IPs. */
270
+ /**
271
+ * List of all flexible IPs.
272
+ */
177
273
  flexibleIps: FlexibleIP[];
178
274
  }
179
275
  export type MoveMACAddrRequest = {
180
- /** Zone to target. If none is passed will use default zone from the config. */
276
+ /**
277
+ * Zone to target. If none is passed will use default zone from the config.
278
+ */
181
279
  zone?: ScwZone;
182
280
  fipId: string;
183
281
  dstFipId: string;
184
282
  };
185
283
  export type UpdateFlexibleIPRequest = {
186
- /** Zone to target. If none is passed will use default zone from the config. */
284
+ /**
285
+ * Zone to target. If none is passed will use default zone from the config.
286
+ */
187
287
  zone?: ScwZone;
188
- /** ID of the flexible IP to update. */
288
+ /**
289
+ * ID of the flexible IP to update.
290
+ */
189
291
  fipId: string;
190
- /** Flexible IP description (max. 255 characters). */
292
+ /**
293
+ * Flexible IP description (max. 255 characters).
294
+ */
191
295
  description?: string;
192
- /** Tags associated with the flexible IP. */
296
+ /**
297
+ * Tags associated with the flexible IP.
298
+ */
193
299
  tags?: string[];
194
- /** Value of the reverse DNS. */
300
+ /**
301
+ * Value of the reverse DNS.
302
+ */
195
303
  reverse?: string;
196
304
  };
@@ -69,8 +69,7 @@ class API extends api.API {
69
69
  options
70
70
  );
71
71
  /**
72
- * Create a deployment. Create a new inference deployment related to a
73
- * specific model.
72
+ * Create a deployment. Create a new inference deployment related to a specific model.
74
73
  *
75
74
  * @param request - The request {@link CreateDeploymentRequest}
76
75
  * @returns A Promise of Deployment
@@ -117,12 +116,12 @@ class API extends api.API {
117
116
  marshalling_gen.unmarshalDeployment
118
117
  );
119
118
  /**
120
- * Get the CA certificate. Get the CA certificate used for the deployment of
121
- * private endpoints. The CA certificate will be returned as a PEM file.
122
- *
123
- * @param request - The request {@link GetDeploymentCertificateRequest}
124
- * @returns A Promise of Blob
125
- */
119
+ * Get the CA certificate. Get the CA certificate used for the deployment of private endpoints.
120
+ The CA certificate will be returned as a PEM file.
121
+ *
122
+ * @param request - The request {@link GetDeploymentCertificateRequest}
123
+ * @returns A Promise of Blob
124
+ */
126
125
  getDeploymentCertificate = (request) => this.client.fetch({
127
126
  method: "GET",
128
127
  path: `/inference/v1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/deployments/${marshalling.validatePathParam("deploymentId", request.deploymentId)}/certificate`,
@@ -267,9 +266,7 @@ class API extends api.API {
267
266
  marshalling_gen.unmarshalListNodeTypesResponse
268
267
  );
269
268
  /**
270
- * List available node types. List all available node types. By default, the
271
- * node types returned in the list are ordered by creation date in ascending
272
- * order, though this can be modified via the `order_by` field.
269
+ * List available node types. List all available node types. By default, the node types returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
273
270
  *
274
271
  * @param request - The request {@link ListNodeTypesRequest}
275
272
  * @returns A Promise of ListNodeTypesResponse
@@ -3,8 +3,8 @@ import type { Region as ScwRegion, WaitForOptions } from '@scaleway/sdk-client';
3
3
  import type { CreateDeploymentRequest, CreateEndpointRequest, CreateModelRequest, DeleteDeploymentRequest, DeleteEndpointRequest, DeleteModelRequest, Deployment, Endpoint, GetDeploymentCertificateRequest, GetDeploymentRequest, GetModelRequest, ListDeploymentsRequest, ListDeploymentsResponse, ListModelsRequest, ListModelsResponse, ListNodeTypesRequest, ListNodeTypesResponse, Model, UpdateDeploymentRequest, UpdateEndpointRequest } from './types.gen';
4
4
  /**
5
5
  * Managed Inference API.
6
- *
7
- * This API allows you to handle your Managed Inference services.
6
+
7
+ This API allows you to handle your Managed Inference services.
8
8
  */
9
9
  export declare class API extends ParentAPI {
10
10
  /** Lists the available regions of the API. */
@@ -36,8 +36,7 @@ export declare class API extends ParentAPI {
36
36
  */
37
37
  waitForDeployment: (request: Readonly<GetDeploymentRequest>, options?: Readonly<WaitForOptions<Deployment>>) => Promise<Deployment>;
38
38
  /**
39
- * Create a deployment. Create a new inference deployment related to a
40
- * specific model.
39
+ * Create a deployment. Create a new inference deployment related to a specific model.
41
40
  *
42
41
  * @param request - The request {@link CreateDeploymentRequest}
43
42
  * @returns A Promise of Deployment
@@ -58,8 +57,8 @@ export declare class API extends ParentAPI {
58
57
  */
59
58
  deleteDeployment: (request: Readonly<DeleteDeploymentRequest>) => Promise<Deployment>;
60
59
  /**
61
- * Get the CA certificate. Get the CA certificate used for the deployment of
62
- * private endpoints. The CA certificate will be returned as a PEM file.
60
+ * Get the CA certificate. Get the CA certificate used for the deployment of private endpoints.
61
+ The CA certificate will be returned as a PEM file.
63
62
  *
64
63
  * @param request - The request {@link GetDeploymentCertificateRequest}
65
64
  * @returns A Promise of Blob
@@ -126,9 +125,7 @@ export declare class API extends ParentAPI {
126
125
  deleteModel: (request: Readonly<DeleteModelRequest>) => Promise<void>;
127
126
  protected pageOfListNodeTypes: (request: Readonly<ListNodeTypesRequest>) => Promise<ListNodeTypesResponse>;
128
127
  /**
129
- * List available node types. List all available node types. By default, the
130
- * node types returned in the list are ordered by creation date in ascending
131
- * order, though this can be modified via the `order_by` field.
128
+ * List available node types. List all available node types. By default, the node types returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
132
129
  *
133
130
  * @param request - The request {@link ListNodeTypesRequest}
134
131
  * @returns A Promise of ListNodeTypesResponse
@@ -67,8 +67,7 @@ class API extends API$1 {
67
67
  options
68
68
  );
69
69
  /**
70
- * Create a deployment. Create a new inference deployment related to a
71
- * specific model.
70
+ * Create a deployment. Create a new inference deployment related to a specific model.
72
71
  *
73
72
  * @param request - The request {@link CreateDeploymentRequest}
74
73
  * @returns A Promise of Deployment
@@ -115,12 +114,12 @@ class API extends API$1 {
115
114
  unmarshalDeployment
116
115
  );
117
116
  /**
118
- * Get the CA certificate. Get the CA certificate used for the deployment of
119
- * private endpoints. The CA certificate will be returned as a PEM file.
120
- *
121
- * @param request - The request {@link GetDeploymentCertificateRequest}
122
- * @returns A Promise of Blob
123
- */
117
+ * Get the CA certificate. Get the CA certificate used for the deployment of private endpoints.
118
+ The CA certificate will be returned as a PEM file.
119
+ *
120
+ * @param request - The request {@link GetDeploymentCertificateRequest}
121
+ * @returns A Promise of Blob
122
+ */
124
123
  getDeploymentCertificate = (request) => this.client.fetch({
125
124
  method: "GET",
126
125
  path: `/inference/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/deployments/${validatePathParam("deploymentId", request.deploymentId)}/certificate`,
@@ -265,9 +264,7 @@ class API extends API$1 {
265
264
  unmarshalListNodeTypesResponse
266
265
  );
267
266
  /**
268
- * List available node types. List all available node types. By default, the
269
- * node types returned in the list are ordered by creation date in ascending
270
- * order, though this can be modified via the `order_by` field.
267
+ * List available node types. List all available node types. By default, the node types returned in the list are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
271
268
  *
272
269
  * @param request - The request {@link ListNodeTypesRequest}
273
270
  * @returns A Promise of ListNodeTypesResponse