@leaflow/sdk 0.58.0 → 0.60.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.
- package/dist/billing/v1/schema.d.ts +32 -0
- package/dist/compute/v1/index.d.ts +18 -148
- package/dist/compute/v1/schema.d.ts +490 -3458
- package/dist/fabric/v1/client.d.ts +4 -0
- package/dist/fabric/v1/client.js +7 -0
- package/dist/fabric/v1/index.d.ts +115 -0
- package/dist/fabric/v1/index.js +5 -0
- package/dist/fabric/v1/schema.d.ts +2313 -0
- package/dist/fabric/v1/schema.js +5 -0
- package/dist/fleet/v1/index.d.ts +9 -1
- package/dist/fleet/v1/schema.d.ts +164 -29
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/storage/v1/client.d.ts +4 -0
- package/dist/storage/v1/client.js +7 -0
- package/dist/storage/v1/index.d.ts +85 -0
- package/dist/storage/v1/index.js +5 -0
- package/dist/storage/v1/schema.d.ts +1694 -0
- package/dist/storage/v1/schema.js +5 -0
- package/package.json +9 -1
|
@@ -3,118 +3,6 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
-
"/api/v1/backups": {
|
|
7
|
-
parameters: {
|
|
8
|
-
query?: never;
|
|
9
|
-
header?: never;
|
|
10
|
-
path?: never;
|
|
11
|
-
cookie?: never;
|
|
12
|
-
};
|
|
13
|
-
/** List backups */
|
|
14
|
-
get: operations["list-backups"];
|
|
15
|
-
put?: never;
|
|
16
|
-
/**
|
|
17
|
-
* Create a backup
|
|
18
|
-
* @description A backup is a complete copy of a disk held in separate storage: **it remains restorable after the source disk is deleted, and can be restored to another availability zone in the same region.** A snapshot offers neither capability, as it resides in the same storage as the source disk and prevents that disk from being deleted while it exists.
|
|
19
|
-
*
|
|
20
|
-
* Disks attached to a running instance, including system disks, can be backed up.
|
|
21
|
-
*
|
|
22
|
-
* The duration depends on the amount of data. The backup is not complete when this endpoint returns; poll the retrieve endpoint.
|
|
23
|
-
*/
|
|
24
|
-
post: operations["create-backup"];
|
|
25
|
-
delete?: never;
|
|
26
|
-
options?: never;
|
|
27
|
-
head?: never;
|
|
28
|
-
patch?: never;
|
|
29
|
-
trace?: never;
|
|
30
|
-
};
|
|
31
|
-
"/api/v1/backups/{backupId}": {
|
|
32
|
-
parameters: {
|
|
33
|
-
query?: never;
|
|
34
|
-
header?: never;
|
|
35
|
-
path?: never;
|
|
36
|
-
cookie?: never;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Retrieve a backup
|
|
40
|
-
* @description Queries the current state of the backup, which makes it slower but more accurate than the list endpoint. Use it to poll creation progress.
|
|
41
|
-
*/
|
|
42
|
-
get: operations["get-backup"];
|
|
43
|
-
put?: never;
|
|
44
|
-
post?: never;
|
|
45
|
-
/**
|
|
46
|
-
* Delete a backup
|
|
47
|
-
* @description Independent of the source disk: deletion succeeds whether or not that disk still exists.
|
|
48
|
-
*/
|
|
49
|
-
delete: operations["delete-backup"];
|
|
50
|
-
options?: never;
|
|
51
|
-
head?: never;
|
|
52
|
-
/** Rename a backup */
|
|
53
|
-
patch: operations["rename-backup"];
|
|
54
|
-
trace?: never;
|
|
55
|
-
};
|
|
56
|
-
"/api/v1/backups/{backupId}/restore": {
|
|
57
|
-
parameters: {
|
|
58
|
-
query?: never;
|
|
59
|
-
header?: never;
|
|
60
|
-
path?: never;
|
|
61
|
-
cookie?: never;
|
|
62
|
-
};
|
|
63
|
-
get?: never;
|
|
64
|
-
put?: never;
|
|
65
|
-
/**
|
|
66
|
-
* Restore from a backup
|
|
67
|
-
* @description Restores onto a **newly created** disk. The source disk is unaffected and need not still exist.
|
|
68
|
-
*
|
|
69
|
-
* The target disk type may belong to another availability zone of the same region, and its capacity must not be smaller than the backup. The disk cannot be attached until the restore completes; poll the disk retrieve endpoint.
|
|
70
|
-
*/
|
|
71
|
-
post: operations["restore-backup"];
|
|
72
|
-
delete?: never;
|
|
73
|
-
options?: never;
|
|
74
|
-
head?: never;
|
|
75
|
-
patch?: never;
|
|
76
|
-
trace?: never;
|
|
77
|
-
};
|
|
78
|
-
"/api/v1/disk-types": {
|
|
79
|
-
parameters: {
|
|
80
|
-
query?: never;
|
|
81
|
-
header?: never;
|
|
82
|
-
path?: never;
|
|
83
|
-
cookie?: never;
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* List disk types on sale
|
|
87
|
-
* @description Only disk types currently on sale are listed. A withdrawn one disappears from here and can no longer be bought, while the disks already on it keep working and can still be resized.
|
|
88
|
-
*/
|
|
89
|
-
get: operations["list-disk-types"];
|
|
90
|
-
put?: never;
|
|
91
|
-
post?: never;
|
|
92
|
-
delete?: never;
|
|
93
|
-
options?: never;
|
|
94
|
-
head?: never;
|
|
95
|
-
patch?: never;
|
|
96
|
-
trace?: never;
|
|
97
|
-
};
|
|
98
|
-
"/api/v1/disk-types/{diskTypeId}": {
|
|
99
|
-
parameters: {
|
|
100
|
-
query?: never;
|
|
101
|
-
header?: never;
|
|
102
|
-
path?: never;
|
|
103
|
-
cookie?: never;
|
|
104
|
-
};
|
|
105
|
-
/**
|
|
106
|
-
* Get a disk type
|
|
107
|
-
* @description Retrieve capacity and performance constraints for an existing disk, including system disk types and types withdrawn from sale.
|
|
108
|
-
*/
|
|
109
|
-
get: operations["get-disk-type"];
|
|
110
|
-
put?: never;
|
|
111
|
-
post?: never;
|
|
112
|
-
delete?: never;
|
|
113
|
-
options?: never;
|
|
114
|
-
head?: never;
|
|
115
|
-
patch?: never;
|
|
116
|
-
trace?: never;
|
|
117
|
-
};
|
|
118
6
|
"/api/v1/images": {
|
|
119
7
|
parameters: {
|
|
120
8
|
query?: never;
|
|
@@ -157,234 +45,6 @@ export interface paths {
|
|
|
157
45
|
patch?: never;
|
|
158
46
|
trace?: never;
|
|
159
47
|
};
|
|
160
|
-
"/api/v1/regions": {
|
|
161
|
-
parameters: {
|
|
162
|
-
query?: never;
|
|
163
|
-
header?: never;
|
|
164
|
-
path?: never;
|
|
165
|
-
cookie?: never;
|
|
166
|
-
};
|
|
167
|
-
/** List available regions */
|
|
168
|
-
get: operations["list-regions"];
|
|
169
|
-
put?: never;
|
|
170
|
-
post?: never;
|
|
171
|
-
delete?: never;
|
|
172
|
-
options?: never;
|
|
173
|
-
head?: never;
|
|
174
|
-
patch?: never;
|
|
175
|
-
trace?: never;
|
|
176
|
-
};
|
|
177
|
-
"/api/v1/regions/{regionCode}/availability-zones": {
|
|
178
|
-
parameters: {
|
|
179
|
-
query?: never;
|
|
180
|
-
header?: never;
|
|
181
|
-
path?: never;
|
|
182
|
-
cookie?: never;
|
|
183
|
-
};
|
|
184
|
-
/**
|
|
185
|
-
* List the availability zones of a region
|
|
186
|
-
* @description A disk and an instance must reside in the same availability zone to be attached. Confirm the zone before creating either.
|
|
187
|
-
*/
|
|
188
|
-
get: operations["list-availability-zones"];
|
|
189
|
-
put?: never;
|
|
190
|
-
post?: never;
|
|
191
|
-
delete?: never;
|
|
192
|
-
options?: never;
|
|
193
|
-
head?: never;
|
|
194
|
-
patch?: never;
|
|
195
|
-
trace?: never;
|
|
196
|
-
};
|
|
197
|
-
"/api/v1/disks": {
|
|
198
|
-
parameters: {
|
|
199
|
-
query?: never;
|
|
200
|
-
header?: never;
|
|
201
|
-
path?: never;
|
|
202
|
-
cookie?: never;
|
|
203
|
-
};
|
|
204
|
-
/**
|
|
205
|
-
* List disks
|
|
206
|
-
* @description When both `region_code` and `availability_zone` are supplied, only disks attachable to an instance at that location are returned.
|
|
207
|
-
*/
|
|
208
|
-
get: operations["list-disks"];
|
|
209
|
-
put?: never;
|
|
210
|
-
/**
|
|
211
|
-
* Create a disk
|
|
212
|
-
* @description The disk is created in the availability zone of the selected disk type, and an instance must reside in the same zone to attach it. Choosing the disk type therefore determines the zone.
|
|
213
|
-
*
|
|
214
|
-
* A disk type that has been withdrawn is rejected with `DISK_TYPE_RETIRED`, even though its identifier still resolves. Withdrawn types stop appearing in the disk type listing; disks already bought on one keep working and can still be resized.
|
|
215
|
-
*/
|
|
216
|
-
post: operations["create-disk"];
|
|
217
|
-
delete?: never;
|
|
218
|
-
options?: never;
|
|
219
|
-
head?: never;
|
|
220
|
-
patch?: never;
|
|
221
|
-
trace?: never;
|
|
222
|
-
};
|
|
223
|
-
"/api/v1/disks/{diskId}": {
|
|
224
|
-
parameters: {
|
|
225
|
-
query?: never;
|
|
226
|
-
header?: never;
|
|
227
|
-
path?: never;
|
|
228
|
-
cookie?: never;
|
|
229
|
-
};
|
|
230
|
-
/**
|
|
231
|
-
* Retrieve a disk
|
|
232
|
-
* @description Queries the current state of the disk, which makes it slower but more accurate than the list endpoint.
|
|
233
|
-
*/
|
|
234
|
-
get: operations["get-disk"];
|
|
235
|
-
put?: never;
|
|
236
|
-
post?: never;
|
|
237
|
-
/**
|
|
238
|
-
* Delete a disk
|
|
239
|
-
* @description Deletion is rejected while the disk is attached, or while snapshots created from it still exist.
|
|
240
|
-
*/
|
|
241
|
-
delete: operations["delete-disk"];
|
|
242
|
-
options?: never;
|
|
243
|
-
head?: never;
|
|
244
|
-
/**
|
|
245
|
-
* Rename a disk
|
|
246
|
-
* @description Changes the name only. Use the resize endpoint for capacity; type and availability zone are immutable.
|
|
247
|
-
*/
|
|
248
|
-
patch: operations["rename-disk"];
|
|
249
|
-
trace?: never;
|
|
250
|
-
};
|
|
251
|
-
"/api/v1/disks/{diskId}/resize": {
|
|
252
|
-
parameters: {
|
|
253
|
-
query?: never;
|
|
254
|
-
header?: never;
|
|
255
|
-
path?: never;
|
|
256
|
-
cookie?: never;
|
|
257
|
-
};
|
|
258
|
-
get?: never;
|
|
259
|
-
put?: never;
|
|
260
|
-
/**
|
|
261
|
-
* Resize a disk
|
|
262
|
-
* @description Capacity can only be increased; shrinking is not supported. Extend the file system inside the instance once the resize completes.
|
|
263
|
-
*
|
|
264
|
-
* **A data disk whose performance grows with its size has to be detached first.** The storage backend decides a volume's limit when the volume is attached and never revisits it, so growing one that is attached would give you the capacity immediately and leave the speed at the old size's figure — indefinitely, and stopping the instance does not help. Rather than take the money for performance that does not arrive, this is refused with `DISK_RESIZE_NEEDS_DETACH`; detach the disk, resize it, and attach it again.
|
|
265
|
-
*
|
|
266
|
-
* It is only refused when the two sizes really would differ in speed. A disk whose type has no QoS level, or whose performance has already reached the type's ceiling, grows online as before.
|
|
267
|
-
*
|
|
268
|
-
* **A system disk is the exception and grows online**, because a root volume cannot be detached at all. Its performance does not change with size for exactly that reason — system disk types are required to carry a level that does not scale.
|
|
269
|
-
*/
|
|
270
|
-
post: operations["resize-disk"];
|
|
271
|
-
delete?: never;
|
|
272
|
-
options?: never;
|
|
273
|
-
head?: never;
|
|
274
|
-
patch?: never;
|
|
275
|
-
trace?: never;
|
|
276
|
-
};
|
|
277
|
-
"/api/v1/disks/{diskId}/revert": {
|
|
278
|
-
parameters: {
|
|
279
|
-
query?: never;
|
|
280
|
-
header?: never;
|
|
281
|
-
path?: never;
|
|
282
|
-
cookie?: never;
|
|
283
|
-
};
|
|
284
|
-
get?: never;
|
|
285
|
-
put?: never;
|
|
286
|
-
/**
|
|
287
|
-
* Revert to a snapshot
|
|
288
|
-
* @description Restores the contents of the disk to the moment the snapshot was taken. **All data written after that moment is lost and cannot be recovered.**
|
|
289
|
-
*
|
|
290
|
-
* Three restrictions apply: only the most recent snapshot of the disk can be reverted to; the disk must be detached from its instance first; and a disk resized since the snapshot was taken cannot be reverted. To return to an earlier point in time, or to keep the existing disk, create a new disk from the snapshot instead.
|
|
291
|
-
*
|
|
292
|
-
* The revert is not complete when this endpoint returns; poll the retrieve endpoint.
|
|
293
|
-
*/
|
|
294
|
-
post: operations["revert-disk"];
|
|
295
|
-
delete?: never;
|
|
296
|
-
options?: never;
|
|
297
|
-
head?: never;
|
|
298
|
-
patch?: never;
|
|
299
|
-
trace?: never;
|
|
300
|
-
};
|
|
301
|
-
"/api/v1/floating-ips": {
|
|
302
|
-
parameters: {
|
|
303
|
-
query?: never;
|
|
304
|
-
header?: never;
|
|
305
|
-
path?: never;
|
|
306
|
-
cookie?: never;
|
|
307
|
-
};
|
|
308
|
-
/** List floating IPs */
|
|
309
|
-
get: operations["list-floating-ips"];
|
|
310
|
-
put?: never;
|
|
311
|
-
/**
|
|
312
|
-
* Allocate a floating IP
|
|
313
|
-
* @description If the private network is not yet connected to the internet, connectivity is established as part of this call.
|
|
314
|
-
*
|
|
315
|
-
* IPv6 is not requested through this endpoint. IPv6 addresses are assigned to instances by the private network; enable IPv6 on that network instead.
|
|
316
|
-
*/
|
|
317
|
-
post: operations["allocate-floating-ip"];
|
|
318
|
-
delete?: never;
|
|
319
|
-
options?: never;
|
|
320
|
-
head?: never;
|
|
321
|
-
patch?: never;
|
|
322
|
-
trace?: never;
|
|
323
|
-
};
|
|
324
|
-
"/api/v1/floating-ips/{floatingIpId}": {
|
|
325
|
-
parameters: {
|
|
326
|
-
query?: never;
|
|
327
|
-
header?: never;
|
|
328
|
-
path?: never;
|
|
329
|
-
cookie?: never;
|
|
330
|
-
};
|
|
331
|
-
/** Retrieve a floating IP */
|
|
332
|
-
get: operations["get-floating-ip"];
|
|
333
|
-
put?: never;
|
|
334
|
-
post?: never;
|
|
335
|
-
/**
|
|
336
|
-
* Release a floating IP
|
|
337
|
-
* @description A released address enters a cooldown period before it is allocated again, so that DNS records and allow-lists still pointing at it do not break immediately. **The same address therefore cannot be re-allocated** for some time after release. Proceed with care.
|
|
338
|
-
*/
|
|
339
|
-
delete: operations["release-floating-ip"];
|
|
340
|
-
options?: never;
|
|
341
|
-
head?: never;
|
|
342
|
-
patch?: never;
|
|
343
|
-
trace?: never;
|
|
344
|
-
};
|
|
345
|
-
"/api/v1/floating-ips/{floatingIpId}/bandwidth": {
|
|
346
|
-
parameters: {
|
|
347
|
-
query?: never;
|
|
348
|
-
header?: never;
|
|
349
|
-
path?: never;
|
|
350
|
-
cookie?: never;
|
|
351
|
-
};
|
|
352
|
-
get?: never;
|
|
353
|
-
/**
|
|
354
|
-
* Set the bandwidth limit
|
|
355
|
-
* @description Limits both directions at once. Limiting egress alone does not prevent ingress traffic from saturating the uplink.
|
|
356
|
-
*
|
|
357
|
-
* While the address is bound to an instance, the ceiling has to fit that instance type's `max_bandwidth_mbps`; asking for more is refused with `INSTANCE_BANDWIDTH_CEILING`. An address bound to nothing is not checked against any type — there is none to check against — and is checked again when it is attached.
|
|
358
|
-
*/
|
|
359
|
-
put: operations["set-floating-ip-bandwidth"];
|
|
360
|
-
post?: never;
|
|
361
|
-
delete?: never;
|
|
362
|
-
options?: never;
|
|
363
|
-
head?: never;
|
|
364
|
-
patch?: never;
|
|
365
|
-
trace?: never;
|
|
366
|
-
};
|
|
367
|
-
"/api/v1/floating-ips/{floatingIpId}/binding": {
|
|
368
|
-
parameters: {
|
|
369
|
-
query?: never;
|
|
370
|
-
header?: never;
|
|
371
|
-
path?: never;
|
|
372
|
-
cookie?: never;
|
|
373
|
-
};
|
|
374
|
-
get?: never;
|
|
375
|
-
/** Bind a floating IP to a network interface */
|
|
376
|
-
put: operations["bind-floating-ip"];
|
|
377
|
-
post?: never;
|
|
378
|
-
/**
|
|
379
|
-
* Unbind a floating IP
|
|
380
|
-
* @description The address remains held by the project and simply no longer points at any network interface.
|
|
381
|
-
*/
|
|
382
|
-
delete: operations["unbind-floating-ip"];
|
|
383
|
-
options?: never;
|
|
384
|
-
head?: never;
|
|
385
|
-
patch?: never;
|
|
386
|
-
trace?: never;
|
|
387
|
-
};
|
|
388
48
|
"/api/v1/instances": {
|
|
389
49
|
parameters: {
|
|
390
50
|
query?: never;
|
|
@@ -400,21 +60,7 @@ export interface paths {
|
|
|
400
60
|
put?: never;
|
|
401
61
|
/**
|
|
402
62
|
* Create instances
|
|
403
|
-
* @description
|
|
404
|
-
*
|
|
405
|
-
* `count` creates several instances at once, 20 at most. Names are numbered `-1`, `-2` automatically and all instances share one password. **`instances` in the response is always an array**, including for a single instance.
|
|
406
|
-
*
|
|
407
|
-
* Instances are created one by one in order. If the sequence stops part way through, because of a quota limit for example, **the instances already created are kept** and `failure` states why it stopped. A failure on the first instance is treated as a failure of the whole request and no instance is created.
|
|
408
|
-
*
|
|
409
|
-
* Exactly one source must be given: `image_id` for a platform image, `private_image_id` for a private image, or `boot_disk_id` to boot a disk you already have. Supplying more than one, or none, is rejected.
|
|
410
|
-
*
|
|
411
|
-
* A platform image that has been withdrawn is rejected with `IMAGE_RETIRED`, and an instance type that has been withdrawn with `INSTANCE_TYPE_RETIRED` — in both cases the identifier still resolves. Withdrawn entries stop appearing in their listing, so an identifier held in a script, a template or an earlier order is the way this is usually hit: reread the listing and pick another. Instances already running either are unaffected, and one on a withdrawn image can still be rebuilt onto it.
|
|
412
|
-
*
|
|
413
|
-
* `boot_disk_id` recovers an instance that can no longer be repaired from the inside. Snapshot its disk, restore that snapshot into a new disk, attach the new disk to another instance and repair it there, then create an instance from it. That disk is not deleted when the instance is released; it is detached and returned to you.
|
|
414
|
-
*
|
|
415
|
-
* Instances are created in the availability zone of the instance type. Disks to be attached later must reside in the same zone.
|
|
416
|
-
*
|
|
417
|
-
* Creation is not complete when this endpoint returns and `status` is `provisioning`. Poll GET to observe the outcome.
|
|
63
|
+
* @description Creates a Billing order, including for metered pricing. The price must belong to the resource’s Billing Plan; applicable contract pricing is resolved by Billing. Technical capacity is checked before sellable quota is reserved. Provisioning continues automatically after payment; do not submit a new purchase after paying. Reuse the original idempotency key after an uncertain response. Exactly one of image_id, private_image_id or boot_disk_id is required, and exactly one of port_id or subnet_id. Existing ports, boot disks or floating IPs require count=1. Image boots require boot_disk; existing disks retain their own subscription. Resource lines for Compute, Storage and Fabric remain separate subscriptions on the same order.
|
|
418
64
|
*/
|
|
419
65
|
post: operations["launch-instance"];
|
|
420
66
|
delete?: never;
|
|
@@ -666,11 +312,7 @@ export interface paths {
|
|
|
666
312
|
put?: never;
|
|
667
313
|
/**
|
|
668
314
|
* Resize an instance
|
|
669
|
-
* @description
|
|
670
|
-
*
|
|
671
|
-
* A resize has two steps. This endpoint restarts the instance on the new size and the status becomes `resize_verifying`, at which point the confirm or revert endpoint **must** be called. Until confirmation the target type is recorded in `pending_instance_type_id`, while `instance_type_id` remains the type in effect and billed.
|
|
672
|
-
*
|
|
673
|
-
* **Both sizes hold resources while the resize is unconfirmed.** Confirm promptly once the status becomes `resize_verifying`.
|
|
315
|
+
* @description Creates a Billing order, including for metered pricing. The price must belong to the resource’s Billing Plan; applicable contract pricing is resolved by Billing. Technical capacity is checked before sellable quota is reserved. Provisioning continues automatically after payment; do not submit a new purchase after paying. Reuse the original idempotency key after an uncertain response.
|
|
674
316
|
*/
|
|
675
317
|
post: operations["resize-instance"];
|
|
676
318
|
delete?: never;
|
|
@@ -730,9 +372,7 @@ export interface paths {
|
|
|
730
372
|
put?: never;
|
|
731
373
|
/**
|
|
732
374
|
* Start an instance
|
|
733
|
-
* @description An
|
|
734
|
-
*
|
|
735
|
-
* This endpoint returns immediately and the `status` it returns is the transient `starting`. Poll the instance until it settles at `running`.
|
|
375
|
+
* @description Records the desired power state. An in-flight shutdown is allowed to finish before a subsequent start. Outstanding restrictions can prevent starting. A stopped VM retains its Fabric and Storage claims. Inspect operation, task_state, power_state and observed_at to determine completion.
|
|
736
376
|
*/
|
|
737
377
|
post: operations["start-instance"];
|
|
738
378
|
delete?: never;
|
|
@@ -752,11 +392,7 @@ export interface paths {
|
|
|
752
392
|
put?: never;
|
|
753
393
|
/**
|
|
754
394
|
* Stop an instance
|
|
755
|
-
* @description
|
|
756
|
-
*
|
|
757
|
-
* An instance suspended by the platform must be unsuspended first.
|
|
758
|
-
*
|
|
759
|
-
* This endpoint returns immediately and the `status` it returns is the transient `stopping`. Poll the instance until it settles at `stopped`.
|
|
395
|
+
* @description Records the desired power state. An in-flight shutdown is allowed to finish before a subsequent start. Outstanding restrictions can prevent starting. A stopped VM retains its Fabric and Storage claims. Inspect operation, task_state, power_state and observed_at to determine completion.
|
|
760
396
|
*/
|
|
761
397
|
post: operations["stop-instance"];
|
|
762
398
|
delete?: never;
|
|
@@ -817,7 +453,7 @@ export interface paths {
|
|
|
817
453
|
put?: never;
|
|
818
454
|
/**
|
|
819
455
|
* Bind a floating IP to an instance
|
|
820
|
-
* @description The
|
|
456
|
+
* @description Requests a binding change on the instance’s primary Fabric port. The returned Fabric usage claim identifies the port-to-address relationship; Compute does not own the address. An accepted release can still be releasing until the provider confirms removal.
|
|
821
457
|
*/
|
|
822
458
|
post: operations["attach-instance-floating-ip"];
|
|
823
459
|
delete?: never;
|
|
@@ -836,7 +472,10 @@ export interface paths {
|
|
|
836
472
|
get?: never;
|
|
837
473
|
put?: never;
|
|
838
474
|
post?: never;
|
|
839
|
-
/**
|
|
475
|
+
/**
|
|
476
|
+
* Unbind the floating IP of an instance
|
|
477
|
+
* @description Requests a binding change on the instance’s primary Fabric port. The returned Fabric usage claim identifies the port-to-address relationship; Compute does not own the address. An accepted release can still be releasing until the provider confirms removal.
|
|
478
|
+
*/
|
|
840
479
|
delete: operations["detach-instance-floating-ip"];
|
|
841
480
|
options?: never;
|
|
842
481
|
head?: never;
|
|
@@ -905,47 +544,6 @@ export interface paths {
|
|
|
905
544
|
patch?: never;
|
|
906
545
|
trace?: never;
|
|
907
546
|
};
|
|
908
|
-
"/api/v1/ports": {
|
|
909
|
-
parameters: {
|
|
910
|
-
query?: never;
|
|
911
|
-
header?: never;
|
|
912
|
-
path?: never;
|
|
913
|
-
cookie?: never;
|
|
914
|
-
};
|
|
915
|
-
/** List network interfaces */
|
|
916
|
-
get: operations["list-ports"];
|
|
917
|
-
put?: never;
|
|
918
|
-
/**
|
|
919
|
-
* Create a network interface
|
|
920
|
-
* @description The new network interface is not attached to any instance. Primary network interfaces are not created here; they are created with the instance.
|
|
921
|
-
*/
|
|
922
|
-
post: operations["create-port"];
|
|
923
|
-
delete?: never;
|
|
924
|
-
options?: never;
|
|
925
|
-
head?: never;
|
|
926
|
-
patch?: never;
|
|
927
|
-
trace?: never;
|
|
928
|
-
};
|
|
929
|
-
"/api/v1/ports/{portId}": {
|
|
930
|
-
parameters: {
|
|
931
|
-
query?: never;
|
|
932
|
-
header?: never;
|
|
933
|
-
path?: never;
|
|
934
|
-
cookie?: never;
|
|
935
|
-
};
|
|
936
|
-
get?: never;
|
|
937
|
-
put?: never;
|
|
938
|
-
post?: never;
|
|
939
|
-
/**
|
|
940
|
-
* Delete a network interface
|
|
941
|
-
* @description The primary network interface cannot be deleted on its own, as it is released with the instance. A network interface still attached to an instance cannot be deleted either.
|
|
942
|
-
*/
|
|
943
|
-
delete: operations["delete-port"];
|
|
944
|
-
options?: never;
|
|
945
|
-
head?: never;
|
|
946
|
-
patch?: never;
|
|
947
|
-
trace?: never;
|
|
948
|
-
};
|
|
949
547
|
"/api/v1/private-images": {
|
|
950
548
|
parameters: {
|
|
951
549
|
query?: never;
|
|
@@ -1005,304 +603,26 @@ export interface paths {
|
|
|
1005
603
|
patch: operations["rename-private-image"];
|
|
1006
604
|
trace?: never;
|
|
1007
605
|
};
|
|
1008
|
-
"/api/v1/
|
|
1009
|
-
parameters: {
|
|
1010
|
-
query?: never;
|
|
1011
|
-
header?: never;
|
|
1012
|
-
path?: never;
|
|
1013
|
-
cookie?: never;
|
|
1014
|
-
};
|
|
1015
|
-
/** List private networks */
|
|
1016
|
-
get: operations["list-private-networks"];
|
|
1017
|
-
put?: never;
|
|
1018
|
-
/**
|
|
1019
|
-
* Create a private network
|
|
1020
|
-
* @description Creates a network, a router and a default security group in one call. The default security group denies all inbound traffic and permits all outbound traffic.
|
|
1021
|
-
*/
|
|
1022
|
-
post: operations["create-private-network"];
|
|
1023
|
-
delete?: never;
|
|
1024
|
-
options?: never;
|
|
1025
|
-
head?: never;
|
|
1026
|
-
patch?: never;
|
|
1027
|
-
trace?: never;
|
|
1028
|
-
};
|
|
1029
|
-
"/api/v1/private-networks/{privateNetworkId}": {
|
|
1030
|
-
parameters: {
|
|
1031
|
-
query?: never;
|
|
1032
|
-
header?: never;
|
|
1033
|
-
path?: never;
|
|
1034
|
-
cookie?: never;
|
|
1035
|
-
};
|
|
1036
|
-
/** Retrieve a private network */
|
|
1037
|
-
get: operations["get-private-network"];
|
|
1038
|
-
put?: never;
|
|
1039
|
-
post?: never;
|
|
1040
|
-
/**
|
|
1041
|
-
* Release a private network
|
|
1042
|
-
* @description Release is rejected while instances or network interfaces remain in the network. IPv6, the router and the security groups are released with it.
|
|
1043
|
-
*/
|
|
1044
|
-
delete: operations["delete-private-network"];
|
|
1045
|
-
options?: never;
|
|
1046
|
-
head?: never;
|
|
1047
|
-
/**
|
|
1048
|
-
* Rename a private network
|
|
1049
|
-
* @description Changes the display name only. The CIDR, the routes and the internet gateway are immutable.
|
|
1050
|
-
*/
|
|
1051
|
-
patch: operations["rename-private-network"];
|
|
1052
|
-
trace?: never;
|
|
1053
|
-
};
|
|
1054
|
-
"/api/v1/private-networks/{privateNetworkId}/ipv6": {
|
|
1055
|
-
parameters: {
|
|
1056
|
-
query?: never;
|
|
1057
|
-
header?: never;
|
|
1058
|
-
path?: never;
|
|
1059
|
-
cookie?: never;
|
|
1060
|
-
};
|
|
1061
|
-
/** Retrieve the IPv6 configuration of a private network */
|
|
1062
|
-
get: operations["get-private-network-ipv6"];
|
|
1063
|
-
put?: never;
|
|
1064
|
-
/**
|
|
1065
|
-
* Enable IPv6 on a private network
|
|
1066
|
-
* @description Allocates an IPv6 prefix to the private network. Addresses are assigned to instances by the network itself, can be neither requested nor released individually, and consume no public IPv4 address.
|
|
1067
|
-
*
|
|
1068
|
-
* If the private network is not yet connected to the internet, connectivity is established as part of this call.
|
|
1069
|
-
*/
|
|
1070
|
-
post: operations["enable-private-network-ipv6"];
|
|
1071
|
-
/**
|
|
1072
|
-
* Disable IPv6 on a private network
|
|
1073
|
-
* @description A released prefix is not re-allocated immediately.
|
|
1074
|
-
*/
|
|
1075
|
-
delete: operations["disable-private-network-ipv6"];
|
|
1076
|
-
options?: never;
|
|
1077
|
-
head?: never;
|
|
1078
|
-
patch?: never;
|
|
1079
|
-
trace?: never;
|
|
1080
|
-
};
|
|
1081
|
-
"/api/v1/private-networks/{privateNetworkId}/routes": {
|
|
1082
|
-
parameters: {
|
|
1083
|
-
query?: never;
|
|
1084
|
-
header?: never;
|
|
1085
|
-
path?: never;
|
|
1086
|
-
cookie?: never;
|
|
1087
|
-
};
|
|
1088
|
-
/** List static routes */
|
|
1089
|
-
get: operations["list-routes"];
|
|
1090
|
-
put?: never;
|
|
1091
|
-
/**
|
|
1092
|
-
* Create a static route
|
|
1093
|
-
* @description Three forms that would sever connectivity are rejected: a destination of `0.0.0.0/0`, which overrides the default route and takes every floating IP offline immediately; a destination equal to the CIDR of a subnet, which overrides its directly connected route; and a next hop equal to the gateway of a subnet, which points back at the router itself.
|
|
1094
|
-
*/
|
|
1095
|
-
post: operations["create-route"];
|
|
1096
|
-
delete?: never;
|
|
1097
|
-
options?: never;
|
|
1098
|
-
head?: never;
|
|
1099
|
-
patch?: never;
|
|
1100
|
-
trace?: never;
|
|
1101
|
-
};
|
|
1102
|
-
"/api/v1/private-networks/{privateNetworkId}/routes/{routeId}": {
|
|
1103
|
-
parameters: {
|
|
1104
|
-
query?: never;
|
|
1105
|
-
header?: never;
|
|
1106
|
-
path?: never;
|
|
1107
|
-
cookie?: never;
|
|
1108
|
-
};
|
|
1109
|
-
get?: never;
|
|
1110
|
-
put?: never;
|
|
1111
|
-
post?: never;
|
|
1112
|
-
/** Delete a static route */
|
|
1113
|
-
delete: operations["delete-route"];
|
|
1114
|
-
options?: never;
|
|
1115
|
-
head?: never;
|
|
1116
|
-
patch?: never;
|
|
1117
|
-
trace?: never;
|
|
1118
|
-
};
|
|
1119
|
-
"/api/v1/private-networks/{privateNetworkId}/subnets": {
|
|
1120
|
-
parameters: {
|
|
1121
|
-
query?: never;
|
|
1122
|
-
header?: never;
|
|
1123
|
-
path?: never;
|
|
1124
|
-
cookie?: never;
|
|
1125
|
-
};
|
|
1126
|
-
/**
|
|
1127
|
-
* List subnets
|
|
1128
|
-
* @description IPv6 subnets are included, with `ip_version` 6. They are created when IPv6 is enabled and cannot be deleted individually.
|
|
1129
|
-
*/
|
|
1130
|
-
get: operations["list-subnets"];
|
|
1131
|
-
put?: never;
|
|
1132
|
-
/** Create a subnet */
|
|
1133
|
-
post: operations["create-subnet"];
|
|
1134
|
-
delete?: never;
|
|
1135
|
-
options?: never;
|
|
1136
|
-
head?: never;
|
|
1137
|
-
patch?: never;
|
|
1138
|
-
trace?: never;
|
|
1139
|
-
};
|
|
1140
|
-
"/api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr": {
|
|
1141
|
-
parameters: {
|
|
1142
|
-
query?: never;
|
|
1143
|
-
header?: never;
|
|
1144
|
-
path?: never;
|
|
1145
|
-
cookie?: never;
|
|
1146
|
-
};
|
|
1147
|
-
/**
|
|
1148
|
-
* Suggest the next free CIDR
|
|
1149
|
-
* @description The returned value is a suggestion and is validated again when the subnet is created. It exists to avoid errors when computing the next free CIDR by hand.
|
|
1150
|
-
*/
|
|
1151
|
-
get: operations["suggest-subnet-cidr"];
|
|
1152
|
-
put?: never;
|
|
1153
|
-
post?: never;
|
|
1154
|
-
delete?: never;
|
|
1155
|
-
options?: never;
|
|
1156
|
-
head?: never;
|
|
1157
|
-
patch?: never;
|
|
1158
|
-
trace?: never;
|
|
1159
|
-
};
|
|
1160
|
-
"/api/v1/private-networks/{privateNetworkId}/subnets/{subnetId}": {
|
|
1161
|
-
parameters: {
|
|
1162
|
-
query?: never;
|
|
1163
|
-
header?: never;
|
|
1164
|
-
path?: never;
|
|
1165
|
-
cookie?: never;
|
|
1166
|
-
};
|
|
1167
|
-
get?: never;
|
|
1168
|
-
put?: never;
|
|
1169
|
-
post?: never;
|
|
1170
|
-
/**
|
|
1171
|
-
* Delete a subnet
|
|
1172
|
-
* @description Deletion is rejected while network interfaces remain in the subnet, or while a static route has a next hop inside its CIDR.
|
|
1173
|
-
*/
|
|
1174
|
-
delete: operations["delete-subnet"];
|
|
1175
|
-
options?: never;
|
|
1176
|
-
head?: never;
|
|
1177
|
-
patch?: never;
|
|
1178
|
-
trace?: never;
|
|
1179
|
-
};
|
|
1180
|
-
"/api/v1/security-groups": {
|
|
1181
|
-
parameters: {
|
|
1182
|
-
query?: never;
|
|
1183
|
-
header?: never;
|
|
1184
|
-
path?: never;
|
|
1185
|
-
cookie?: never;
|
|
1186
|
-
};
|
|
1187
|
-
/** List security groups */
|
|
1188
|
-
get: operations["list-security-groups"];
|
|
1189
|
-
put?: never;
|
|
1190
|
-
/**
|
|
1191
|
-
* Create a security group
|
|
1192
|
-
* @description A new security group carries one rule, permitting ICMP fragmentation-needed messages (type 3, code 4). Without it path MTU discovery fails, which presents as connections that establish and then stall on large packets.
|
|
1193
|
-
*/
|
|
1194
|
-
post: operations["create-security-group"];
|
|
1195
|
-
delete?: never;
|
|
1196
|
-
options?: never;
|
|
1197
|
-
head?: never;
|
|
1198
|
-
patch?: never;
|
|
1199
|
-
trace?: never;
|
|
1200
|
-
};
|
|
1201
|
-
"/api/v1/security-groups/{securityGroupId}": {
|
|
1202
|
-
parameters: {
|
|
1203
|
-
query?: never;
|
|
1204
|
-
header?: never;
|
|
1205
|
-
path?: never;
|
|
1206
|
-
cookie?: never;
|
|
1207
|
-
};
|
|
1208
|
-
/** Retrieve a security group */
|
|
1209
|
-
get: operations["get-security-group"];
|
|
1210
|
-
put?: never;
|
|
1211
|
-
post?: never;
|
|
1212
|
-
/**
|
|
1213
|
-
* Delete a security group
|
|
1214
|
-
* @description The default security group cannot be deleted, as it is released with the private network. A security group still referenced by a network interface cannot be deleted either.
|
|
1215
|
-
*/
|
|
1216
|
-
delete: operations["delete-security-group"];
|
|
1217
|
-
options?: never;
|
|
1218
|
-
head?: never;
|
|
1219
|
-
/**
|
|
1220
|
-
* Rename a security group
|
|
1221
|
-
* @description Changes the name only. Use the rule endpoints to change rules.
|
|
1222
|
-
*/
|
|
1223
|
-
patch: operations["rename-security-group"];
|
|
1224
|
-
trace?: never;
|
|
1225
|
-
};
|
|
1226
|
-
"/api/v1/security-groups/{securityGroupId}/rules": {
|
|
606
|
+
"/api/v1/instances/{instanceId}/dependencies": {
|
|
1227
607
|
parameters: {
|
|
1228
608
|
query?: never;
|
|
1229
609
|
header?: never;
|
|
1230
610
|
path?: never;
|
|
1231
611
|
cookie?: never;
|
|
1232
612
|
};
|
|
1233
|
-
/** List security group rules */
|
|
1234
|
-
get: operations["list-security-group-rules"];
|
|
1235
|
-
put?: never;
|
|
1236
613
|
/**
|
|
1237
|
-
*
|
|
1238
|
-
* @description
|
|
614
|
+
* List instance dependencies
|
|
615
|
+
* @description Desired dependencies recorded by Compute. usage_id resolves the corresponding claim in Fabric or Storage. These records remain present while an instance is stopped or suspended.
|
|
1239
616
|
*/
|
|
1240
|
-
|
|
1241
|
-
delete?: never;
|
|
1242
|
-
options?: never;
|
|
1243
|
-
head?: never;
|
|
1244
|
-
patch?: never;
|
|
1245
|
-
trace?: never;
|
|
1246
|
-
};
|
|
1247
|
-
"/api/v1/security-groups/{securityGroupId}/rules/{ruleId}": {
|
|
1248
|
-
parameters: {
|
|
1249
|
-
query?: never;
|
|
1250
|
-
header?: never;
|
|
1251
|
-
path?: never;
|
|
1252
|
-
cookie?: never;
|
|
1253
|
-
};
|
|
1254
|
-
get?: never;
|
|
617
|
+
get: operations["list-instance-dependencies"];
|
|
1255
618
|
put?: never;
|
|
1256
619
|
post?: never;
|
|
1257
|
-
/** Delete a security group rule */
|
|
1258
|
-
delete: operations["delete-security-group-rule"];
|
|
1259
|
-
options?: never;
|
|
1260
|
-
head?: never;
|
|
1261
|
-
patch?: never;
|
|
1262
|
-
trace?: never;
|
|
1263
|
-
};
|
|
1264
|
-
"/api/v1/snapshots": {
|
|
1265
|
-
parameters: {
|
|
1266
|
-
query?: never;
|
|
1267
|
-
header?: never;
|
|
1268
|
-
path?: never;
|
|
1269
|
-
cookie?: never;
|
|
1270
|
-
};
|
|
1271
|
-
/** List snapshots */
|
|
1272
|
-
get: operations["list-snapshots"];
|
|
1273
|
-
put?: never;
|
|
1274
|
-
/**
|
|
1275
|
-
* Create a snapshot
|
|
1276
|
-
* @description Disks attached to a running instance can be snapshotted. A snapshot records the state of the block device at a point in time and may be inconsistent at the file-system level, so run `sync` inside the instance first where the data matters.
|
|
1277
|
-
*
|
|
1278
|
-
* **A snapshot of a system disk cannot be used to revert that system disk**: reverting requires the disk to be detached, and a system disk cannot be detached. It can be used to create a new data disk. To preserve and restore an entire system, use a private image; for a copy that crosses availability zones and survives deletion of the disk, use a backup.
|
|
1279
|
-
*/
|
|
1280
|
-
post: operations["create-snapshot"];
|
|
1281
620
|
delete?: never;
|
|
1282
621
|
options?: never;
|
|
1283
622
|
head?: never;
|
|
1284
623
|
patch?: never;
|
|
1285
624
|
trace?: never;
|
|
1286
625
|
};
|
|
1287
|
-
"/api/v1/snapshots/{snapshotId}": {
|
|
1288
|
-
parameters: {
|
|
1289
|
-
query?: never;
|
|
1290
|
-
header?: never;
|
|
1291
|
-
path?: never;
|
|
1292
|
-
cookie?: never;
|
|
1293
|
-
};
|
|
1294
|
-
/** Retrieve a snapshot */
|
|
1295
|
-
get: operations["get-snapshot"];
|
|
1296
|
-
put?: never;
|
|
1297
|
-
post?: never;
|
|
1298
|
-
/** Delete a snapshot */
|
|
1299
|
-
delete: operations["delete-snapshot"];
|
|
1300
|
-
options?: never;
|
|
1301
|
-
head?: never;
|
|
1302
|
-
/** Rename a snapshot */
|
|
1303
|
-
patch: operations["rename-snapshot"];
|
|
1304
|
-
trace?: never;
|
|
1305
|
-
};
|
|
1306
626
|
}
|
|
1307
627
|
export type webhooks = Record<string, never>;
|
|
1308
628
|
export interface components {
|
|
@@ -1320,222 +640,36 @@ export interface components {
|
|
|
1320
640
|
/** Format: int64 */
|
|
1321
641
|
status: number;
|
|
1322
642
|
};
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
availability_zone: string;
|
|
1326
|
-
/** Format: date-time */
|
|
1327
|
-
created_at: string;
|
|
643
|
+
ImageResource: {
|
|
644
|
+
architecture: string;
|
|
1328
645
|
/** Format: uuid */
|
|
1329
646
|
id: string;
|
|
647
|
+
/** @description The account this image lets you log in as. The password set at creation belongs to this account */
|
|
648
|
+
login_username: string;
|
|
649
|
+
/** Format: int64 */
|
|
650
|
+
min_disk_gb: number;
|
|
651
|
+
/** Format: int64 */
|
|
652
|
+
min_ram_mb: number;
|
|
1330
653
|
name: string;
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
* Format: int64
|
|
1334
|
-
* @description Capacity of the source disk when the backup was created. A restored disk cannot be smaller than this
|
|
1335
|
-
*/
|
|
1336
|
-
size_gb: number;
|
|
1337
|
-
/**
|
|
1338
|
-
* Format: uuid
|
|
1339
|
-
* @description The disk this backup was taken from. The backup remains usable after that disk is deleted
|
|
1340
|
-
*/
|
|
1341
|
-
source_disk_id: string;
|
|
1342
|
-
/** @enum {string} */
|
|
1343
|
-
status: "provisioning" | "available" | "restoring" | "deleting" | "error";
|
|
1344
|
-
};
|
|
1345
|
-
BackupListResponseBody: {
|
|
1346
|
-
items: components["schemas"]["BackupResource"][] | null;
|
|
1347
|
-
};
|
|
1348
|
-
CreateBackupRequestBody: {
|
|
654
|
+
os_family: string;
|
|
655
|
+
os_version: string;
|
|
1349
656
|
/** Format: uuid */
|
|
1350
|
-
|
|
1351
|
-
name: string;
|
|
1352
|
-
};
|
|
1353
|
-
RenameBackupRequestBody: {
|
|
1354
|
-
name: string;
|
|
1355
|
-
};
|
|
1356
|
-
RestoreBackupRequestBody: {
|
|
1357
|
-
/**
|
|
1358
|
-
* Format: uuid
|
|
1359
|
-
* @description May differ from the availability zone of the source disk, but must be in the same region. It has to be on sale — restoring creates a new disk, so a withdrawn type is rejected here as well
|
|
1360
|
-
*/
|
|
1361
|
-
disk_type_id: string;
|
|
1362
|
-
name: string;
|
|
1363
|
-
/**
|
|
1364
|
-
* Format: int64
|
|
1365
|
-
* @description Matches the size of the backup when omitted. When given, it must not be smaller than the backup
|
|
1366
|
-
*/
|
|
1367
|
-
size_gb?: number;
|
|
1368
|
-
};
|
|
1369
|
-
DiskResource: {
|
|
1370
|
-
attached_instance_id: string | null;
|
|
1371
|
-
/** @description Availability zone the disk actually resides in. An instance must be in the same zone to attach it */
|
|
1372
|
-
availability_zone: string;
|
|
1373
|
-
/** Format: date-time */
|
|
1374
|
-
created_at: string;
|
|
1375
|
-
/** @description Device name assigned by the system, as seen inside the instance */
|
|
1376
|
-
device: string | null;
|
|
1377
|
-
/** Format: uuid */
|
|
1378
|
-
disk_type_id: string;
|
|
1379
|
-
/** Format: uuid */
|
|
1380
|
-
id: string;
|
|
1381
|
-
/** @description A system disk is released with its instance and can be neither detached nor deleted individually */
|
|
1382
|
-
is_system: boolean;
|
|
1383
|
-
name: string;
|
|
1384
|
-
region_code: string;
|
|
1385
|
-
/** Format: int64 */
|
|
1386
|
-
size_gb: number;
|
|
1387
|
-
/**
|
|
1388
|
-
* Format: int64
|
|
1389
|
-
* @description IOPS this disk is allowed. Null when its type is not rate-limited.
|
|
1390
|
-
*
|
|
1391
|
-
* Computed from the disk's own capacity, so it grows when the disk is grown — but see the
|
|
1392
|
-
* note on the resize endpoint: growing a disk that is attached is refused, precisely because
|
|
1393
|
-
* the new figure would not take effect until it was attached again.
|
|
1394
|
-
*/
|
|
1395
|
-
iops: number | null;
|
|
1396
|
-
/**
|
|
1397
|
-
* Format: int64
|
|
1398
|
-
* @description Throughput this disk is allowed, in bytes per second. Null when its type is not rate-limited
|
|
1399
|
-
*/
|
|
1400
|
-
throughput_bytes_per_sec: number | null;
|
|
1401
|
-
/** @enum {string} */
|
|
1402
|
-
status: "provisioning" | "available" | "attaching" | "in_use" | "detaching" | "resizing" | "reverting" | "restoring" | "releasing" | "deleting" | "error";
|
|
1403
|
-
/**
|
|
1404
|
-
* @description How this disk is paid for. `postpaid` is billed by the hour for as long as it exists;
|
|
1405
|
-
* `prepaid` was bought outright for a term.
|
|
1406
|
-
*
|
|
1407
|
-
* **Not the term.** How long it was bought for belongs to the order, not to the disk:
|
|
1408
|
-
* renewing can change it, and a machine bought for a year and then renewed for a month is
|
|
1409
|
-
* still a prepaid machine. Ask billing for the term and the expiry — they live there, and
|
|
1410
|
-
* they are the only two values a renewal moves.
|
|
1411
|
-
* @enum {string}
|
|
1412
|
-
*/
|
|
1413
|
-
charge_type: "postpaid" | "prepaid";
|
|
1414
|
-
};
|
|
1415
|
-
DiskTypeResource: {
|
|
1416
|
-
availability_zone_code: string;
|
|
1417
|
-
/** Format: uuid */
|
|
1418
|
-
id: string;
|
|
1419
|
-
/**
|
|
1420
|
-
* Format: int64
|
|
1421
|
-
* @description IOPS a disk of `min_size_gb` gets. Null when this type is not rate-limited.
|
|
1422
|
-
*
|
|
1423
|
-
* Performance grows with capacity, so this and `iops_at_max_size` are the two ends of the
|
|
1424
|
-
* range. The exact figure for the size actually bought appears on the disk itself once it
|
|
1425
|
-
* exists.
|
|
1426
|
-
*/
|
|
1427
|
-
iops_at_min_size: number | null;
|
|
1428
|
-
/**
|
|
1429
|
-
* Format: int64
|
|
1430
|
-
* @description IOPS a disk of `max_size_gb` gets. Null when this type is not rate-limited
|
|
1431
|
-
*/
|
|
1432
|
-
iops_at_max_size: number | null;
|
|
1433
|
-
/** Format: int64 */
|
|
1434
|
-
max_size_gb: number;
|
|
1435
|
-
/** @enum {string} */
|
|
1436
|
-
media: "ssd" | "hdd" | "nvme";
|
|
1437
|
-
/** Format: int64 */
|
|
1438
|
-
min_size_gb: number;
|
|
1439
|
-
name: string;
|
|
1440
|
-
region_code: string;
|
|
1441
|
-
/** Format: int64 */
|
|
1442
|
-
step_gb: number;
|
|
1443
|
-
/**
|
|
1444
|
-
* Format: int64
|
|
1445
|
-
* @description Throughput a disk of `min_size_gb` gets, in **bytes per second**. Null when this type is
|
|
1446
|
-
* not rate-limited.
|
|
1447
|
-
*
|
|
1448
|
-
* Bytes rather than MiB so the number needs no rounding on the way out; divide by 1048576
|
|
1449
|
-
* for MiB/s at the point of display.
|
|
1450
|
-
*/
|
|
1451
|
-
throughput_at_min_size: number | null;
|
|
1452
|
-
/**
|
|
1453
|
-
* Format: int64
|
|
1454
|
-
* @description Throughput a disk of `max_size_gb` gets, in bytes per second. Null when this type is not rate-limited
|
|
1455
|
-
*/
|
|
1456
|
-
throughput_at_max_size: number | null;
|
|
1457
|
-
/**
|
|
1458
|
-
* @description Whether any capacity is left in this type's pool.
|
|
1459
|
-
*
|
|
1460
|
-
* The same shape as on an instance type, but it answers less here: a disk is sold by the
|
|
1461
|
-
* GiB, so "not sold out" does not mean the size being asked for fits. `remaining` is the
|
|
1462
|
-
* field that decides that, and this one only says whether the pool is empty outright.
|
|
1463
|
-
*
|
|
1464
|
-
* It reflects a limit set by operations, not what the storage backend physically has —
|
|
1465
|
-
* raising the limit does not create capacity, and a type that is not sold out can still fail
|
|
1466
|
-
* to create if the backend is full.
|
|
1467
|
-
*
|
|
1468
|
-
* Advisory: it is read when the list is built, and capacity can be taken between that read
|
|
1469
|
-
* and the order. The order is what actually refuses.
|
|
1470
|
-
*/
|
|
1471
|
-
sold_out: boolean;
|
|
1472
|
-
/**
|
|
1473
|
-
* Format: int64
|
|
1474
|
-
* @description How much capacity is left, **in GiB**. Absent when this type is not limited at all.
|
|
1475
|
-
*
|
|
1476
|
-
* Unlike an instance type, where this is a count of machines, here it is an amount of
|
|
1477
|
-
* storage — and it is the number that bounds the size a customer may ask for. A picker that
|
|
1478
|
-
* offers sizes above it produces orders that are refused after the customer has chosen
|
|
1479
|
-
* everything else.
|
|
1480
|
-
*
|
|
1481
|
-
* Absent is not zero and not "unknown": a type with no limit simply has no number to show.
|
|
1482
|
-
* Reporting it as a number would need a sentinel, and any sentinel eventually gets compared
|
|
1483
|
-
* against a real size.
|
|
1484
|
-
*/
|
|
1485
|
-
remaining?: number;
|
|
1486
|
-
/**
|
|
1487
|
-
* @description What buying this type outright costs, per term. Empty means this type is only sold by the
|
|
1488
|
-
* hour.
|
|
1489
|
-
*
|
|
1490
|
-
* **The amount is per GiB for the whole term**, not the price of one disk: a disk's size is
|
|
1491
|
-
* chosen by the customer, so the total is this figure times the size. That differs from an
|
|
1492
|
-
* instance type, where the same field is the price of one machine — the unit follows what
|
|
1493
|
-
* the product is sold by, and the order is priced the same way.
|
|
1494
|
-
*
|
|
1495
|
-
* Advisory, like `sold_out`: it is read when the list is built. The order is what fixes the
|
|
1496
|
-
* price, and it refuses rather than falling back to hourly if the term is not sold.
|
|
1497
|
-
*/
|
|
1498
|
-
prepaid_prices?: components["schemas"]["PrepaidPrice"][];
|
|
1499
|
-
};
|
|
1500
|
-
DiskTypeListResponseBody: {
|
|
1501
|
-
items: components["schemas"]["DiskTypeResource"][] | null;
|
|
1502
|
-
};
|
|
1503
|
-
ImageResource: {
|
|
1504
|
-
architecture: string;
|
|
1505
|
-
/** Format: uuid */
|
|
1506
|
-
id: string;
|
|
1507
|
-
/** @description The account this image lets you log in as. The password set at creation belongs to this account */
|
|
1508
|
-
login_username: string;
|
|
1509
|
-
/** Format: int64 */
|
|
1510
|
-
min_disk_gb: number;
|
|
1511
|
-
/** Format: int64 */
|
|
1512
|
-
min_ram_mb: number;
|
|
1513
|
-
name: string;
|
|
1514
|
-
os_family: string;
|
|
1515
|
-
os_version: string;
|
|
1516
|
-
region_code: string;
|
|
657
|
+
region_id: string;
|
|
1517
658
|
/** @description False means a new password can only be set by rebuilding an instance created from this image */
|
|
1518
659
|
supports_password_reset: boolean;
|
|
1519
660
|
};
|
|
1520
661
|
ImageListResponseBody: {
|
|
1521
|
-
items: components["schemas"]["ImageResource"][]
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
/**
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
term: string;
|
|
1529
|
-
/**
|
|
1530
|
-
* @description A decimal string, not a float. Money that survives a round trip through binary floating
|
|
1531
|
-
* point is money that stops adding up.
|
|
1532
|
-
*/
|
|
1533
|
-
amount: string;
|
|
1534
|
-
currency: string;
|
|
662
|
+
items: components["schemas"]["ImageResource"][];
|
|
663
|
+
/** Format: int64 */
|
|
664
|
+
page: number;
|
|
665
|
+
/** Format: int64 */
|
|
666
|
+
page_size: number;
|
|
667
|
+
/** Format: int64 */
|
|
668
|
+
total_count?: number;
|
|
1535
669
|
};
|
|
1536
670
|
InstanceTypeResource: {
|
|
1537
|
-
/**
|
|
1538
|
-
|
|
671
|
+
/** Format: uuid */
|
|
672
|
+
availability_zone_id: string;
|
|
1539
673
|
/** Format: uuid */
|
|
1540
674
|
id: string;
|
|
1541
675
|
/**
|
|
@@ -1568,198 +702,28 @@ export interface components {
|
|
|
1568
702
|
name: string;
|
|
1569
703
|
/** Format: int64 */
|
|
1570
704
|
ram_mb: number;
|
|
1571
|
-
|
|
705
|
+
/** Format: uuid */
|
|
706
|
+
region_id: string;
|
|
1572
707
|
/** Format: int64 */
|
|
1573
708
|
vcpus: number;
|
|
1574
709
|
/**
|
|
1575
|
-
*
|
|
1576
|
-
*
|
|
1577
|
-
* It reflects a limit set by operations, not what the cloud can physically schedule — raising
|
|
1578
|
-
* the limit does not create capacity that is not there, and a type that is not sold out can
|
|
1579
|
-
* still fail to start if the zone is full.
|
|
1580
|
-
*
|
|
1581
|
-
* It is advisory: it is read when the list is built, and the last one can be taken between
|
|
1582
|
-
* that read and the order. The order is what actually refuses.
|
|
1583
|
-
*/
|
|
1584
|
-
sold_out: boolean;
|
|
1585
|
-
/**
|
|
1586
|
-
* Format: int64
|
|
1587
|
-
* @description How many more may be created. Absent when this type is not limited at all.
|
|
1588
|
-
*
|
|
1589
|
-
* Absent is not zero and not "unknown": a type with no limit simply has no number to show.
|
|
1590
|
-
* Reporting it as a number would need a sentinel, and any sentinel eventually gets compared
|
|
1591
|
-
* against a real count.
|
|
1592
|
-
*/
|
|
1593
|
-
remaining?: number;
|
|
1594
|
-
/**
|
|
1595
|
-
* @description What buying this type outright costs, per term. Empty means this type is only sold by the
|
|
1596
|
-
* hour.
|
|
1597
|
-
*
|
|
1598
|
-
* The hourly price is not here and is not missing: it is made of finer parts than the type
|
|
1599
|
-
* (cores and memory are priced separately, and the type itself does not appear in the rate
|
|
1600
|
-
* card at all), so there is no single number to show. A term price is one number because a
|
|
1601
|
-
* term is one purchase.
|
|
1602
|
-
*
|
|
1603
|
-
* Advisory, like `sold_out`: it is read when the list is built. The order is what fixes the
|
|
1604
|
-
* price, and it refuses rather than falling back to hourly if the term is not sold.
|
|
710
|
+
* Format: uuid
|
|
711
|
+
* @description The Billing Plan for this type. Read its available prices from Billing; resource capacity and sellable quota are evaluated when placing the order.
|
|
1605
712
|
*/
|
|
1606
|
-
|
|
713
|
+
billing_plan_id: string;
|
|
1607
714
|
};
|
|
1608
715
|
InstanceTypeListResponseBody: {
|
|
1609
|
-
items: components["schemas"]["InstanceTypeResource"][]
|
|
1610
|
-
};
|
|
1611
|
-
RegionResource: {
|
|
1612
|
-
code: string;
|
|
1613
|
-
country_code: string;
|
|
1614
|
-
name: string;
|
|
1615
|
-
};
|
|
1616
|
-
RegionListResponseBody: {
|
|
1617
|
-
items: components["schemas"]["RegionResource"][] | null;
|
|
1618
|
-
};
|
|
1619
|
-
ZoneResource: {
|
|
1620
|
-
code: string;
|
|
1621
|
-
name: string;
|
|
1622
|
-
};
|
|
1623
|
-
ZoneListResponseBody: {
|
|
1624
|
-
items: components["schemas"]["ZoneResource"][] | null;
|
|
1625
|
-
};
|
|
1626
|
-
DiskListResponseBody: {
|
|
1627
|
-
items: components["schemas"]["DiskResource"][] | null;
|
|
1628
|
-
};
|
|
1629
|
-
CreateDiskRequestBody: {
|
|
1630
|
-
/**
|
|
1631
|
-
* @description A promotion code to apply to this order. Case and surrounding whitespace do not matter.
|
|
1632
|
-
*
|
|
1633
|
-
* An unusable code is rejected outright rather than quietly ignored: somebody who typed a
|
|
1634
|
-
* code is buying at the discounted price, and letting it through silently means they pay
|
|
1635
|
-
* full price expecting the discount, with nothing anywhere saying so.
|
|
1636
|
-
*
|
|
1637
|
-
* The discount applies to the lines the campaign covers, not the whole order — typically
|
|
1638
|
-
* the instance type and memory, not the system disk, the address, or traffic. Preview it
|
|
1639
|
-
* first at `POST /account/v1/billing-accounts/{accountKey}/promotion-codes/preview` to
|
|
1640
|
-
* show the customer what will actually be charged.
|
|
1641
|
-
*
|
|
1642
|
-
* Metered orders reject any code: there is no amount to discount at this point.
|
|
1643
|
-
*/
|
|
1644
|
-
promotion_code?: string;
|
|
1645
|
-
/**
|
|
1646
|
-
* @description "This is the same click". Generate one when the dialog opens — not when it is submitted —
|
|
1647
|
-
* and send the same one on every retry of that action.
|
|
1648
|
-
*
|
|
1649
|
-
* Optional, and what happens without it is worth knowing: two identical requests inside the
|
|
1650
|
-
* same minute are treated as one, because there is nothing else to tell a double-click apart
|
|
1651
|
-
* from a deliberate second order. Sending your own key removes that guess entirely.
|
|
1652
|
-
*/
|
|
1653
|
-
idempotency_key?: string;
|
|
1654
|
-
/**
|
|
1655
|
-
* Format: uuid
|
|
1656
|
-
* @description A disk type currently on sale. A withdrawn one is rejected even though its identifier still resolves
|
|
1657
|
-
*/
|
|
1658
|
-
disk_type_id: string;
|
|
1659
|
-
name: string;
|
|
716
|
+
items: components["schemas"]["InstanceTypeResource"][];
|
|
1660
717
|
/** Format: int64 */
|
|
1661
|
-
|
|
1662
|
-
/**
|
|
1663
|
-
* Format: uuid
|
|
1664
|
-
* @description Restore from this snapshot. When given, the capacity need only be no smaller than the snapshot
|
|
1665
|
-
*/
|
|
1666
|
-
snapshot_id?: string;
|
|
1667
|
-
/**
|
|
1668
|
-
* @description Buy the disk outright for this long, as an ISO 8601 duration (P1M, P1Y). Billed by the
|
|
1669
|
-
* hour when omitted.
|
|
1670
|
-
*
|
|
1671
|
-
* A disk bought outright can still be expanded: the difference is prorated over the days
|
|
1672
|
-
* left in the term, and the expiry date does not move. It is stopped, not deleted, when the
|
|
1673
|
-
* term runs out — the data stays and comes back once renewed.
|
|
1674
|
-
*/
|
|
1675
|
-
term?: string;
|
|
1676
|
-
/**
|
|
1677
|
-
* @description How to pay for a term bought outright. Only meaningful together with `term`.
|
|
1678
|
-
*
|
|
1679
|
-
* `balance` takes it from the account balance and either succeeds or refuses on the spot.
|
|
1680
|
-
* `online` returns a `checkout_url` instead and **creates nothing** — the resource is only
|
|
1681
|
-
* created once the money arrives and the customer comes back to place it again. That last
|
|
1682
|
-
* part is deliberate: a successful payment should not silently turn into a machine, because
|
|
1683
|
-
* between paying and returning they may have changed their mind.
|
|
1684
|
-
*
|
|
1685
|
-
* Online payment is not a second wallet. What arrives lands in the balance first and the
|
|
1686
|
-
* order is settled from there, so money topped up and money paid at checkout are the same
|
|
1687
|
-
* pool.
|
|
1688
|
-
* @default balance
|
|
1689
|
-
* @enum {string}
|
|
1690
|
-
*/
|
|
1691
|
-
payment_method?: "balance" | "online";
|
|
1692
|
-
};
|
|
1693
|
-
RenameDiskRequestBody: {
|
|
1694
|
-
name: string;
|
|
1695
|
-
};
|
|
1696
|
-
ResizeDiskRequestBody: {
|
|
1697
|
-
/**
|
|
1698
|
-
* Format: int64
|
|
1699
|
-
* @description Must be larger than the current capacity
|
|
1700
|
-
*/
|
|
1701
|
-
size_gb: number;
|
|
1702
|
-
};
|
|
1703
|
-
RevertDiskRequestBody: {
|
|
1704
|
-
/**
|
|
1705
|
-
* Format: uuid
|
|
1706
|
-
* @description Must be the most recent snapshot of the disk
|
|
1707
|
-
*/
|
|
1708
|
-
snapshot_id: string;
|
|
1709
|
-
};
|
|
1710
|
-
FloatingIPResource: {
|
|
1711
|
-
address: string;
|
|
1712
|
-
attached_fixed_ip: string | null;
|
|
1713
|
-
attached_port_id: string | null;
|
|
718
|
+
page: number;
|
|
1714
719
|
/** Format: int64 */
|
|
1715
|
-
|
|
1716
|
-
/** Format:
|
|
1717
|
-
|
|
1718
|
-
/** Format: date-time */
|
|
1719
|
-
detached_at: string | null;
|
|
1720
|
-
/** Format: uuid */
|
|
1721
|
-
id: string;
|
|
1722
|
-
region_code: string;
|
|
1723
|
-
/**
|
|
1724
|
-
* @description `idle` means the address is not bound to a network interface
|
|
1725
|
-
* @enum {string}
|
|
1726
|
-
*/
|
|
1727
|
-
status: "idle" | "bound";
|
|
1728
|
-
};
|
|
1729
|
-
FloatingIPListResponseBody: {
|
|
1730
|
-
items: components["schemas"]["FloatingIPResource"][] | null;
|
|
1731
|
-
};
|
|
1732
|
-
AllocateFloatingIPRequestBody: {
|
|
1733
|
-
/** @description The address to allocate. Allocated by the platform when omitted */
|
|
1734
|
-
address?: string;
|
|
1735
|
-
/**
|
|
1736
|
-
* Format: int64
|
|
1737
|
-
* @description The bandwidth ceiling of this address, in Mbit/s, applied to both directions.
|
|
1738
|
-
*
|
|
1739
|
-
* Required, and there is no "unlimited": an address with no ceiling runs at line rate and is
|
|
1740
|
-
* charged nothing for the traffic, while the address itself bills normally — so the invoice
|
|
1741
|
-
* looks correct and nothing anywhere reports it.
|
|
1742
|
-
*
|
|
1743
|
-
* It is billed separately from the address, per Mbit/s-hour, and appears as its own line on
|
|
1744
|
-
* the order. Changing it later goes through the bandwidth endpoint.
|
|
1745
|
-
*/
|
|
1746
|
-
bandwidth_mbps: number;
|
|
1747
|
-
/** Format: uuid */
|
|
1748
|
-
private_network_id: string;
|
|
1749
|
-
};
|
|
1750
|
-
SetBandwidthRequestBody: {
|
|
1751
|
-
/**
|
|
1752
|
-
* Format: int64
|
|
1753
|
-
* @description Applied to both directions
|
|
1754
|
-
*/
|
|
1755
|
-
mbps: number;
|
|
1756
|
-
};
|
|
1757
|
-
BindFloatingIPRequestBody: {
|
|
1758
|
-
/** Format: uuid */
|
|
1759
|
-
port_id: string;
|
|
720
|
+
page_size: number;
|
|
721
|
+
/** Format: int64 */
|
|
722
|
+
total_count?: number;
|
|
1760
723
|
};
|
|
1761
724
|
InstanceResource: {
|
|
1762
|
-
|
|
725
|
+
/** Format: uuid */
|
|
726
|
+
availability_zone_id: string;
|
|
1763
727
|
/** Format: date-time */
|
|
1764
728
|
created_at: string;
|
|
1765
729
|
/** @description Hostname inside the instance; equals the instance id */
|
|
@@ -1808,36 +772,17 @@ export interface components {
|
|
|
1808
772
|
private_network_id: string | null;
|
|
1809
773
|
/** @description Floating IPv4 addresses bound to the primary network interface; an empty array when none are bound */
|
|
1810
774
|
public_ips: string[] | null;
|
|
1811
|
-
|
|
775
|
+
/** Format: uuid */
|
|
776
|
+
region_id: string;
|
|
1812
777
|
/**
|
|
1813
|
-
* @description
|
|
1814
|
-
*
|
|
1815
|
-
* `transitioning` is the fallback for a change that falls into none of the categories above. It does not indicate an error; keep polling.
|
|
1816
|
-
*
|
|
1817
|
-
* `resize_verifying` is not transient: the instance is running on the new size and stays there until the resize is confirmed or reverted, with both sizes billed in the meantime.
|
|
778
|
+
* @description Observed VM lifecycle state. This does not indicate the latest requested action or whether a business restriction applies.
|
|
1818
779
|
* @enum {string}
|
|
1819
780
|
*/
|
|
1820
|
-
status: "
|
|
781
|
+
status: "pending" | "building" | "active" | "stopped" | "paused" | "suspended" | "shelved" | "shelved_offloaded" | "rescued" | "resized" | "deleting" | "deleted" | "error" | "unknown";
|
|
1821
782
|
/** @description Subnet of the primary network interface */
|
|
1822
783
|
subnet_id: string | null;
|
|
1823
|
-
/**
|
|
1824
|
-
* Format: date-time
|
|
1825
|
-
* @description Non-empty once the platform has suspended the instance, which must be lifted before any operation
|
|
1826
|
-
*/
|
|
1827
|
-
suspended_at: string | null;
|
|
1828
784
|
/** Format: date-time */
|
|
1829
785
|
updated_at: string;
|
|
1830
|
-
/**
|
|
1831
|
-
* @description How this instance is paid for. `postpaid` is billed by the hour for as long as it exists;
|
|
1832
|
-
* `prepaid` was bought outright for a term.
|
|
1833
|
-
*
|
|
1834
|
-
* **Not the term.** How long it was bought for belongs to the order, not to the instance:
|
|
1835
|
-
* renewing can change it, and a machine bought for a year and then renewed for a month is
|
|
1836
|
-
* still a prepaid machine. Ask billing for the term and the expiry — they live there, and
|
|
1837
|
-
* they are the only two values a renewal moves.
|
|
1838
|
-
* @enum {string}
|
|
1839
|
-
*/
|
|
1840
|
-
charge_type: "postpaid" | "prepaid";
|
|
1841
786
|
/**
|
|
1842
787
|
* @description The order this instance was bought under, in billing's own identifiers. Empty when the
|
|
1843
788
|
* deployment has no billing wired in.
|
|
@@ -1847,35 +792,33 @@ export interface components {
|
|
|
1847
792
|
* person who needs it never had.
|
|
1848
793
|
*/
|
|
1849
794
|
billing_order_id: string;
|
|
795
|
+
subscription_item_ids?: string[];
|
|
796
|
+
/** @enum {string} */
|
|
797
|
+
desired_state: "running" | "stopped" | "deleted";
|
|
798
|
+
/** @enum {string} */
|
|
799
|
+
power_state: "no_state" | "running" | "paused" | "shutdown" | "crashed" | "suspended" | "unknown";
|
|
800
|
+
/** @description Current provider task, such as scheduling, networking, block_device_mapping or spawning. none means no task; unknown tasks remain observable and do not imply failure. */
|
|
801
|
+
task_state: string;
|
|
802
|
+
/** Format: int64 */
|
|
803
|
+
generation: number;
|
|
804
|
+
/**
|
|
805
|
+
* Format: date-time
|
|
806
|
+
* @description Timestamp of the last successful provider observation. An unreachable provider does not erase the last observation or prove deletion.
|
|
807
|
+
*/
|
|
808
|
+
observed_at?: string;
|
|
809
|
+
operation?: components["schemas"]["InstanceOperation"];
|
|
810
|
+
restrictions: components["schemas"]["InstanceRestriction"][];
|
|
1850
811
|
};
|
|
1851
812
|
InstanceListResponseBody: {
|
|
1852
|
-
items: components["schemas"]["InstanceResource"][]
|
|
813
|
+
items: components["schemas"]["InstanceResource"][];
|
|
814
|
+
/** Format: int64 */
|
|
815
|
+
page: number;
|
|
816
|
+
/** Format: int64 */
|
|
817
|
+
page_size: number;
|
|
818
|
+
/** Format: int64 */
|
|
819
|
+
total_count?: number;
|
|
1853
820
|
};
|
|
1854
821
|
LaunchInstanceRequestBody: {
|
|
1855
|
-
/**
|
|
1856
|
-
* @description A promotion code to apply to this order. Case and surrounding whitespace do not matter.
|
|
1857
|
-
*
|
|
1858
|
-
* An unusable code is rejected outright rather than quietly ignored: somebody who typed a
|
|
1859
|
-
* code is buying at the discounted price, and letting it through silently means they pay
|
|
1860
|
-
* full price expecting the discount, with nothing anywhere saying so.
|
|
1861
|
-
*
|
|
1862
|
-
* The discount applies to the lines the campaign covers, not the whole order — typically
|
|
1863
|
-
* the instance type and memory, not the system disk, the address, or traffic. Preview it
|
|
1864
|
-
* first at `POST /account/v1/billing-accounts/{accountKey}/promotion-codes/preview` to
|
|
1865
|
-
* show the customer what will actually be charged.
|
|
1866
|
-
*
|
|
1867
|
-
* Metered orders reject any code: there is no amount to discount at this point.
|
|
1868
|
-
*/
|
|
1869
|
-
promotion_code?: string;
|
|
1870
|
-
/**
|
|
1871
|
-
* @description "This is the same click". Generate one when the dialog opens — not when it is submitted —
|
|
1872
|
-
* and send the same one on every retry of that action.
|
|
1873
|
-
*
|
|
1874
|
-
* Optional, and what happens without it is worth knowing: two identical requests inside the
|
|
1875
|
-
* same minute are treated as one, because there is nothing else to tell a double-click apart
|
|
1876
|
-
* from a deliberate second order. Sending your own key removes that guess entirely.
|
|
1877
|
-
*/
|
|
1878
|
-
idempotency_key?: string;
|
|
1879
822
|
/**
|
|
1880
823
|
* Format: uuid
|
|
1881
824
|
* @description Bind a floating IP you already hold, instead of allocating a new one. It must be idle and in
|
|
@@ -1891,39 +834,10 @@ export interface components {
|
|
|
1891
834
|
* Only one instance can be created when it is used — one address binds to one interface.
|
|
1892
835
|
*/
|
|
1893
836
|
floating_ip_id?: string;
|
|
1894
|
-
/**
|
|
1895
|
-
* Format: int64
|
|
1896
|
-
* @description Give this instance a public address with this much bandwidth, in Mbit/s. Omitted or 0 means
|
|
1897
|
-
* no public address.
|
|
1898
|
-
*
|
|
1899
|
-
* Mutually exclusive with `floating_ip_id`, which binds one you already hold.
|
|
1900
|
-
*
|
|
1901
|
-
* The bandwidth is what says whether an address is wanted, rather than a separate flag,
|
|
1902
|
-
* because an address with no ceiling would run at line rate and be charged nothing for the
|
|
1903
|
-
* traffic — while the address itself bills normally and the invoice looks correct.
|
|
1904
|
-
*
|
|
1905
|
-
* The address and its bandwidth are two lines on the same order as the instance and its
|
|
1906
|
-
* system disk — one purchase with one total — and everything is created together or not at
|
|
1907
|
-
* all: if any step fails, the address goes back to the pool and no instance is created.
|
|
1908
|
-
* Asking for an address separately afterwards is still possible, but then they are separate
|
|
1909
|
-
* purchases, and a failure in between leaves an instance you cannot reach.
|
|
1910
|
-
*
|
|
1911
|
-
* Both lines are always billed by the hour, even when the instance is bought outright for a
|
|
1912
|
-
* term: a public IPv4 is a scarce resource the platform keeps holding for as long as you have
|
|
1913
|
-
* it, so it is not something that can be paid for once.
|
|
1914
|
-
*
|
|
1915
|
-
* Which address you get is not a choice here. Use the floating IP endpoints to claim a
|
|
1916
|
-
* particular address and bind it, which is what getting a known address back after a
|
|
1917
|
-
* migration needs.
|
|
1918
|
-
*
|
|
1919
|
-
* Rejected together with `port_id` when that interface already has a floating IP: an
|
|
1920
|
-
* interface carries one IPv4, and one IPv4 takes one floating IP. Attach another interface to
|
|
1921
|
-
* hold a second address.
|
|
1922
|
-
*/
|
|
1923
|
-
bandwidth_mbps?: number;
|
|
1924
837
|
/**
|
|
1925
838
|
* Format: int64
|
|
1926
839
|
* @description Number of instances to create; 1 when omitted. Names are numbered automatically for several
|
|
840
|
+
* @default 1
|
|
1927
841
|
*/
|
|
1928
842
|
count?: number;
|
|
1929
843
|
/** @description Have the platform generate a random password, returned only in this response */
|
|
@@ -1958,49 +872,6 @@ export interface components {
|
|
|
1958
872
|
* @description A private image. Exactly one of this, `image_id` and `boot_disk_id`
|
|
1959
873
|
*/
|
|
1960
874
|
private_image_id?: string;
|
|
1961
|
-
/**
|
|
1962
|
-
* @description How to pay for a term bought outright. Only meaningful together with `term`.
|
|
1963
|
-
*
|
|
1964
|
-
* `balance` takes it from the account balance and either succeeds or refuses on the spot.
|
|
1965
|
-
* `online` returns a `checkout_url` instead and **creates nothing** — the resource is only
|
|
1966
|
-
* created once the money arrives and the customer comes back to place it again. That last
|
|
1967
|
-
* part is deliberate: a successful payment should not silently turn into a machine, because
|
|
1968
|
-
* between paying and returning they may have changed their mind.
|
|
1969
|
-
*
|
|
1970
|
-
* Online payment is not a second wallet. What arrives lands in the balance first and the
|
|
1971
|
-
* order is settled from there, so money topped up and money paid at checkout are the same
|
|
1972
|
-
* pool.
|
|
1973
|
-
* @default balance
|
|
1974
|
-
* @enum {string}
|
|
1975
|
-
*/
|
|
1976
|
-
payment_method?: "balance" | "online";
|
|
1977
|
-
/**
|
|
1978
|
-
* @description Buy the instance outright for this long, as an ISO 8601 duration (P1M, P1Y). Billed by the
|
|
1979
|
-
* hour when omitted.
|
|
1980
|
-
*
|
|
1981
|
-
* The money is taken from the balance when the order is placed, at the price the catalogue
|
|
1982
|
-
* reported for this type and term. If that term is not on sale for this type the request is
|
|
1983
|
-
* refused — it is never quietly sold by the hour instead, because the customer who asked for
|
|
1984
|
-
* a year would find out only from the bill.
|
|
1985
|
-
*
|
|
1986
|
-
* The system disk is bought for the same term, because it is the same purchase: an instance
|
|
1987
|
-
* bought for a year whose disk is billed hourly is a bill nobody would predict from what they
|
|
1988
|
-
* clicked. A term is therefore refused together with `boot_disk_id`, where the disk already
|
|
1989
|
-
* exists and is already billed its own way.
|
|
1990
|
-
*
|
|
1991
|
-
* A public address asked for with `assign_public_ip` stays hourly regardless — it cannot be
|
|
1992
|
-
* bought outright — so one order can carry both.
|
|
1993
|
-
*
|
|
1994
|
-
* When the term runs out the instance is stopped, not deleted, and starts again once it is
|
|
1995
|
-
* renewed. Renewal lives in the billing console, across every product, because what a
|
|
1996
|
-
* customer needs to see is everything expiring this month rather than one product at a time.
|
|
1997
|
-
*/
|
|
1998
|
-
term?: string;
|
|
1999
|
-
/**
|
|
2000
|
-
* Format: int64
|
|
2001
|
-
* @description System disk capacity in GB. Chosen automatically from the requirement of the image and the platform minimum when omitted. Ignored with `boot_disk_id`, since that disk already has its capacity
|
|
2002
|
-
*/
|
|
2003
|
-
root_disk_gb?: number;
|
|
2004
875
|
/** @description Required when a primary network interface is created, at least one; the default security group is not applied automatically. Ignored together with `port_id`, as the security groups of that interface were fixed when it was created */
|
|
2005
876
|
security_group_ids?: string[] | null;
|
|
2006
877
|
/**
|
|
@@ -2008,40 +879,15 @@ export interface components {
|
|
|
2008
879
|
* @description Create the primary network interface in this subnet. Exactly one of this and `port_id`
|
|
2009
880
|
*/
|
|
2010
881
|
subnet_id?: string;
|
|
882
|
+
order: components["schemas"]["OrderOptions"];
|
|
883
|
+
price: components["schemas"]["CatalogReference"];
|
|
884
|
+
boot_disk?: components["schemas"]["NewBootDisk"];
|
|
885
|
+
floating_ip?: components["schemas"]["NewFloatingIP"];
|
|
2011
886
|
};
|
|
2012
887
|
LaunchInstanceResponseBody: {
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
* **One per instance, not one per request.** A batch of three places three orders, because
|
|
2017
|
-
* each machine is ordered as it is created — stopping halfway leaves the machines already
|
|
2018
|
-
* made, and they each have to be paid for. A caller showing "your order" for a batch has to
|
|
2019
|
-
* show all of them.
|
|
2020
|
-
*
|
|
2021
|
-
* Empty when the deployment has no billing wired in, and on the `checkout_url` branch where
|
|
2022
|
-
* nothing was created yet.
|
|
2023
|
-
*
|
|
2024
|
-
* Given so the caller can point at the transaction. Creating a resource takes money — by
|
|
2025
|
-
* the hour from that moment for a metered one, in full from the balance for a prepaid one —
|
|
2026
|
-
* and until now the only thing handed back was the resource itself. Somebody asking "why
|
|
2027
|
-
* was I charged" had nothing to open.
|
|
2028
|
-
*/
|
|
2029
|
-
order_ids?: string[] | null;
|
|
2030
|
-
/** @description Non-empty when only some of the instances were created, stating why the sequence stopped */
|
|
2031
|
-
failure: string | null;
|
|
2032
|
-
/** @description Returned in request order; an array even for a single instance */
|
|
2033
|
-
instances: components["schemas"]["InstanceResource"][] | null;
|
|
2034
|
-
/** @description Returned only in this response; store it immediately. All instances of a batch share it */
|
|
2035
|
-
password: string;
|
|
2036
|
-
/**
|
|
2037
|
-
* @description Present only when `payment_method` was `online`: **nothing was created**. Send the
|
|
2038
|
-
* customer here to pay.
|
|
2039
|
-
*
|
|
2040
|
-
* What comes back is not a resource but a bill to settle. Treating this response as a
|
|
2041
|
-
* success and moving on is how something gets handed over without the money arriving —
|
|
2042
|
-
* and it looks exactly like a normal creation from the outside.
|
|
2043
|
-
*/
|
|
2044
|
-
checkout_url?: string;
|
|
888
|
+
order: components["schemas"]["PlacedOrder"];
|
|
889
|
+
/** @description Present only if generation was requested; store it securely. Idempotent retries do not generate another password. */
|
|
890
|
+
password?: string;
|
|
2045
891
|
};
|
|
2046
892
|
SetInstanceLabelsRequestBody: {
|
|
2047
893
|
/** @description The complete set of labels. Whatever is absent here is removed; send an empty object to clear them all. A key may not contain a colon, whitespace or control characters */
|
|
@@ -2125,6 +971,8 @@ export interface components {
|
|
|
2125
971
|
* @description Must be in the same region and availability zone as the current instance type
|
|
2126
972
|
*/
|
|
2127
973
|
instance_type_id: string;
|
|
974
|
+
order: components["schemas"]["OrderOptions"];
|
|
975
|
+
price: components["schemas"]["CatalogReference"];
|
|
2128
976
|
};
|
|
2129
977
|
AttachDiskRequestBody: {
|
|
2130
978
|
/** Format: uuid */
|
|
@@ -2134,26 +982,6 @@ export interface components {
|
|
|
2134
982
|
/** Format: uuid */
|
|
2135
983
|
floating_ip_id: string;
|
|
2136
984
|
};
|
|
2137
|
-
PortResource: {
|
|
2138
|
-
attached_instance_id: string | null;
|
|
2139
|
-
/** Format: uuid */
|
|
2140
|
-
id: string;
|
|
2141
|
-
ipv6_address: string | null;
|
|
2142
|
-
/** @description A primary network interface is created and released with its instance and cannot be detached individually */
|
|
2143
|
-
is_primary: boolean;
|
|
2144
|
-
mac: string | null;
|
|
2145
|
-
name: string;
|
|
2146
|
-
private_ip: string | null;
|
|
2147
|
-
/** Format: uuid */
|
|
2148
|
-
private_network_id: string;
|
|
2149
|
-
/** @description Floating IPv4 addresses bound to this network interface; an empty array when none are bound */
|
|
2150
|
-
public_ips: string[] | null;
|
|
2151
|
-
/** Format: uuid */
|
|
2152
|
-
subnet_id: string;
|
|
2153
|
-
};
|
|
2154
|
-
PortListResponseBody: {
|
|
2155
|
-
items: components["schemas"]["PortResource"][] | null;
|
|
2156
|
-
};
|
|
2157
985
|
AttachPortRequestBody: {
|
|
2158
986
|
/** Format: uuid */
|
|
2159
987
|
port_id: string;
|
|
@@ -2181,25 +1009,21 @@ export interface components {
|
|
|
2181
1009
|
payload: {
|
|
2182
1010
|
[key: string]: unknown;
|
|
2183
1011
|
};
|
|
2184
|
-
|
|
1012
|
+
/** Format: uuid */
|
|
1013
|
+
region_id: string | null;
|
|
2185
1014
|
/** @description Empty for create operations: the id of the new resource is in the response, not in the request path */
|
|
2186
1015
|
subject_id: string;
|
|
2187
1016
|
subject_type: string;
|
|
2188
1017
|
succeeded: boolean;
|
|
2189
1018
|
};
|
|
2190
1019
|
OperationLogListResponseBody: {
|
|
2191
|
-
items: components["schemas"]["OperationLogResource"][]
|
|
1020
|
+
items: components["schemas"]["OperationLogResource"][];
|
|
2192
1021
|
/** Format: int64 */
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
private_ip?: string;
|
|
2199
|
-
/** @description At least one, and all must belong to the same private network */
|
|
2200
|
-
security_group_ids: string[] | null;
|
|
2201
|
-
/** Format: uuid */
|
|
2202
|
-
subnet_id: string;
|
|
1022
|
+
page: number;
|
|
1023
|
+
/** Format: int64 */
|
|
1024
|
+
page_size: number;
|
|
1025
|
+
/** Format: int64 */
|
|
1026
|
+
total_count?: number;
|
|
2203
1027
|
};
|
|
2204
1028
|
PrivateImageResource: {
|
|
2205
1029
|
architecture: string;
|
|
@@ -2224,8 +1048,8 @@ export interface components {
|
|
|
2224
1048
|
name: string;
|
|
2225
1049
|
os_family: string;
|
|
2226
1050
|
os_version: string;
|
|
2227
|
-
/**
|
|
2228
|
-
|
|
1051
|
+
/** Format: uuid */
|
|
1052
|
+
region_id: string;
|
|
2229
1053
|
/**
|
|
2230
1054
|
* Format: int64
|
|
2231
1055
|
* @description Storage occupied by the image; 0 until the capture completes
|
|
@@ -2242,9 +1066,15 @@ export interface components {
|
|
|
2242
1066
|
supports_password_reset: boolean;
|
|
2243
1067
|
};
|
|
2244
1068
|
PrivateImageListResponseBody: {
|
|
2245
|
-
items: components["schemas"]["PrivateImageResource"][]
|
|
2246
|
-
|
|
2247
|
-
|
|
1069
|
+
items: components["schemas"]["PrivateImageResource"][];
|
|
1070
|
+
/** Format: int64 */
|
|
1071
|
+
page: number;
|
|
1072
|
+
/** Format: int64 */
|
|
1073
|
+
page_size: number;
|
|
1074
|
+
/** Format: int64 */
|
|
1075
|
+
total_count?: number;
|
|
1076
|
+
};
|
|
1077
|
+
CreatePrivateImageRequestBody: {
|
|
2248
1078
|
/**
|
|
2249
1079
|
* Format: uuid
|
|
2250
1080
|
* @description Captured from the system disk of this instance; data disks are not included
|
|
@@ -2255,187 +1085,142 @@ export interface components {
|
|
|
2255
1085
|
RenamePrivateImageRequestBody: {
|
|
2256
1086
|
name: string;
|
|
2257
1087
|
};
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
id: string;
|
|
2265
|
-
name: string;
|
|
2266
|
-
region_code: string;
|
|
2267
|
-
/** @enum {string} */
|
|
2268
|
-
status: "available" | "error";
|
|
2269
|
-
/** Format: date-time */
|
|
2270
|
-
updated_at: string;
|
|
2271
|
-
};
|
|
2272
|
-
PrivateNetworkListResponseBody: {
|
|
2273
|
-
items: components["schemas"]["PrivateNetworkResource"][] | null;
|
|
2274
|
-
};
|
|
2275
|
-
CreatePrivateNetworkRequestBody: {
|
|
2276
|
-
/** @description Must be an RFC 1918 private CIDR with a prefix length between /8 and /24, for example `10.0.0.0/16` */
|
|
2277
|
-
cidr: string;
|
|
2278
|
-
name: string;
|
|
2279
|
-
region_code: string;
|
|
1088
|
+
/** @description Reuse the same key for retries of the same purchase. Reusing it with a different request fails. Billing selects contract pricing, applies eligible grants and promotions, and owns payment challenges and expiry. */
|
|
1089
|
+
OrderOptions: {
|
|
1090
|
+
idempotency_key: string;
|
|
1091
|
+
payment_plan?: components["schemas"]["PaymentPlan"];
|
|
1092
|
+
expected_amount?: string;
|
|
1093
|
+
redemption_code?: string;
|
|
2280
1094
|
};
|
|
2281
|
-
|
|
2282
|
-
|
|
1095
|
+
/** @description Specify exactly one of id or lookup_key. A lookup key is scoped to the product of the resource service. */
|
|
1096
|
+
CatalogReference: {
|
|
1097
|
+
/** Format: uuid */
|
|
1098
|
+
id?: string;
|
|
1099
|
+
lookup_key?: string;
|
|
2283
1100
|
};
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
1101
|
+
/**
|
|
1102
|
+
* @description A billable order has been created. Read it from the billing API to find out what is
|
|
1103
|
+
* owed and whether payment is still required.
|
|
1104
|
+
*
|
|
1105
|
+
* Only the identifier is returned. Amounts and state are not repeated here; the order
|
|
1106
|
+
* itself is the single source for them.
|
|
1107
|
+
*/
|
|
1108
|
+
PlacedOrder: {
|
|
2288
1109
|
/**
|
|
2289
|
-
*
|
|
2290
|
-
* @
|
|
1110
|
+
* Format: uuid
|
|
1111
|
+
* @description Identifies the order. Use it to read the order and, where payment is required,
|
|
1112
|
+
* to pay it.
|
|
1113
|
+
*
|
|
1114
|
+
* An order is created even when nothing is owed, such as a plan with no charge or one
|
|
1115
|
+
* covered entirely by granted credit. Such an order is already settled, and no
|
|
1116
|
+
* payment step applies.
|
|
2291
1117
|
*/
|
|
2292
|
-
|
|
1118
|
+
order_id: string;
|
|
2293
1119
|
};
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
created_at: string;
|
|
2297
|
-
description: string;
|
|
2298
|
-
destination: string;
|
|
1120
|
+
/** @description The consumer’s desired dependency. usage_id identifies the corresponding claim in the owning service; actual attachment state is read from that service. */
|
|
1121
|
+
ResourceDependency: {
|
|
2299
1122
|
/** Format: uuid */
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
1123
|
+
usage_id: string;
|
|
1124
|
+
resource: components["schemas"]["ResourceReference"];
|
|
1125
|
+
purpose: string;
|
|
1126
|
+
/** @enum {string} */
|
|
1127
|
+
desired_state: "present" | "absent";
|
|
1128
|
+
delete_with_consumer: boolean;
|
|
1129
|
+
/** Format: int64 */
|
|
1130
|
+
generation: number;
|
|
2305
1131
|
};
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
/**
|
|
2309
|
-
|
|
2310
|
-
/**
|
|
2311
|
-
|
|
1132
|
+
ResourceDependencyList: {
|
|
1133
|
+
items: components["schemas"]["ResourceDependency"][];
|
|
1134
|
+
/** Format: int64 */
|
|
1135
|
+
page: number;
|
|
1136
|
+
/** Format: int64 */
|
|
1137
|
+
page_size: number;
|
|
1138
|
+
/** Format: int64 */
|
|
1139
|
+
total_count?: number;
|
|
2312
1140
|
};
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
gateway_ip: string | null;
|
|
2316
|
-
/** Format: uuid */
|
|
2317
|
-
id: string;
|
|
2318
|
-
/**
|
|
2319
|
-
* Format: int64
|
|
2320
|
-
* @enum {integer}
|
|
2321
|
-
*/
|
|
2322
|
-
ip_version: 4 | 6;
|
|
2323
|
-
name: string;
|
|
1141
|
+
/** @description Storage creates and bills this system disk as a separate order line. Required when booting from an image; mutually exclusive with boot_disk_id. The selected disk type must be attachable in the instance location. */
|
|
1142
|
+
NewBootDisk: {
|
|
2324
1143
|
/** Format: uuid */
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
/**
|
|
2337
|
-
|
|
1144
|
+
disk_type_id: string;
|
|
1145
|
+
/** Format: int64 */
|
|
1146
|
+
size_gb: number;
|
|
1147
|
+
price: components["schemas"]["CatalogReference"];
|
|
1148
|
+
/** @default true */
|
|
1149
|
+
delete_with_instance?: boolean;
|
|
1150
|
+
};
|
|
1151
|
+
/** @description Fabric creates an address and bandwidth subscription in the same purchase. Mutually exclusive with floating_ip_id. Fabric owns the address and its retention policy. */
|
|
1152
|
+
NewFloatingIP: {
|
|
1153
|
+
price: components["schemas"]["CatalogReference"];
|
|
1154
|
+
bandwidth_price: components["schemas"]["CatalogReference"];
|
|
1155
|
+
/** Format: int64 */
|
|
1156
|
+
bandwidth_mbps: number;
|
|
2338
1157
|
};
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
created_at: string;
|
|
2342
|
-
description: string;
|
|
1158
|
+
/** @description An independent restriction on use. Removing one restriction never removes another source’s restriction or changes the user’s desired power state. */
|
|
1159
|
+
InstanceRestriction: {
|
|
2343
1160
|
/** Format: uuid */
|
|
2344
1161
|
id: string;
|
|
2345
|
-
/** @
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
private_network_id: string;
|
|
2350
|
-
};
|
|
2351
|
-
SecurityGroupListResponseBody: {
|
|
2352
|
-
items: components["schemas"]["SecurityGroupResource"][] | null;
|
|
2353
|
-
};
|
|
2354
|
-
CreateSecurityGroupRequestBody: {
|
|
2355
|
-
description?: string;
|
|
2356
|
-
name: string;
|
|
2357
|
-
/** Format: uuid */
|
|
2358
|
-
private_network_id: string;
|
|
2359
|
-
};
|
|
2360
|
-
SecurityRuleResource: {
|
|
1162
|
+
/** @enum {string} */
|
|
1163
|
+
source: "billing" | "iam" | "operator";
|
|
1164
|
+
source_id: string;
|
|
1165
|
+
reason_code: string;
|
|
2361
1166
|
/** Format: date-time */
|
|
2362
1167
|
created_at: string;
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
/** @enum {string} */
|
|
2367
|
-
ethertype: "IPv4" | "IPv6";
|
|
1168
|
+
};
|
|
1169
|
+
/** @description The durable action currently being processed or most recently completed. Success requires observed completion; accepting a provider command is not success. */
|
|
1170
|
+
InstanceOperation: {
|
|
2368
1171
|
/** Format: uuid */
|
|
2369
1172
|
id: string;
|
|
2370
|
-
/**
|
|
2371
|
-
* Format: int64
|
|
2372
|
-
* @description Denotes the ICMP code rather than a port when the protocol is ICMP
|
|
2373
|
-
*/
|
|
2374
|
-
port_range_max: number | null;
|
|
2375
|
-
/**
|
|
2376
|
-
* Format: int64
|
|
2377
|
-
* @description Denotes the ICMP type rather than a port when the protocol is ICMP
|
|
2378
|
-
*/
|
|
2379
|
-
port_range_min: number | null;
|
|
2380
|
-
protocol: string | null;
|
|
2381
|
-
remote_ip_prefix: string | null;
|
|
2382
|
-
};
|
|
2383
|
-
SecurityRuleListResponseBody: {
|
|
2384
|
-
items: components["schemas"]["SecurityRuleResource"][] | null;
|
|
2385
|
-
};
|
|
2386
|
-
CreateSecurityRuleRequestBody: {
|
|
2387
|
-
description?: string;
|
|
2388
1173
|
/** @enum {string} */
|
|
2389
|
-
|
|
1174
|
+
type: "create" | "start" | "stop" | "reboot" | "rebuild" | "resize" | "confirm_resize" | "revert_resize" | "attach_disk" | "detach_disk" | "attach_port" | "detach_port" | "delete";
|
|
2390
1175
|
/** @enum {string} */
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
port_range_max?: number | null;
|
|
2397
|
-
/**
|
|
2398
|
-
* Format: int64
|
|
2399
|
-
* @description Denotes the ICMP type (0–255) rather than a port when the protocol is ICMP
|
|
2400
|
-
*/
|
|
2401
|
-
port_range_min?: number | null;
|
|
2402
|
-
/** @description For example `tcp`, `udp`, `icmp` or `ipv6-icmp`. All protocols when omitted */
|
|
2403
|
-
protocol?: string;
|
|
2404
|
-
/** @description Equivalent to `0.0.0.0/0` or `::/0` when omitted */
|
|
2405
|
-
remote_ip_prefix?: string;
|
|
2406
|
-
};
|
|
2407
|
-
SnapshotResource: {
|
|
2408
|
-
/** @description A disk restored from this snapshot must reside in this availability zone */
|
|
2409
|
-
availability_zone: string;
|
|
1176
|
+
state: "pending" | "running" | "waiting" | "succeeded" | "failed";
|
|
1177
|
+
phase: string;
|
|
1178
|
+
/** Format: int64 */
|
|
1179
|
+
generation: number;
|
|
1180
|
+
failure_code?: string;
|
|
2410
1181
|
/** Format: date-time */
|
|
2411
1182
|
created_at: string;
|
|
2412
|
-
/** Format:
|
|
2413
|
-
|
|
1183
|
+
/** Format: date-time */
|
|
1184
|
+
updated_at: string;
|
|
1185
|
+
};
|
|
1186
|
+
PowerRequest: {
|
|
1187
|
+
idempotency_key: string;
|
|
1188
|
+
/** Format: int64 */
|
|
1189
|
+
expected_generation?: number;
|
|
1190
|
+
};
|
|
1191
|
+
/** @description An authoritative claim held by the resource owner. Reserved, active and releasing claims all prevent idle reclamation. Stopped consumers retain their claims. Released claims remain readable. */
|
|
1192
|
+
ResourceUsage: {
|
|
2414
1193
|
/** Format: uuid */
|
|
2415
1194
|
id: string;
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
*/
|
|
2422
|
-
size_gb: number;
|
|
1195
|
+
/** Format: uuid */
|
|
1196
|
+
project_id: string;
|
|
1197
|
+
resource: components["schemas"]["ResourceReference"];
|
|
1198
|
+
consumer: components["schemas"]["ResourceReference"];
|
|
1199
|
+
purpose: string;
|
|
2423
1200
|
/** @enum {string} */
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
items: components["schemas"]["SnapshotResource"][] | null;
|
|
2428
|
-
};
|
|
2429
|
-
CreateSnapshotRequestBody: {
|
|
1201
|
+
state: "reserved" | "active" | "releasing" | "released";
|
|
1202
|
+
/** Format: int64 */
|
|
1203
|
+
generation: number;
|
|
2430
1204
|
/** Format: uuid */
|
|
2431
|
-
|
|
2432
|
-
|
|
1205
|
+
operation_id: string;
|
|
1206
|
+
/** Format: date-time */
|
|
1207
|
+
created_at: string;
|
|
1208
|
+
/** Format: date-time */
|
|
1209
|
+
updated_at: string;
|
|
1210
|
+
/** Format: date-time */
|
|
1211
|
+
released_at?: string;
|
|
2433
1212
|
};
|
|
2434
|
-
|
|
2435
|
-
|
|
1213
|
+
/** @description Requested funding split. This does not select a card or payment provider; complete payment through Billing. */
|
|
1214
|
+
PaymentPlan: {
|
|
1215
|
+
balance_amount: string;
|
|
1216
|
+
provider_amount: string;
|
|
2436
1217
|
};
|
|
2437
|
-
|
|
2438
|
-
|
|
1218
|
+
/** @description A resource identified within its owning service. The project is taken from the containing usage or request. */
|
|
1219
|
+
ResourceReference: {
|
|
1220
|
+
service: string;
|
|
1221
|
+
type: string;
|
|
1222
|
+
/** Format: uuid */
|
|
1223
|
+
id: string;
|
|
2439
1224
|
};
|
|
2440
1225
|
};
|
|
2441
1226
|
responses: never;
|
|
@@ -2446,11 +1231,12 @@ export interface components {
|
|
|
2446
1231
|
}
|
|
2447
1232
|
export type $defs = Record<string, never>;
|
|
2448
1233
|
export interface operations {
|
|
2449
|
-
"list-
|
|
1234
|
+
"list-images": {
|
|
2450
1235
|
parameters: {
|
|
2451
|
-
query
|
|
2452
|
-
|
|
2453
|
-
|
|
1236
|
+
query: {
|
|
1237
|
+
region_id: string;
|
|
1238
|
+
page?: number;
|
|
1239
|
+
page_size?: number;
|
|
2454
1240
|
};
|
|
2455
1241
|
header?: never;
|
|
2456
1242
|
path?: never;
|
|
@@ -2464,7 +1250,7 @@ export interface operations {
|
|
|
2464
1250
|
[name: string]: unknown;
|
|
2465
1251
|
};
|
|
2466
1252
|
content: {
|
|
2467
|
-
"application/json": components["schemas"]["
|
|
1253
|
+
"application/json": components["schemas"]["ImageListResponseBody"];
|
|
2468
1254
|
};
|
|
2469
1255
|
};
|
|
2470
1256
|
/** @description Error */
|
|
@@ -2478,46 +1264,15 @@ export interface operations {
|
|
|
2478
1264
|
};
|
|
2479
1265
|
};
|
|
2480
1266
|
};
|
|
2481
|
-
"
|
|
1267
|
+
"list-instance-types": {
|
|
2482
1268
|
parameters: {
|
|
2483
|
-
query
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
};
|
|
2488
|
-
requestBody: {
|
|
2489
|
-
content: {
|
|
2490
|
-
"application/json": components["schemas"]["CreateBackupRequestBody"];
|
|
2491
|
-
};
|
|
2492
|
-
};
|
|
2493
|
-
responses: {
|
|
2494
|
-
/** @description Created */
|
|
2495
|
-
201: {
|
|
2496
|
-
headers: {
|
|
2497
|
-
[name: string]: unknown;
|
|
2498
|
-
};
|
|
2499
|
-
content: {
|
|
2500
|
-
"application/json": components["schemas"]["BackupResource"];
|
|
2501
|
-
};
|
|
2502
|
-
};
|
|
2503
|
-
/** @description Error */
|
|
2504
|
-
default: {
|
|
2505
|
-
headers: {
|
|
2506
|
-
[name: string]: unknown;
|
|
2507
|
-
};
|
|
2508
|
-
content: {
|
|
2509
|
-
"application/json": components["schemas"]["Error"];
|
|
2510
|
-
};
|
|
1269
|
+
query: {
|
|
1270
|
+
region_id: string;
|
|
1271
|
+
page?: number;
|
|
1272
|
+
page_size?: number;
|
|
2511
1273
|
};
|
|
2512
|
-
};
|
|
2513
|
-
};
|
|
2514
|
-
"get-backup": {
|
|
2515
|
-
parameters: {
|
|
2516
|
-
query?: never;
|
|
2517
1274
|
header?: never;
|
|
2518
|
-
path
|
|
2519
|
-
backupId: string;
|
|
2520
|
-
};
|
|
1275
|
+
path?: never;
|
|
2521
1276
|
cookie?: never;
|
|
2522
1277
|
};
|
|
2523
1278
|
requestBody?: never;
|
|
@@ -2528,7 +1283,7 @@ export interface operations {
|
|
|
2528
1283
|
[name: string]: unknown;
|
|
2529
1284
|
};
|
|
2530
1285
|
content: {
|
|
2531
|
-
"application/json": components["schemas"]["
|
|
1286
|
+
"application/json": components["schemas"]["InstanceTypeListResponseBody"];
|
|
2532
1287
|
};
|
|
2533
1288
|
};
|
|
2534
1289
|
/** @description Error */
|
|
@@ -2542,49 +1297,19 @@ export interface operations {
|
|
|
2542
1297
|
};
|
|
2543
1298
|
};
|
|
2544
1299
|
};
|
|
2545
|
-
"
|
|
1300
|
+
"list-instances": {
|
|
2546
1301
|
parameters: {
|
|
2547
|
-
query?:
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
cookie?: never;
|
|
2553
|
-
};
|
|
2554
|
-
requestBody?: never;
|
|
2555
|
-
responses: {
|
|
2556
|
-
/** @description No Content */
|
|
2557
|
-
204: {
|
|
2558
|
-
headers: {
|
|
2559
|
-
[name: string]: unknown;
|
|
2560
|
-
};
|
|
2561
|
-
content?: never;
|
|
2562
|
-
};
|
|
2563
|
-
/** @description Error */
|
|
2564
|
-
default: {
|
|
2565
|
-
headers: {
|
|
2566
|
-
[name: string]: unknown;
|
|
2567
|
-
};
|
|
2568
|
-
content: {
|
|
2569
|
-
"application/json": components["schemas"]["Error"];
|
|
2570
|
-
};
|
|
1302
|
+
query?: {
|
|
1303
|
+
/** @description Only instances carrying this label, written as `key:value` — for example `env:prod`. Both halves are matched exactly */
|
|
1304
|
+
label?: string;
|
|
1305
|
+
page?: number;
|
|
1306
|
+
page_size?: number;
|
|
2571
1307
|
};
|
|
2572
|
-
};
|
|
2573
|
-
};
|
|
2574
|
-
"rename-backup": {
|
|
2575
|
-
parameters: {
|
|
2576
|
-
query?: never;
|
|
2577
1308
|
header?: never;
|
|
2578
|
-
path
|
|
2579
|
-
backupId: string;
|
|
2580
|
-
};
|
|
1309
|
+
path?: never;
|
|
2581
1310
|
cookie?: never;
|
|
2582
1311
|
};
|
|
2583
|
-
requestBody
|
|
2584
|
-
content: {
|
|
2585
|
-
"application/json": components["schemas"]["RenameBackupRequestBody"];
|
|
2586
|
-
};
|
|
2587
|
-
};
|
|
1312
|
+
requestBody?: never;
|
|
2588
1313
|
responses: {
|
|
2589
1314
|
/** @description OK */
|
|
2590
1315
|
200: {
|
|
@@ -2592,7 +1317,7 @@ export interface operations {
|
|
|
2592
1317
|
[name: string]: unknown;
|
|
2593
1318
|
};
|
|
2594
1319
|
content: {
|
|
2595
|
-
"application/json": components["schemas"]["
|
|
1320
|
+
"application/json": components["schemas"]["InstanceListResponseBody"];
|
|
2596
1321
|
};
|
|
2597
1322
|
};
|
|
2598
1323
|
/** @description Error */
|
|
@@ -2606,28 +1331,26 @@ export interface operations {
|
|
|
2606
1331
|
};
|
|
2607
1332
|
};
|
|
2608
1333
|
};
|
|
2609
|
-
"
|
|
1334
|
+
"launch-instance": {
|
|
2610
1335
|
parameters: {
|
|
2611
1336
|
query?: never;
|
|
2612
1337
|
header?: never;
|
|
2613
|
-
path
|
|
2614
|
-
backupId: string;
|
|
2615
|
-
};
|
|
1338
|
+
path?: never;
|
|
2616
1339
|
cookie?: never;
|
|
2617
1340
|
};
|
|
2618
1341
|
requestBody: {
|
|
2619
1342
|
content: {
|
|
2620
|
-
"application/json": components["schemas"]["
|
|
1343
|
+
"application/json": components["schemas"]["LaunchInstanceRequestBody"];
|
|
2621
1344
|
};
|
|
2622
1345
|
};
|
|
2623
1346
|
responses: {
|
|
2624
|
-
/** @description
|
|
2625
|
-
|
|
1347
|
+
/** @description Accepted */
|
|
1348
|
+
202: {
|
|
2626
1349
|
headers: {
|
|
2627
1350
|
[name: string]: unknown;
|
|
2628
1351
|
};
|
|
2629
1352
|
content: {
|
|
2630
|
-
"application/json": components["schemas"]["
|
|
1353
|
+
"application/json": components["schemas"]["LaunchInstanceResponseBody"];
|
|
2631
1354
|
};
|
|
2632
1355
|
};
|
|
2633
1356
|
/** @description Error */
|
|
@@ -2641,13 +1364,13 @@ export interface operations {
|
|
|
2641
1364
|
};
|
|
2642
1365
|
};
|
|
2643
1366
|
};
|
|
2644
|
-
"
|
|
1367
|
+
"get-instance": {
|
|
2645
1368
|
parameters: {
|
|
2646
|
-
query
|
|
2647
|
-
region_code: string;
|
|
2648
|
-
};
|
|
1369
|
+
query?: never;
|
|
2649
1370
|
header?: never;
|
|
2650
|
-
path
|
|
1371
|
+
path: {
|
|
1372
|
+
instanceId: string;
|
|
1373
|
+
};
|
|
2651
1374
|
cookie?: never;
|
|
2652
1375
|
};
|
|
2653
1376
|
requestBody?: never;
|
|
@@ -2658,7 +1381,7 @@ export interface operations {
|
|
|
2658
1381
|
[name: string]: unknown;
|
|
2659
1382
|
};
|
|
2660
1383
|
content: {
|
|
2661
|
-
"application/json": components["schemas"]["
|
|
1384
|
+
"application/json": components["schemas"]["InstanceResource"];
|
|
2662
1385
|
};
|
|
2663
1386
|
};
|
|
2664
1387
|
/** @description Error */
|
|
@@ -2672,25 +1395,23 @@ export interface operations {
|
|
|
2672
1395
|
};
|
|
2673
1396
|
};
|
|
2674
1397
|
};
|
|
2675
|
-
"
|
|
1398
|
+
"delete-instance": {
|
|
2676
1399
|
parameters: {
|
|
2677
1400
|
query?: never;
|
|
2678
1401
|
header?: never;
|
|
2679
1402
|
path: {
|
|
2680
|
-
|
|
1403
|
+
instanceId: string;
|
|
2681
1404
|
};
|
|
2682
1405
|
cookie?: never;
|
|
2683
1406
|
};
|
|
2684
1407
|
requestBody?: never;
|
|
2685
1408
|
responses: {
|
|
2686
|
-
/** @description
|
|
2687
|
-
|
|
1409
|
+
/** @description No Content */
|
|
1410
|
+
204: {
|
|
2688
1411
|
headers: {
|
|
2689
1412
|
[name: string]: unknown;
|
|
2690
1413
|
};
|
|
2691
|
-
content
|
|
2692
|
-
"application/json": components["schemas"]["DiskTypeResource"];
|
|
2693
|
-
};
|
|
1414
|
+
content?: never;
|
|
2694
1415
|
};
|
|
2695
1416
|
/** @description Error */
|
|
2696
1417
|
default: {
|
|
@@ -2703,47 +1424,20 @@ export interface operations {
|
|
|
2703
1424
|
};
|
|
2704
1425
|
};
|
|
2705
1426
|
};
|
|
2706
|
-
"
|
|
1427
|
+
"rename-instance": {
|
|
2707
1428
|
parameters: {
|
|
2708
|
-
query
|
|
2709
|
-
region_code: string;
|
|
2710
|
-
};
|
|
1429
|
+
query?: never;
|
|
2711
1430
|
header?: never;
|
|
2712
|
-
path
|
|
2713
|
-
|
|
2714
|
-
};
|
|
2715
|
-
requestBody?: never;
|
|
2716
|
-
responses: {
|
|
2717
|
-
/** @description OK */
|
|
2718
|
-
200: {
|
|
2719
|
-
headers: {
|
|
2720
|
-
[name: string]: unknown;
|
|
2721
|
-
};
|
|
2722
|
-
content: {
|
|
2723
|
-
"application/json": components["schemas"]["ImageListResponseBody"];
|
|
2724
|
-
};
|
|
2725
|
-
};
|
|
2726
|
-
/** @description Error */
|
|
2727
|
-
default: {
|
|
2728
|
-
headers: {
|
|
2729
|
-
[name: string]: unknown;
|
|
2730
|
-
};
|
|
2731
|
-
content: {
|
|
2732
|
-
"application/json": components["schemas"]["Error"];
|
|
2733
|
-
};
|
|
1431
|
+
path: {
|
|
1432
|
+
instanceId: string;
|
|
2734
1433
|
};
|
|
1434
|
+
cookie?: never;
|
|
2735
1435
|
};
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
query: {
|
|
2740
|
-
region_code: string;
|
|
1436
|
+
requestBody: {
|
|
1437
|
+
content: {
|
|
1438
|
+
"application/json": components["schemas"]["RenameInstanceRequestBody"];
|
|
2741
1439
|
};
|
|
2742
|
-
header?: never;
|
|
2743
|
-
path?: never;
|
|
2744
|
-
cookie?: never;
|
|
2745
1440
|
};
|
|
2746
|
-
requestBody?: never;
|
|
2747
1441
|
responses: {
|
|
2748
1442
|
/** @description OK */
|
|
2749
1443
|
200: {
|
|
@@ -2751,7 +1445,7 @@ export interface operations {
|
|
|
2751
1445
|
[name: string]: unknown;
|
|
2752
1446
|
};
|
|
2753
1447
|
content: {
|
|
2754
|
-
"application/json": components["schemas"]["
|
|
1448
|
+
"application/json": components["schemas"]["InstanceResource"];
|
|
2755
1449
|
};
|
|
2756
1450
|
};
|
|
2757
1451
|
/** @description Error */
|
|
@@ -2765,1768 +1459,28 @@ export interface operations {
|
|
|
2765
1459
|
};
|
|
2766
1460
|
};
|
|
2767
1461
|
};
|
|
2768
|
-
"
|
|
2769
|
-
parameters: {
|
|
2770
|
-
query?: never;
|
|
2771
|
-
header?: never;
|
|
2772
|
-
path?: never;
|
|
2773
|
-
cookie?: never;
|
|
2774
|
-
};
|
|
2775
|
-
requestBody?: never;
|
|
2776
|
-
responses: {
|
|
2777
|
-
/** @description OK */
|
|
2778
|
-
200: {
|
|
2779
|
-
headers: {
|
|
2780
|
-
[name: string]: unknown;
|
|
2781
|
-
};
|
|
2782
|
-
content: {
|
|
2783
|
-
"application/json": components["schemas"]["RegionListResponseBody"];
|
|
2784
|
-
};
|
|
2785
|
-
};
|
|
2786
|
-
/** @description Error */
|
|
2787
|
-
default: {
|
|
2788
|
-
headers: {
|
|
2789
|
-
[name: string]: unknown;
|
|
2790
|
-
};
|
|
2791
|
-
content: {
|
|
2792
|
-
"application/json": components["schemas"]["Error"];
|
|
2793
|
-
};
|
|
2794
|
-
};
|
|
2795
|
-
};
|
|
2796
|
-
};
|
|
2797
|
-
"list-availability-zones": {
|
|
2798
|
-
parameters: {
|
|
2799
|
-
query?: never;
|
|
2800
|
-
header?: never;
|
|
2801
|
-
path: {
|
|
2802
|
-
regionCode: string;
|
|
2803
|
-
};
|
|
2804
|
-
cookie?: never;
|
|
2805
|
-
};
|
|
2806
|
-
requestBody?: never;
|
|
2807
|
-
responses: {
|
|
2808
|
-
/** @description OK */
|
|
2809
|
-
200: {
|
|
2810
|
-
headers: {
|
|
2811
|
-
[name: string]: unknown;
|
|
2812
|
-
};
|
|
2813
|
-
content: {
|
|
2814
|
-
"application/json": components["schemas"]["ZoneListResponseBody"];
|
|
2815
|
-
};
|
|
2816
|
-
};
|
|
2817
|
-
/** @description Error */
|
|
2818
|
-
default: {
|
|
2819
|
-
headers: {
|
|
2820
|
-
[name: string]: unknown;
|
|
2821
|
-
};
|
|
2822
|
-
content: {
|
|
2823
|
-
"application/json": components["schemas"]["Error"];
|
|
2824
|
-
};
|
|
2825
|
-
};
|
|
2826
|
-
};
|
|
2827
|
-
};
|
|
2828
|
-
"list-disks": {
|
|
2829
|
-
parameters: {
|
|
2830
|
-
query?: {
|
|
2831
|
-
region_code?: string;
|
|
2832
|
-
/** @description Supplied together with `region_code` to filter attachable disks */
|
|
2833
|
-
availability_zone?: string;
|
|
2834
|
-
};
|
|
2835
|
-
header?: never;
|
|
2836
|
-
path?: never;
|
|
2837
|
-
cookie?: never;
|
|
2838
|
-
};
|
|
2839
|
-
requestBody?: never;
|
|
2840
|
-
responses: {
|
|
2841
|
-
/** @description OK */
|
|
2842
|
-
200: {
|
|
2843
|
-
headers: {
|
|
2844
|
-
[name: string]: unknown;
|
|
2845
|
-
};
|
|
2846
|
-
content: {
|
|
2847
|
-
"application/json": components["schemas"]["DiskListResponseBody"];
|
|
2848
|
-
};
|
|
2849
|
-
};
|
|
2850
|
-
/** @description Error */
|
|
2851
|
-
default: {
|
|
2852
|
-
headers: {
|
|
2853
|
-
[name: string]: unknown;
|
|
2854
|
-
};
|
|
2855
|
-
content: {
|
|
2856
|
-
"application/json": components["schemas"]["Error"];
|
|
2857
|
-
};
|
|
2858
|
-
};
|
|
2859
|
-
};
|
|
2860
|
-
};
|
|
2861
|
-
"create-disk": {
|
|
2862
|
-
parameters: {
|
|
2863
|
-
query?: never;
|
|
2864
|
-
header?: never;
|
|
2865
|
-
path?: never;
|
|
2866
|
-
cookie?: never;
|
|
2867
|
-
};
|
|
2868
|
-
requestBody: {
|
|
2869
|
-
content: {
|
|
2870
|
-
"application/json": components["schemas"]["CreateDiskRequestBody"];
|
|
2871
|
-
};
|
|
2872
|
-
};
|
|
2873
|
-
responses: {
|
|
2874
|
-
/** @description Created */
|
|
2875
|
-
201: {
|
|
2876
|
-
headers: {
|
|
2877
|
-
[name: string]: unknown;
|
|
2878
|
-
};
|
|
2879
|
-
content: {
|
|
2880
|
-
"application/json": components["schemas"]["DiskResource"];
|
|
2881
|
-
};
|
|
2882
|
-
};
|
|
2883
|
-
/**
|
|
2884
|
-
* @description Payment required: **nothing was created.**
|
|
2885
|
-
*
|
|
2886
|
-
* Returned when `payment_method` is `online`. `meta.checkout_url` is where to send the
|
|
2887
|
-
* customer; `meta.order_id` is the order waiting on it.
|
|
2888
|
-
*
|
|
2889
|
-
* ## Why this is a status and not a field on a 200
|
|
2890
|
-
*
|
|
2891
|
-
* A field on a success response is something a client can forget to read, and forgetting it
|
|
2892
|
-
* means treating "we created nothing and are waiting for money" as "created" — which looks
|
|
2893
|
-
* identical from the outside until the bill does not add up. A 402 fails loudly in any
|
|
2894
|
-
* client that handles errors at all.
|
|
2895
|
-
*
|
|
2896
|
-
* ## What happens after they pay
|
|
2897
|
-
*
|
|
2898
|
-
* The money lands in the balance and the order is settled from it. The resource is **not**
|
|
2899
|
-
* created automatically: placing it again is the customer's move, because between paying
|
|
2900
|
-
* and coming back they may have changed their mind. The balance is theirs either way.
|
|
2901
|
-
*/
|
|
2902
|
-
402: {
|
|
2903
|
-
headers: {
|
|
2904
|
-
[name: string]: unknown;
|
|
2905
|
-
};
|
|
2906
|
-
content: {
|
|
2907
|
-
"application/json": components["schemas"]["Error"];
|
|
2908
|
-
};
|
|
2909
|
-
};
|
|
2910
|
-
/** @description Error */
|
|
2911
|
-
default: {
|
|
2912
|
-
headers: {
|
|
2913
|
-
[name: string]: unknown;
|
|
2914
|
-
};
|
|
2915
|
-
content: {
|
|
2916
|
-
"application/json": components["schemas"]["Error"];
|
|
2917
|
-
};
|
|
2918
|
-
};
|
|
2919
|
-
};
|
|
2920
|
-
};
|
|
2921
|
-
"get-disk": {
|
|
2922
|
-
parameters: {
|
|
2923
|
-
query?: never;
|
|
2924
|
-
header?: never;
|
|
2925
|
-
path: {
|
|
2926
|
-
diskId: string;
|
|
2927
|
-
};
|
|
2928
|
-
cookie?: never;
|
|
2929
|
-
};
|
|
2930
|
-
requestBody?: never;
|
|
2931
|
-
responses: {
|
|
2932
|
-
/** @description OK */
|
|
2933
|
-
200: {
|
|
2934
|
-
headers: {
|
|
2935
|
-
[name: string]: unknown;
|
|
2936
|
-
};
|
|
2937
|
-
content: {
|
|
2938
|
-
"application/json": components["schemas"]["DiskResource"];
|
|
2939
|
-
};
|
|
2940
|
-
};
|
|
2941
|
-
/** @description Error */
|
|
2942
|
-
default: {
|
|
2943
|
-
headers: {
|
|
2944
|
-
[name: string]: unknown;
|
|
2945
|
-
};
|
|
2946
|
-
content: {
|
|
2947
|
-
"application/json": components["schemas"]["Error"];
|
|
2948
|
-
};
|
|
2949
|
-
};
|
|
2950
|
-
};
|
|
2951
|
-
};
|
|
2952
|
-
"delete-disk": {
|
|
2953
|
-
parameters: {
|
|
2954
|
-
query?: never;
|
|
2955
|
-
header?: never;
|
|
2956
|
-
path: {
|
|
2957
|
-
diskId: string;
|
|
2958
|
-
};
|
|
2959
|
-
cookie?: never;
|
|
2960
|
-
};
|
|
2961
|
-
requestBody?: never;
|
|
2962
|
-
responses: {
|
|
2963
|
-
/** @description No Content */
|
|
2964
|
-
204: {
|
|
2965
|
-
headers: {
|
|
2966
|
-
[name: string]: unknown;
|
|
2967
|
-
};
|
|
2968
|
-
content?: never;
|
|
2969
|
-
};
|
|
2970
|
-
/** @description Error */
|
|
2971
|
-
default: {
|
|
2972
|
-
headers: {
|
|
2973
|
-
[name: string]: unknown;
|
|
2974
|
-
};
|
|
2975
|
-
content: {
|
|
2976
|
-
"application/json": components["schemas"]["Error"];
|
|
2977
|
-
};
|
|
2978
|
-
};
|
|
2979
|
-
};
|
|
2980
|
-
};
|
|
2981
|
-
"rename-disk": {
|
|
2982
|
-
parameters: {
|
|
2983
|
-
query?: never;
|
|
2984
|
-
header?: never;
|
|
2985
|
-
path: {
|
|
2986
|
-
diskId: string;
|
|
2987
|
-
};
|
|
2988
|
-
cookie?: never;
|
|
2989
|
-
};
|
|
2990
|
-
requestBody: {
|
|
2991
|
-
content: {
|
|
2992
|
-
"application/json": components["schemas"]["RenameDiskRequestBody"];
|
|
2993
|
-
};
|
|
2994
|
-
};
|
|
2995
|
-
responses: {
|
|
2996
|
-
/** @description OK */
|
|
2997
|
-
200: {
|
|
2998
|
-
headers: {
|
|
2999
|
-
[name: string]: unknown;
|
|
3000
|
-
};
|
|
3001
|
-
content: {
|
|
3002
|
-
"application/json": components["schemas"]["DiskResource"];
|
|
3003
|
-
};
|
|
3004
|
-
};
|
|
3005
|
-
/** @description Error */
|
|
3006
|
-
default: {
|
|
3007
|
-
headers: {
|
|
3008
|
-
[name: string]: unknown;
|
|
3009
|
-
};
|
|
3010
|
-
content: {
|
|
3011
|
-
"application/json": components["schemas"]["Error"];
|
|
3012
|
-
};
|
|
3013
|
-
};
|
|
3014
|
-
};
|
|
3015
|
-
};
|
|
3016
|
-
"resize-disk": {
|
|
3017
|
-
parameters: {
|
|
3018
|
-
query?: never;
|
|
3019
|
-
header?: never;
|
|
3020
|
-
path: {
|
|
3021
|
-
diskId: string;
|
|
3022
|
-
};
|
|
3023
|
-
cookie?: never;
|
|
3024
|
-
};
|
|
3025
|
-
requestBody: {
|
|
3026
|
-
content: {
|
|
3027
|
-
"application/json": components["schemas"]["ResizeDiskRequestBody"];
|
|
3028
|
-
};
|
|
3029
|
-
};
|
|
3030
|
-
responses: {
|
|
3031
|
-
/** @description OK */
|
|
3032
|
-
200: {
|
|
3033
|
-
headers: {
|
|
3034
|
-
[name: string]: unknown;
|
|
3035
|
-
};
|
|
3036
|
-
content: {
|
|
3037
|
-
"application/json": components["schemas"]["DiskResource"];
|
|
3038
|
-
};
|
|
3039
|
-
};
|
|
3040
|
-
/** @description Error */
|
|
3041
|
-
default: {
|
|
3042
|
-
headers: {
|
|
3043
|
-
[name: string]: unknown;
|
|
3044
|
-
};
|
|
3045
|
-
content: {
|
|
3046
|
-
"application/json": components["schemas"]["Error"];
|
|
3047
|
-
};
|
|
3048
|
-
};
|
|
3049
|
-
};
|
|
3050
|
-
};
|
|
3051
|
-
"revert-disk": {
|
|
3052
|
-
parameters: {
|
|
3053
|
-
query?: never;
|
|
3054
|
-
header?: never;
|
|
3055
|
-
path: {
|
|
3056
|
-
diskId: string;
|
|
3057
|
-
};
|
|
3058
|
-
cookie?: never;
|
|
3059
|
-
};
|
|
3060
|
-
requestBody: {
|
|
3061
|
-
content: {
|
|
3062
|
-
"application/json": components["schemas"]["RevertDiskRequestBody"];
|
|
3063
|
-
};
|
|
3064
|
-
};
|
|
3065
|
-
responses: {
|
|
3066
|
-
/** @description OK */
|
|
3067
|
-
200: {
|
|
3068
|
-
headers: {
|
|
3069
|
-
[name: string]: unknown;
|
|
3070
|
-
};
|
|
3071
|
-
content: {
|
|
3072
|
-
"application/json": components["schemas"]["DiskResource"];
|
|
3073
|
-
};
|
|
3074
|
-
};
|
|
3075
|
-
/** @description Error */
|
|
3076
|
-
default: {
|
|
3077
|
-
headers: {
|
|
3078
|
-
[name: string]: unknown;
|
|
3079
|
-
};
|
|
3080
|
-
content: {
|
|
3081
|
-
"application/json": components["schemas"]["Error"];
|
|
3082
|
-
};
|
|
3083
|
-
};
|
|
3084
|
-
};
|
|
3085
|
-
};
|
|
3086
|
-
"list-floating-ips": {
|
|
3087
|
-
parameters: {
|
|
3088
|
-
query?: never;
|
|
3089
|
-
header?: never;
|
|
3090
|
-
path?: never;
|
|
3091
|
-
cookie?: never;
|
|
3092
|
-
};
|
|
3093
|
-
requestBody?: never;
|
|
3094
|
-
responses: {
|
|
3095
|
-
/** @description OK */
|
|
3096
|
-
200: {
|
|
3097
|
-
headers: {
|
|
3098
|
-
[name: string]: unknown;
|
|
3099
|
-
};
|
|
3100
|
-
content: {
|
|
3101
|
-
"application/json": components["schemas"]["FloatingIPListResponseBody"];
|
|
3102
|
-
};
|
|
3103
|
-
};
|
|
3104
|
-
/** @description Error */
|
|
3105
|
-
default: {
|
|
3106
|
-
headers: {
|
|
3107
|
-
[name: string]: unknown;
|
|
3108
|
-
};
|
|
3109
|
-
content: {
|
|
3110
|
-
"application/json": components["schemas"]["Error"];
|
|
3111
|
-
};
|
|
3112
|
-
};
|
|
3113
|
-
};
|
|
3114
|
-
};
|
|
3115
|
-
"allocate-floating-ip": {
|
|
3116
|
-
parameters: {
|
|
3117
|
-
query?: never;
|
|
3118
|
-
header?: never;
|
|
3119
|
-
path?: never;
|
|
3120
|
-
cookie?: never;
|
|
3121
|
-
};
|
|
3122
|
-
requestBody: {
|
|
3123
|
-
content: {
|
|
3124
|
-
"application/json": components["schemas"]["AllocateFloatingIPRequestBody"];
|
|
3125
|
-
};
|
|
3126
|
-
};
|
|
3127
|
-
responses: {
|
|
3128
|
-
/** @description Created */
|
|
3129
|
-
201: {
|
|
3130
|
-
headers: {
|
|
3131
|
-
[name: string]: unknown;
|
|
3132
|
-
};
|
|
3133
|
-
content: {
|
|
3134
|
-
"application/json": components["schemas"]["FloatingIPResource"];
|
|
3135
|
-
};
|
|
3136
|
-
};
|
|
3137
|
-
/** @description Error */
|
|
3138
|
-
default: {
|
|
3139
|
-
headers: {
|
|
3140
|
-
[name: string]: unknown;
|
|
3141
|
-
};
|
|
3142
|
-
content: {
|
|
3143
|
-
"application/json": components["schemas"]["Error"];
|
|
3144
|
-
};
|
|
3145
|
-
};
|
|
3146
|
-
};
|
|
3147
|
-
};
|
|
3148
|
-
"get-floating-ip": {
|
|
3149
|
-
parameters: {
|
|
3150
|
-
query?: never;
|
|
3151
|
-
header?: never;
|
|
3152
|
-
path: {
|
|
3153
|
-
floatingIpId: string;
|
|
3154
|
-
};
|
|
3155
|
-
cookie?: never;
|
|
3156
|
-
};
|
|
3157
|
-
requestBody?: never;
|
|
3158
|
-
responses: {
|
|
3159
|
-
/** @description OK */
|
|
3160
|
-
200: {
|
|
3161
|
-
headers: {
|
|
3162
|
-
[name: string]: unknown;
|
|
3163
|
-
};
|
|
3164
|
-
content: {
|
|
3165
|
-
"application/json": components["schemas"]["FloatingIPResource"];
|
|
3166
|
-
};
|
|
3167
|
-
};
|
|
3168
|
-
/** @description Error */
|
|
3169
|
-
default: {
|
|
3170
|
-
headers: {
|
|
3171
|
-
[name: string]: unknown;
|
|
3172
|
-
};
|
|
3173
|
-
content: {
|
|
3174
|
-
"application/json": components["schemas"]["Error"];
|
|
3175
|
-
};
|
|
3176
|
-
};
|
|
3177
|
-
};
|
|
3178
|
-
};
|
|
3179
|
-
"release-floating-ip": {
|
|
3180
|
-
parameters: {
|
|
3181
|
-
query?: never;
|
|
3182
|
-
header?: never;
|
|
3183
|
-
path: {
|
|
3184
|
-
floatingIpId: string;
|
|
3185
|
-
};
|
|
3186
|
-
cookie?: never;
|
|
3187
|
-
};
|
|
3188
|
-
requestBody?: never;
|
|
3189
|
-
responses: {
|
|
3190
|
-
/** @description No Content */
|
|
3191
|
-
204: {
|
|
3192
|
-
headers: {
|
|
3193
|
-
[name: string]: unknown;
|
|
3194
|
-
};
|
|
3195
|
-
content?: never;
|
|
3196
|
-
};
|
|
3197
|
-
/** @description Error */
|
|
3198
|
-
default: {
|
|
3199
|
-
headers: {
|
|
3200
|
-
[name: string]: unknown;
|
|
3201
|
-
};
|
|
3202
|
-
content: {
|
|
3203
|
-
"application/json": components["schemas"]["Error"];
|
|
3204
|
-
};
|
|
3205
|
-
};
|
|
3206
|
-
};
|
|
3207
|
-
};
|
|
3208
|
-
"set-floating-ip-bandwidth": {
|
|
3209
|
-
parameters: {
|
|
3210
|
-
query?: never;
|
|
3211
|
-
header?: never;
|
|
3212
|
-
path: {
|
|
3213
|
-
floatingIpId: string;
|
|
3214
|
-
};
|
|
3215
|
-
cookie?: never;
|
|
3216
|
-
};
|
|
3217
|
-
requestBody: {
|
|
3218
|
-
content: {
|
|
3219
|
-
"application/json": components["schemas"]["SetBandwidthRequestBody"];
|
|
3220
|
-
};
|
|
3221
|
-
};
|
|
3222
|
-
responses: {
|
|
3223
|
-
/** @description OK */
|
|
3224
|
-
200: {
|
|
3225
|
-
headers: {
|
|
3226
|
-
[name: string]: unknown;
|
|
3227
|
-
};
|
|
3228
|
-
content: {
|
|
3229
|
-
"application/json": components["schemas"]["FloatingIPResource"];
|
|
3230
|
-
};
|
|
3231
|
-
};
|
|
3232
|
-
/** @description Error */
|
|
3233
|
-
default: {
|
|
3234
|
-
headers: {
|
|
3235
|
-
[name: string]: unknown;
|
|
3236
|
-
};
|
|
3237
|
-
content: {
|
|
3238
|
-
"application/json": components["schemas"]["Error"];
|
|
3239
|
-
};
|
|
3240
|
-
};
|
|
3241
|
-
};
|
|
3242
|
-
};
|
|
3243
|
-
"bind-floating-ip": {
|
|
3244
|
-
parameters: {
|
|
3245
|
-
query?: never;
|
|
3246
|
-
header?: never;
|
|
3247
|
-
path: {
|
|
3248
|
-
floatingIpId: string;
|
|
3249
|
-
};
|
|
3250
|
-
cookie?: never;
|
|
3251
|
-
};
|
|
3252
|
-
requestBody: {
|
|
3253
|
-
content: {
|
|
3254
|
-
"application/json": components["schemas"]["BindFloatingIPRequestBody"];
|
|
3255
|
-
};
|
|
3256
|
-
};
|
|
3257
|
-
responses: {
|
|
3258
|
-
/** @description OK */
|
|
3259
|
-
200: {
|
|
3260
|
-
headers: {
|
|
3261
|
-
[name: string]: unknown;
|
|
3262
|
-
};
|
|
3263
|
-
content: {
|
|
3264
|
-
"application/json": components["schemas"]["FloatingIPResource"];
|
|
3265
|
-
};
|
|
3266
|
-
};
|
|
3267
|
-
/** @description Error */
|
|
3268
|
-
default: {
|
|
3269
|
-
headers: {
|
|
3270
|
-
[name: string]: unknown;
|
|
3271
|
-
};
|
|
3272
|
-
content: {
|
|
3273
|
-
"application/json": components["schemas"]["Error"];
|
|
3274
|
-
};
|
|
3275
|
-
};
|
|
3276
|
-
};
|
|
3277
|
-
};
|
|
3278
|
-
"unbind-floating-ip": {
|
|
3279
|
-
parameters: {
|
|
3280
|
-
query?: never;
|
|
3281
|
-
header?: never;
|
|
3282
|
-
path: {
|
|
3283
|
-
floatingIpId: string;
|
|
3284
|
-
};
|
|
3285
|
-
cookie?: never;
|
|
3286
|
-
};
|
|
3287
|
-
requestBody?: never;
|
|
3288
|
-
responses: {
|
|
3289
|
-
/** @description OK */
|
|
3290
|
-
200: {
|
|
3291
|
-
headers: {
|
|
3292
|
-
[name: string]: unknown;
|
|
3293
|
-
};
|
|
3294
|
-
content: {
|
|
3295
|
-
"application/json": components["schemas"]["FloatingIPResource"];
|
|
3296
|
-
};
|
|
3297
|
-
};
|
|
3298
|
-
/** @description Error */
|
|
3299
|
-
default: {
|
|
3300
|
-
headers: {
|
|
3301
|
-
[name: string]: unknown;
|
|
3302
|
-
};
|
|
3303
|
-
content: {
|
|
3304
|
-
"application/json": components["schemas"]["Error"];
|
|
3305
|
-
};
|
|
3306
|
-
};
|
|
3307
|
-
};
|
|
3308
|
-
};
|
|
3309
|
-
"list-instances": {
|
|
3310
|
-
parameters: {
|
|
3311
|
-
query?: {
|
|
3312
|
-
/** @description Only instances carrying this label, written as `key:value` — for example `env:prod`. Both halves are matched exactly */
|
|
3313
|
-
label?: string;
|
|
3314
|
-
};
|
|
3315
|
-
header?: never;
|
|
3316
|
-
path?: never;
|
|
3317
|
-
cookie?: never;
|
|
3318
|
-
};
|
|
3319
|
-
requestBody?: never;
|
|
3320
|
-
responses: {
|
|
3321
|
-
/** @description OK */
|
|
3322
|
-
200: {
|
|
3323
|
-
headers: {
|
|
3324
|
-
[name: string]: unknown;
|
|
3325
|
-
};
|
|
3326
|
-
content: {
|
|
3327
|
-
"application/json": components["schemas"]["InstanceListResponseBody"];
|
|
3328
|
-
};
|
|
3329
|
-
};
|
|
3330
|
-
/** @description Error */
|
|
3331
|
-
default: {
|
|
3332
|
-
headers: {
|
|
3333
|
-
[name: string]: unknown;
|
|
3334
|
-
};
|
|
3335
|
-
content: {
|
|
3336
|
-
"application/json": components["schemas"]["Error"];
|
|
3337
|
-
};
|
|
3338
|
-
};
|
|
3339
|
-
};
|
|
3340
|
-
};
|
|
3341
|
-
"launch-instance": {
|
|
3342
|
-
parameters: {
|
|
3343
|
-
query?: never;
|
|
3344
|
-
header?: never;
|
|
3345
|
-
path?: never;
|
|
3346
|
-
cookie?: never;
|
|
3347
|
-
};
|
|
3348
|
-
requestBody: {
|
|
3349
|
-
content: {
|
|
3350
|
-
"application/json": components["schemas"]["LaunchInstanceRequestBody"];
|
|
3351
|
-
};
|
|
3352
|
-
};
|
|
3353
|
-
responses: {
|
|
3354
|
-
/** @description Created */
|
|
3355
|
-
201: {
|
|
3356
|
-
headers: {
|
|
3357
|
-
[name: string]: unknown;
|
|
3358
|
-
};
|
|
3359
|
-
content: {
|
|
3360
|
-
"application/json": components["schemas"]["LaunchInstanceResponseBody"];
|
|
3361
|
-
};
|
|
3362
|
-
};
|
|
3363
|
-
/**
|
|
3364
|
-
* @description Payment required: **nothing was created.**
|
|
3365
|
-
*
|
|
3366
|
-
* Returned when `payment_method` is `online`. `meta.checkout_url` is where to send the
|
|
3367
|
-
* customer; `meta.order_id` is the order waiting on it.
|
|
3368
|
-
*
|
|
3369
|
-
* ## Why this is a status and not a field on a 200
|
|
3370
|
-
*
|
|
3371
|
-
* A field on a success response is something a client can forget to read, and forgetting it
|
|
3372
|
-
* means treating "we created nothing and are waiting for money" as "created" — which looks
|
|
3373
|
-
* identical from the outside until the bill does not add up. A 402 fails loudly in any
|
|
3374
|
-
* client that handles errors at all.
|
|
3375
|
-
*
|
|
3376
|
-
* ## What happens after they pay
|
|
3377
|
-
*
|
|
3378
|
-
* The money lands in the balance and the order is settled from it. The resource is **not**
|
|
3379
|
-
* created automatically: placing it again is the customer's move, because between paying
|
|
3380
|
-
* and coming back they may have changed their mind. The balance is theirs either way.
|
|
3381
|
-
*/
|
|
3382
|
-
402: {
|
|
3383
|
-
headers: {
|
|
3384
|
-
[name: string]: unknown;
|
|
3385
|
-
};
|
|
3386
|
-
content: {
|
|
3387
|
-
"application/json": components["schemas"]["Error"];
|
|
3388
|
-
};
|
|
3389
|
-
};
|
|
3390
|
-
/** @description Error */
|
|
3391
|
-
default: {
|
|
3392
|
-
headers: {
|
|
3393
|
-
[name: string]: unknown;
|
|
3394
|
-
};
|
|
3395
|
-
content: {
|
|
3396
|
-
"application/json": components["schemas"]["Error"];
|
|
3397
|
-
};
|
|
3398
|
-
};
|
|
3399
|
-
};
|
|
3400
|
-
};
|
|
3401
|
-
"get-instance": {
|
|
3402
|
-
parameters: {
|
|
3403
|
-
query?: never;
|
|
3404
|
-
header?: never;
|
|
3405
|
-
path: {
|
|
3406
|
-
instanceId: string;
|
|
3407
|
-
};
|
|
3408
|
-
cookie?: never;
|
|
3409
|
-
};
|
|
3410
|
-
requestBody?: never;
|
|
3411
|
-
responses: {
|
|
3412
|
-
/** @description OK */
|
|
3413
|
-
200: {
|
|
3414
|
-
headers: {
|
|
3415
|
-
[name: string]: unknown;
|
|
3416
|
-
};
|
|
3417
|
-
content: {
|
|
3418
|
-
"application/json": components["schemas"]["InstanceResource"];
|
|
3419
|
-
};
|
|
3420
|
-
};
|
|
3421
|
-
/** @description Error */
|
|
3422
|
-
default: {
|
|
3423
|
-
headers: {
|
|
3424
|
-
[name: string]: unknown;
|
|
3425
|
-
};
|
|
3426
|
-
content: {
|
|
3427
|
-
"application/json": components["schemas"]["Error"];
|
|
3428
|
-
};
|
|
3429
|
-
};
|
|
3430
|
-
};
|
|
3431
|
-
};
|
|
3432
|
-
"delete-instance": {
|
|
3433
|
-
parameters: {
|
|
3434
|
-
query?: never;
|
|
3435
|
-
header?: never;
|
|
3436
|
-
path: {
|
|
3437
|
-
instanceId: string;
|
|
3438
|
-
};
|
|
3439
|
-
cookie?: never;
|
|
3440
|
-
};
|
|
3441
|
-
requestBody?: never;
|
|
3442
|
-
responses: {
|
|
3443
|
-
/** @description No Content */
|
|
3444
|
-
204: {
|
|
3445
|
-
headers: {
|
|
3446
|
-
[name: string]: unknown;
|
|
3447
|
-
};
|
|
3448
|
-
content?: never;
|
|
3449
|
-
};
|
|
3450
|
-
/** @description Error */
|
|
3451
|
-
default: {
|
|
3452
|
-
headers: {
|
|
3453
|
-
[name: string]: unknown;
|
|
3454
|
-
};
|
|
3455
|
-
content: {
|
|
3456
|
-
"application/json": components["schemas"]["Error"];
|
|
3457
|
-
};
|
|
3458
|
-
};
|
|
3459
|
-
};
|
|
3460
|
-
};
|
|
3461
|
-
"rename-instance": {
|
|
3462
|
-
parameters: {
|
|
3463
|
-
query?: never;
|
|
3464
|
-
header?: never;
|
|
3465
|
-
path: {
|
|
3466
|
-
instanceId: string;
|
|
3467
|
-
};
|
|
3468
|
-
cookie?: never;
|
|
3469
|
-
};
|
|
3470
|
-
requestBody: {
|
|
3471
|
-
content: {
|
|
3472
|
-
"application/json": components["schemas"]["RenameInstanceRequestBody"];
|
|
3473
|
-
};
|
|
3474
|
-
};
|
|
3475
|
-
responses: {
|
|
3476
|
-
/** @description OK */
|
|
3477
|
-
200: {
|
|
3478
|
-
headers: {
|
|
3479
|
-
[name: string]: unknown;
|
|
3480
|
-
};
|
|
3481
|
-
content: {
|
|
3482
|
-
"application/json": components["schemas"]["InstanceResource"];
|
|
3483
|
-
};
|
|
3484
|
-
};
|
|
3485
|
-
/** @description Error */
|
|
3486
|
-
default: {
|
|
3487
|
-
headers: {
|
|
3488
|
-
[name: string]: unknown;
|
|
3489
|
-
};
|
|
3490
|
-
content: {
|
|
3491
|
-
"application/json": components["schemas"]["Error"];
|
|
3492
|
-
};
|
|
3493
|
-
};
|
|
3494
|
-
};
|
|
3495
|
-
};
|
|
3496
|
-
"run-instance-command": {
|
|
3497
|
-
parameters: {
|
|
3498
|
-
query?: never;
|
|
3499
|
-
header?: never;
|
|
3500
|
-
path: {
|
|
3501
|
-
instanceId: string;
|
|
3502
|
-
};
|
|
3503
|
-
cookie?: never;
|
|
3504
|
-
};
|
|
3505
|
-
requestBody: {
|
|
3506
|
-
content: {
|
|
3507
|
-
"application/json": components["schemas"]["RunCommandRequestBody"];
|
|
3508
|
-
};
|
|
3509
|
-
};
|
|
3510
|
-
responses: {
|
|
3511
|
-
/** @description OK */
|
|
3512
|
-
200: {
|
|
3513
|
-
headers: {
|
|
3514
|
-
[name: string]: unknown;
|
|
3515
|
-
};
|
|
3516
|
-
content: {
|
|
3517
|
-
"application/json": components["schemas"]["CommandResultResponseBody"];
|
|
3518
|
-
};
|
|
3519
|
-
};
|
|
3520
|
-
/** @description Error */
|
|
3521
|
-
default: {
|
|
3522
|
-
headers: {
|
|
3523
|
-
[name: string]: unknown;
|
|
3524
|
-
};
|
|
3525
|
-
content: {
|
|
3526
|
-
"application/json": components["schemas"]["Error"];
|
|
3527
|
-
};
|
|
3528
|
-
};
|
|
3529
|
-
};
|
|
3530
|
-
};
|
|
3531
|
-
"open-instance-console": {
|
|
3532
|
-
parameters: {
|
|
3533
|
-
query?: never;
|
|
3534
|
-
header?: never;
|
|
3535
|
-
path: {
|
|
3536
|
-
instanceId: string;
|
|
3537
|
-
};
|
|
3538
|
-
cookie?: never;
|
|
3539
|
-
};
|
|
3540
|
-
requestBody?: never;
|
|
3541
|
-
responses: {
|
|
3542
|
-
/** @description OK */
|
|
3543
|
-
200: {
|
|
3544
|
-
headers: {
|
|
3545
|
-
[name: string]: unknown;
|
|
3546
|
-
};
|
|
3547
|
-
content: {
|
|
3548
|
-
"application/json": components["schemas"]["ConsoleResponseBody"];
|
|
3549
|
-
};
|
|
3550
|
-
};
|
|
3551
|
-
/** @description Error */
|
|
3552
|
-
default: {
|
|
3553
|
-
headers: {
|
|
3554
|
-
[name: string]: unknown;
|
|
3555
|
-
};
|
|
3556
|
-
content: {
|
|
3557
|
-
"application/json": components["schemas"]["Error"];
|
|
3558
|
-
};
|
|
3559
|
-
};
|
|
3560
|
-
};
|
|
3561
|
-
};
|
|
3562
|
-
"get-instance-console-output": {
|
|
3563
|
-
parameters: {
|
|
3564
|
-
query?: {
|
|
3565
|
-
/** @description Number of trailing lines to return; 0 returns the entire output */
|
|
3566
|
-
lines?: number;
|
|
3567
|
-
};
|
|
3568
|
-
header?: never;
|
|
3569
|
-
path: {
|
|
3570
|
-
instanceId: string;
|
|
3571
|
-
};
|
|
3572
|
-
cookie?: never;
|
|
3573
|
-
};
|
|
3574
|
-
requestBody?: never;
|
|
3575
|
-
responses: {
|
|
3576
|
-
/** @description OK */
|
|
3577
|
-
200: {
|
|
3578
|
-
headers: {
|
|
3579
|
-
[name: string]: unknown;
|
|
3580
|
-
};
|
|
3581
|
-
content: {
|
|
3582
|
-
"application/json": components["schemas"]["ConsoleOutputResponseBody"];
|
|
3583
|
-
};
|
|
3584
|
-
};
|
|
3585
|
-
/** @description Error */
|
|
3586
|
-
default: {
|
|
3587
|
-
headers: {
|
|
3588
|
-
[name: string]: unknown;
|
|
3589
|
-
};
|
|
3590
|
-
content: {
|
|
3591
|
-
"application/json": components["schemas"]["Error"];
|
|
3592
|
-
};
|
|
3593
|
-
};
|
|
3594
|
-
};
|
|
3595
|
-
};
|
|
3596
|
-
"set-instance-labels": {
|
|
3597
|
-
parameters: {
|
|
3598
|
-
query?: never;
|
|
3599
|
-
header?: never;
|
|
3600
|
-
path: {
|
|
3601
|
-
instanceId: string;
|
|
3602
|
-
};
|
|
3603
|
-
cookie?: never;
|
|
3604
|
-
};
|
|
3605
|
-
requestBody: {
|
|
3606
|
-
content: {
|
|
3607
|
-
"application/json": components["schemas"]["SetInstanceLabelsRequestBody"];
|
|
3608
|
-
};
|
|
3609
|
-
};
|
|
3610
|
-
responses: {
|
|
3611
|
-
/** @description OK */
|
|
3612
|
-
200: {
|
|
3613
|
-
headers: {
|
|
3614
|
-
[name: string]: unknown;
|
|
3615
|
-
};
|
|
3616
|
-
content: {
|
|
3617
|
-
"application/json": components["schemas"]["InstanceResource"];
|
|
3618
|
-
};
|
|
3619
|
-
};
|
|
3620
|
-
/** @description Error */
|
|
3621
|
-
default: {
|
|
3622
|
-
headers: {
|
|
3623
|
-
[name: string]: unknown;
|
|
3624
|
-
};
|
|
3625
|
-
content: {
|
|
3626
|
-
"application/json": components["schemas"]["Error"];
|
|
3627
|
-
};
|
|
3628
|
-
};
|
|
3629
|
-
};
|
|
3630
|
-
};
|
|
3631
|
-
"set-instance-notes": {
|
|
3632
|
-
parameters: {
|
|
3633
|
-
query?: never;
|
|
3634
|
-
header?: never;
|
|
3635
|
-
path: {
|
|
3636
|
-
instanceId: string;
|
|
3637
|
-
};
|
|
3638
|
-
cookie?: never;
|
|
3639
|
-
};
|
|
3640
|
-
requestBody: {
|
|
3641
|
-
content: {
|
|
3642
|
-
"application/json": components["schemas"]["SetInstanceNotesRequestBody"];
|
|
3643
|
-
};
|
|
3644
|
-
};
|
|
3645
|
-
responses: {
|
|
3646
|
-
/** @description OK */
|
|
3647
|
-
200: {
|
|
3648
|
-
headers: {
|
|
3649
|
-
[name: string]: unknown;
|
|
3650
|
-
};
|
|
3651
|
-
content: {
|
|
3652
|
-
"application/json": components["schemas"]["InstanceResource"];
|
|
3653
|
-
};
|
|
3654
|
-
};
|
|
3655
|
-
/** @description Error */
|
|
3656
|
-
default: {
|
|
3657
|
-
headers: {
|
|
3658
|
-
[name: string]: unknown;
|
|
3659
|
-
};
|
|
3660
|
-
content: {
|
|
3661
|
-
"application/json": components["schemas"]["Error"];
|
|
3662
|
-
};
|
|
3663
|
-
};
|
|
3664
|
-
};
|
|
3665
|
-
};
|
|
3666
|
-
"reset-instance-password": {
|
|
3667
|
-
parameters: {
|
|
3668
|
-
query?: never;
|
|
3669
|
-
header?: never;
|
|
3670
|
-
path: {
|
|
3671
|
-
instanceId: string;
|
|
3672
|
-
};
|
|
3673
|
-
cookie?: never;
|
|
3674
|
-
};
|
|
3675
|
-
requestBody: {
|
|
3676
|
-
content: {
|
|
3677
|
-
"application/json": components["schemas"]["ResetPasswordRequestBody"];
|
|
3678
|
-
};
|
|
3679
|
-
};
|
|
3680
|
-
responses: {
|
|
3681
|
-
/** @description OK */
|
|
3682
|
-
200: {
|
|
3683
|
-
headers: {
|
|
3684
|
-
[name: string]: unknown;
|
|
3685
|
-
};
|
|
3686
|
-
content: {
|
|
3687
|
-
"application/json": components["schemas"]["ResetPasswordResponseBody"];
|
|
3688
|
-
};
|
|
3689
|
-
};
|
|
3690
|
-
/** @description Error */
|
|
3691
|
-
default: {
|
|
3692
|
-
headers: {
|
|
3693
|
-
[name: string]: unknown;
|
|
3694
|
-
};
|
|
3695
|
-
content: {
|
|
3696
|
-
"application/json": components["schemas"]["Error"];
|
|
3697
|
-
};
|
|
3698
|
-
};
|
|
3699
|
-
};
|
|
3700
|
-
};
|
|
3701
|
-
"reboot-instance": {
|
|
3702
|
-
parameters: {
|
|
3703
|
-
query?: never;
|
|
3704
|
-
header?: never;
|
|
3705
|
-
path: {
|
|
3706
|
-
instanceId: string;
|
|
3707
|
-
};
|
|
3708
|
-
cookie?: never;
|
|
3709
|
-
};
|
|
3710
|
-
requestBody: {
|
|
3711
|
-
content: {
|
|
3712
|
-
"application/json": components["schemas"]["RebootInstanceRequestBody"];
|
|
3713
|
-
};
|
|
3714
|
-
};
|
|
3715
|
-
responses: {
|
|
3716
|
-
/** @description OK */
|
|
3717
|
-
200: {
|
|
3718
|
-
headers: {
|
|
3719
|
-
[name: string]: unknown;
|
|
3720
|
-
};
|
|
3721
|
-
content: {
|
|
3722
|
-
"application/json": components["schemas"]["InstanceResource"];
|
|
3723
|
-
};
|
|
3724
|
-
};
|
|
3725
|
-
/** @description Error */
|
|
3726
|
-
default: {
|
|
3727
|
-
headers: {
|
|
3728
|
-
[name: string]: unknown;
|
|
3729
|
-
};
|
|
3730
|
-
content: {
|
|
3731
|
-
"application/json": components["schemas"]["Error"];
|
|
3732
|
-
};
|
|
3733
|
-
};
|
|
3734
|
-
};
|
|
3735
|
-
};
|
|
3736
|
-
"rebuild-instance": {
|
|
3737
|
-
parameters: {
|
|
3738
|
-
query?: never;
|
|
3739
|
-
header?: never;
|
|
3740
|
-
path: {
|
|
3741
|
-
instanceId: string;
|
|
3742
|
-
};
|
|
3743
|
-
cookie?: never;
|
|
3744
|
-
};
|
|
3745
|
-
requestBody: {
|
|
3746
|
-
content: {
|
|
3747
|
-
"application/json": components["schemas"]["RebuildInstanceRequestBody"];
|
|
3748
|
-
};
|
|
3749
|
-
};
|
|
3750
|
-
responses: {
|
|
3751
|
-
/** @description OK */
|
|
3752
|
-
200: {
|
|
3753
|
-
headers: {
|
|
3754
|
-
[name: string]: unknown;
|
|
3755
|
-
};
|
|
3756
|
-
content: {
|
|
3757
|
-
"application/json": components["schemas"]["RebuildInstanceResponseBody"];
|
|
3758
|
-
};
|
|
3759
|
-
};
|
|
3760
|
-
/** @description Error */
|
|
3761
|
-
default: {
|
|
3762
|
-
headers: {
|
|
3763
|
-
[name: string]: unknown;
|
|
3764
|
-
};
|
|
3765
|
-
content: {
|
|
3766
|
-
"application/json": components["schemas"]["Error"];
|
|
3767
|
-
};
|
|
3768
|
-
};
|
|
3769
|
-
};
|
|
3770
|
-
};
|
|
3771
|
-
"resize-instance": {
|
|
3772
|
-
parameters: {
|
|
3773
|
-
query?: never;
|
|
3774
|
-
header?: never;
|
|
3775
|
-
path: {
|
|
3776
|
-
instanceId: string;
|
|
3777
|
-
};
|
|
3778
|
-
cookie?: never;
|
|
3779
|
-
};
|
|
3780
|
-
requestBody: {
|
|
3781
|
-
content: {
|
|
3782
|
-
"application/json": components["schemas"]["ResizeInstanceRequestBody"];
|
|
3783
|
-
};
|
|
3784
|
-
};
|
|
3785
|
-
responses: {
|
|
3786
|
-
/** @description OK */
|
|
3787
|
-
200: {
|
|
3788
|
-
headers: {
|
|
3789
|
-
[name: string]: unknown;
|
|
3790
|
-
};
|
|
3791
|
-
content: {
|
|
3792
|
-
"application/json": components["schemas"]["InstanceResource"];
|
|
3793
|
-
};
|
|
3794
|
-
};
|
|
3795
|
-
/** @description Error */
|
|
3796
|
-
default: {
|
|
3797
|
-
headers: {
|
|
3798
|
-
[name: string]: unknown;
|
|
3799
|
-
};
|
|
3800
|
-
content: {
|
|
3801
|
-
"application/json": components["schemas"]["Error"];
|
|
3802
|
-
};
|
|
3803
|
-
};
|
|
3804
|
-
};
|
|
3805
|
-
};
|
|
3806
|
-
"confirm-instance-resize": {
|
|
3807
|
-
parameters: {
|
|
3808
|
-
query?: never;
|
|
3809
|
-
header?: never;
|
|
3810
|
-
path: {
|
|
3811
|
-
instanceId: string;
|
|
3812
|
-
};
|
|
3813
|
-
cookie?: never;
|
|
3814
|
-
};
|
|
3815
|
-
requestBody?: never;
|
|
3816
|
-
responses: {
|
|
3817
|
-
/** @description OK */
|
|
3818
|
-
200: {
|
|
3819
|
-
headers: {
|
|
3820
|
-
[name: string]: unknown;
|
|
3821
|
-
};
|
|
3822
|
-
content: {
|
|
3823
|
-
"application/json": components["schemas"]["InstanceResource"];
|
|
3824
|
-
};
|
|
3825
|
-
};
|
|
3826
|
-
/** @description Error */
|
|
3827
|
-
default: {
|
|
3828
|
-
headers: {
|
|
3829
|
-
[name: string]: unknown;
|
|
3830
|
-
};
|
|
3831
|
-
content: {
|
|
3832
|
-
"application/json": components["schemas"]["Error"];
|
|
3833
|
-
};
|
|
3834
|
-
};
|
|
3835
|
-
};
|
|
3836
|
-
};
|
|
3837
|
-
"revert-instance-resize": {
|
|
3838
|
-
parameters: {
|
|
3839
|
-
query?: never;
|
|
3840
|
-
header?: never;
|
|
3841
|
-
path: {
|
|
3842
|
-
instanceId: string;
|
|
3843
|
-
};
|
|
3844
|
-
cookie?: never;
|
|
3845
|
-
};
|
|
3846
|
-
requestBody?: never;
|
|
3847
|
-
responses: {
|
|
3848
|
-
/** @description OK */
|
|
3849
|
-
200: {
|
|
3850
|
-
headers: {
|
|
3851
|
-
[name: string]: unknown;
|
|
3852
|
-
};
|
|
3853
|
-
content: {
|
|
3854
|
-
"application/json": components["schemas"]["InstanceResource"];
|
|
3855
|
-
};
|
|
3856
|
-
};
|
|
3857
|
-
/** @description Error */
|
|
3858
|
-
default: {
|
|
3859
|
-
headers: {
|
|
3860
|
-
[name: string]: unknown;
|
|
3861
|
-
};
|
|
3862
|
-
content: {
|
|
3863
|
-
"application/json": components["schemas"]["Error"];
|
|
3864
|
-
};
|
|
3865
|
-
};
|
|
3866
|
-
};
|
|
3867
|
-
};
|
|
3868
|
-
"start-instance": {
|
|
3869
|
-
parameters: {
|
|
3870
|
-
query?: never;
|
|
3871
|
-
header?: never;
|
|
3872
|
-
path: {
|
|
3873
|
-
instanceId: string;
|
|
3874
|
-
};
|
|
3875
|
-
cookie?: never;
|
|
3876
|
-
};
|
|
3877
|
-
requestBody?: never;
|
|
3878
|
-
responses: {
|
|
3879
|
-
/** @description OK */
|
|
3880
|
-
200: {
|
|
3881
|
-
headers: {
|
|
3882
|
-
[name: string]: unknown;
|
|
3883
|
-
};
|
|
3884
|
-
content: {
|
|
3885
|
-
"application/json": components["schemas"]["InstanceResource"];
|
|
3886
|
-
};
|
|
3887
|
-
};
|
|
3888
|
-
/** @description Error */
|
|
3889
|
-
default: {
|
|
3890
|
-
headers: {
|
|
3891
|
-
[name: string]: unknown;
|
|
3892
|
-
};
|
|
3893
|
-
content: {
|
|
3894
|
-
"application/json": components["schemas"]["Error"];
|
|
3895
|
-
};
|
|
3896
|
-
};
|
|
3897
|
-
};
|
|
3898
|
-
};
|
|
3899
|
-
"stop-instance": {
|
|
3900
|
-
parameters: {
|
|
3901
|
-
query?: never;
|
|
3902
|
-
header?: never;
|
|
3903
|
-
path: {
|
|
3904
|
-
instanceId: string;
|
|
3905
|
-
};
|
|
3906
|
-
cookie?: never;
|
|
3907
|
-
};
|
|
3908
|
-
requestBody?: never;
|
|
3909
|
-
responses: {
|
|
3910
|
-
/** @description OK */
|
|
3911
|
-
200: {
|
|
3912
|
-
headers: {
|
|
3913
|
-
[name: string]: unknown;
|
|
3914
|
-
};
|
|
3915
|
-
content: {
|
|
3916
|
-
"application/json": components["schemas"]["InstanceResource"];
|
|
3917
|
-
};
|
|
3918
|
-
};
|
|
3919
|
-
/** @description Error */
|
|
3920
|
-
default: {
|
|
3921
|
-
headers: {
|
|
3922
|
-
[name: string]: unknown;
|
|
3923
|
-
};
|
|
3924
|
-
content: {
|
|
3925
|
-
"application/json": components["schemas"]["Error"];
|
|
3926
|
-
};
|
|
3927
|
-
};
|
|
3928
|
-
};
|
|
3929
|
-
};
|
|
3930
|
-
"list-instance-disks": {
|
|
3931
|
-
parameters: {
|
|
3932
|
-
query?: never;
|
|
3933
|
-
header?: never;
|
|
3934
|
-
path: {
|
|
3935
|
-
instanceId: string;
|
|
3936
|
-
};
|
|
3937
|
-
cookie?: never;
|
|
3938
|
-
};
|
|
3939
|
-
requestBody?: never;
|
|
3940
|
-
responses: {
|
|
3941
|
-
/** @description OK */
|
|
3942
|
-
200: {
|
|
3943
|
-
headers: {
|
|
3944
|
-
[name: string]: unknown;
|
|
3945
|
-
};
|
|
3946
|
-
content: {
|
|
3947
|
-
"application/json": components["schemas"]["DiskListResponseBody"];
|
|
3948
|
-
};
|
|
3949
|
-
};
|
|
3950
|
-
/** @description Error */
|
|
3951
|
-
default: {
|
|
3952
|
-
headers: {
|
|
3953
|
-
[name: string]: unknown;
|
|
3954
|
-
};
|
|
3955
|
-
content: {
|
|
3956
|
-
"application/json": components["schemas"]["Error"];
|
|
3957
|
-
};
|
|
3958
|
-
};
|
|
3959
|
-
};
|
|
3960
|
-
};
|
|
3961
|
-
"attach-disk": {
|
|
3962
|
-
parameters: {
|
|
3963
|
-
query?: never;
|
|
3964
|
-
header?: never;
|
|
3965
|
-
path: {
|
|
3966
|
-
instanceId: string;
|
|
3967
|
-
};
|
|
3968
|
-
cookie?: never;
|
|
3969
|
-
};
|
|
3970
|
-
requestBody: {
|
|
3971
|
-
content: {
|
|
3972
|
-
"application/json": components["schemas"]["AttachDiskRequestBody"];
|
|
3973
|
-
};
|
|
3974
|
-
};
|
|
3975
|
-
responses: {
|
|
3976
|
-
/** @description OK */
|
|
3977
|
-
200: {
|
|
3978
|
-
headers: {
|
|
3979
|
-
[name: string]: unknown;
|
|
3980
|
-
};
|
|
3981
|
-
content: {
|
|
3982
|
-
"application/json": components["schemas"]["DiskResource"];
|
|
3983
|
-
};
|
|
3984
|
-
};
|
|
3985
|
-
/** @description Error */
|
|
3986
|
-
default: {
|
|
3987
|
-
headers: {
|
|
3988
|
-
[name: string]: unknown;
|
|
3989
|
-
};
|
|
3990
|
-
content: {
|
|
3991
|
-
"application/json": components["schemas"]["Error"];
|
|
3992
|
-
};
|
|
3993
|
-
};
|
|
3994
|
-
};
|
|
3995
|
-
};
|
|
3996
|
-
"detach-disk": {
|
|
3997
|
-
parameters: {
|
|
3998
|
-
query?: never;
|
|
3999
|
-
header?: never;
|
|
4000
|
-
path: {
|
|
4001
|
-
instanceId: string;
|
|
4002
|
-
diskId: string;
|
|
4003
|
-
};
|
|
4004
|
-
cookie?: never;
|
|
4005
|
-
};
|
|
4006
|
-
requestBody?: never;
|
|
4007
|
-
responses: {
|
|
4008
|
-
/** @description OK */
|
|
4009
|
-
200: {
|
|
4010
|
-
headers: {
|
|
4011
|
-
[name: string]: unknown;
|
|
4012
|
-
};
|
|
4013
|
-
content: {
|
|
4014
|
-
"application/json": components["schemas"]["DiskResource"];
|
|
4015
|
-
};
|
|
4016
|
-
};
|
|
4017
|
-
/** @description Error */
|
|
4018
|
-
default: {
|
|
4019
|
-
headers: {
|
|
4020
|
-
[name: string]: unknown;
|
|
4021
|
-
};
|
|
4022
|
-
content: {
|
|
4023
|
-
"application/json": components["schemas"]["Error"];
|
|
4024
|
-
};
|
|
4025
|
-
};
|
|
4026
|
-
};
|
|
4027
|
-
};
|
|
4028
|
-
"attach-instance-floating-ip": {
|
|
4029
|
-
parameters: {
|
|
4030
|
-
query?: never;
|
|
4031
|
-
header?: never;
|
|
4032
|
-
path: {
|
|
4033
|
-
instanceId: string;
|
|
4034
|
-
};
|
|
4035
|
-
cookie?: never;
|
|
4036
|
-
};
|
|
4037
|
-
requestBody: {
|
|
4038
|
-
content: {
|
|
4039
|
-
"application/json": components["schemas"]["AttachFloatingIPRequestBody"];
|
|
4040
|
-
};
|
|
4041
|
-
};
|
|
4042
|
-
responses: {
|
|
4043
|
-
/** @description OK */
|
|
4044
|
-
200: {
|
|
4045
|
-
headers: {
|
|
4046
|
-
[name: string]: unknown;
|
|
4047
|
-
};
|
|
4048
|
-
content: {
|
|
4049
|
-
"application/json": components["schemas"]["FloatingIPResource"];
|
|
4050
|
-
};
|
|
4051
|
-
};
|
|
4052
|
-
/** @description Error */
|
|
4053
|
-
default: {
|
|
4054
|
-
headers: {
|
|
4055
|
-
[name: string]: unknown;
|
|
4056
|
-
};
|
|
4057
|
-
content: {
|
|
4058
|
-
"application/json": components["schemas"]["Error"];
|
|
4059
|
-
};
|
|
4060
|
-
};
|
|
4061
|
-
};
|
|
4062
|
-
};
|
|
4063
|
-
"detach-instance-floating-ip": {
|
|
4064
|
-
parameters: {
|
|
4065
|
-
query?: never;
|
|
4066
|
-
header?: never;
|
|
4067
|
-
path: {
|
|
4068
|
-
instanceId: string;
|
|
4069
|
-
floatingIpId: string;
|
|
4070
|
-
};
|
|
4071
|
-
cookie?: never;
|
|
4072
|
-
};
|
|
4073
|
-
requestBody?: never;
|
|
4074
|
-
responses: {
|
|
4075
|
-
/** @description OK */
|
|
4076
|
-
200: {
|
|
4077
|
-
headers: {
|
|
4078
|
-
[name: string]: unknown;
|
|
4079
|
-
};
|
|
4080
|
-
content: {
|
|
4081
|
-
"application/json": components["schemas"]["FloatingIPResource"];
|
|
4082
|
-
};
|
|
4083
|
-
};
|
|
4084
|
-
/** @description Error */
|
|
4085
|
-
default: {
|
|
4086
|
-
headers: {
|
|
4087
|
-
[name: string]: unknown;
|
|
4088
|
-
};
|
|
4089
|
-
content: {
|
|
4090
|
-
"application/json": components["schemas"]["Error"];
|
|
4091
|
-
};
|
|
4092
|
-
};
|
|
4093
|
-
};
|
|
4094
|
-
};
|
|
4095
|
-
"list-instance-ports": {
|
|
4096
|
-
parameters: {
|
|
4097
|
-
query?: never;
|
|
4098
|
-
header?: never;
|
|
4099
|
-
path: {
|
|
4100
|
-
instanceId: string;
|
|
4101
|
-
};
|
|
4102
|
-
cookie?: never;
|
|
4103
|
-
};
|
|
4104
|
-
requestBody?: never;
|
|
4105
|
-
responses: {
|
|
4106
|
-
/** @description OK */
|
|
4107
|
-
200: {
|
|
4108
|
-
headers: {
|
|
4109
|
-
[name: string]: unknown;
|
|
4110
|
-
};
|
|
4111
|
-
content: {
|
|
4112
|
-
"application/json": components["schemas"]["PortListResponseBody"];
|
|
4113
|
-
};
|
|
4114
|
-
};
|
|
4115
|
-
/** @description Error */
|
|
4116
|
-
default: {
|
|
4117
|
-
headers: {
|
|
4118
|
-
[name: string]: unknown;
|
|
4119
|
-
};
|
|
4120
|
-
content: {
|
|
4121
|
-
"application/json": components["schemas"]["Error"];
|
|
4122
|
-
};
|
|
4123
|
-
};
|
|
4124
|
-
};
|
|
4125
|
-
};
|
|
4126
|
-
"attach-port": {
|
|
4127
|
-
parameters: {
|
|
4128
|
-
query?: never;
|
|
4129
|
-
header?: never;
|
|
4130
|
-
path: {
|
|
4131
|
-
instanceId: string;
|
|
4132
|
-
};
|
|
4133
|
-
cookie?: never;
|
|
4134
|
-
};
|
|
4135
|
-
requestBody: {
|
|
4136
|
-
content: {
|
|
4137
|
-
"application/json": components["schemas"]["AttachPortRequestBody"];
|
|
4138
|
-
};
|
|
4139
|
-
};
|
|
4140
|
-
responses: {
|
|
4141
|
-
/** @description OK */
|
|
4142
|
-
200: {
|
|
4143
|
-
headers: {
|
|
4144
|
-
[name: string]: unknown;
|
|
4145
|
-
};
|
|
4146
|
-
content: {
|
|
4147
|
-
"application/json": components["schemas"]["PortResource"];
|
|
4148
|
-
};
|
|
4149
|
-
};
|
|
4150
|
-
/** @description Error */
|
|
4151
|
-
default: {
|
|
4152
|
-
headers: {
|
|
4153
|
-
[name: string]: unknown;
|
|
4154
|
-
};
|
|
4155
|
-
content: {
|
|
4156
|
-
"application/json": components["schemas"]["Error"];
|
|
4157
|
-
};
|
|
4158
|
-
};
|
|
4159
|
-
};
|
|
4160
|
-
};
|
|
4161
|
-
"detach-port": {
|
|
4162
|
-
parameters: {
|
|
4163
|
-
query?: never;
|
|
4164
|
-
header?: never;
|
|
4165
|
-
path: {
|
|
4166
|
-
instanceId: string;
|
|
4167
|
-
portId: string;
|
|
4168
|
-
};
|
|
4169
|
-
cookie?: never;
|
|
4170
|
-
};
|
|
4171
|
-
requestBody?: never;
|
|
4172
|
-
responses: {
|
|
4173
|
-
/** @description OK */
|
|
4174
|
-
200: {
|
|
4175
|
-
headers: {
|
|
4176
|
-
[name: string]: unknown;
|
|
4177
|
-
};
|
|
4178
|
-
content: {
|
|
4179
|
-
"application/json": components["schemas"]["PortResource"];
|
|
4180
|
-
};
|
|
4181
|
-
};
|
|
4182
|
-
/** @description Error */
|
|
4183
|
-
default: {
|
|
4184
|
-
headers: {
|
|
4185
|
-
[name: string]: unknown;
|
|
4186
|
-
};
|
|
4187
|
-
content: {
|
|
4188
|
-
"application/json": components["schemas"]["Error"];
|
|
4189
|
-
};
|
|
4190
|
-
};
|
|
4191
|
-
};
|
|
4192
|
-
};
|
|
4193
|
-
"list-operation-logs": {
|
|
4194
|
-
parameters: {
|
|
4195
|
-
query?: {
|
|
4196
|
-
/** @description Return a single kind of operation; the value matches the operation id of the endpoint */
|
|
4197
|
-
action?: string;
|
|
4198
|
-
limit?: number;
|
|
4199
|
-
offset?: number;
|
|
4200
|
-
};
|
|
4201
|
-
header?: never;
|
|
4202
|
-
path?: never;
|
|
4203
|
-
cookie?: never;
|
|
4204
|
-
};
|
|
4205
|
-
requestBody?: never;
|
|
4206
|
-
responses: {
|
|
4207
|
-
/** @description OK */
|
|
4208
|
-
200: {
|
|
4209
|
-
headers: {
|
|
4210
|
-
[name: string]: unknown;
|
|
4211
|
-
};
|
|
4212
|
-
content: {
|
|
4213
|
-
"application/json": components["schemas"]["OperationLogListResponseBody"];
|
|
4214
|
-
};
|
|
4215
|
-
};
|
|
4216
|
-
/** @description Error */
|
|
4217
|
-
default: {
|
|
4218
|
-
headers: {
|
|
4219
|
-
[name: string]: unknown;
|
|
4220
|
-
};
|
|
4221
|
-
content: {
|
|
4222
|
-
"application/json": components["schemas"]["Error"];
|
|
4223
|
-
};
|
|
4224
|
-
};
|
|
4225
|
-
};
|
|
4226
|
-
};
|
|
4227
|
-
"list-ports": {
|
|
4228
|
-
parameters: {
|
|
4229
|
-
query?: never;
|
|
4230
|
-
header?: never;
|
|
4231
|
-
path?: never;
|
|
4232
|
-
cookie?: never;
|
|
4233
|
-
};
|
|
4234
|
-
requestBody?: never;
|
|
4235
|
-
responses: {
|
|
4236
|
-
/** @description OK */
|
|
4237
|
-
200: {
|
|
4238
|
-
headers: {
|
|
4239
|
-
[name: string]: unknown;
|
|
4240
|
-
};
|
|
4241
|
-
content: {
|
|
4242
|
-
"application/json": components["schemas"]["PortListResponseBody"];
|
|
4243
|
-
};
|
|
4244
|
-
};
|
|
4245
|
-
/** @description Error */
|
|
4246
|
-
default: {
|
|
4247
|
-
headers: {
|
|
4248
|
-
[name: string]: unknown;
|
|
4249
|
-
};
|
|
4250
|
-
content: {
|
|
4251
|
-
"application/json": components["schemas"]["Error"];
|
|
4252
|
-
};
|
|
4253
|
-
};
|
|
4254
|
-
};
|
|
4255
|
-
};
|
|
4256
|
-
"create-port": {
|
|
4257
|
-
parameters: {
|
|
4258
|
-
query?: never;
|
|
4259
|
-
header?: never;
|
|
4260
|
-
path?: never;
|
|
4261
|
-
cookie?: never;
|
|
4262
|
-
};
|
|
4263
|
-
requestBody: {
|
|
4264
|
-
content: {
|
|
4265
|
-
"application/json": components["schemas"]["CreatePortRequestBody"];
|
|
4266
|
-
};
|
|
4267
|
-
};
|
|
4268
|
-
responses: {
|
|
4269
|
-
/** @description Created */
|
|
4270
|
-
201: {
|
|
4271
|
-
headers: {
|
|
4272
|
-
[name: string]: unknown;
|
|
4273
|
-
};
|
|
4274
|
-
content: {
|
|
4275
|
-
"application/json": components["schemas"]["PortResource"];
|
|
4276
|
-
};
|
|
4277
|
-
};
|
|
4278
|
-
/** @description Error */
|
|
4279
|
-
default: {
|
|
4280
|
-
headers: {
|
|
4281
|
-
[name: string]: unknown;
|
|
4282
|
-
};
|
|
4283
|
-
content: {
|
|
4284
|
-
"application/json": components["schemas"]["Error"];
|
|
4285
|
-
};
|
|
4286
|
-
};
|
|
4287
|
-
};
|
|
4288
|
-
};
|
|
4289
|
-
"delete-port": {
|
|
4290
|
-
parameters: {
|
|
4291
|
-
query?: never;
|
|
4292
|
-
header?: never;
|
|
4293
|
-
path: {
|
|
4294
|
-
portId: string;
|
|
4295
|
-
};
|
|
4296
|
-
cookie?: never;
|
|
4297
|
-
};
|
|
4298
|
-
requestBody?: never;
|
|
4299
|
-
responses: {
|
|
4300
|
-
/** @description No Content */
|
|
4301
|
-
204: {
|
|
4302
|
-
headers: {
|
|
4303
|
-
[name: string]: unknown;
|
|
4304
|
-
};
|
|
4305
|
-
content?: never;
|
|
4306
|
-
};
|
|
4307
|
-
/** @description Error */
|
|
4308
|
-
default: {
|
|
4309
|
-
headers: {
|
|
4310
|
-
[name: string]: unknown;
|
|
4311
|
-
};
|
|
4312
|
-
content: {
|
|
4313
|
-
"application/json": components["schemas"]["Error"];
|
|
4314
|
-
};
|
|
4315
|
-
};
|
|
4316
|
-
};
|
|
4317
|
-
};
|
|
4318
|
-
"list-private-images": {
|
|
4319
|
-
parameters: {
|
|
4320
|
-
query?: {
|
|
4321
|
-
/** @description Return only the images of this region. An image can only be used in the region that holds it */
|
|
4322
|
-
region_code?: string;
|
|
4323
|
-
};
|
|
4324
|
-
header?: never;
|
|
4325
|
-
path?: never;
|
|
4326
|
-
cookie?: never;
|
|
4327
|
-
};
|
|
4328
|
-
requestBody?: never;
|
|
4329
|
-
responses: {
|
|
4330
|
-
/** @description OK */
|
|
4331
|
-
200: {
|
|
4332
|
-
headers: {
|
|
4333
|
-
[name: string]: unknown;
|
|
4334
|
-
};
|
|
4335
|
-
content: {
|
|
4336
|
-
"application/json": components["schemas"]["PrivateImageListResponseBody"];
|
|
4337
|
-
};
|
|
4338
|
-
};
|
|
4339
|
-
/** @description Error */
|
|
4340
|
-
default: {
|
|
4341
|
-
headers: {
|
|
4342
|
-
[name: string]: unknown;
|
|
4343
|
-
};
|
|
4344
|
-
content: {
|
|
4345
|
-
"application/json": components["schemas"]["Error"];
|
|
4346
|
-
};
|
|
4347
|
-
};
|
|
4348
|
-
};
|
|
4349
|
-
};
|
|
4350
|
-
"create-private-image": {
|
|
4351
|
-
parameters: {
|
|
4352
|
-
query?: never;
|
|
4353
|
-
header?: never;
|
|
4354
|
-
path?: never;
|
|
4355
|
-
cookie?: never;
|
|
4356
|
-
};
|
|
4357
|
-
requestBody: {
|
|
4358
|
-
content: {
|
|
4359
|
-
"application/json": components["schemas"]["CreatePrivateImageRequestBody"];
|
|
4360
|
-
};
|
|
4361
|
-
};
|
|
4362
|
-
responses: {
|
|
4363
|
-
/** @description Created */
|
|
4364
|
-
201: {
|
|
4365
|
-
headers: {
|
|
4366
|
-
[name: string]: unknown;
|
|
4367
|
-
};
|
|
4368
|
-
content: {
|
|
4369
|
-
"application/json": components["schemas"]["PrivateImageResource"];
|
|
4370
|
-
};
|
|
4371
|
-
};
|
|
4372
|
-
/** @description Error */
|
|
4373
|
-
default: {
|
|
4374
|
-
headers: {
|
|
4375
|
-
[name: string]: unknown;
|
|
4376
|
-
};
|
|
4377
|
-
content: {
|
|
4378
|
-
"application/json": components["schemas"]["Error"];
|
|
4379
|
-
};
|
|
4380
|
-
};
|
|
4381
|
-
};
|
|
4382
|
-
};
|
|
4383
|
-
"get-private-image": {
|
|
4384
|
-
parameters: {
|
|
4385
|
-
query?: never;
|
|
4386
|
-
header?: never;
|
|
4387
|
-
path: {
|
|
4388
|
-
privateImageId: string;
|
|
4389
|
-
};
|
|
4390
|
-
cookie?: never;
|
|
4391
|
-
};
|
|
4392
|
-
requestBody?: never;
|
|
4393
|
-
responses: {
|
|
4394
|
-
/** @description OK */
|
|
4395
|
-
200: {
|
|
4396
|
-
headers: {
|
|
4397
|
-
[name: string]: unknown;
|
|
4398
|
-
};
|
|
4399
|
-
content: {
|
|
4400
|
-
"application/json": components["schemas"]["PrivateImageResource"];
|
|
4401
|
-
};
|
|
4402
|
-
};
|
|
4403
|
-
/** @description Error */
|
|
4404
|
-
default: {
|
|
4405
|
-
headers: {
|
|
4406
|
-
[name: string]: unknown;
|
|
4407
|
-
};
|
|
4408
|
-
content: {
|
|
4409
|
-
"application/json": components["schemas"]["Error"];
|
|
4410
|
-
};
|
|
4411
|
-
};
|
|
4412
|
-
};
|
|
4413
|
-
};
|
|
4414
|
-
"delete-private-image": {
|
|
4415
|
-
parameters: {
|
|
4416
|
-
query?: never;
|
|
4417
|
-
header?: never;
|
|
4418
|
-
path: {
|
|
4419
|
-
privateImageId: string;
|
|
4420
|
-
};
|
|
4421
|
-
cookie?: never;
|
|
4422
|
-
};
|
|
4423
|
-
requestBody?: never;
|
|
4424
|
-
responses: {
|
|
4425
|
-
/** @description No Content */
|
|
4426
|
-
204: {
|
|
4427
|
-
headers: {
|
|
4428
|
-
[name: string]: unknown;
|
|
4429
|
-
};
|
|
4430
|
-
content?: never;
|
|
4431
|
-
};
|
|
4432
|
-
/** @description Error */
|
|
4433
|
-
default: {
|
|
4434
|
-
headers: {
|
|
4435
|
-
[name: string]: unknown;
|
|
4436
|
-
};
|
|
4437
|
-
content: {
|
|
4438
|
-
"application/json": components["schemas"]["Error"];
|
|
4439
|
-
};
|
|
4440
|
-
};
|
|
4441
|
-
};
|
|
4442
|
-
};
|
|
4443
|
-
"rename-private-image": {
|
|
1462
|
+
"run-instance-command": {
|
|
4444
1463
|
parameters: {
|
|
4445
1464
|
query?: never;
|
|
4446
1465
|
header?: never;
|
|
4447
1466
|
path: {
|
|
4448
|
-
|
|
4449
|
-
};
|
|
4450
|
-
cookie?: never;
|
|
4451
|
-
};
|
|
4452
|
-
requestBody: {
|
|
4453
|
-
content: {
|
|
4454
|
-
"application/json": components["schemas"]["RenamePrivateImageRequestBody"];
|
|
4455
|
-
};
|
|
4456
|
-
};
|
|
4457
|
-
responses: {
|
|
4458
|
-
/** @description OK */
|
|
4459
|
-
200: {
|
|
4460
|
-
headers: {
|
|
4461
|
-
[name: string]: unknown;
|
|
4462
|
-
};
|
|
4463
|
-
content: {
|
|
4464
|
-
"application/json": components["schemas"]["PrivateImageResource"];
|
|
4465
|
-
};
|
|
4466
|
-
};
|
|
4467
|
-
/** @description Error */
|
|
4468
|
-
default: {
|
|
4469
|
-
headers: {
|
|
4470
|
-
[name: string]: unknown;
|
|
4471
|
-
};
|
|
4472
|
-
content: {
|
|
4473
|
-
"application/json": components["schemas"]["Error"];
|
|
4474
|
-
};
|
|
4475
|
-
};
|
|
4476
|
-
};
|
|
4477
|
-
};
|
|
4478
|
-
"list-private-networks": {
|
|
4479
|
-
parameters: {
|
|
4480
|
-
query?: {
|
|
4481
|
-
/** @description Returns every region when omitted */
|
|
4482
|
-
region_code?: string;
|
|
4483
|
-
};
|
|
4484
|
-
header?: never;
|
|
4485
|
-
path?: never;
|
|
4486
|
-
cookie?: never;
|
|
4487
|
-
};
|
|
4488
|
-
requestBody?: never;
|
|
4489
|
-
responses: {
|
|
4490
|
-
/** @description OK */
|
|
4491
|
-
200: {
|
|
4492
|
-
headers: {
|
|
4493
|
-
[name: string]: unknown;
|
|
4494
|
-
};
|
|
4495
|
-
content: {
|
|
4496
|
-
"application/json": components["schemas"]["PrivateNetworkListResponseBody"];
|
|
4497
|
-
};
|
|
4498
|
-
};
|
|
4499
|
-
/** @description Error */
|
|
4500
|
-
default: {
|
|
4501
|
-
headers: {
|
|
4502
|
-
[name: string]: unknown;
|
|
4503
|
-
};
|
|
4504
|
-
content: {
|
|
4505
|
-
"application/json": components["schemas"]["Error"];
|
|
4506
|
-
};
|
|
1467
|
+
instanceId: string;
|
|
4507
1468
|
};
|
|
4508
|
-
};
|
|
4509
|
-
};
|
|
4510
|
-
"create-private-network": {
|
|
4511
|
-
parameters: {
|
|
4512
|
-
query?: never;
|
|
4513
|
-
header?: never;
|
|
4514
|
-
path?: never;
|
|
4515
1469
|
cookie?: never;
|
|
4516
1470
|
};
|
|
4517
1471
|
requestBody: {
|
|
4518
1472
|
content: {
|
|
4519
|
-
"application/json": components["schemas"]["
|
|
1473
|
+
"application/json": components["schemas"]["RunCommandRequestBody"];
|
|
4520
1474
|
};
|
|
4521
1475
|
};
|
|
4522
|
-
responses: {
|
|
4523
|
-
/** @description
|
|
4524
|
-
|
|
1476
|
+
responses: {
|
|
1477
|
+
/** @description OK */
|
|
1478
|
+
200: {
|
|
4525
1479
|
headers: {
|
|
4526
1480
|
[name: string]: unknown;
|
|
4527
1481
|
};
|
|
4528
1482
|
content: {
|
|
4529
|
-
"application/json": components["schemas"]["
|
|
1483
|
+
"application/json": components["schemas"]["CommandResultResponseBody"];
|
|
4530
1484
|
};
|
|
4531
1485
|
};
|
|
4532
1486
|
/** @description Error */
|
|
@@ -4540,12 +1494,12 @@ export interface operations {
|
|
|
4540
1494
|
};
|
|
4541
1495
|
};
|
|
4542
1496
|
};
|
|
4543
|
-
"
|
|
1497
|
+
"open-instance-console": {
|
|
4544
1498
|
parameters: {
|
|
4545
1499
|
query?: never;
|
|
4546
1500
|
header?: never;
|
|
4547
1501
|
path: {
|
|
4548
|
-
|
|
1502
|
+
instanceId: string;
|
|
4549
1503
|
};
|
|
4550
1504
|
cookie?: never;
|
|
4551
1505
|
};
|
|
@@ -4557,7 +1511,7 @@ export interface operations {
|
|
|
4557
1511
|
[name: string]: unknown;
|
|
4558
1512
|
};
|
|
4559
1513
|
content: {
|
|
4560
|
-
"application/json": components["schemas"]["
|
|
1514
|
+
"application/json": components["schemas"]["ConsoleResponseBody"];
|
|
4561
1515
|
};
|
|
4562
1516
|
};
|
|
4563
1517
|
/** @description Error */
|
|
@@ -4571,23 +1525,28 @@ export interface operations {
|
|
|
4571
1525
|
};
|
|
4572
1526
|
};
|
|
4573
1527
|
};
|
|
4574
|
-
"
|
|
1528
|
+
"get-instance-console-output": {
|
|
4575
1529
|
parameters: {
|
|
4576
|
-
query?:
|
|
1530
|
+
query?: {
|
|
1531
|
+
/** @description Number of trailing lines to return; 0 returns the entire output */
|
|
1532
|
+
lines?: number;
|
|
1533
|
+
};
|
|
4577
1534
|
header?: never;
|
|
4578
1535
|
path: {
|
|
4579
|
-
|
|
1536
|
+
instanceId: string;
|
|
4580
1537
|
};
|
|
4581
1538
|
cookie?: never;
|
|
4582
1539
|
};
|
|
4583
1540
|
requestBody?: never;
|
|
4584
1541
|
responses: {
|
|
4585
|
-
/** @description
|
|
4586
|
-
|
|
1542
|
+
/** @description OK */
|
|
1543
|
+
200: {
|
|
4587
1544
|
headers: {
|
|
4588
1545
|
[name: string]: unknown;
|
|
4589
1546
|
};
|
|
4590
|
-
content
|
|
1547
|
+
content: {
|
|
1548
|
+
"application/json": components["schemas"]["ConsoleOutputResponseBody"];
|
|
1549
|
+
};
|
|
4591
1550
|
};
|
|
4592
1551
|
/** @description Error */
|
|
4593
1552
|
default: {
|
|
@@ -4600,18 +1559,18 @@ export interface operations {
|
|
|
4600
1559
|
};
|
|
4601
1560
|
};
|
|
4602
1561
|
};
|
|
4603
|
-
"
|
|
1562
|
+
"set-instance-labels": {
|
|
4604
1563
|
parameters: {
|
|
4605
1564
|
query?: never;
|
|
4606
1565
|
header?: never;
|
|
4607
1566
|
path: {
|
|
4608
|
-
|
|
1567
|
+
instanceId: string;
|
|
4609
1568
|
};
|
|
4610
1569
|
cookie?: never;
|
|
4611
1570
|
};
|
|
4612
1571
|
requestBody: {
|
|
4613
1572
|
content: {
|
|
4614
|
-
"application/json": components["schemas"]["
|
|
1573
|
+
"application/json": components["schemas"]["SetInstanceLabelsRequestBody"];
|
|
4615
1574
|
};
|
|
4616
1575
|
};
|
|
4617
1576
|
responses: {
|
|
@@ -4621,7 +1580,7 @@ export interface operations {
|
|
|
4621
1580
|
[name: string]: unknown;
|
|
4622
1581
|
};
|
|
4623
1582
|
content: {
|
|
4624
|
-
"application/json": components["schemas"]["
|
|
1583
|
+
"application/json": components["schemas"]["InstanceResource"];
|
|
4625
1584
|
};
|
|
4626
1585
|
};
|
|
4627
1586
|
/** @description Error */
|
|
@@ -4635,16 +1594,20 @@ export interface operations {
|
|
|
4635
1594
|
};
|
|
4636
1595
|
};
|
|
4637
1596
|
};
|
|
4638
|
-
"
|
|
1597
|
+
"set-instance-notes": {
|
|
4639
1598
|
parameters: {
|
|
4640
1599
|
query?: never;
|
|
4641
1600
|
header?: never;
|
|
4642
1601
|
path: {
|
|
4643
|
-
|
|
1602
|
+
instanceId: string;
|
|
4644
1603
|
};
|
|
4645
1604
|
cookie?: never;
|
|
4646
1605
|
};
|
|
4647
|
-
requestBody
|
|
1606
|
+
requestBody: {
|
|
1607
|
+
content: {
|
|
1608
|
+
"application/json": components["schemas"]["SetInstanceNotesRequestBody"];
|
|
1609
|
+
};
|
|
1610
|
+
};
|
|
4648
1611
|
responses: {
|
|
4649
1612
|
/** @description OK */
|
|
4650
1613
|
200: {
|
|
@@ -4652,7 +1615,7 @@ export interface operations {
|
|
|
4652
1615
|
[name: string]: unknown;
|
|
4653
1616
|
};
|
|
4654
1617
|
content: {
|
|
4655
|
-
"application/json": components["schemas"]["
|
|
1618
|
+
"application/json": components["schemas"]["InstanceResource"];
|
|
4656
1619
|
};
|
|
4657
1620
|
};
|
|
4658
1621
|
/** @description Error */
|
|
@@ -4666,16 +1629,20 @@ export interface operations {
|
|
|
4666
1629
|
};
|
|
4667
1630
|
};
|
|
4668
1631
|
};
|
|
4669
|
-
"
|
|
1632
|
+
"reset-instance-password": {
|
|
4670
1633
|
parameters: {
|
|
4671
1634
|
query?: never;
|
|
4672
1635
|
header?: never;
|
|
4673
1636
|
path: {
|
|
4674
|
-
|
|
1637
|
+
instanceId: string;
|
|
4675
1638
|
};
|
|
4676
1639
|
cookie?: never;
|
|
4677
1640
|
};
|
|
4678
|
-
requestBody
|
|
1641
|
+
requestBody: {
|
|
1642
|
+
content: {
|
|
1643
|
+
"application/json": components["schemas"]["ResetPasswordRequestBody"];
|
|
1644
|
+
};
|
|
1645
|
+
};
|
|
4679
1646
|
responses: {
|
|
4680
1647
|
/** @description OK */
|
|
4681
1648
|
200: {
|
|
@@ -4683,7 +1650,7 @@ export interface operations {
|
|
|
4683
1650
|
[name: string]: unknown;
|
|
4684
1651
|
};
|
|
4685
1652
|
content: {
|
|
4686
|
-
"application/json": components["schemas"]["
|
|
1653
|
+
"application/json": components["schemas"]["ResetPasswordResponseBody"];
|
|
4687
1654
|
};
|
|
4688
1655
|
};
|
|
4689
1656
|
/** @description Error */
|
|
@@ -4697,23 +1664,29 @@ export interface operations {
|
|
|
4697
1664
|
};
|
|
4698
1665
|
};
|
|
4699
1666
|
};
|
|
4700
|
-
"
|
|
1667
|
+
"reboot-instance": {
|
|
4701
1668
|
parameters: {
|
|
4702
1669
|
query?: never;
|
|
4703
1670
|
header?: never;
|
|
4704
1671
|
path: {
|
|
4705
|
-
|
|
1672
|
+
instanceId: string;
|
|
4706
1673
|
};
|
|
4707
1674
|
cookie?: never;
|
|
4708
1675
|
};
|
|
4709
|
-
requestBody
|
|
1676
|
+
requestBody: {
|
|
1677
|
+
content: {
|
|
1678
|
+
"application/json": components["schemas"]["RebootInstanceRequestBody"];
|
|
1679
|
+
};
|
|
1680
|
+
};
|
|
4710
1681
|
responses: {
|
|
4711
|
-
/** @description
|
|
4712
|
-
|
|
1682
|
+
/** @description OK */
|
|
1683
|
+
200: {
|
|
4713
1684
|
headers: {
|
|
4714
1685
|
[name: string]: unknown;
|
|
4715
1686
|
};
|
|
4716
|
-
content
|
|
1687
|
+
content: {
|
|
1688
|
+
"application/json": components["schemas"]["InstanceResource"];
|
|
1689
|
+
};
|
|
4717
1690
|
};
|
|
4718
1691
|
/** @description Error */
|
|
4719
1692
|
default: {
|
|
@@ -4726,16 +1699,20 @@ export interface operations {
|
|
|
4726
1699
|
};
|
|
4727
1700
|
};
|
|
4728
1701
|
};
|
|
4729
|
-
"
|
|
1702
|
+
"rebuild-instance": {
|
|
4730
1703
|
parameters: {
|
|
4731
1704
|
query?: never;
|
|
4732
1705
|
header?: never;
|
|
4733
1706
|
path: {
|
|
4734
|
-
|
|
1707
|
+
instanceId: string;
|
|
4735
1708
|
};
|
|
4736
1709
|
cookie?: never;
|
|
4737
1710
|
};
|
|
4738
|
-
requestBody
|
|
1711
|
+
requestBody: {
|
|
1712
|
+
content: {
|
|
1713
|
+
"application/json": components["schemas"]["RebuildInstanceRequestBody"];
|
|
1714
|
+
};
|
|
1715
|
+
};
|
|
4739
1716
|
responses: {
|
|
4740
1717
|
/** @description OK */
|
|
4741
1718
|
200: {
|
|
@@ -4743,7 +1720,7 @@ export interface operations {
|
|
|
4743
1720
|
[name: string]: unknown;
|
|
4744
1721
|
};
|
|
4745
1722
|
content: {
|
|
4746
|
-
"application/json": components["schemas"]["
|
|
1723
|
+
"application/json": components["schemas"]["RebuildInstanceResponseBody"];
|
|
4747
1724
|
};
|
|
4748
1725
|
};
|
|
4749
1726
|
/** @description Error */
|
|
@@ -4757,28 +1734,28 @@ export interface operations {
|
|
|
4757
1734
|
};
|
|
4758
1735
|
};
|
|
4759
1736
|
};
|
|
4760
|
-
"
|
|
1737
|
+
"resize-instance": {
|
|
4761
1738
|
parameters: {
|
|
4762
1739
|
query?: never;
|
|
4763
1740
|
header?: never;
|
|
4764
1741
|
path: {
|
|
4765
|
-
|
|
1742
|
+
instanceId: string;
|
|
4766
1743
|
};
|
|
4767
1744
|
cookie?: never;
|
|
4768
1745
|
};
|
|
4769
1746
|
requestBody: {
|
|
4770
1747
|
content: {
|
|
4771
|
-
"application/json": components["schemas"]["
|
|
1748
|
+
"application/json": components["schemas"]["ResizeInstanceRequestBody"];
|
|
4772
1749
|
};
|
|
4773
1750
|
};
|
|
4774
1751
|
responses: {
|
|
4775
|
-
/** @description
|
|
4776
|
-
|
|
1752
|
+
/** @description Accepted */
|
|
1753
|
+
202: {
|
|
4777
1754
|
headers: {
|
|
4778
1755
|
[name: string]: unknown;
|
|
4779
1756
|
};
|
|
4780
1757
|
content: {
|
|
4781
|
-
"application/json": components["schemas"]["
|
|
1758
|
+
"application/json": components["schemas"]["PlacedOrder"];
|
|
4782
1759
|
};
|
|
4783
1760
|
};
|
|
4784
1761
|
/** @description Error */
|
|
@@ -4792,24 +1769,25 @@ export interface operations {
|
|
|
4792
1769
|
};
|
|
4793
1770
|
};
|
|
4794
1771
|
};
|
|
4795
|
-
"
|
|
1772
|
+
"confirm-instance-resize": {
|
|
4796
1773
|
parameters: {
|
|
4797
1774
|
query?: never;
|
|
4798
1775
|
header?: never;
|
|
4799
1776
|
path: {
|
|
4800
|
-
|
|
4801
|
-
routeId: string;
|
|
1777
|
+
instanceId: string;
|
|
4802
1778
|
};
|
|
4803
1779
|
cookie?: never;
|
|
4804
1780
|
};
|
|
4805
1781
|
requestBody?: never;
|
|
4806
1782
|
responses: {
|
|
4807
|
-
/** @description
|
|
4808
|
-
|
|
1783
|
+
/** @description OK */
|
|
1784
|
+
200: {
|
|
4809
1785
|
headers: {
|
|
4810
1786
|
[name: string]: unknown;
|
|
4811
1787
|
};
|
|
4812
|
-
content
|
|
1788
|
+
content: {
|
|
1789
|
+
"application/json": components["schemas"]["InstanceResource"];
|
|
1790
|
+
};
|
|
4813
1791
|
};
|
|
4814
1792
|
/** @description Error */
|
|
4815
1793
|
default: {
|
|
@@ -4822,12 +1800,12 @@ export interface operations {
|
|
|
4822
1800
|
};
|
|
4823
1801
|
};
|
|
4824
1802
|
};
|
|
4825
|
-
"
|
|
1803
|
+
"revert-instance-resize": {
|
|
4826
1804
|
parameters: {
|
|
4827
1805
|
query?: never;
|
|
4828
1806
|
header?: never;
|
|
4829
1807
|
path: {
|
|
4830
|
-
|
|
1808
|
+
instanceId: string;
|
|
4831
1809
|
};
|
|
4832
1810
|
cookie?: never;
|
|
4833
1811
|
};
|
|
@@ -4839,7 +1817,7 @@ export interface operations {
|
|
|
4839
1817
|
[name: string]: unknown;
|
|
4840
1818
|
};
|
|
4841
1819
|
content: {
|
|
4842
|
-
"application/json": components["schemas"]["
|
|
1820
|
+
"application/json": components["schemas"]["InstanceResource"];
|
|
4843
1821
|
};
|
|
4844
1822
|
};
|
|
4845
1823
|
/** @description Error */
|
|
@@ -4853,28 +1831,28 @@ export interface operations {
|
|
|
4853
1831
|
};
|
|
4854
1832
|
};
|
|
4855
1833
|
};
|
|
4856
|
-
"
|
|
1834
|
+
"start-instance": {
|
|
4857
1835
|
parameters: {
|
|
4858
1836
|
query?: never;
|
|
4859
1837
|
header?: never;
|
|
4860
1838
|
path: {
|
|
4861
|
-
|
|
1839
|
+
instanceId: string;
|
|
4862
1840
|
};
|
|
4863
1841
|
cookie?: never;
|
|
4864
1842
|
};
|
|
4865
1843
|
requestBody: {
|
|
4866
1844
|
content: {
|
|
4867
|
-
"application/json": components["schemas"]["
|
|
1845
|
+
"application/json": components["schemas"]["PowerRequest"];
|
|
4868
1846
|
};
|
|
4869
1847
|
};
|
|
4870
1848
|
responses: {
|
|
4871
|
-
/** @description
|
|
4872
|
-
|
|
1849
|
+
/** @description Accepted */
|
|
1850
|
+
202: {
|
|
4873
1851
|
headers: {
|
|
4874
1852
|
[name: string]: unknown;
|
|
4875
1853
|
};
|
|
4876
1854
|
content: {
|
|
4877
|
-
"application/json": components["schemas"]["
|
|
1855
|
+
"application/json": components["schemas"]["InstanceResource"];
|
|
4878
1856
|
};
|
|
4879
1857
|
};
|
|
4880
1858
|
/** @description Error */
|
|
@@ -4888,26 +1866,28 @@ export interface operations {
|
|
|
4888
1866
|
};
|
|
4889
1867
|
};
|
|
4890
1868
|
};
|
|
4891
|
-
"
|
|
1869
|
+
"stop-instance": {
|
|
4892
1870
|
parameters: {
|
|
4893
|
-
query?:
|
|
4894
|
-
prefix_length?: number;
|
|
4895
|
-
};
|
|
1871
|
+
query?: never;
|
|
4896
1872
|
header?: never;
|
|
4897
1873
|
path: {
|
|
4898
|
-
|
|
1874
|
+
instanceId: string;
|
|
4899
1875
|
};
|
|
4900
1876
|
cookie?: never;
|
|
4901
1877
|
};
|
|
4902
|
-
requestBody
|
|
1878
|
+
requestBody: {
|
|
1879
|
+
content: {
|
|
1880
|
+
"application/json": components["schemas"]["PowerRequest"];
|
|
1881
|
+
};
|
|
1882
|
+
};
|
|
4903
1883
|
responses: {
|
|
4904
|
-
/** @description
|
|
4905
|
-
|
|
1884
|
+
/** @description Accepted */
|
|
1885
|
+
202: {
|
|
4906
1886
|
headers: {
|
|
4907
1887
|
[name: string]: unknown;
|
|
4908
1888
|
};
|
|
4909
1889
|
content: {
|
|
4910
|
-
"application/json": components["schemas"]["
|
|
1890
|
+
"application/json": components["schemas"]["InstanceResource"];
|
|
4911
1891
|
};
|
|
4912
1892
|
};
|
|
4913
1893
|
/** @description Error */
|
|
@@ -4921,24 +1901,28 @@ export interface operations {
|
|
|
4921
1901
|
};
|
|
4922
1902
|
};
|
|
4923
1903
|
};
|
|
4924
|
-
"
|
|
1904
|
+
"list-instance-disks": {
|
|
4925
1905
|
parameters: {
|
|
4926
|
-
query?:
|
|
1906
|
+
query?: {
|
|
1907
|
+
page?: number;
|
|
1908
|
+
page_size?: number;
|
|
1909
|
+
};
|
|
4927
1910
|
header?: never;
|
|
4928
1911
|
path: {
|
|
4929
|
-
|
|
4930
|
-
subnetId: string;
|
|
1912
|
+
instanceId: string;
|
|
4931
1913
|
};
|
|
4932
1914
|
cookie?: never;
|
|
4933
1915
|
};
|
|
4934
1916
|
requestBody?: never;
|
|
4935
1917
|
responses: {
|
|
4936
|
-
/** @description
|
|
4937
|
-
|
|
1918
|
+
/** @description OK */
|
|
1919
|
+
200: {
|
|
4938
1920
|
headers: {
|
|
4939
1921
|
[name: string]: unknown;
|
|
4940
1922
|
};
|
|
4941
|
-
content
|
|
1923
|
+
content: {
|
|
1924
|
+
"application/json": components["schemas"]["ResourceDependencyList"];
|
|
1925
|
+
};
|
|
4942
1926
|
};
|
|
4943
1927
|
/** @description Error */
|
|
4944
1928
|
default: {
|
|
@@ -4951,18 +1935,20 @@ export interface operations {
|
|
|
4951
1935
|
};
|
|
4952
1936
|
};
|
|
4953
1937
|
};
|
|
4954
|
-
"
|
|
1938
|
+
"attach-disk": {
|
|
4955
1939
|
parameters: {
|
|
4956
|
-
query?:
|
|
4957
|
-
region_code?: string;
|
|
4958
|
-
/** @description Return only the security groups of this private network */
|
|
4959
|
-
private_network_id?: string;
|
|
4960
|
-
};
|
|
1940
|
+
query?: never;
|
|
4961
1941
|
header?: never;
|
|
4962
|
-
path
|
|
1942
|
+
path: {
|
|
1943
|
+
instanceId: string;
|
|
1944
|
+
};
|
|
4963
1945
|
cookie?: never;
|
|
4964
1946
|
};
|
|
4965
|
-
requestBody
|
|
1947
|
+
requestBody: {
|
|
1948
|
+
content: {
|
|
1949
|
+
"application/json": components["schemas"]["AttachDiskRequestBody"];
|
|
1950
|
+
};
|
|
1951
|
+
};
|
|
4966
1952
|
responses: {
|
|
4967
1953
|
/** @description OK */
|
|
4968
1954
|
200: {
|
|
@@ -4970,7 +1956,7 @@ export interface operations {
|
|
|
4970
1956
|
[name: string]: unknown;
|
|
4971
1957
|
};
|
|
4972
1958
|
content: {
|
|
4973
|
-
"application/json": components["schemas"]["
|
|
1959
|
+
"application/json": components["schemas"]["ResourceDependency"];
|
|
4974
1960
|
};
|
|
4975
1961
|
};
|
|
4976
1962
|
/** @description Error */
|
|
@@ -4984,26 +1970,25 @@ export interface operations {
|
|
|
4984
1970
|
};
|
|
4985
1971
|
};
|
|
4986
1972
|
};
|
|
4987
|
-
"
|
|
1973
|
+
"detach-disk": {
|
|
4988
1974
|
parameters: {
|
|
4989
1975
|
query?: never;
|
|
4990
1976
|
header?: never;
|
|
4991
|
-
path
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
requestBody: {
|
|
4995
|
-
content: {
|
|
4996
|
-
"application/json": components["schemas"]["CreateSecurityGroupRequestBody"];
|
|
1977
|
+
path: {
|
|
1978
|
+
instanceId: string;
|
|
1979
|
+
diskId: string;
|
|
4997
1980
|
};
|
|
1981
|
+
cookie?: never;
|
|
4998
1982
|
};
|
|
1983
|
+
requestBody?: never;
|
|
4999
1984
|
responses: {
|
|
5000
|
-
/** @description
|
|
5001
|
-
|
|
1985
|
+
/** @description OK */
|
|
1986
|
+
200: {
|
|
5002
1987
|
headers: {
|
|
5003
1988
|
[name: string]: unknown;
|
|
5004
1989
|
};
|
|
5005
1990
|
content: {
|
|
5006
|
-
"application/json": components["schemas"]["
|
|
1991
|
+
"application/json": components["schemas"]["ResourceDependency"];
|
|
5007
1992
|
};
|
|
5008
1993
|
};
|
|
5009
1994
|
/** @description Error */
|
|
@@ -5017,24 +2002,28 @@ export interface operations {
|
|
|
5017
2002
|
};
|
|
5018
2003
|
};
|
|
5019
2004
|
};
|
|
5020
|
-
"
|
|
2005
|
+
"attach-instance-floating-ip": {
|
|
5021
2006
|
parameters: {
|
|
5022
2007
|
query?: never;
|
|
5023
2008
|
header?: never;
|
|
5024
2009
|
path: {
|
|
5025
|
-
|
|
2010
|
+
instanceId: string;
|
|
5026
2011
|
};
|
|
5027
2012
|
cookie?: never;
|
|
5028
2013
|
};
|
|
5029
|
-
requestBody
|
|
2014
|
+
requestBody: {
|
|
2015
|
+
content: {
|
|
2016
|
+
"application/json": components["schemas"]["AttachFloatingIPRequestBody"];
|
|
2017
|
+
};
|
|
2018
|
+
};
|
|
5030
2019
|
responses: {
|
|
5031
|
-
/** @description
|
|
5032
|
-
|
|
2020
|
+
/** @description Accepted */
|
|
2021
|
+
202: {
|
|
5033
2022
|
headers: {
|
|
5034
2023
|
[name: string]: unknown;
|
|
5035
2024
|
};
|
|
5036
2025
|
content: {
|
|
5037
|
-
"application/json": components["schemas"]["
|
|
2026
|
+
"application/json": components["schemas"]["ResourceUsage"];
|
|
5038
2027
|
};
|
|
5039
2028
|
};
|
|
5040
2029
|
/** @description Error */
|
|
@@ -5048,23 +2037,26 @@ export interface operations {
|
|
|
5048
2037
|
};
|
|
5049
2038
|
};
|
|
5050
2039
|
};
|
|
5051
|
-
"
|
|
2040
|
+
"detach-instance-floating-ip": {
|
|
5052
2041
|
parameters: {
|
|
5053
2042
|
query?: never;
|
|
5054
2043
|
header?: never;
|
|
5055
2044
|
path: {
|
|
5056
|
-
|
|
2045
|
+
instanceId: string;
|
|
2046
|
+
floatingIpId: string;
|
|
5057
2047
|
};
|
|
5058
2048
|
cookie?: never;
|
|
5059
2049
|
};
|
|
5060
2050
|
requestBody?: never;
|
|
5061
2051
|
responses: {
|
|
5062
|
-
/** @description
|
|
5063
|
-
|
|
2052
|
+
/** @description Accepted */
|
|
2053
|
+
202: {
|
|
5064
2054
|
headers: {
|
|
5065
2055
|
[name: string]: unknown;
|
|
5066
2056
|
};
|
|
5067
|
-
content
|
|
2057
|
+
content: {
|
|
2058
|
+
"application/json": components["schemas"]["ResourceUsage"];
|
|
2059
|
+
};
|
|
5068
2060
|
};
|
|
5069
2061
|
/** @description Error */
|
|
5070
2062
|
default: {
|
|
@@ -5077,20 +2069,19 @@ export interface operations {
|
|
|
5077
2069
|
};
|
|
5078
2070
|
};
|
|
5079
2071
|
};
|
|
5080
|
-
"
|
|
2072
|
+
"list-instance-ports": {
|
|
5081
2073
|
parameters: {
|
|
5082
|
-
query?:
|
|
2074
|
+
query?: {
|
|
2075
|
+
page?: number;
|
|
2076
|
+
page_size?: number;
|
|
2077
|
+
};
|
|
5083
2078
|
header?: never;
|
|
5084
2079
|
path: {
|
|
5085
|
-
|
|
2080
|
+
instanceId: string;
|
|
5086
2081
|
};
|
|
5087
2082
|
cookie?: never;
|
|
5088
2083
|
};
|
|
5089
|
-
requestBody
|
|
5090
|
-
content: {
|
|
5091
|
-
"application/json": components["schemas"]["RenameSecurityGroupRequestBody"];
|
|
5092
|
-
};
|
|
5093
|
-
};
|
|
2084
|
+
requestBody?: never;
|
|
5094
2085
|
responses: {
|
|
5095
2086
|
/** @description OK */
|
|
5096
2087
|
200: {
|
|
@@ -5098,7 +2089,7 @@ export interface operations {
|
|
|
5098
2089
|
[name: string]: unknown;
|
|
5099
2090
|
};
|
|
5100
2091
|
content: {
|
|
5101
|
-
"application/json": components["schemas"]["
|
|
2092
|
+
"application/json": components["schemas"]["ResourceDependencyList"];
|
|
5102
2093
|
};
|
|
5103
2094
|
};
|
|
5104
2095
|
/** @description Error */
|
|
@@ -5112,16 +2103,20 @@ export interface operations {
|
|
|
5112
2103
|
};
|
|
5113
2104
|
};
|
|
5114
2105
|
};
|
|
5115
|
-
"
|
|
2106
|
+
"attach-port": {
|
|
5116
2107
|
parameters: {
|
|
5117
2108
|
query?: never;
|
|
5118
2109
|
header?: never;
|
|
5119
2110
|
path: {
|
|
5120
|
-
|
|
2111
|
+
instanceId: string;
|
|
5121
2112
|
};
|
|
5122
2113
|
cookie?: never;
|
|
5123
2114
|
};
|
|
5124
|
-
requestBody
|
|
2115
|
+
requestBody: {
|
|
2116
|
+
content: {
|
|
2117
|
+
"application/json": components["schemas"]["AttachPortRequestBody"];
|
|
2118
|
+
};
|
|
2119
|
+
};
|
|
5125
2120
|
responses: {
|
|
5126
2121
|
/** @description OK */
|
|
5127
2122
|
200: {
|
|
@@ -5129,7 +2124,7 @@ export interface operations {
|
|
|
5129
2124
|
[name: string]: unknown;
|
|
5130
2125
|
};
|
|
5131
2126
|
content: {
|
|
5132
|
-
"application/json": components["schemas"]["
|
|
2127
|
+
"application/json": components["schemas"]["ResourceDependency"];
|
|
5133
2128
|
};
|
|
5134
2129
|
};
|
|
5135
2130
|
/** @description Error */
|
|
@@ -5143,28 +2138,25 @@ export interface operations {
|
|
|
5143
2138
|
};
|
|
5144
2139
|
};
|
|
5145
2140
|
};
|
|
5146
|
-
"
|
|
2141
|
+
"detach-port": {
|
|
5147
2142
|
parameters: {
|
|
5148
2143
|
query?: never;
|
|
5149
2144
|
header?: never;
|
|
5150
2145
|
path: {
|
|
5151
|
-
|
|
2146
|
+
instanceId: string;
|
|
2147
|
+
portId: string;
|
|
5152
2148
|
};
|
|
5153
2149
|
cookie?: never;
|
|
5154
2150
|
};
|
|
5155
|
-
requestBody
|
|
5156
|
-
content: {
|
|
5157
|
-
"application/json": components["schemas"]["CreateSecurityRuleRequestBody"];
|
|
5158
|
-
};
|
|
5159
|
-
};
|
|
2151
|
+
requestBody?: never;
|
|
5160
2152
|
responses: {
|
|
5161
|
-
/** @description
|
|
5162
|
-
|
|
2153
|
+
/** @description OK */
|
|
2154
|
+
200: {
|
|
5163
2155
|
headers: {
|
|
5164
2156
|
[name: string]: unknown;
|
|
5165
2157
|
};
|
|
5166
2158
|
content: {
|
|
5167
|
-
"application/json": components["schemas"]["
|
|
2159
|
+
"application/json": components["schemas"]["ResourceDependency"];
|
|
5168
2160
|
};
|
|
5169
2161
|
};
|
|
5170
2162
|
/** @description Error */
|
|
@@ -5178,24 +2170,28 @@ export interface operations {
|
|
|
5178
2170
|
};
|
|
5179
2171
|
};
|
|
5180
2172
|
};
|
|
5181
|
-
"
|
|
2173
|
+
"list-operation-logs": {
|
|
5182
2174
|
parameters: {
|
|
5183
|
-
query?:
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
2175
|
+
query?: {
|
|
2176
|
+
/** @description Return a single kind of operation; the value matches the operation id of the endpoint */
|
|
2177
|
+
action?: string;
|
|
2178
|
+
page?: number;
|
|
2179
|
+
page_size?: number;
|
|
5188
2180
|
};
|
|
2181
|
+
header?: never;
|
|
2182
|
+
path?: never;
|
|
5189
2183
|
cookie?: never;
|
|
5190
2184
|
};
|
|
5191
2185
|
requestBody?: never;
|
|
5192
2186
|
responses: {
|
|
5193
|
-
/** @description
|
|
5194
|
-
|
|
2187
|
+
/** @description OK */
|
|
2188
|
+
200: {
|
|
5195
2189
|
headers: {
|
|
5196
2190
|
[name: string]: unknown;
|
|
5197
2191
|
};
|
|
5198
|
-
content
|
|
2192
|
+
content: {
|
|
2193
|
+
"application/json": components["schemas"]["OperationLogListResponseBody"];
|
|
2194
|
+
};
|
|
5199
2195
|
};
|
|
5200
2196
|
/** @description Error */
|
|
5201
2197
|
default: {
|
|
@@ -5208,11 +2204,13 @@ export interface operations {
|
|
|
5208
2204
|
};
|
|
5209
2205
|
};
|
|
5210
2206
|
};
|
|
5211
|
-
"list-
|
|
2207
|
+
"list-private-images": {
|
|
5212
2208
|
parameters: {
|
|
5213
2209
|
query?: {
|
|
5214
|
-
/** @description Return only the
|
|
5215
|
-
|
|
2210
|
+
/** @description Return only the images of this region. An image can only be used in the region that holds it */
|
|
2211
|
+
region_id?: string;
|
|
2212
|
+
page?: number;
|
|
2213
|
+
page_size?: number;
|
|
5216
2214
|
};
|
|
5217
2215
|
header?: never;
|
|
5218
2216
|
path?: never;
|
|
@@ -5226,7 +2224,7 @@ export interface operations {
|
|
|
5226
2224
|
[name: string]: unknown;
|
|
5227
2225
|
};
|
|
5228
2226
|
content: {
|
|
5229
|
-
"application/json": components["schemas"]["
|
|
2227
|
+
"application/json": components["schemas"]["PrivateImageListResponseBody"];
|
|
5230
2228
|
};
|
|
5231
2229
|
};
|
|
5232
2230
|
/** @description Error */
|
|
@@ -5240,7 +2238,7 @@ export interface operations {
|
|
|
5240
2238
|
};
|
|
5241
2239
|
};
|
|
5242
2240
|
};
|
|
5243
|
-
"create-
|
|
2241
|
+
"create-private-image": {
|
|
5244
2242
|
parameters: {
|
|
5245
2243
|
query?: never;
|
|
5246
2244
|
header?: never;
|
|
@@ -5249,7 +2247,7 @@ export interface operations {
|
|
|
5249
2247
|
};
|
|
5250
2248
|
requestBody: {
|
|
5251
2249
|
content: {
|
|
5252
|
-
"application/json": components["schemas"]["
|
|
2250
|
+
"application/json": components["schemas"]["CreatePrivateImageRequestBody"];
|
|
5253
2251
|
};
|
|
5254
2252
|
};
|
|
5255
2253
|
responses: {
|
|
@@ -5259,7 +2257,7 @@ export interface operations {
|
|
|
5259
2257
|
[name: string]: unknown;
|
|
5260
2258
|
};
|
|
5261
2259
|
content: {
|
|
5262
|
-
"application/json": components["schemas"]["
|
|
2260
|
+
"application/json": components["schemas"]["PrivateImageResource"];
|
|
5263
2261
|
};
|
|
5264
2262
|
};
|
|
5265
2263
|
/** @description Error */
|
|
@@ -5273,12 +2271,12 @@ export interface operations {
|
|
|
5273
2271
|
};
|
|
5274
2272
|
};
|
|
5275
2273
|
};
|
|
5276
|
-
"get-
|
|
2274
|
+
"get-private-image": {
|
|
5277
2275
|
parameters: {
|
|
5278
2276
|
query?: never;
|
|
5279
2277
|
header?: never;
|
|
5280
2278
|
path: {
|
|
5281
|
-
|
|
2279
|
+
privateImageId: string;
|
|
5282
2280
|
};
|
|
5283
2281
|
cookie?: never;
|
|
5284
2282
|
};
|
|
@@ -5290,7 +2288,7 @@ export interface operations {
|
|
|
5290
2288
|
[name: string]: unknown;
|
|
5291
2289
|
};
|
|
5292
2290
|
content: {
|
|
5293
|
-
"application/json": components["schemas"]["
|
|
2291
|
+
"application/json": components["schemas"]["PrivateImageResource"];
|
|
5294
2292
|
};
|
|
5295
2293
|
};
|
|
5296
2294
|
/** @description Error */
|
|
@@ -5304,12 +2302,12 @@ export interface operations {
|
|
|
5304
2302
|
};
|
|
5305
2303
|
};
|
|
5306
2304
|
};
|
|
5307
|
-
"delete-
|
|
2305
|
+
"delete-private-image": {
|
|
5308
2306
|
parameters: {
|
|
5309
2307
|
query?: never;
|
|
5310
2308
|
header?: never;
|
|
5311
2309
|
path: {
|
|
5312
|
-
|
|
2310
|
+
privateImageId: string;
|
|
5313
2311
|
};
|
|
5314
2312
|
cookie?: never;
|
|
5315
2313
|
};
|
|
@@ -5333,20 +2331,54 @@ export interface operations {
|
|
|
5333
2331
|
};
|
|
5334
2332
|
};
|
|
5335
2333
|
};
|
|
5336
|
-
"rename-
|
|
2334
|
+
"rename-private-image": {
|
|
5337
2335
|
parameters: {
|
|
5338
2336
|
query?: never;
|
|
5339
2337
|
header?: never;
|
|
5340
2338
|
path: {
|
|
5341
|
-
|
|
2339
|
+
privateImageId: string;
|
|
5342
2340
|
};
|
|
5343
2341
|
cookie?: never;
|
|
5344
2342
|
};
|
|
5345
2343
|
requestBody: {
|
|
5346
2344
|
content: {
|
|
5347
|
-
"application/json": components["schemas"]["
|
|
2345
|
+
"application/json": components["schemas"]["RenamePrivateImageRequestBody"];
|
|
2346
|
+
};
|
|
2347
|
+
};
|
|
2348
|
+
responses: {
|
|
2349
|
+
/** @description OK */
|
|
2350
|
+
200: {
|
|
2351
|
+
headers: {
|
|
2352
|
+
[name: string]: unknown;
|
|
2353
|
+
};
|
|
2354
|
+
content: {
|
|
2355
|
+
"application/json": components["schemas"]["PrivateImageResource"];
|
|
2356
|
+
};
|
|
2357
|
+
};
|
|
2358
|
+
/** @description Error */
|
|
2359
|
+
default: {
|
|
2360
|
+
headers: {
|
|
2361
|
+
[name: string]: unknown;
|
|
2362
|
+
};
|
|
2363
|
+
content: {
|
|
2364
|
+
"application/json": components["schemas"]["Error"];
|
|
2365
|
+
};
|
|
2366
|
+
};
|
|
2367
|
+
};
|
|
2368
|
+
};
|
|
2369
|
+
"list-instance-dependencies": {
|
|
2370
|
+
parameters: {
|
|
2371
|
+
query?: {
|
|
2372
|
+
page?: number;
|
|
2373
|
+
page_size?: number;
|
|
2374
|
+
};
|
|
2375
|
+
header?: never;
|
|
2376
|
+
path: {
|
|
2377
|
+
instanceId: string;
|
|
5348
2378
|
};
|
|
2379
|
+
cookie?: never;
|
|
5349
2380
|
};
|
|
2381
|
+
requestBody?: never;
|
|
5350
2382
|
responses: {
|
|
5351
2383
|
/** @description OK */
|
|
5352
2384
|
200: {
|
|
@@ -5354,7 +2386,7 @@ export interface operations {
|
|
|
5354
2386
|
[name: string]: unknown;
|
|
5355
2387
|
};
|
|
5356
2388
|
content: {
|
|
5357
|
-
"application/json": components["schemas"]["
|
|
2389
|
+
"application/json": components["schemas"]["ResourceDependencyList"];
|
|
5358
2390
|
};
|
|
5359
2391
|
};
|
|
5360
2392
|
/** @description Error */
|