@leaflow/sdk 0.62.0 → 0.65.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/compute/v1/schema.d.ts +10 -7
- package/dist/fabric/v1/schema.d.ts +11 -13
- package/dist/storage/v1/index.d.ts +3 -53
- package/dist/storage/v1/schema.d.ts +228 -1173
- package/package.json +1 -1
|
@@ -3,72 +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 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.
|
|
19
|
-
*/
|
|
20
|
-
post: operations["create-backup"];
|
|
21
|
-
delete?: never;
|
|
22
|
-
options?: never;
|
|
23
|
-
head?: never;
|
|
24
|
-
patch?: never;
|
|
25
|
-
trace?: never;
|
|
26
|
-
};
|
|
27
|
-
"/api/v1/backups/{backupId}": {
|
|
28
|
-
parameters: {
|
|
29
|
-
query?: never;
|
|
30
|
-
header?: never;
|
|
31
|
-
path?: never;
|
|
32
|
-
cookie?: never;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Retrieve a backup
|
|
36
|
-
* @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.
|
|
37
|
-
*/
|
|
38
|
-
get: operations["get-backup"];
|
|
39
|
-
put?: never;
|
|
40
|
-
post?: never;
|
|
41
|
-
/**
|
|
42
|
-
* Delete a backup
|
|
43
|
-
* @description Independent of the source disk: deletion succeeds whether or not that disk still exists.
|
|
44
|
-
*/
|
|
45
|
-
delete: operations["delete-backup"];
|
|
46
|
-
options?: never;
|
|
47
|
-
head?: never;
|
|
48
|
-
/** Rename a backup */
|
|
49
|
-
patch: operations["rename-backup"];
|
|
50
|
-
trace?: never;
|
|
51
|
-
};
|
|
52
|
-
"/api/v1/backups/{backupId}/restore": {
|
|
53
|
-
parameters: {
|
|
54
|
-
query?: never;
|
|
55
|
-
header?: never;
|
|
56
|
-
path?: never;
|
|
57
|
-
cookie?: never;
|
|
58
|
-
};
|
|
59
|
-
get?: never;
|
|
60
|
-
put?: never;
|
|
61
|
-
/**
|
|
62
|
-
* Restore from a backup
|
|
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.
|
|
64
|
-
*/
|
|
65
|
-
post: operations["restore-backup"];
|
|
66
|
-
delete?: never;
|
|
67
|
-
options?: never;
|
|
68
|
-
head?: never;
|
|
69
|
-
patch?: never;
|
|
70
|
-
trace?: never;
|
|
71
|
-
};
|
|
72
6
|
"/api/v1/disk-types": {
|
|
73
7
|
parameters: {
|
|
74
8
|
query?: never;
|
|
@@ -76,10 +10,7 @@ export interface paths {
|
|
|
76
10
|
path?: never;
|
|
77
11
|
cookie?: never;
|
|
78
12
|
};
|
|
79
|
-
/**
|
|
80
|
-
* List disk types on sale
|
|
81
|
-
* @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.
|
|
82
|
-
*/
|
|
13
|
+
/** List disk types on sale */
|
|
83
14
|
get: operations["list-disk-types"];
|
|
84
15
|
put?: never;
|
|
85
16
|
post?: never;
|
|
@@ -96,10 +27,7 @@ export interface paths {
|
|
|
96
27
|
path?: never;
|
|
97
28
|
cookie?: never;
|
|
98
29
|
};
|
|
99
|
-
/**
|
|
100
|
-
* Get a disk type
|
|
101
|
-
* @description Retrieve capacity and performance constraints for an existing disk, including system disk types and types withdrawn from sale.
|
|
102
|
-
*/
|
|
30
|
+
/** Get a disk type */
|
|
103
31
|
get: operations["get-disk-type"];
|
|
104
32
|
put?: never;
|
|
105
33
|
post?: never;
|
|
@@ -116,15 +44,12 @@ export interface paths {
|
|
|
116
44
|
path?: never;
|
|
117
45
|
cookie?: never;
|
|
118
46
|
};
|
|
119
|
-
/**
|
|
120
|
-
* List disks
|
|
121
|
-
* @description Lists disks in the current project. Use resource-usages to inspect consumers and pending reservations.
|
|
122
|
-
*/
|
|
47
|
+
/** List disks in the current project */
|
|
123
48
|
get: operations["list-disks"];
|
|
124
49
|
put?: never;
|
|
125
50
|
/**
|
|
126
|
-
* Create a disk
|
|
127
|
-
* @description
|
|
51
|
+
* Create a disk purchase
|
|
52
|
+
* @description Checks Fleet capacity, creates the local disk intent, and places a Billing order. Reuse the same idempotency key after an uncertain response. Billing resolves contract pricing, sellable quota, grants, payment challenges, and expiry.
|
|
128
53
|
*/
|
|
129
54
|
post: operations["create-disk"];
|
|
130
55
|
delete?: never;
|
|
@@ -140,135 +65,21 @@ export interface paths {
|
|
|
140
65
|
path?: never;
|
|
141
66
|
cookie?: never;
|
|
142
67
|
};
|
|
143
|
-
/**
|
|
144
|
-
* Retrieve a disk
|
|
145
|
-
* @description Returns the disk and its observed state. Read its attachments for consumers, device names and pending attachment operations.
|
|
146
|
-
*/
|
|
68
|
+
/** Get a disk */
|
|
147
69
|
get: operations["get-disk"];
|
|
148
70
|
put?: never;
|
|
149
71
|
post?: never;
|
|
150
72
|
/**
|
|
151
73
|
* Delete a disk
|
|
152
|
-
* @description Deletion is rejected while the disk
|
|
74
|
+
* @description Deletion is asynchronous and is rejected while the disk has a live attachment or another live resource claim. Billing ends resource-bound subscriptions only after Cinder confirms deletion.
|
|
153
75
|
*/
|
|
154
76
|
delete: operations["delete-disk"];
|
|
155
77
|
options?: never;
|
|
156
78
|
head?: never;
|
|
157
|
-
/**
|
|
158
|
-
* Rename a disk
|
|
159
|
-
* @description Changes the name only. Use the resize endpoint for capacity; type and availability zone are immutable.
|
|
160
|
-
*/
|
|
79
|
+
/** Rename a disk */
|
|
161
80
|
patch: operations["rename-disk"];
|
|
162
81
|
trace?: never;
|
|
163
82
|
};
|
|
164
|
-
"/api/v1/disks/{diskId}/resize": {
|
|
165
|
-
parameters: {
|
|
166
|
-
query?: never;
|
|
167
|
-
header?: never;
|
|
168
|
-
path?: never;
|
|
169
|
-
cookie?: never;
|
|
170
|
-
};
|
|
171
|
-
get?: never;
|
|
172
|
-
put?: never;
|
|
173
|
-
/**
|
|
174
|
-
* Resize a disk
|
|
175
|
-
* @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.
|
|
176
|
-
*/
|
|
177
|
-
post: operations["resize-disk"];
|
|
178
|
-
delete?: never;
|
|
179
|
-
options?: never;
|
|
180
|
-
head?: never;
|
|
181
|
-
patch?: never;
|
|
182
|
-
trace?: never;
|
|
183
|
-
};
|
|
184
|
-
"/api/v1/disks/{diskId}/revert": {
|
|
185
|
-
parameters: {
|
|
186
|
-
query?: never;
|
|
187
|
-
header?: never;
|
|
188
|
-
path?: never;
|
|
189
|
-
cookie?: never;
|
|
190
|
-
};
|
|
191
|
-
get?: never;
|
|
192
|
-
put?: never;
|
|
193
|
-
/**
|
|
194
|
-
* Revert to a snapshot
|
|
195
|
-
* @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.**
|
|
196
|
-
*
|
|
197
|
-
* 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.
|
|
198
|
-
*
|
|
199
|
-
* The revert is not complete when this endpoint returns; poll the retrieve endpoint.
|
|
200
|
-
*/
|
|
201
|
-
post: operations["revert-disk"];
|
|
202
|
-
delete?: never;
|
|
203
|
-
options?: never;
|
|
204
|
-
head?: never;
|
|
205
|
-
patch?: never;
|
|
206
|
-
trace?: never;
|
|
207
|
-
};
|
|
208
|
-
"/api/v1/operation-logs": {
|
|
209
|
-
parameters: {
|
|
210
|
-
query?: never;
|
|
211
|
-
header?: never;
|
|
212
|
-
path?: never;
|
|
213
|
-
cookie?: never;
|
|
214
|
-
};
|
|
215
|
-
/**
|
|
216
|
-
* List the operation log of the project
|
|
217
|
-
* @description Records every write operation in the project: who performed it, when, on what, and whether it succeeded. Read operations are not recorded.
|
|
218
|
-
*
|
|
219
|
-
* **Operations performed by the platform are included, but the individual operator is not disclosed** and `by_platform` is true. Suspension for non-payment and bans for abuse are examples: the time at which an instance was stopped by the platform is needed, whereas the operator is internal information.
|
|
220
|
-
*
|
|
221
|
-
* Fields such as passwords are replaced with a placeholder as the record is written and never appear in `payload`.
|
|
222
|
-
*/
|
|
223
|
-
get: operations["list-operation-logs"];
|
|
224
|
-
put?: never;
|
|
225
|
-
post?: never;
|
|
226
|
-
delete?: never;
|
|
227
|
-
options?: never;
|
|
228
|
-
head?: never;
|
|
229
|
-
patch?: never;
|
|
230
|
-
trace?: never;
|
|
231
|
-
};
|
|
232
|
-
"/api/v1/snapshots": {
|
|
233
|
-
parameters: {
|
|
234
|
-
query?: never;
|
|
235
|
-
header?: never;
|
|
236
|
-
path?: never;
|
|
237
|
-
cookie?: never;
|
|
238
|
-
};
|
|
239
|
-
/** List snapshots */
|
|
240
|
-
get: operations["list-snapshots"];
|
|
241
|
-
put?: never;
|
|
242
|
-
/**
|
|
243
|
-
* Create a snapshot
|
|
244
|
-
* @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.
|
|
245
|
-
*/
|
|
246
|
-
post: operations["create-snapshot"];
|
|
247
|
-
delete?: never;
|
|
248
|
-
options?: never;
|
|
249
|
-
head?: never;
|
|
250
|
-
patch?: never;
|
|
251
|
-
trace?: never;
|
|
252
|
-
};
|
|
253
|
-
"/api/v1/snapshots/{snapshotId}": {
|
|
254
|
-
parameters: {
|
|
255
|
-
query?: never;
|
|
256
|
-
header?: never;
|
|
257
|
-
path?: never;
|
|
258
|
-
cookie?: never;
|
|
259
|
-
};
|
|
260
|
-
/** Retrieve a snapshot */
|
|
261
|
-
get: operations["get-snapshot"];
|
|
262
|
-
put?: never;
|
|
263
|
-
post?: never;
|
|
264
|
-
/** Delete a snapshot */
|
|
265
|
-
delete: operations["delete-snapshot"];
|
|
266
|
-
options?: never;
|
|
267
|
-
head?: never;
|
|
268
|
-
/** Rename a snapshot */
|
|
269
|
-
patch: operations["rename-snapshot"];
|
|
270
|
-
trace?: never;
|
|
271
|
-
};
|
|
272
83
|
"/api/v1/resource-usages": {
|
|
273
84
|
parameters: {
|
|
274
85
|
query?: never;
|
|
@@ -278,7 +89,7 @@ export interface paths {
|
|
|
278
89
|
};
|
|
279
90
|
/**
|
|
280
91
|
* List resource usages
|
|
281
|
-
* @description Lists direct consumers
|
|
92
|
+
* @description Lists direct consumers and pending reservations for a resource readable in the current project.
|
|
282
93
|
*/
|
|
283
94
|
get: operations["list-resource-usages"];
|
|
284
95
|
put?: never;
|
|
@@ -296,7 +107,7 @@ export interface paths {
|
|
|
296
107
|
path?: never;
|
|
297
108
|
cookie?: never;
|
|
298
109
|
};
|
|
299
|
-
/** Get resource usage */
|
|
110
|
+
/** Get a resource usage */
|
|
300
111
|
get: operations["get-resource-usage"];
|
|
301
112
|
put?: never;
|
|
302
113
|
post?: never;
|
|
@@ -313,7 +124,7 @@ export interface paths {
|
|
|
313
124
|
path?: never;
|
|
314
125
|
cookie?: never;
|
|
315
126
|
};
|
|
316
|
-
/** Get resource reclamation */
|
|
127
|
+
/** Get resource reclamation state */
|
|
317
128
|
get: operations["get-resource-reclamation"];
|
|
318
129
|
put?: never;
|
|
319
130
|
post?: never;
|
|
@@ -333,7 +144,7 @@ export interface paths {
|
|
|
333
144
|
get?: never;
|
|
334
145
|
/**
|
|
335
146
|
* Set resource idle policy
|
|
336
|
-
* @description
|
|
147
|
+
* @description Enabling automatic cleanup starts a fresh retention interval after the last live claim is released. Existing claims and pending operations always block reclamation.
|
|
337
148
|
*/
|
|
338
149
|
put: operations["set-resource-idle-policy"];
|
|
339
150
|
post?: never;
|
|
@@ -343,17 +154,14 @@ export interface paths {
|
|
|
343
154
|
patch?: never;
|
|
344
155
|
trace?: never;
|
|
345
156
|
};
|
|
346
|
-
"/api/v1/disks/{
|
|
157
|
+
"/api/v1/disks/{diskId}/attachments": {
|
|
347
158
|
parameters: {
|
|
348
159
|
query?: never;
|
|
349
160
|
header?: never;
|
|
350
161
|
path?: never;
|
|
351
162
|
cookie?: never;
|
|
352
163
|
};
|
|
353
|
-
/**
|
|
354
|
-
* List disk attachments
|
|
355
|
-
* @description Actual attachment state, including operations whose provider outcome is unknown. Use usage_id to locate the corresponding blocking claim.
|
|
356
|
-
*/
|
|
164
|
+
/** List disk attachments */
|
|
357
165
|
get: operations["list-disk-attachments"];
|
|
358
166
|
put?: never;
|
|
359
167
|
post?: never;
|
|
@@ -370,7 +178,7 @@ export interface paths {
|
|
|
370
178
|
path?: never;
|
|
371
179
|
cookie?: never;
|
|
372
180
|
};
|
|
373
|
-
/** Get attachment */
|
|
181
|
+
/** Get a disk attachment */
|
|
374
182
|
get: operations["get-attachment"];
|
|
375
183
|
put?: never;
|
|
376
184
|
post?: never;
|
|
@@ -384,275 +192,89 @@ export interface paths {
|
|
|
384
192
|
export type webhooks = Record<string, never>;
|
|
385
193
|
export interface components {
|
|
386
194
|
schemas: {
|
|
387
|
-
|
|
388
|
-
code?: string;
|
|
389
|
-
message: string;
|
|
390
|
-
/**
|
|
391
|
-
* @description What a given `code` carries alongside the message. The keys depend on the code,
|
|
392
|
-
* and a client that does not recognise one ignores it.
|
|
393
|
-
*/
|
|
394
|
-
meta?: {
|
|
395
|
-
[key: string]: unknown;
|
|
396
|
-
};
|
|
397
|
-
/** Format: int64 */
|
|
398
|
-
status: number;
|
|
399
|
-
};
|
|
400
|
-
BackupResource: {
|
|
401
|
-
/** Format: uuid */
|
|
402
|
-
availability_zone_id: string;
|
|
403
|
-
/** Format: date-time */
|
|
404
|
-
created_at: string;
|
|
195
|
+
Disk: {
|
|
405
196
|
/** Format: uuid */
|
|
406
197
|
id: string;
|
|
407
198
|
name: string;
|
|
408
199
|
/** Format: uuid */
|
|
409
200
|
region_id: string;
|
|
410
|
-
/**
|
|
411
|
-
* Format: int64
|
|
412
|
-
* @description Capacity of the source disk when the backup was created. A restored disk cannot be smaller than this
|
|
413
|
-
*/
|
|
414
|
-
size_gb: number;
|
|
415
|
-
/**
|
|
416
|
-
* Format: uuid
|
|
417
|
-
* @description The disk this backup was taken from. The backup remains usable after that disk is deleted
|
|
418
|
-
*/
|
|
419
|
-
source_disk_id: string;
|
|
420
|
-
/** @enum {string} */
|
|
421
|
-
status: "provisioning" | "available" | "restoring" | "deleting" | "error";
|
|
422
|
-
subscription_item_ids?: string[];
|
|
423
|
-
};
|
|
424
|
-
BackupListResponseBody: {
|
|
425
|
-
items: components["schemas"]["BackupResource"][];
|
|
426
|
-
/** Format: int64 */
|
|
427
|
-
page: number;
|
|
428
|
-
/** Format: int64 */
|
|
429
|
-
page_size: number;
|
|
430
|
-
/** Format: int64 */
|
|
431
|
-
total_count?: number;
|
|
432
|
-
};
|
|
433
|
-
CreateBackupRequestBody: {
|
|
434
|
-
/** Format: uuid */
|
|
435
|
-
disk_id: string;
|
|
436
|
-
name: string;
|
|
437
|
-
order: components["schemas"]["OrderOptions"];
|
|
438
|
-
price: components["schemas"]["CatalogReference"];
|
|
439
|
-
};
|
|
440
|
-
RenameBackupRequestBody: {
|
|
441
|
-
name: string;
|
|
442
|
-
};
|
|
443
|
-
RestoreBackupRequestBody: {
|
|
444
|
-
/**
|
|
445
|
-
* Format: uuid
|
|
446
|
-
* @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
|
|
447
|
-
*/
|
|
448
|
-
disk_type_id: string;
|
|
449
|
-
name: string;
|
|
450
|
-
/**
|
|
451
|
-
* Format: int64
|
|
452
|
-
* @description Matches the size of the backup when omitted. When given, it must not be smaller than the backup
|
|
453
|
-
*/
|
|
454
|
-
size_gb?: number;
|
|
455
|
-
order: components["schemas"]["OrderOptions"];
|
|
456
|
-
price: components["schemas"]["CatalogReference"];
|
|
457
|
-
};
|
|
458
|
-
DiskResource: {
|
|
459
201
|
/** Format: uuid */
|
|
460
202
|
availability_zone_id: string;
|
|
461
|
-
/** Format: date-time */
|
|
462
|
-
created_at: string;
|
|
463
203
|
/** Format: uuid */
|
|
464
204
|
disk_type_id: string;
|
|
465
|
-
/** Format: uuid */
|
|
466
|
-
id: string;
|
|
467
|
-
name: string;
|
|
468
|
-
/** Format: uuid */
|
|
469
|
-
region_id: string;
|
|
470
205
|
/** Format: int64 */
|
|
471
206
|
size_gb: number;
|
|
472
|
-
/**
|
|
473
|
-
* Format: int64
|
|
474
|
-
* @description IOPS this disk is allowed. Null when its type is not rate-limited.
|
|
475
|
-
*
|
|
476
|
-
* Computed from the disk's own capacity, so it grows when the disk is grown — but see the
|
|
477
|
-
* note on the resize endpoint: growing a disk that is attached is refused, precisely because
|
|
478
|
-
* the new figure would not take effect until it was attached again.
|
|
479
|
-
*/
|
|
480
|
-
iops: number | null;
|
|
481
|
-
/**
|
|
482
|
-
* Format: int64
|
|
483
|
-
* @description Throughput this disk is allowed, in bytes per second. Null when its type is not rate-limited
|
|
484
|
-
*/
|
|
485
|
-
throughput_bytes_per_sec: number | null;
|
|
486
207
|
/** @enum {string} */
|
|
487
208
|
status: "provisioning" | "available" | "attaching" | "in_use" | "detaching" | "resizing" | "reverting" | "restoring" | "releasing" | "deleting" | "error";
|
|
488
|
-
|
|
209
|
+
/** Format: date-time */
|
|
210
|
+
created_at: string;
|
|
211
|
+
/** Format: date-time */
|
|
212
|
+
updated_at: string;
|
|
213
|
+
/** Format: date-time */
|
|
214
|
+
deleted_at?: string | null;
|
|
489
215
|
};
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
216
|
+
DiskList: {
|
|
217
|
+
items: components["schemas"]["Disk"][];
|
|
218
|
+
pagination: components["schemas"]["OffsetPagination"];
|
|
219
|
+
};
|
|
220
|
+
DiskType: {
|
|
493
221
|
/** Format: uuid */
|
|
494
222
|
id: string;
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
* @description IOPS a disk of `min_size_gb` gets. Null when this type is not rate-limited.
|
|
498
|
-
*
|
|
499
|
-
* Performance grows with capacity, so this and `iops_at_max_size` are the two ends of the
|
|
500
|
-
* range. The exact figure for the size actually bought appears on the disk itself once it
|
|
501
|
-
* exists.
|
|
502
|
-
*/
|
|
503
|
-
iops_at_min_size: number | null;
|
|
504
|
-
/**
|
|
505
|
-
* Format: int64
|
|
506
|
-
* @description IOPS a disk of `max_size_gb` gets. Null when this type is not rate-limited
|
|
507
|
-
*/
|
|
508
|
-
iops_at_max_size: number | null;
|
|
509
|
-
/** Format: int64 */
|
|
510
|
-
max_size_gb: number;
|
|
223
|
+
lookup_key: string;
|
|
224
|
+
name: string;
|
|
511
225
|
/** @enum {string} */
|
|
512
226
|
media: "ssd" | "hdd" | "nvme";
|
|
513
|
-
/** Format: int64 */
|
|
514
|
-
min_size_gb: number;
|
|
515
|
-
name: string;
|
|
516
227
|
/** Format: uuid */
|
|
517
228
|
region_id: string;
|
|
229
|
+
/** Format: uuid */
|
|
230
|
+
availability_zone_id: string;
|
|
231
|
+
/** Format: int64 */
|
|
232
|
+
min_size_gb: number;
|
|
233
|
+
/** Format: int64 */
|
|
234
|
+
max_size_gb: number;
|
|
518
235
|
/** Format: int64 */
|
|
519
236
|
step_gb: number;
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
* @description Throughput a disk of `min_size_gb` gets, in **bytes per second**. Null when this type is
|
|
523
|
-
* not rate-limited.
|
|
524
|
-
*
|
|
525
|
-
* Bytes rather than MiB so the number needs no rounding on the way out; divide by 1048576
|
|
526
|
-
* for MiB/s at the point of display.
|
|
527
|
-
*/
|
|
528
|
-
throughput_at_min_size: number | null;
|
|
529
|
-
/**
|
|
530
|
-
* Format: int64
|
|
531
|
-
* @description Throughput a disk of `max_size_gb` gets, in bytes per second. Null when this type is not rate-limited
|
|
532
|
-
*/
|
|
533
|
-
throughput_at_max_size: number | null;
|
|
534
|
-
/**
|
|
535
|
-
* Format: uuid
|
|
536
|
-
* @description The Billing Plan for this type. Read its available prices from Billing; resource capacity and sellable quota are evaluated when placing the order.
|
|
537
|
-
*/
|
|
237
|
+
for_system: boolean;
|
|
238
|
+
/** Format: uuid */
|
|
538
239
|
billing_plan_id: string;
|
|
539
240
|
};
|
|
540
|
-
|
|
541
|
-
items: components["schemas"]["
|
|
542
|
-
|
|
543
|
-
page: number;
|
|
544
|
-
/** Format: int64 */
|
|
545
|
-
page_size: number;
|
|
546
|
-
/** Format: int64 */
|
|
547
|
-
total_count?: number;
|
|
241
|
+
DiskTypeList: {
|
|
242
|
+
items: components["schemas"]["DiskType"][];
|
|
243
|
+
pagination: components["schemas"]["OffsetPagination"];
|
|
548
244
|
};
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
/** Format:
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
page_size: number;
|
|
555
|
-
/** Format: int64 */
|
|
556
|
-
total_count?: number;
|
|
245
|
+
/** @description Specify exactly one of id or lookup_key. A lookup key is scoped to the product of the resource service. */
|
|
246
|
+
CatalogReference: {
|
|
247
|
+
/** Format: uuid */
|
|
248
|
+
id?: string;
|
|
249
|
+
lookup_key?: string;
|
|
557
250
|
};
|
|
558
|
-
|
|
559
|
-
/**
|
|
560
|
-
* Format: uuid
|
|
561
|
-
* @description A disk type currently on sale. A withdrawn one is rejected even though its identifier still resolves
|
|
562
|
-
*/
|
|
251
|
+
CreateDiskRequest: {
|
|
252
|
+
/** Format: uuid */
|
|
563
253
|
disk_type_id: string;
|
|
564
254
|
name: string;
|
|
565
255
|
/** Format: int64 */
|
|
566
256
|
size_gb: number;
|
|
567
|
-
/**
|
|
568
|
-
* Format: uuid
|
|
569
|
-
* @description Restore from this snapshot. When given, the capacity need only be no smaller than the snapshot
|
|
570
|
-
*/
|
|
571
|
-
snapshot_id?: string;
|
|
572
|
-
order: components["schemas"]["OrderOptions"];
|
|
573
257
|
price: components["schemas"]["CatalogReference"];
|
|
574
|
-
};
|
|
575
|
-
RenameDiskRequestBody: {
|
|
576
|
-
name: string;
|
|
577
|
-
};
|
|
578
|
-
ResizeDiskRequestBody: {
|
|
579
|
-
/**
|
|
580
|
-
* Format: int64
|
|
581
|
-
* @description Must be larger than the current capacity
|
|
582
|
-
*/
|
|
583
|
-
size_gb: number;
|
|
584
258
|
order: components["schemas"]["OrderOptions"];
|
|
585
|
-
price: components["schemas"]["CatalogReference"];
|
|
586
259
|
};
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
* Format: uuid
|
|
590
|
-
* @description Must be the most recent snapshot of the disk
|
|
591
|
-
*/
|
|
592
|
-
snapshot_id: string;
|
|
260
|
+
RenameRequest: {
|
|
261
|
+
name: string;
|
|
593
262
|
};
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
/** @description The user who initiated the operation. Empty when the platform performed it */
|
|
598
|
-
actor: string | null;
|
|
263
|
+
Error: {
|
|
264
|
+
code?: string;
|
|
265
|
+
message: string;
|
|
599
266
|
/**
|
|
600
|
-
* @description
|
|
601
|
-
*
|
|
602
|
-
* Null on entries recorded before this field existed, and on entries performed by the platform. An empty string means the account had no name recorded.
|
|
267
|
+
* @description What a given `code` carries alongside the message. The keys depend on the code,
|
|
268
|
+
* and a client that does not recognise one ignores it.
|
|
603
269
|
*/
|
|
604
|
-
|
|
605
|
-
/** @description True when the operation was performed by the platform */
|
|
606
|
-
by_platform: boolean;
|
|
607
|
-
/** Format: date-time */
|
|
608
|
-
created_at: string;
|
|
609
|
-
/** @description Brief reason for the failure */
|
|
610
|
-
failure: string | null;
|
|
611
|
-
/** Format: uuid */
|
|
612
|
-
id: string;
|
|
613
|
-
/** @description Path and query parameters of the request. Fields such as passwords are redacted */
|
|
614
|
-
payload: {
|
|
270
|
+
meta?: {
|
|
615
271
|
[key: string]: unknown;
|
|
616
272
|
};
|
|
617
|
-
/** Format: uuid */
|
|
618
|
-
region_id: string | null;
|
|
619
|
-
/** @description Empty for create operations: the id of the new resource is in the response, not in the request path */
|
|
620
|
-
subject_id: string;
|
|
621
|
-
subject_type: string;
|
|
622
|
-
succeeded: boolean;
|
|
623
|
-
};
|
|
624
|
-
OperationLogListResponseBody: {
|
|
625
|
-
items: components["schemas"]["OperationLogResource"][];
|
|
626
273
|
/** Format: int64 */
|
|
627
|
-
|
|
628
|
-
/** Format: int64 */
|
|
629
|
-
page_size: number;
|
|
630
|
-
/** Format: int64 */
|
|
631
|
-
total_count?: number;
|
|
632
|
-
};
|
|
633
|
-
SnapshotResource: {
|
|
634
|
-
/** Format: uuid */
|
|
635
|
-
availability_zone_id: string;
|
|
636
|
-
/** Format: date-time */
|
|
637
|
-
created_at: string;
|
|
638
|
-
/** Format: uuid */
|
|
639
|
-
disk_id: string;
|
|
640
|
-
/** Format: uuid */
|
|
641
|
-
id: string;
|
|
642
|
-
name: string;
|
|
643
|
-
/** Format: uuid */
|
|
644
|
-
region_id: string;
|
|
645
|
-
/**
|
|
646
|
-
* Format: int64
|
|
647
|
-
* @description Capacity of the source disk when the snapshot was created. A disk restored from it cannot be smaller
|
|
648
|
-
*/
|
|
649
|
-
size_gb: number;
|
|
650
|
-
/** @enum {string} */
|
|
651
|
-
status: "provisioning" | "available" | "restoring" | "deleting" | "error";
|
|
652
|
-
subscription_item_ids?: string[];
|
|
274
|
+
status: number;
|
|
653
275
|
};
|
|
654
|
-
|
|
655
|
-
|
|
276
|
+
/** @description Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan. */
|
|
277
|
+
OffsetPagination: {
|
|
656
278
|
/** Format: int64 */
|
|
657
279
|
page: number;
|
|
658
280
|
/** Format: int64 */
|
|
@@ -660,15 +282,10 @@ export interface components {
|
|
|
660
282
|
/** Format: int64 */
|
|
661
283
|
total_count?: number;
|
|
662
284
|
};
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
order: components["schemas"]["OrderOptions"];
|
|
668
|
-
price: components["schemas"]["CatalogReference"];
|
|
669
|
-
};
|
|
670
|
-
RenameSnapshotRequestBody: {
|
|
671
|
-
name: string;
|
|
285
|
+
/** @description Requested funding split. This does not select a card or payment provider; complete payment through Billing. */
|
|
286
|
+
PaymentPlan: {
|
|
287
|
+
balance_amount: string;
|
|
288
|
+
provider_amount: string;
|
|
672
289
|
};
|
|
673
290
|
/** @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. */
|
|
674
291
|
OrderOptions: {
|
|
@@ -677,12 +294,6 @@ export interface components {
|
|
|
677
294
|
expected_amount?: string;
|
|
678
295
|
redemption_code?: string;
|
|
679
296
|
};
|
|
680
|
-
/** @description Specify exactly one of id or lookup_key. A lookup key is scoped to the product of the resource service. */
|
|
681
|
-
CatalogReference: {
|
|
682
|
-
/** Format: uuid */
|
|
683
|
-
id?: string;
|
|
684
|
-
lookup_key?: string;
|
|
685
|
-
};
|
|
686
297
|
/**
|
|
687
298
|
* @description A billable order has been created. Read it from the billing API to find out what is
|
|
688
299
|
* owed and whether payment is still required.
|
|
@@ -700,580 +311,129 @@ export interface components {
|
|
|
700
311
|
* covered entirely by granted credit. Such an order is already settled, and no
|
|
701
312
|
* payment step applies.
|
|
702
313
|
*/
|
|
703
|
-
order_id: string;
|
|
704
|
-
};
|
|
705
|
-
/** @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. */
|
|
706
|
-
ResourceUsage: {
|
|
707
|
-
/** Format: uuid */
|
|
708
|
-
id: string;
|
|
709
|
-
/** Format: uuid */
|
|
710
|
-
project_id: string;
|
|
711
|
-
resource: components["schemas"]["ResourceReference"];
|
|
712
|
-
consumer: components["schemas"]["ResourceReference"];
|
|
713
|
-
purpose: string;
|
|
714
|
-
/** @enum {string} */
|
|
715
|
-
state: "reserved" | "active" | "releasing" | "released";
|
|
716
|
-
/** Format: int64 */
|
|
717
|
-
generation: number;
|
|
718
|
-
/** Format: uuid */
|
|
719
|
-
operation_id: string;
|
|
720
|
-
/** Format: date-time */
|
|
721
|
-
created_at: string;
|
|
722
|
-
/** Format: date-time */
|
|
723
|
-
updated_at: string;
|
|
724
|
-
/** Format: date-time */
|
|
725
|
-
released_at?: string;
|
|
726
|
-
};
|
|
727
|
-
ResourceUsageList: {
|
|
728
|
-
items: components["schemas"]["ResourceUsage"][];
|
|
729
|
-
/** Format: int64 */
|
|
730
|
-
page: number;
|
|
731
|
-
/** Format: int64 */
|
|
732
|
-
page_size: number;
|
|
733
|
-
/** Format: int64 */
|
|
734
|
-
total_count?: number;
|
|
735
|
-
};
|
|
736
|
-
/** @description Automatic reclamation is disabled by default. When enabled, retention starts after the last live claim is confirmed released. Traffic, IO and consumer heartbeats do not affect eligibility. */
|
|
737
|
-
IdlePolicy: {
|
|
738
|
-
/** @default false */
|
|
739
|
-
enabled: boolean;
|
|
740
|
-
/** Format: int64 */
|
|
741
|
-
retention_seconds: number;
|
|
742
|
-
};
|
|
743
|
-
ReclamationState: {
|
|
744
|
-
resource: components["schemas"]["ResourceReference"];
|
|
745
|
-
policy: components["schemas"]["IdlePolicy"];
|
|
746
|
-
/** Format: int64 */
|
|
747
|
-
active_usage_count: number;
|
|
748
|
-
/** Format: date-time */
|
|
749
|
-
unreferenced_at?: string;
|
|
750
|
-
/** Format: date-time */
|
|
751
|
-
eligible_at?: string;
|
|
752
|
-
/** @enum {string} */
|
|
753
|
-
status: "retained" | "in_use" | "idle" | "reclaiming" | "deleted";
|
|
754
|
-
blocked_reasons: string[];
|
|
755
|
-
};
|
|
756
|
-
Attachment: {
|
|
757
|
-
/** Format: uuid */
|
|
758
|
-
id: string;
|
|
759
|
-
/** Format: uuid */
|
|
760
|
-
usage_id: string;
|
|
761
|
-
resource: components["schemas"]["ResourceReference"];
|
|
762
|
-
consumer: components["schemas"]["ResourceReference"];
|
|
763
|
-
/** @enum {string} */
|
|
764
|
-
state: "reserved" | "attaching" | "attached" | "detaching" | "detached" | "unknown";
|
|
765
|
-
/** Format: int64 */
|
|
766
|
-
generation: number;
|
|
767
|
-
device?: string;
|
|
768
|
-
read_only: boolean;
|
|
769
|
-
/** Format: date-time */
|
|
770
|
-
created_at: string;
|
|
771
|
-
/** Format: date-time */
|
|
772
|
-
updated_at: string;
|
|
773
|
-
};
|
|
774
|
-
AttachmentList: {
|
|
775
|
-
items: components["schemas"]["Attachment"][];
|
|
776
|
-
/** Format: int64 */
|
|
777
|
-
page: number;
|
|
778
|
-
/** Format: int64 */
|
|
779
|
-
page_size: number;
|
|
780
|
-
/** Format: int64 */
|
|
781
|
-
total_count?: number;
|
|
782
|
-
};
|
|
783
|
-
/** @description Requested funding split. This does not select a card or payment provider; complete payment through Billing. */
|
|
784
|
-
PaymentPlan: {
|
|
785
|
-
balance_amount: string;
|
|
786
|
-
provider_amount: string;
|
|
787
|
-
};
|
|
788
|
-
/** @description A resource identified within its owning service. The project is taken from the containing usage or request. */
|
|
789
|
-
ResourceReference: {
|
|
790
|
-
service: string;
|
|
791
|
-
type: string;
|
|
792
|
-
/** Format: uuid */
|
|
793
|
-
id: string;
|
|
794
|
-
};
|
|
795
|
-
};
|
|
796
|
-
responses: never;
|
|
797
|
-
parameters: never;
|
|
798
|
-
requestBodies: never;
|
|
799
|
-
headers: never;
|
|
800
|
-
pathItems: never;
|
|
801
|
-
}
|
|
802
|
-
export type $defs = Record<string, never>;
|
|
803
|
-
export interface operations {
|
|
804
|
-
"list-backups": {
|
|
805
|
-
parameters: {
|
|
806
|
-
query?: {
|
|
807
|
-
/** @description Return only the backups of this disk */
|
|
808
|
-
disk_id?: string;
|
|
809
|
-
page?: number;
|
|
810
|
-
page_size?: number;
|
|
811
|
-
};
|
|
812
|
-
header?: never;
|
|
813
|
-
path?: never;
|
|
814
|
-
cookie?: never;
|
|
815
|
-
};
|
|
816
|
-
requestBody?: never;
|
|
817
|
-
responses: {
|
|
818
|
-
/** @description OK */
|
|
819
|
-
200: {
|
|
820
|
-
headers: {
|
|
821
|
-
[name: string]: unknown;
|
|
822
|
-
};
|
|
823
|
-
content: {
|
|
824
|
-
"application/json": components["schemas"]["BackupListResponseBody"];
|
|
825
|
-
};
|
|
826
|
-
};
|
|
827
|
-
/** @description Error */
|
|
828
|
-
default: {
|
|
829
|
-
headers: {
|
|
830
|
-
[name: string]: unknown;
|
|
831
|
-
};
|
|
832
|
-
content: {
|
|
833
|
-
"application/json": components["schemas"]["Error"];
|
|
834
|
-
};
|
|
835
|
-
};
|
|
836
|
-
};
|
|
837
|
-
};
|
|
838
|
-
"create-backup": {
|
|
839
|
-
parameters: {
|
|
840
|
-
query?: never;
|
|
841
|
-
header?: never;
|
|
842
|
-
path?: never;
|
|
843
|
-
cookie?: never;
|
|
844
|
-
};
|
|
845
|
-
requestBody: {
|
|
846
|
-
content: {
|
|
847
|
-
"application/json": components["schemas"]["CreateBackupRequestBody"];
|
|
848
|
-
};
|
|
849
|
-
};
|
|
850
|
-
responses: {
|
|
851
|
-
/** @description Accepted */
|
|
852
|
-
202: {
|
|
853
|
-
headers: {
|
|
854
|
-
[name: string]: unknown;
|
|
855
|
-
};
|
|
856
|
-
content: {
|
|
857
|
-
"application/json": components["schemas"]["PlacedOrder"];
|
|
858
|
-
};
|
|
859
|
-
};
|
|
860
|
-
/** @description Error */
|
|
861
|
-
default: {
|
|
862
|
-
headers: {
|
|
863
|
-
[name: string]: unknown;
|
|
864
|
-
};
|
|
865
|
-
content: {
|
|
866
|
-
"application/json": components["schemas"]["Error"];
|
|
867
|
-
};
|
|
868
|
-
};
|
|
869
|
-
};
|
|
870
|
-
};
|
|
871
|
-
"get-backup": {
|
|
872
|
-
parameters: {
|
|
873
|
-
query?: never;
|
|
874
|
-
header?: never;
|
|
875
|
-
path: {
|
|
876
|
-
backupId: string;
|
|
877
|
-
};
|
|
878
|
-
cookie?: never;
|
|
879
|
-
};
|
|
880
|
-
requestBody?: never;
|
|
881
|
-
responses: {
|
|
882
|
-
/** @description OK */
|
|
883
|
-
200: {
|
|
884
|
-
headers: {
|
|
885
|
-
[name: string]: unknown;
|
|
886
|
-
};
|
|
887
|
-
content: {
|
|
888
|
-
"application/json": components["schemas"]["BackupResource"];
|
|
889
|
-
};
|
|
890
|
-
};
|
|
891
|
-
/** @description Error */
|
|
892
|
-
default: {
|
|
893
|
-
headers: {
|
|
894
|
-
[name: string]: unknown;
|
|
895
|
-
};
|
|
896
|
-
content: {
|
|
897
|
-
"application/json": components["schemas"]["Error"];
|
|
898
|
-
};
|
|
899
|
-
};
|
|
900
|
-
};
|
|
901
|
-
};
|
|
902
|
-
"delete-backup": {
|
|
903
|
-
parameters: {
|
|
904
|
-
query?: never;
|
|
905
|
-
header?: never;
|
|
906
|
-
path: {
|
|
907
|
-
backupId: string;
|
|
908
|
-
};
|
|
909
|
-
cookie?: never;
|
|
910
|
-
};
|
|
911
|
-
requestBody?: never;
|
|
912
|
-
responses: {
|
|
913
|
-
/** @description No Content */
|
|
914
|
-
204: {
|
|
915
|
-
headers: {
|
|
916
|
-
[name: string]: unknown;
|
|
917
|
-
};
|
|
918
|
-
content?: never;
|
|
919
|
-
};
|
|
920
|
-
/** @description Error */
|
|
921
|
-
default: {
|
|
922
|
-
headers: {
|
|
923
|
-
[name: string]: unknown;
|
|
924
|
-
};
|
|
925
|
-
content: {
|
|
926
|
-
"application/json": components["schemas"]["Error"];
|
|
927
|
-
};
|
|
928
|
-
};
|
|
929
|
-
};
|
|
930
|
-
};
|
|
931
|
-
"rename-backup": {
|
|
932
|
-
parameters: {
|
|
933
|
-
query?: never;
|
|
934
|
-
header?: never;
|
|
935
|
-
path: {
|
|
936
|
-
backupId: string;
|
|
937
|
-
};
|
|
938
|
-
cookie?: never;
|
|
939
|
-
};
|
|
940
|
-
requestBody: {
|
|
941
|
-
content: {
|
|
942
|
-
"application/json": components["schemas"]["RenameBackupRequestBody"];
|
|
943
|
-
};
|
|
944
|
-
};
|
|
945
|
-
responses: {
|
|
946
|
-
/** @description OK */
|
|
947
|
-
200: {
|
|
948
|
-
headers: {
|
|
949
|
-
[name: string]: unknown;
|
|
950
|
-
};
|
|
951
|
-
content: {
|
|
952
|
-
"application/json": components["schemas"]["BackupResource"];
|
|
953
|
-
};
|
|
954
|
-
};
|
|
955
|
-
/** @description Error */
|
|
956
|
-
default: {
|
|
957
|
-
headers: {
|
|
958
|
-
[name: string]: unknown;
|
|
959
|
-
};
|
|
960
|
-
content: {
|
|
961
|
-
"application/json": components["schemas"]["Error"];
|
|
962
|
-
};
|
|
963
|
-
};
|
|
964
|
-
};
|
|
965
|
-
};
|
|
966
|
-
"restore-backup": {
|
|
967
|
-
parameters: {
|
|
968
|
-
query?: never;
|
|
969
|
-
header?: never;
|
|
970
|
-
path: {
|
|
971
|
-
backupId: string;
|
|
972
|
-
};
|
|
973
|
-
cookie?: never;
|
|
974
|
-
};
|
|
975
|
-
requestBody: {
|
|
976
|
-
content: {
|
|
977
|
-
"application/json": components["schemas"]["RestoreBackupRequestBody"];
|
|
978
|
-
};
|
|
979
|
-
};
|
|
980
|
-
responses: {
|
|
981
|
-
/** @description Accepted */
|
|
982
|
-
202: {
|
|
983
|
-
headers: {
|
|
984
|
-
[name: string]: unknown;
|
|
985
|
-
};
|
|
986
|
-
content: {
|
|
987
|
-
"application/json": components["schemas"]["PlacedOrder"];
|
|
988
|
-
};
|
|
989
|
-
};
|
|
990
|
-
/** @description Error */
|
|
991
|
-
default: {
|
|
992
|
-
headers: {
|
|
993
|
-
[name: string]: unknown;
|
|
994
|
-
};
|
|
995
|
-
content: {
|
|
996
|
-
"application/json": components["schemas"]["Error"];
|
|
997
|
-
};
|
|
998
|
-
};
|
|
999
|
-
};
|
|
1000
|
-
};
|
|
1001
|
-
"list-disk-types": {
|
|
1002
|
-
parameters: {
|
|
1003
|
-
query: {
|
|
1004
|
-
region_id: string;
|
|
1005
|
-
page?: number;
|
|
1006
|
-
page_size?: number;
|
|
1007
|
-
};
|
|
1008
|
-
header?: never;
|
|
1009
|
-
path?: never;
|
|
1010
|
-
cookie?: never;
|
|
1011
|
-
};
|
|
1012
|
-
requestBody?: never;
|
|
1013
|
-
responses: {
|
|
1014
|
-
/** @description OK */
|
|
1015
|
-
200: {
|
|
1016
|
-
headers: {
|
|
1017
|
-
[name: string]: unknown;
|
|
1018
|
-
};
|
|
1019
|
-
content: {
|
|
1020
|
-
"application/json": components["schemas"]["DiskTypeListResponseBody"];
|
|
1021
|
-
};
|
|
1022
|
-
};
|
|
1023
|
-
/** @description Error */
|
|
1024
|
-
default: {
|
|
1025
|
-
headers: {
|
|
1026
|
-
[name: string]: unknown;
|
|
1027
|
-
};
|
|
1028
|
-
content: {
|
|
1029
|
-
"application/json": components["schemas"]["Error"];
|
|
1030
|
-
};
|
|
1031
|
-
};
|
|
1032
|
-
};
|
|
1033
|
-
};
|
|
1034
|
-
"get-disk-type": {
|
|
1035
|
-
parameters: {
|
|
1036
|
-
query?: never;
|
|
1037
|
-
header?: never;
|
|
1038
|
-
path: {
|
|
1039
|
-
diskTypeId: string;
|
|
1040
|
-
};
|
|
1041
|
-
cookie?: never;
|
|
1042
|
-
};
|
|
1043
|
-
requestBody?: never;
|
|
1044
|
-
responses: {
|
|
1045
|
-
/** @description OK */
|
|
1046
|
-
200: {
|
|
1047
|
-
headers: {
|
|
1048
|
-
[name: string]: unknown;
|
|
1049
|
-
};
|
|
1050
|
-
content: {
|
|
1051
|
-
"application/json": components["schemas"]["DiskTypeResource"];
|
|
1052
|
-
};
|
|
1053
|
-
};
|
|
1054
|
-
/** @description Error */
|
|
1055
|
-
default: {
|
|
1056
|
-
headers: {
|
|
1057
|
-
[name: string]: unknown;
|
|
1058
|
-
};
|
|
1059
|
-
content: {
|
|
1060
|
-
"application/json": components["schemas"]["Error"];
|
|
1061
|
-
};
|
|
1062
|
-
};
|
|
1063
|
-
};
|
|
1064
|
-
};
|
|
1065
|
-
"list-disks": {
|
|
1066
|
-
parameters: {
|
|
1067
|
-
query?: {
|
|
1068
|
-
region_id?: string;
|
|
1069
|
-
/** @description Supplied together with `region_id` to filter attachable disks */
|
|
1070
|
-
availability_zone_id?: string;
|
|
1071
|
-
page?: number;
|
|
1072
|
-
page_size?: number;
|
|
1073
|
-
};
|
|
1074
|
-
header?: never;
|
|
1075
|
-
path?: never;
|
|
1076
|
-
cookie?: never;
|
|
1077
|
-
};
|
|
1078
|
-
requestBody?: never;
|
|
1079
|
-
responses: {
|
|
1080
|
-
/** @description OK */
|
|
1081
|
-
200: {
|
|
1082
|
-
headers: {
|
|
1083
|
-
[name: string]: unknown;
|
|
1084
|
-
};
|
|
1085
|
-
content: {
|
|
1086
|
-
"application/json": components["schemas"]["DiskListResponseBody"];
|
|
1087
|
-
};
|
|
1088
|
-
};
|
|
1089
|
-
/** @description Error */
|
|
1090
|
-
default: {
|
|
1091
|
-
headers: {
|
|
1092
|
-
[name: string]: unknown;
|
|
1093
|
-
};
|
|
1094
|
-
content: {
|
|
1095
|
-
"application/json": components["schemas"]["Error"];
|
|
1096
|
-
};
|
|
1097
|
-
};
|
|
1098
|
-
};
|
|
1099
|
-
};
|
|
1100
|
-
"create-disk": {
|
|
1101
|
-
parameters: {
|
|
1102
|
-
query?: never;
|
|
1103
|
-
header?: never;
|
|
1104
|
-
path?: never;
|
|
1105
|
-
cookie?: never;
|
|
1106
|
-
};
|
|
1107
|
-
requestBody: {
|
|
1108
|
-
content: {
|
|
1109
|
-
"application/json": components["schemas"]["CreateDiskRequestBody"];
|
|
1110
|
-
};
|
|
1111
|
-
};
|
|
1112
|
-
responses: {
|
|
1113
|
-
/** @description Accepted */
|
|
1114
|
-
202: {
|
|
1115
|
-
headers: {
|
|
1116
|
-
[name: string]: unknown;
|
|
1117
|
-
};
|
|
1118
|
-
content: {
|
|
1119
|
-
"application/json": components["schemas"]["PlacedOrder"];
|
|
1120
|
-
};
|
|
1121
|
-
};
|
|
1122
|
-
/** @description Error */
|
|
1123
|
-
default: {
|
|
1124
|
-
headers: {
|
|
1125
|
-
[name: string]: unknown;
|
|
1126
|
-
};
|
|
1127
|
-
content: {
|
|
1128
|
-
"application/json": components["schemas"]["Error"];
|
|
1129
|
-
};
|
|
1130
|
-
};
|
|
1131
|
-
};
|
|
1132
|
-
};
|
|
1133
|
-
"get-disk": {
|
|
1134
|
-
parameters: {
|
|
1135
|
-
query?: never;
|
|
1136
|
-
header?: never;
|
|
1137
|
-
path: {
|
|
1138
|
-
diskId: string;
|
|
1139
|
-
};
|
|
1140
|
-
cookie?: never;
|
|
1141
|
-
};
|
|
1142
|
-
requestBody?: never;
|
|
1143
|
-
responses: {
|
|
1144
|
-
/** @description OK */
|
|
1145
|
-
200: {
|
|
1146
|
-
headers: {
|
|
1147
|
-
[name: string]: unknown;
|
|
1148
|
-
};
|
|
1149
|
-
content: {
|
|
1150
|
-
"application/json": components["schemas"]["DiskResource"];
|
|
1151
|
-
};
|
|
1152
|
-
};
|
|
1153
|
-
/** @description Error */
|
|
1154
|
-
default: {
|
|
1155
|
-
headers: {
|
|
1156
|
-
[name: string]: unknown;
|
|
1157
|
-
};
|
|
1158
|
-
content: {
|
|
1159
|
-
"application/json": components["schemas"]["Error"];
|
|
1160
|
-
};
|
|
1161
|
-
};
|
|
314
|
+
order_id: string;
|
|
1162
315
|
};
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
diskId: string;
|
|
1170
|
-
};
|
|
1171
|
-
cookie?: never;
|
|
316
|
+
/** @description A resource identified within its owning service. The project is taken from the containing usage or request. */
|
|
317
|
+
ResourceReference: {
|
|
318
|
+
service: string;
|
|
319
|
+
type: string;
|
|
320
|
+
/** Format: uuid */
|
|
321
|
+
id: string;
|
|
1172
322
|
};
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
/**
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
/** @
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
323
|
+
/** @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. */
|
|
324
|
+
ResourceUsage: {
|
|
325
|
+
/** Format: uuid */
|
|
326
|
+
id: string;
|
|
327
|
+
/** Format: uuid */
|
|
328
|
+
project_id: string;
|
|
329
|
+
resource: components["schemas"]["ResourceReference"];
|
|
330
|
+
consumer: components["schemas"]["ResourceReference"];
|
|
331
|
+
purpose: string;
|
|
332
|
+
/** @enum {string} */
|
|
333
|
+
state: "reserved" | "active" | "releasing" | "released";
|
|
334
|
+
/** Format: int64 */
|
|
335
|
+
generation: number;
|
|
336
|
+
operation_id: string;
|
|
337
|
+
/** Format: date-time */
|
|
338
|
+
created_at: string;
|
|
339
|
+
/** Format: date-time */
|
|
340
|
+
updated_at: string;
|
|
341
|
+
/** Format: date-time */
|
|
342
|
+
released_at?: string;
|
|
1191
343
|
};
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
query?: never;
|
|
1196
|
-
header?: never;
|
|
1197
|
-
path: {
|
|
1198
|
-
diskId: string;
|
|
1199
|
-
};
|
|
1200
|
-
cookie?: never;
|
|
344
|
+
ResourceUsageList: {
|
|
345
|
+
items: components["schemas"]["ResourceUsage"][];
|
|
346
|
+
pagination: components["schemas"]["OffsetPagination"];
|
|
1201
347
|
};
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
348
|
+
/** @description Automatic reclamation is disabled by default. When enabled, retention starts after the last live claim is confirmed released. Traffic, IO and consumer heartbeats do not affect eligibility. */
|
|
349
|
+
IdlePolicy: {
|
|
350
|
+
/** @default false */
|
|
351
|
+
enabled: boolean;
|
|
352
|
+
/** Format: int64 */
|
|
353
|
+
retention_seconds: number;
|
|
1206
354
|
};
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
headers: {
|
|
1220
|
-
[name: string]: unknown;
|
|
1221
|
-
};
|
|
1222
|
-
content: {
|
|
1223
|
-
"application/json": components["schemas"]["Error"];
|
|
1224
|
-
};
|
|
1225
|
-
};
|
|
355
|
+
ReclamationState: {
|
|
356
|
+
resource: components["schemas"]["ResourceReference"];
|
|
357
|
+
policy: components["schemas"]["IdlePolicy"];
|
|
358
|
+
/** Format: int64 */
|
|
359
|
+
active_usage_count: number;
|
|
360
|
+
/** Format: date-time */
|
|
361
|
+
unreferenced_at?: string;
|
|
362
|
+
/** Format: date-time */
|
|
363
|
+
eligible_at?: string;
|
|
364
|
+
/** @enum {string} */
|
|
365
|
+
status: "retained" | "in_use" | "idle" | "reclaiming" | "deleted";
|
|
366
|
+
blocked_reasons: string[];
|
|
1226
367
|
};
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
}
|
|
1235
|
-
|
|
368
|
+
Attachment: {
|
|
369
|
+
/** Format: uuid */
|
|
370
|
+
id: string;
|
|
371
|
+
/** Format: uuid */
|
|
372
|
+
usage_id: string;
|
|
373
|
+
resource: components["schemas"]["ResourceReference"];
|
|
374
|
+
consumer: components["schemas"]["ResourceReference"];
|
|
375
|
+
/** @enum {string} */
|
|
376
|
+
state: "reserved" | "attaching" | "attached" | "detaching" | "detached" | "unknown";
|
|
377
|
+
/** Format: int64 */
|
|
378
|
+
generation: number;
|
|
379
|
+
device?: string;
|
|
380
|
+
read_only: boolean;
|
|
381
|
+
/** Format: date-time */
|
|
382
|
+
created_at: string;
|
|
383
|
+
/** Format: date-time */
|
|
384
|
+
updated_at: string;
|
|
1236
385
|
};
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
};
|
|
386
|
+
AttachmentList: {
|
|
387
|
+
items: components["schemas"]["Attachment"][];
|
|
388
|
+
pagination: components["schemas"]["OffsetPagination"];
|
|
1241
389
|
};
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
content: {
|
|
1249
|
-
"application/json": components["schemas"]["PlacedOrder"];
|
|
1250
|
-
};
|
|
1251
|
-
};
|
|
1252
|
-
/** @description Error */
|
|
1253
|
-
default: {
|
|
1254
|
-
headers: {
|
|
1255
|
-
[name: string]: unknown;
|
|
1256
|
-
};
|
|
1257
|
-
content: {
|
|
1258
|
-
"application/json": components["schemas"]["Error"];
|
|
1259
|
-
};
|
|
390
|
+
};
|
|
391
|
+
responses: {
|
|
392
|
+
/** @description Error */
|
|
393
|
+
Error: {
|
|
394
|
+
headers: {
|
|
395
|
+
[name: string]: unknown;
|
|
1260
396
|
};
|
|
1261
|
-
|
|
397
|
+
content: {
|
|
398
|
+
"application/json": components["schemas"]["Error"];
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
parameters: {
|
|
403
|
+
DiskTypeID: string;
|
|
404
|
+
DiskID: string;
|
|
405
|
+
UsageID: string;
|
|
406
|
+
AttachmentID: string;
|
|
407
|
+
RegionID: string;
|
|
408
|
+
RegionIDOptional: string;
|
|
409
|
+
AvailabilityZoneIDOptional: string;
|
|
410
|
+
ResourceType: "disk";
|
|
411
|
+
ResourceID: string;
|
|
412
|
+
ResourceTypePath: "disk";
|
|
413
|
+
ResourceIDPath: string;
|
|
414
|
+
IncludeReleased: boolean;
|
|
415
|
+
IncludeDetached: boolean;
|
|
416
|
+
Page: number;
|
|
417
|
+
PageSize: number;
|
|
1262
418
|
};
|
|
1263
|
-
|
|
419
|
+
requestBodies: never;
|
|
420
|
+
headers: never;
|
|
421
|
+
pathItems: never;
|
|
422
|
+
}
|
|
423
|
+
export type $defs = Record<string, never>;
|
|
424
|
+
export interface operations {
|
|
425
|
+
"list-disk-types": {
|
|
1264
426
|
parameters: {
|
|
1265
|
-
query
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
427
|
+
query: {
|
|
428
|
+
region_id: components["parameters"]["RegionID"];
|
|
429
|
+
page?: components["parameters"]["Page"];
|
|
430
|
+
page_size?: components["parameters"]["PageSize"];
|
|
1269
431
|
};
|
|
432
|
+
header?: never;
|
|
433
|
+
path?: never;
|
|
1270
434
|
cookie?: never;
|
|
1271
435
|
};
|
|
1272
|
-
requestBody
|
|
1273
|
-
content: {
|
|
1274
|
-
"application/json": components["schemas"]["RevertDiskRequestBody"];
|
|
1275
|
-
};
|
|
1276
|
-
};
|
|
436
|
+
requestBody?: never;
|
|
1277
437
|
responses: {
|
|
1278
438
|
/** @description OK */
|
|
1279
439
|
200: {
|
|
@@ -1281,30 +441,19 @@ export interface operations {
|
|
|
1281
441
|
[name: string]: unknown;
|
|
1282
442
|
};
|
|
1283
443
|
content: {
|
|
1284
|
-
"application/json": components["schemas"]["
|
|
1285
|
-
};
|
|
1286
|
-
};
|
|
1287
|
-
/** @description Error */
|
|
1288
|
-
default: {
|
|
1289
|
-
headers: {
|
|
1290
|
-
[name: string]: unknown;
|
|
1291
|
-
};
|
|
1292
|
-
content: {
|
|
1293
|
-
"application/json": components["schemas"]["Error"];
|
|
444
|
+
"application/json": components["schemas"]["DiskTypeList"];
|
|
1294
445
|
};
|
|
1295
446
|
};
|
|
447
|
+
default: components["responses"]["Error"];
|
|
1296
448
|
};
|
|
1297
449
|
};
|
|
1298
|
-
"
|
|
450
|
+
"get-disk-type": {
|
|
1299
451
|
parameters: {
|
|
1300
|
-
query?:
|
|
1301
|
-
/** @description Return a single kind of operation; the value matches the operation id of the endpoint */
|
|
1302
|
-
action?: string;
|
|
1303
|
-
page?: number;
|
|
1304
|
-
page_size?: number;
|
|
1305
|
-
};
|
|
452
|
+
query?: never;
|
|
1306
453
|
header?: never;
|
|
1307
|
-
path
|
|
454
|
+
path: {
|
|
455
|
+
diskTypeId: components["parameters"]["DiskTypeID"];
|
|
456
|
+
};
|
|
1308
457
|
cookie?: never;
|
|
1309
458
|
};
|
|
1310
459
|
requestBody?: never;
|
|
@@ -1315,27 +464,19 @@ export interface operations {
|
|
|
1315
464
|
[name: string]: unknown;
|
|
1316
465
|
};
|
|
1317
466
|
content: {
|
|
1318
|
-
"application/json": components["schemas"]["
|
|
1319
|
-
};
|
|
1320
|
-
};
|
|
1321
|
-
/** @description Error */
|
|
1322
|
-
default: {
|
|
1323
|
-
headers: {
|
|
1324
|
-
[name: string]: unknown;
|
|
1325
|
-
};
|
|
1326
|
-
content: {
|
|
1327
|
-
"application/json": components["schemas"]["Error"];
|
|
467
|
+
"application/json": components["schemas"]["DiskType"];
|
|
1328
468
|
};
|
|
1329
469
|
};
|
|
470
|
+
default: components["responses"]["Error"];
|
|
1330
471
|
};
|
|
1331
472
|
};
|
|
1332
|
-
"list-
|
|
473
|
+
"list-disks": {
|
|
1333
474
|
parameters: {
|
|
1334
475
|
query?: {
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
page?:
|
|
1338
|
-
page_size?:
|
|
476
|
+
region_id?: components["parameters"]["RegionIDOptional"];
|
|
477
|
+
availability_zone_id?: components["parameters"]["AvailabilityZoneIDOptional"];
|
|
478
|
+
page?: components["parameters"]["Page"];
|
|
479
|
+
page_size?: components["parameters"]["PageSize"];
|
|
1339
480
|
};
|
|
1340
481
|
header?: never;
|
|
1341
482
|
path?: never;
|
|
@@ -1349,21 +490,13 @@ export interface operations {
|
|
|
1349
490
|
[name: string]: unknown;
|
|
1350
491
|
};
|
|
1351
492
|
content: {
|
|
1352
|
-
"application/json": components["schemas"]["
|
|
1353
|
-
};
|
|
1354
|
-
};
|
|
1355
|
-
/** @description Error */
|
|
1356
|
-
default: {
|
|
1357
|
-
headers: {
|
|
1358
|
-
[name: string]: unknown;
|
|
1359
|
-
};
|
|
1360
|
-
content: {
|
|
1361
|
-
"application/json": components["schemas"]["Error"];
|
|
493
|
+
"application/json": components["schemas"]["DiskList"];
|
|
1362
494
|
};
|
|
1363
495
|
};
|
|
496
|
+
default: components["responses"]["Error"];
|
|
1364
497
|
};
|
|
1365
498
|
};
|
|
1366
|
-
"create-
|
|
499
|
+
"create-disk": {
|
|
1367
500
|
parameters: {
|
|
1368
501
|
query?: never;
|
|
1369
502
|
header?: never;
|
|
@@ -1372,11 +505,11 @@ export interface operations {
|
|
|
1372
505
|
};
|
|
1373
506
|
requestBody: {
|
|
1374
507
|
content: {
|
|
1375
|
-
"application/json": components["schemas"]["
|
|
508
|
+
"application/json": components["schemas"]["CreateDiskRequest"];
|
|
1376
509
|
};
|
|
1377
510
|
};
|
|
1378
511
|
responses: {
|
|
1379
|
-
/** @description
|
|
512
|
+
/** @description Order placed */
|
|
1380
513
|
202: {
|
|
1381
514
|
headers: {
|
|
1382
515
|
[name: string]: unknown;
|
|
@@ -1385,23 +518,15 @@ export interface operations {
|
|
|
1385
518
|
"application/json": components["schemas"]["PlacedOrder"];
|
|
1386
519
|
};
|
|
1387
520
|
};
|
|
1388
|
-
|
|
1389
|
-
default: {
|
|
1390
|
-
headers: {
|
|
1391
|
-
[name: string]: unknown;
|
|
1392
|
-
};
|
|
1393
|
-
content: {
|
|
1394
|
-
"application/json": components["schemas"]["Error"];
|
|
1395
|
-
};
|
|
1396
|
-
};
|
|
521
|
+
default: components["responses"]["Error"];
|
|
1397
522
|
};
|
|
1398
523
|
};
|
|
1399
|
-
"get-
|
|
524
|
+
"get-disk": {
|
|
1400
525
|
parameters: {
|
|
1401
526
|
query?: never;
|
|
1402
527
|
header?: never;
|
|
1403
528
|
path: {
|
|
1404
|
-
|
|
529
|
+
diskId: components["parameters"]["DiskID"];
|
|
1405
530
|
};
|
|
1406
531
|
cookie?: never;
|
|
1407
532
|
};
|
|
@@ -1413,61 +538,47 @@ export interface operations {
|
|
|
1413
538
|
[name: string]: unknown;
|
|
1414
539
|
};
|
|
1415
540
|
content: {
|
|
1416
|
-
"application/json": components["schemas"]["
|
|
1417
|
-
};
|
|
1418
|
-
};
|
|
1419
|
-
/** @description Error */
|
|
1420
|
-
default: {
|
|
1421
|
-
headers: {
|
|
1422
|
-
[name: string]: unknown;
|
|
1423
|
-
};
|
|
1424
|
-
content: {
|
|
1425
|
-
"application/json": components["schemas"]["Error"];
|
|
541
|
+
"application/json": components["schemas"]["Disk"];
|
|
1426
542
|
};
|
|
1427
543
|
};
|
|
544
|
+
default: components["responses"]["Error"];
|
|
1428
545
|
};
|
|
1429
546
|
};
|
|
1430
|
-
"delete-
|
|
547
|
+
"delete-disk": {
|
|
1431
548
|
parameters: {
|
|
1432
|
-
query
|
|
549
|
+
query: {
|
|
550
|
+
idempotency_key: string;
|
|
551
|
+
};
|
|
1433
552
|
header?: never;
|
|
1434
553
|
path: {
|
|
1435
|
-
|
|
554
|
+
diskId: components["parameters"]["DiskID"];
|
|
1436
555
|
};
|
|
1437
556
|
cookie?: never;
|
|
1438
557
|
};
|
|
1439
558
|
requestBody?: never;
|
|
1440
559
|
responses: {
|
|
1441
|
-
/** @description
|
|
560
|
+
/** @description Accepted */
|
|
1442
561
|
204: {
|
|
1443
562
|
headers: {
|
|
1444
563
|
[name: string]: unknown;
|
|
1445
564
|
};
|
|
1446
565
|
content?: never;
|
|
1447
566
|
};
|
|
1448
|
-
|
|
1449
|
-
default: {
|
|
1450
|
-
headers: {
|
|
1451
|
-
[name: string]: unknown;
|
|
1452
|
-
};
|
|
1453
|
-
content: {
|
|
1454
|
-
"application/json": components["schemas"]["Error"];
|
|
1455
|
-
};
|
|
1456
|
-
};
|
|
567
|
+
default: components["responses"]["Error"];
|
|
1457
568
|
};
|
|
1458
569
|
};
|
|
1459
|
-
"rename-
|
|
570
|
+
"rename-disk": {
|
|
1460
571
|
parameters: {
|
|
1461
572
|
query?: never;
|
|
1462
573
|
header?: never;
|
|
1463
574
|
path: {
|
|
1464
|
-
|
|
575
|
+
diskId: components["parameters"]["DiskID"];
|
|
1465
576
|
};
|
|
1466
577
|
cookie?: never;
|
|
1467
578
|
};
|
|
1468
579
|
requestBody: {
|
|
1469
580
|
content: {
|
|
1470
|
-
"application/json": components["schemas"]["
|
|
581
|
+
"application/json": components["schemas"]["RenameRequest"];
|
|
1471
582
|
};
|
|
1472
583
|
};
|
|
1473
584
|
responses: {
|
|
@@ -1477,28 +588,20 @@ export interface operations {
|
|
|
1477
588
|
[name: string]: unknown;
|
|
1478
589
|
};
|
|
1479
590
|
content: {
|
|
1480
|
-
"application/json": components["schemas"]["
|
|
1481
|
-
};
|
|
1482
|
-
};
|
|
1483
|
-
/** @description Error */
|
|
1484
|
-
default: {
|
|
1485
|
-
headers: {
|
|
1486
|
-
[name: string]: unknown;
|
|
1487
|
-
};
|
|
1488
|
-
content: {
|
|
1489
|
-
"application/json": components["schemas"]["Error"];
|
|
591
|
+
"application/json": components["schemas"]["Disk"];
|
|
1490
592
|
};
|
|
1491
593
|
};
|
|
594
|
+
default: components["responses"]["Error"];
|
|
1492
595
|
};
|
|
1493
596
|
};
|
|
1494
597
|
"list-resource-usages": {
|
|
1495
598
|
parameters: {
|
|
1496
599
|
query: {
|
|
1497
|
-
resource_type:
|
|
1498
|
-
resource_id:
|
|
1499
|
-
include_released?:
|
|
1500
|
-
page?:
|
|
1501
|
-
page_size?:
|
|
600
|
+
resource_type: components["parameters"]["ResourceType"];
|
|
601
|
+
resource_id: components["parameters"]["ResourceID"];
|
|
602
|
+
include_released?: components["parameters"]["IncludeReleased"];
|
|
603
|
+
page?: components["parameters"]["Page"];
|
|
604
|
+
page_size?: components["parameters"]["PageSize"];
|
|
1502
605
|
};
|
|
1503
606
|
header?: never;
|
|
1504
607
|
path?: never;
|
|
@@ -1515,15 +618,7 @@ export interface operations {
|
|
|
1515
618
|
"application/json": components["schemas"]["ResourceUsageList"];
|
|
1516
619
|
};
|
|
1517
620
|
};
|
|
1518
|
-
|
|
1519
|
-
default: {
|
|
1520
|
-
headers: {
|
|
1521
|
-
[name: string]: unknown;
|
|
1522
|
-
};
|
|
1523
|
-
content: {
|
|
1524
|
-
"application/json": components["schemas"]["Error"];
|
|
1525
|
-
};
|
|
1526
|
-
};
|
|
621
|
+
default: components["responses"]["Error"];
|
|
1527
622
|
};
|
|
1528
623
|
};
|
|
1529
624
|
"get-resource-usage": {
|
|
@@ -1531,7 +626,7 @@ export interface operations {
|
|
|
1531
626
|
query?: never;
|
|
1532
627
|
header?: never;
|
|
1533
628
|
path: {
|
|
1534
|
-
usageId:
|
|
629
|
+
usageId: components["parameters"]["UsageID"];
|
|
1535
630
|
};
|
|
1536
631
|
cookie?: never;
|
|
1537
632
|
};
|
|
@@ -1546,15 +641,7 @@ export interface operations {
|
|
|
1546
641
|
"application/json": components["schemas"]["ResourceUsage"];
|
|
1547
642
|
};
|
|
1548
643
|
};
|
|
1549
|
-
|
|
1550
|
-
default: {
|
|
1551
|
-
headers: {
|
|
1552
|
-
[name: string]: unknown;
|
|
1553
|
-
};
|
|
1554
|
-
content: {
|
|
1555
|
-
"application/json": components["schemas"]["Error"];
|
|
1556
|
-
};
|
|
1557
|
-
};
|
|
644
|
+
default: components["responses"]["Error"];
|
|
1558
645
|
};
|
|
1559
646
|
};
|
|
1560
647
|
"get-resource-reclamation": {
|
|
@@ -1562,8 +649,8 @@ export interface operations {
|
|
|
1562
649
|
query?: never;
|
|
1563
650
|
header?: never;
|
|
1564
651
|
path: {
|
|
1565
|
-
resourceType:
|
|
1566
|
-
resourceId:
|
|
652
|
+
resourceType: components["parameters"]["ResourceTypePath"];
|
|
653
|
+
resourceId: components["parameters"]["ResourceIDPath"];
|
|
1567
654
|
};
|
|
1568
655
|
cookie?: never;
|
|
1569
656
|
};
|
|
@@ -1578,15 +665,7 @@ export interface operations {
|
|
|
1578
665
|
"application/json": components["schemas"]["ReclamationState"];
|
|
1579
666
|
};
|
|
1580
667
|
};
|
|
1581
|
-
|
|
1582
|
-
default: {
|
|
1583
|
-
headers: {
|
|
1584
|
-
[name: string]: unknown;
|
|
1585
|
-
};
|
|
1586
|
-
content: {
|
|
1587
|
-
"application/json": components["schemas"]["Error"];
|
|
1588
|
-
};
|
|
1589
|
-
};
|
|
668
|
+
default: components["responses"]["Error"];
|
|
1590
669
|
};
|
|
1591
670
|
};
|
|
1592
671
|
"set-resource-idle-policy": {
|
|
@@ -1594,8 +673,8 @@ export interface operations {
|
|
|
1594
673
|
query?: never;
|
|
1595
674
|
header?: never;
|
|
1596
675
|
path: {
|
|
1597
|
-
resourceType:
|
|
1598
|
-
resourceId:
|
|
676
|
+
resourceType: components["parameters"]["ResourceTypePath"];
|
|
677
|
+
resourceId: components["parameters"]["ResourceIDPath"];
|
|
1599
678
|
};
|
|
1600
679
|
cookie?: never;
|
|
1601
680
|
};
|
|
@@ -1614,27 +693,19 @@ export interface operations {
|
|
|
1614
693
|
"application/json": components["schemas"]["ReclamationState"];
|
|
1615
694
|
};
|
|
1616
695
|
};
|
|
1617
|
-
|
|
1618
|
-
default: {
|
|
1619
|
-
headers: {
|
|
1620
|
-
[name: string]: unknown;
|
|
1621
|
-
};
|
|
1622
|
-
content: {
|
|
1623
|
-
"application/json": components["schemas"]["Error"];
|
|
1624
|
-
};
|
|
1625
|
-
};
|
|
696
|
+
default: components["responses"]["Error"];
|
|
1626
697
|
};
|
|
1627
698
|
};
|
|
1628
699
|
"list-disk-attachments": {
|
|
1629
700
|
parameters: {
|
|
1630
701
|
query?: {
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
702
|
+
include_detached?: components["parameters"]["IncludeDetached"];
|
|
703
|
+
page?: components["parameters"]["Page"];
|
|
704
|
+
page_size?: components["parameters"]["PageSize"];
|
|
1634
705
|
};
|
|
1635
706
|
header?: never;
|
|
1636
707
|
path: {
|
|
1637
|
-
|
|
708
|
+
diskId: components["parameters"]["DiskID"];
|
|
1638
709
|
};
|
|
1639
710
|
cookie?: never;
|
|
1640
711
|
};
|
|
@@ -1649,15 +720,7 @@ export interface operations {
|
|
|
1649
720
|
"application/json": components["schemas"]["AttachmentList"];
|
|
1650
721
|
};
|
|
1651
722
|
};
|
|
1652
|
-
|
|
1653
|
-
default: {
|
|
1654
|
-
headers: {
|
|
1655
|
-
[name: string]: unknown;
|
|
1656
|
-
};
|
|
1657
|
-
content: {
|
|
1658
|
-
"application/json": components["schemas"]["Error"];
|
|
1659
|
-
};
|
|
1660
|
-
};
|
|
723
|
+
default: components["responses"]["Error"];
|
|
1661
724
|
};
|
|
1662
725
|
};
|
|
1663
726
|
"get-attachment": {
|
|
@@ -1665,7 +728,7 @@ export interface operations {
|
|
|
1665
728
|
query?: never;
|
|
1666
729
|
header?: never;
|
|
1667
730
|
path: {
|
|
1668
|
-
attachmentId:
|
|
731
|
+
attachmentId: components["parameters"]["AttachmentID"];
|
|
1669
732
|
};
|
|
1670
733
|
cookie?: never;
|
|
1671
734
|
};
|
|
@@ -1680,15 +743,7 @@ export interface operations {
|
|
|
1680
743
|
"application/json": components["schemas"]["Attachment"];
|
|
1681
744
|
};
|
|
1682
745
|
};
|
|
1683
|
-
|
|
1684
|
-
default: {
|
|
1685
|
-
headers: {
|
|
1686
|
-
[name: string]: unknown;
|
|
1687
|
-
};
|
|
1688
|
-
content: {
|
|
1689
|
-
"application/json": components["schemas"]["Error"];
|
|
1690
|
-
};
|
|
1691
|
-
};
|
|
746
|
+
default: components["responses"]["Error"];
|
|
1692
747
|
};
|
|
1693
748
|
};
|
|
1694
749
|
}
|