@leaflow/sdk 0.59.0 → 0.62.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 +19 -1
- 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
|
@@ -0,0 +1,1694 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
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
|
+
"/api/v1/disk-types": {
|
|
73
|
+
parameters: {
|
|
74
|
+
query?: never;
|
|
75
|
+
header?: never;
|
|
76
|
+
path?: never;
|
|
77
|
+
cookie?: never;
|
|
78
|
+
};
|
|
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
|
+
*/
|
|
83
|
+
get: operations["list-disk-types"];
|
|
84
|
+
put?: never;
|
|
85
|
+
post?: never;
|
|
86
|
+
delete?: never;
|
|
87
|
+
options?: never;
|
|
88
|
+
head?: never;
|
|
89
|
+
patch?: never;
|
|
90
|
+
trace?: never;
|
|
91
|
+
};
|
|
92
|
+
"/api/v1/disk-types/{diskTypeId}": {
|
|
93
|
+
parameters: {
|
|
94
|
+
query?: never;
|
|
95
|
+
header?: never;
|
|
96
|
+
path?: never;
|
|
97
|
+
cookie?: never;
|
|
98
|
+
};
|
|
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
|
+
*/
|
|
103
|
+
get: operations["get-disk-type"];
|
|
104
|
+
put?: never;
|
|
105
|
+
post?: never;
|
|
106
|
+
delete?: never;
|
|
107
|
+
options?: never;
|
|
108
|
+
head?: never;
|
|
109
|
+
patch?: never;
|
|
110
|
+
trace?: never;
|
|
111
|
+
};
|
|
112
|
+
"/api/v1/disks": {
|
|
113
|
+
parameters: {
|
|
114
|
+
query?: never;
|
|
115
|
+
header?: never;
|
|
116
|
+
path?: never;
|
|
117
|
+
cookie?: never;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* List disks
|
|
121
|
+
* @description Lists disks in the current project. Use resource-usages to inspect consumers and pending reservations.
|
|
122
|
+
*/
|
|
123
|
+
get: operations["list-disks"];
|
|
124
|
+
put?: never;
|
|
125
|
+
/**
|
|
126
|
+
* Create a disk
|
|
127
|
+
* @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.
|
|
128
|
+
*/
|
|
129
|
+
post: operations["create-disk"];
|
|
130
|
+
delete?: never;
|
|
131
|
+
options?: never;
|
|
132
|
+
head?: never;
|
|
133
|
+
patch?: never;
|
|
134
|
+
trace?: never;
|
|
135
|
+
};
|
|
136
|
+
"/api/v1/disks/{diskId}": {
|
|
137
|
+
parameters: {
|
|
138
|
+
query?: never;
|
|
139
|
+
header?: never;
|
|
140
|
+
path?: never;
|
|
141
|
+
cookie?: never;
|
|
142
|
+
};
|
|
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
|
+
*/
|
|
147
|
+
get: operations["get-disk"];
|
|
148
|
+
put?: never;
|
|
149
|
+
post?: never;
|
|
150
|
+
/**
|
|
151
|
+
* Delete a disk
|
|
152
|
+
* @description Deletion is rejected while the disk is attached, or while snapshots created from it still exist.
|
|
153
|
+
*/
|
|
154
|
+
delete: operations["delete-disk"];
|
|
155
|
+
options?: never;
|
|
156
|
+
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
|
+
*/
|
|
161
|
+
patch: operations["rename-disk"];
|
|
162
|
+
trace?: never;
|
|
163
|
+
};
|
|
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
|
+
"/api/v1/resource-usages": {
|
|
273
|
+
parameters: {
|
|
274
|
+
query?: never;
|
|
275
|
+
header?: never;
|
|
276
|
+
path?: never;
|
|
277
|
+
cookie?: never;
|
|
278
|
+
};
|
|
279
|
+
/**
|
|
280
|
+
* List resource usages
|
|
281
|
+
* @description Lists direct consumers, including pending reservations and claims being released. The resource must be readable by the caller. Historical released claims are included only when requested.
|
|
282
|
+
*/
|
|
283
|
+
get: operations["list-resource-usages"];
|
|
284
|
+
put?: never;
|
|
285
|
+
post?: never;
|
|
286
|
+
delete?: never;
|
|
287
|
+
options?: never;
|
|
288
|
+
head?: never;
|
|
289
|
+
patch?: never;
|
|
290
|
+
trace?: never;
|
|
291
|
+
};
|
|
292
|
+
"/api/v1/resource-usages/{usageId}": {
|
|
293
|
+
parameters: {
|
|
294
|
+
query?: never;
|
|
295
|
+
header?: never;
|
|
296
|
+
path?: never;
|
|
297
|
+
cookie?: never;
|
|
298
|
+
};
|
|
299
|
+
/** Get resource usage */
|
|
300
|
+
get: operations["get-resource-usage"];
|
|
301
|
+
put?: never;
|
|
302
|
+
post?: never;
|
|
303
|
+
delete?: never;
|
|
304
|
+
options?: never;
|
|
305
|
+
head?: never;
|
|
306
|
+
patch?: never;
|
|
307
|
+
trace?: never;
|
|
308
|
+
};
|
|
309
|
+
"/api/v1/resources/{resourceType}/{resourceId}/reclamation": {
|
|
310
|
+
parameters: {
|
|
311
|
+
query?: never;
|
|
312
|
+
header?: never;
|
|
313
|
+
path?: never;
|
|
314
|
+
cookie?: never;
|
|
315
|
+
};
|
|
316
|
+
/** Get resource reclamation */
|
|
317
|
+
get: operations["get-resource-reclamation"];
|
|
318
|
+
put?: never;
|
|
319
|
+
post?: never;
|
|
320
|
+
delete?: never;
|
|
321
|
+
options?: never;
|
|
322
|
+
head?: never;
|
|
323
|
+
patch?: never;
|
|
324
|
+
trace?: never;
|
|
325
|
+
};
|
|
326
|
+
"/api/v1/resources/{resourceType}/{resourceId}/idle-policy": {
|
|
327
|
+
parameters: {
|
|
328
|
+
query?: never;
|
|
329
|
+
header?: never;
|
|
330
|
+
path?: never;
|
|
331
|
+
cookie?: never;
|
|
332
|
+
};
|
|
333
|
+
get?: never;
|
|
334
|
+
/**
|
|
335
|
+
* Set resource idle policy
|
|
336
|
+
* @description Requires permission to delete this resource. Enabling schedules reclamation only after the resource is continuously unreferenced for the requested retention. Existing claims, attachments and unfinished operations always prevent reclamation.
|
|
337
|
+
*/
|
|
338
|
+
put: operations["set-resource-idle-policy"];
|
|
339
|
+
post?: never;
|
|
340
|
+
delete?: never;
|
|
341
|
+
options?: never;
|
|
342
|
+
head?: never;
|
|
343
|
+
patch?: never;
|
|
344
|
+
trace?: never;
|
|
345
|
+
};
|
|
346
|
+
"/api/v1/disks/{resourceId}/attachments": {
|
|
347
|
+
parameters: {
|
|
348
|
+
query?: never;
|
|
349
|
+
header?: never;
|
|
350
|
+
path?: never;
|
|
351
|
+
cookie?: never;
|
|
352
|
+
};
|
|
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
|
+
*/
|
|
357
|
+
get: operations["list-disk-attachments"];
|
|
358
|
+
put?: never;
|
|
359
|
+
post?: never;
|
|
360
|
+
delete?: never;
|
|
361
|
+
options?: never;
|
|
362
|
+
head?: never;
|
|
363
|
+
patch?: never;
|
|
364
|
+
trace?: never;
|
|
365
|
+
};
|
|
366
|
+
"/api/v1/attachments/{attachmentId}": {
|
|
367
|
+
parameters: {
|
|
368
|
+
query?: never;
|
|
369
|
+
header?: never;
|
|
370
|
+
path?: never;
|
|
371
|
+
cookie?: never;
|
|
372
|
+
};
|
|
373
|
+
/** Get attachment */
|
|
374
|
+
get: operations["get-attachment"];
|
|
375
|
+
put?: never;
|
|
376
|
+
post?: never;
|
|
377
|
+
delete?: never;
|
|
378
|
+
options?: never;
|
|
379
|
+
head?: never;
|
|
380
|
+
patch?: never;
|
|
381
|
+
trace?: never;
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
export type webhooks = Record<string, never>;
|
|
385
|
+
export interface components {
|
|
386
|
+
schemas: {
|
|
387
|
+
Error: {
|
|
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;
|
|
405
|
+
/** Format: uuid */
|
|
406
|
+
id: string;
|
|
407
|
+
name: string;
|
|
408
|
+
/** Format: uuid */
|
|
409
|
+
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
|
+
/** Format: uuid */
|
|
460
|
+
availability_zone_id: string;
|
|
461
|
+
/** Format: date-time */
|
|
462
|
+
created_at: string;
|
|
463
|
+
/** Format: uuid */
|
|
464
|
+
disk_type_id: string;
|
|
465
|
+
/** Format: uuid */
|
|
466
|
+
id: string;
|
|
467
|
+
name: string;
|
|
468
|
+
/** Format: uuid */
|
|
469
|
+
region_id: string;
|
|
470
|
+
/** Format: int64 */
|
|
471
|
+
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
|
+
/** @enum {string} */
|
|
487
|
+
status: "provisioning" | "available" | "attaching" | "in_use" | "detaching" | "resizing" | "reverting" | "restoring" | "releasing" | "deleting" | "error";
|
|
488
|
+
subscription_item_ids?: string[];
|
|
489
|
+
};
|
|
490
|
+
DiskTypeResource: {
|
|
491
|
+
/** Format: uuid */
|
|
492
|
+
availability_zone_id: string;
|
|
493
|
+
/** Format: uuid */
|
|
494
|
+
id: string;
|
|
495
|
+
/**
|
|
496
|
+
* Format: int64
|
|
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;
|
|
511
|
+
/** @enum {string} */
|
|
512
|
+
media: "ssd" | "hdd" | "nvme";
|
|
513
|
+
/** Format: int64 */
|
|
514
|
+
min_size_gb: number;
|
|
515
|
+
name: string;
|
|
516
|
+
/** Format: uuid */
|
|
517
|
+
region_id: string;
|
|
518
|
+
/** Format: int64 */
|
|
519
|
+
step_gb: number;
|
|
520
|
+
/**
|
|
521
|
+
* Format: int64
|
|
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
|
+
*/
|
|
538
|
+
billing_plan_id: string;
|
|
539
|
+
};
|
|
540
|
+
DiskTypeListResponseBody: {
|
|
541
|
+
items: components["schemas"]["DiskTypeResource"][];
|
|
542
|
+
/** Format: int64 */
|
|
543
|
+
page: number;
|
|
544
|
+
/** Format: int64 */
|
|
545
|
+
page_size: number;
|
|
546
|
+
/** Format: int64 */
|
|
547
|
+
total_count?: number;
|
|
548
|
+
};
|
|
549
|
+
DiskListResponseBody: {
|
|
550
|
+
items: components["schemas"]["DiskResource"][];
|
|
551
|
+
/** Format: int64 */
|
|
552
|
+
page: number;
|
|
553
|
+
/** Format: int64 */
|
|
554
|
+
page_size: number;
|
|
555
|
+
/** Format: int64 */
|
|
556
|
+
total_count?: number;
|
|
557
|
+
};
|
|
558
|
+
CreateDiskRequestBody: {
|
|
559
|
+
/**
|
|
560
|
+
* Format: uuid
|
|
561
|
+
* @description A disk type currently on sale. A withdrawn one is rejected even though its identifier still resolves
|
|
562
|
+
*/
|
|
563
|
+
disk_type_id: string;
|
|
564
|
+
name: string;
|
|
565
|
+
/** Format: int64 */
|
|
566
|
+
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
|
+
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
|
+
order: components["schemas"]["OrderOptions"];
|
|
585
|
+
price: components["schemas"]["CatalogReference"];
|
|
586
|
+
};
|
|
587
|
+
RevertDiskRequestBody: {
|
|
588
|
+
/**
|
|
589
|
+
* Format: uuid
|
|
590
|
+
* @description Must be the most recent snapshot of the disk
|
|
591
|
+
*/
|
|
592
|
+
snapshot_id: string;
|
|
593
|
+
};
|
|
594
|
+
OperationLogResource: {
|
|
595
|
+
/** @description Name of the operation; matches the operation id of the endpoint */
|
|
596
|
+
action: string;
|
|
597
|
+
/** @description The user who initiated the operation. Empty when the platform performed it */
|
|
598
|
+
actor: string | null;
|
|
599
|
+
/**
|
|
600
|
+
* @description The name this user went by at the time of the operation, recorded alongside the operation itself. It is not refreshed afterwards: the record states who acted then, and a name read today is a statement about a different moment.
|
|
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.
|
|
603
|
+
*/
|
|
604
|
+
actor_name: string | null;
|
|
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: {
|
|
615
|
+
[key: string]: unknown;
|
|
616
|
+
};
|
|
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
|
+
/** Format: int64 */
|
|
627
|
+
page: number;
|
|
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[];
|
|
653
|
+
};
|
|
654
|
+
SnapshotListResponseBody: {
|
|
655
|
+
items: components["schemas"]["SnapshotResource"][];
|
|
656
|
+
/** Format: int64 */
|
|
657
|
+
page: number;
|
|
658
|
+
/** Format: int64 */
|
|
659
|
+
page_size: number;
|
|
660
|
+
/** Format: int64 */
|
|
661
|
+
total_count?: number;
|
|
662
|
+
};
|
|
663
|
+
CreateSnapshotRequestBody: {
|
|
664
|
+
/** Format: uuid */
|
|
665
|
+
disk_id: string;
|
|
666
|
+
name: string;
|
|
667
|
+
order: components["schemas"]["OrderOptions"];
|
|
668
|
+
price: components["schemas"]["CatalogReference"];
|
|
669
|
+
};
|
|
670
|
+
RenameSnapshotRequestBody: {
|
|
671
|
+
name: string;
|
|
672
|
+
};
|
|
673
|
+
/** @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
|
+
OrderOptions: {
|
|
675
|
+
idempotency_key: string;
|
|
676
|
+
payment_plan?: components["schemas"]["PaymentPlan"];
|
|
677
|
+
expected_amount?: string;
|
|
678
|
+
redemption_code?: string;
|
|
679
|
+
};
|
|
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
|
+
/**
|
|
687
|
+
* @description A billable order has been created. Read it from the billing API to find out what is
|
|
688
|
+
* owed and whether payment is still required.
|
|
689
|
+
*
|
|
690
|
+
* Only the identifier is returned. Amounts and state are not repeated here; the order
|
|
691
|
+
* itself is the single source for them.
|
|
692
|
+
*/
|
|
693
|
+
PlacedOrder: {
|
|
694
|
+
/**
|
|
695
|
+
* Format: uuid
|
|
696
|
+
* @description Identifies the order. Use it to read the order and, where payment is required,
|
|
697
|
+
* to pay it.
|
|
698
|
+
*
|
|
699
|
+
* An order is created even when nothing is owed, such as a plan with no charge or one
|
|
700
|
+
* covered entirely by granted credit. Such an order is already settled, and no
|
|
701
|
+
* payment step applies.
|
|
702
|
+
*/
|
|
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
|
+
};
|
|
1162
|
+
};
|
|
1163
|
+
};
|
|
1164
|
+
"delete-disk": {
|
|
1165
|
+
parameters: {
|
|
1166
|
+
query?: never;
|
|
1167
|
+
header?: never;
|
|
1168
|
+
path: {
|
|
1169
|
+
diskId: string;
|
|
1170
|
+
};
|
|
1171
|
+
cookie?: never;
|
|
1172
|
+
};
|
|
1173
|
+
requestBody?: never;
|
|
1174
|
+
responses: {
|
|
1175
|
+
/** @description No Content */
|
|
1176
|
+
204: {
|
|
1177
|
+
headers: {
|
|
1178
|
+
[name: string]: unknown;
|
|
1179
|
+
};
|
|
1180
|
+
content?: never;
|
|
1181
|
+
};
|
|
1182
|
+
/** @description Error */
|
|
1183
|
+
default: {
|
|
1184
|
+
headers: {
|
|
1185
|
+
[name: string]: unknown;
|
|
1186
|
+
};
|
|
1187
|
+
content: {
|
|
1188
|
+
"application/json": components["schemas"]["Error"];
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
|
+
};
|
|
1192
|
+
};
|
|
1193
|
+
"rename-disk": {
|
|
1194
|
+
parameters: {
|
|
1195
|
+
query?: never;
|
|
1196
|
+
header?: never;
|
|
1197
|
+
path: {
|
|
1198
|
+
diskId: string;
|
|
1199
|
+
};
|
|
1200
|
+
cookie?: never;
|
|
1201
|
+
};
|
|
1202
|
+
requestBody: {
|
|
1203
|
+
content: {
|
|
1204
|
+
"application/json": components["schemas"]["RenameDiskRequestBody"];
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
responses: {
|
|
1208
|
+
/** @description OK */
|
|
1209
|
+
200: {
|
|
1210
|
+
headers: {
|
|
1211
|
+
[name: string]: unknown;
|
|
1212
|
+
};
|
|
1213
|
+
content: {
|
|
1214
|
+
"application/json": components["schemas"]["DiskResource"];
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
/** @description Error */
|
|
1218
|
+
default: {
|
|
1219
|
+
headers: {
|
|
1220
|
+
[name: string]: unknown;
|
|
1221
|
+
};
|
|
1222
|
+
content: {
|
|
1223
|
+
"application/json": components["schemas"]["Error"];
|
|
1224
|
+
};
|
|
1225
|
+
};
|
|
1226
|
+
};
|
|
1227
|
+
};
|
|
1228
|
+
"resize-disk": {
|
|
1229
|
+
parameters: {
|
|
1230
|
+
query?: never;
|
|
1231
|
+
header?: never;
|
|
1232
|
+
path: {
|
|
1233
|
+
diskId: string;
|
|
1234
|
+
};
|
|
1235
|
+
cookie?: never;
|
|
1236
|
+
};
|
|
1237
|
+
requestBody: {
|
|
1238
|
+
content: {
|
|
1239
|
+
"application/json": components["schemas"]["ResizeDiskRequestBody"];
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
responses: {
|
|
1243
|
+
/** @description Accepted */
|
|
1244
|
+
202: {
|
|
1245
|
+
headers: {
|
|
1246
|
+
[name: string]: unknown;
|
|
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
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
"revert-disk": {
|
|
1264
|
+
parameters: {
|
|
1265
|
+
query?: never;
|
|
1266
|
+
header?: never;
|
|
1267
|
+
path: {
|
|
1268
|
+
diskId: string;
|
|
1269
|
+
};
|
|
1270
|
+
cookie?: never;
|
|
1271
|
+
};
|
|
1272
|
+
requestBody: {
|
|
1273
|
+
content: {
|
|
1274
|
+
"application/json": components["schemas"]["RevertDiskRequestBody"];
|
|
1275
|
+
};
|
|
1276
|
+
};
|
|
1277
|
+
responses: {
|
|
1278
|
+
/** @description OK */
|
|
1279
|
+
200: {
|
|
1280
|
+
headers: {
|
|
1281
|
+
[name: string]: unknown;
|
|
1282
|
+
};
|
|
1283
|
+
content: {
|
|
1284
|
+
"application/json": components["schemas"]["DiskResource"];
|
|
1285
|
+
};
|
|
1286
|
+
};
|
|
1287
|
+
/** @description Error */
|
|
1288
|
+
default: {
|
|
1289
|
+
headers: {
|
|
1290
|
+
[name: string]: unknown;
|
|
1291
|
+
};
|
|
1292
|
+
content: {
|
|
1293
|
+
"application/json": components["schemas"]["Error"];
|
|
1294
|
+
};
|
|
1295
|
+
};
|
|
1296
|
+
};
|
|
1297
|
+
};
|
|
1298
|
+
"list-operation-logs": {
|
|
1299
|
+
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
|
+
};
|
|
1306
|
+
header?: never;
|
|
1307
|
+
path?: never;
|
|
1308
|
+
cookie?: never;
|
|
1309
|
+
};
|
|
1310
|
+
requestBody?: never;
|
|
1311
|
+
responses: {
|
|
1312
|
+
/** @description OK */
|
|
1313
|
+
200: {
|
|
1314
|
+
headers: {
|
|
1315
|
+
[name: string]: unknown;
|
|
1316
|
+
};
|
|
1317
|
+
content: {
|
|
1318
|
+
"application/json": components["schemas"]["OperationLogListResponseBody"];
|
|
1319
|
+
};
|
|
1320
|
+
};
|
|
1321
|
+
/** @description Error */
|
|
1322
|
+
default: {
|
|
1323
|
+
headers: {
|
|
1324
|
+
[name: string]: unknown;
|
|
1325
|
+
};
|
|
1326
|
+
content: {
|
|
1327
|
+
"application/json": components["schemas"]["Error"];
|
|
1328
|
+
};
|
|
1329
|
+
};
|
|
1330
|
+
};
|
|
1331
|
+
};
|
|
1332
|
+
"list-snapshots": {
|
|
1333
|
+
parameters: {
|
|
1334
|
+
query?: {
|
|
1335
|
+
/** @description Return only the snapshots of this disk */
|
|
1336
|
+
disk_id?: string;
|
|
1337
|
+
page?: number;
|
|
1338
|
+
page_size?: number;
|
|
1339
|
+
};
|
|
1340
|
+
header?: never;
|
|
1341
|
+
path?: never;
|
|
1342
|
+
cookie?: never;
|
|
1343
|
+
};
|
|
1344
|
+
requestBody?: never;
|
|
1345
|
+
responses: {
|
|
1346
|
+
/** @description OK */
|
|
1347
|
+
200: {
|
|
1348
|
+
headers: {
|
|
1349
|
+
[name: string]: unknown;
|
|
1350
|
+
};
|
|
1351
|
+
content: {
|
|
1352
|
+
"application/json": components["schemas"]["SnapshotListResponseBody"];
|
|
1353
|
+
};
|
|
1354
|
+
};
|
|
1355
|
+
/** @description Error */
|
|
1356
|
+
default: {
|
|
1357
|
+
headers: {
|
|
1358
|
+
[name: string]: unknown;
|
|
1359
|
+
};
|
|
1360
|
+
content: {
|
|
1361
|
+
"application/json": components["schemas"]["Error"];
|
|
1362
|
+
};
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
1365
|
+
};
|
|
1366
|
+
"create-snapshot": {
|
|
1367
|
+
parameters: {
|
|
1368
|
+
query?: never;
|
|
1369
|
+
header?: never;
|
|
1370
|
+
path?: never;
|
|
1371
|
+
cookie?: never;
|
|
1372
|
+
};
|
|
1373
|
+
requestBody: {
|
|
1374
|
+
content: {
|
|
1375
|
+
"application/json": components["schemas"]["CreateSnapshotRequestBody"];
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
responses: {
|
|
1379
|
+
/** @description Accepted */
|
|
1380
|
+
202: {
|
|
1381
|
+
headers: {
|
|
1382
|
+
[name: string]: unknown;
|
|
1383
|
+
};
|
|
1384
|
+
content: {
|
|
1385
|
+
"application/json": components["schemas"]["PlacedOrder"];
|
|
1386
|
+
};
|
|
1387
|
+
};
|
|
1388
|
+
/** @description Error */
|
|
1389
|
+
default: {
|
|
1390
|
+
headers: {
|
|
1391
|
+
[name: string]: unknown;
|
|
1392
|
+
};
|
|
1393
|
+
content: {
|
|
1394
|
+
"application/json": components["schemas"]["Error"];
|
|
1395
|
+
};
|
|
1396
|
+
};
|
|
1397
|
+
};
|
|
1398
|
+
};
|
|
1399
|
+
"get-snapshot": {
|
|
1400
|
+
parameters: {
|
|
1401
|
+
query?: never;
|
|
1402
|
+
header?: never;
|
|
1403
|
+
path: {
|
|
1404
|
+
snapshotId: string;
|
|
1405
|
+
};
|
|
1406
|
+
cookie?: never;
|
|
1407
|
+
};
|
|
1408
|
+
requestBody?: never;
|
|
1409
|
+
responses: {
|
|
1410
|
+
/** @description OK */
|
|
1411
|
+
200: {
|
|
1412
|
+
headers: {
|
|
1413
|
+
[name: string]: unknown;
|
|
1414
|
+
};
|
|
1415
|
+
content: {
|
|
1416
|
+
"application/json": components["schemas"]["SnapshotResource"];
|
|
1417
|
+
};
|
|
1418
|
+
};
|
|
1419
|
+
/** @description Error */
|
|
1420
|
+
default: {
|
|
1421
|
+
headers: {
|
|
1422
|
+
[name: string]: unknown;
|
|
1423
|
+
};
|
|
1424
|
+
content: {
|
|
1425
|
+
"application/json": components["schemas"]["Error"];
|
|
1426
|
+
};
|
|
1427
|
+
};
|
|
1428
|
+
};
|
|
1429
|
+
};
|
|
1430
|
+
"delete-snapshot": {
|
|
1431
|
+
parameters: {
|
|
1432
|
+
query?: never;
|
|
1433
|
+
header?: never;
|
|
1434
|
+
path: {
|
|
1435
|
+
snapshotId: string;
|
|
1436
|
+
};
|
|
1437
|
+
cookie?: never;
|
|
1438
|
+
};
|
|
1439
|
+
requestBody?: never;
|
|
1440
|
+
responses: {
|
|
1441
|
+
/** @description No Content */
|
|
1442
|
+
204: {
|
|
1443
|
+
headers: {
|
|
1444
|
+
[name: string]: unknown;
|
|
1445
|
+
};
|
|
1446
|
+
content?: never;
|
|
1447
|
+
};
|
|
1448
|
+
/** @description Error */
|
|
1449
|
+
default: {
|
|
1450
|
+
headers: {
|
|
1451
|
+
[name: string]: unknown;
|
|
1452
|
+
};
|
|
1453
|
+
content: {
|
|
1454
|
+
"application/json": components["schemas"]["Error"];
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
};
|
|
1458
|
+
};
|
|
1459
|
+
"rename-snapshot": {
|
|
1460
|
+
parameters: {
|
|
1461
|
+
query?: never;
|
|
1462
|
+
header?: never;
|
|
1463
|
+
path: {
|
|
1464
|
+
snapshotId: string;
|
|
1465
|
+
};
|
|
1466
|
+
cookie?: never;
|
|
1467
|
+
};
|
|
1468
|
+
requestBody: {
|
|
1469
|
+
content: {
|
|
1470
|
+
"application/json": components["schemas"]["RenameSnapshotRequestBody"];
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
responses: {
|
|
1474
|
+
/** @description OK */
|
|
1475
|
+
200: {
|
|
1476
|
+
headers: {
|
|
1477
|
+
[name: string]: unknown;
|
|
1478
|
+
};
|
|
1479
|
+
content: {
|
|
1480
|
+
"application/json": components["schemas"]["SnapshotResource"];
|
|
1481
|
+
};
|
|
1482
|
+
};
|
|
1483
|
+
/** @description Error */
|
|
1484
|
+
default: {
|
|
1485
|
+
headers: {
|
|
1486
|
+
[name: string]: unknown;
|
|
1487
|
+
};
|
|
1488
|
+
content: {
|
|
1489
|
+
"application/json": components["schemas"]["Error"];
|
|
1490
|
+
};
|
|
1491
|
+
};
|
|
1492
|
+
};
|
|
1493
|
+
};
|
|
1494
|
+
"list-resource-usages": {
|
|
1495
|
+
parameters: {
|
|
1496
|
+
query: {
|
|
1497
|
+
resource_type: string;
|
|
1498
|
+
resource_id: string;
|
|
1499
|
+
include_released?: boolean;
|
|
1500
|
+
page?: number;
|
|
1501
|
+
page_size?: number;
|
|
1502
|
+
};
|
|
1503
|
+
header?: never;
|
|
1504
|
+
path?: never;
|
|
1505
|
+
cookie?: never;
|
|
1506
|
+
};
|
|
1507
|
+
requestBody?: never;
|
|
1508
|
+
responses: {
|
|
1509
|
+
/** @description OK */
|
|
1510
|
+
200: {
|
|
1511
|
+
headers: {
|
|
1512
|
+
[name: string]: unknown;
|
|
1513
|
+
};
|
|
1514
|
+
content: {
|
|
1515
|
+
"application/json": components["schemas"]["ResourceUsageList"];
|
|
1516
|
+
};
|
|
1517
|
+
};
|
|
1518
|
+
/** @description Error */
|
|
1519
|
+
default: {
|
|
1520
|
+
headers: {
|
|
1521
|
+
[name: string]: unknown;
|
|
1522
|
+
};
|
|
1523
|
+
content: {
|
|
1524
|
+
"application/json": components["schemas"]["Error"];
|
|
1525
|
+
};
|
|
1526
|
+
};
|
|
1527
|
+
};
|
|
1528
|
+
};
|
|
1529
|
+
"get-resource-usage": {
|
|
1530
|
+
parameters: {
|
|
1531
|
+
query?: never;
|
|
1532
|
+
header?: never;
|
|
1533
|
+
path: {
|
|
1534
|
+
usageId: string;
|
|
1535
|
+
};
|
|
1536
|
+
cookie?: never;
|
|
1537
|
+
};
|
|
1538
|
+
requestBody?: never;
|
|
1539
|
+
responses: {
|
|
1540
|
+
/** @description OK */
|
|
1541
|
+
200: {
|
|
1542
|
+
headers: {
|
|
1543
|
+
[name: string]: unknown;
|
|
1544
|
+
};
|
|
1545
|
+
content: {
|
|
1546
|
+
"application/json": components["schemas"]["ResourceUsage"];
|
|
1547
|
+
};
|
|
1548
|
+
};
|
|
1549
|
+
/** @description Error */
|
|
1550
|
+
default: {
|
|
1551
|
+
headers: {
|
|
1552
|
+
[name: string]: unknown;
|
|
1553
|
+
};
|
|
1554
|
+
content: {
|
|
1555
|
+
"application/json": components["schemas"]["Error"];
|
|
1556
|
+
};
|
|
1557
|
+
};
|
|
1558
|
+
};
|
|
1559
|
+
};
|
|
1560
|
+
"get-resource-reclamation": {
|
|
1561
|
+
parameters: {
|
|
1562
|
+
query?: never;
|
|
1563
|
+
header?: never;
|
|
1564
|
+
path: {
|
|
1565
|
+
resourceType: string;
|
|
1566
|
+
resourceId: string;
|
|
1567
|
+
};
|
|
1568
|
+
cookie?: never;
|
|
1569
|
+
};
|
|
1570
|
+
requestBody?: never;
|
|
1571
|
+
responses: {
|
|
1572
|
+
/** @description OK */
|
|
1573
|
+
200: {
|
|
1574
|
+
headers: {
|
|
1575
|
+
[name: string]: unknown;
|
|
1576
|
+
};
|
|
1577
|
+
content: {
|
|
1578
|
+
"application/json": components["schemas"]["ReclamationState"];
|
|
1579
|
+
};
|
|
1580
|
+
};
|
|
1581
|
+
/** @description Error */
|
|
1582
|
+
default: {
|
|
1583
|
+
headers: {
|
|
1584
|
+
[name: string]: unknown;
|
|
1585
|
+
};
|
|
1586
|
+
content: {
|
|
1587
|
+
"application/json": components["schemas"]["Error"];
|
|
1588
|
+
};
|
|
1589
|
+
};
|
|
1590
|
+
};
|
|
1591
|
+
};
|
|
1592
|
+
"set-resource-idle-policy": {
|
|
1593
|
+
parameters: {
|
|
1594
|
+
query?: never;
|
|
1595
|
+
header?: never;
|
|
1596
|
+
path: {
|
|
1597
|
+
resourceType: string;
|
|
1598
|
+
resourceId: string;
|
|
1599
|
+
};
|
|
1600
|
+
cookie?: never;
|
|
1601
|
+
};
|
|
1602
|
+
requestBody: {
|
|
1603
|
+
content: {
|
|
1604
|
+
"application/json": components["schemas"]["IdlePolicy"];
|
|
1605
|
+
};
|
|
1606
|
+
};
|
|
1607
|
+
responses: {
|
|
1608
|
+
/** @description OK */
|
|
1609
|
+
200: {
|
|
1610
|
+
headers: {
|
|
1611
|
+
[name: string]: unknown;
|
|
1612
|
+
};
|
|
1613
|
+
content: {
|
|
1614
|
+
"application/json": components["schemas"]["ReclamationState"];
|
|
1615
|
+
};
|
|
1616
|
+
};
|
|
1617
|
+
/** @description Error */
|
|
1618
|
+
default: {
|
|
1619
|
+
headers: {
|
|
1620
|
+
[name: string]: unknown;
|
|
1621
|
+
};
|
|
1622
|
+
content: {
|
|
1623
|
+
"application/json": components["schemas"]["Error"];
|
|
1624
|
+
};
|
|
1625
|
+
};
|
|
1626
|
+
};
|
|
1627
|
+
};
|
|
1628
|
+
"list-disk-attachments": {
|
|
1629
|
+
parameters: {
|
|
1630
|
+
query?: {
|
|
1631
|
+
page?: number;
|
|
1632
|
+
page_size?: number;
|
|
1633
|
+
include_detached?: boolean;
|
|
1634
|
+
};
|
|
1635
|
+
header?: never;
|
|
1636
|
+
path: {
|
|
1637
|
+
resourceId: string;
|
|
1638
|
+
};
|
|
1639
|
+
cookie?: never;
|
|
1640
|
+
};
|
|
1641
|
+
requestBody?: never;
|
|
1642
|
+
responses: {
|
|
1643
|
+
/** @description OK */
|
|
1644
|
+
200: {
|
|
1645
|
+
headers: {
|
|
1646
|
+
[name: string]: unknown;
|
|
1647
|
+
};
|
|
1648
|
+
content: {
|
|
1649
|
+
"application/json": components["schemas"]["AttachmentList"];
|
|
1650
|
+
};
|
|
1651
|
+
};
|
|
1652
|
+
/** @description Error */
|
|
1653
|
+
default: {
|
|
1654
|
+
headers: {
|
|
1655
|
+
[name: string]: unknown;
|
|
1656
|
+
};
|
|
1657
|
+
content: {
|
|
1658
|
+
"application/json": components["schemas"]["Error"];
|
|
1659
|
+
};
|
|
1660
|
+
};
|
|
1661
|
+
};
|
|
1662
|
+
};
|
|
1663
|
+
"get-attachment": {
|
|
1664
|
+
parameters: {
|
|
1665
|
+
query?: never;
|
|
1666
|
+
header?: never;
|
|
1667
|
+
path: {
|
|
1668
|
+
attachmentId: string;
|
|
1669
|
+
};
|
|
1670
|
+
cookie?: never;
|
|
1671
|
+
};
|
|
1672
|
+
requestBody?: never;
|
|
1673
|
+
responses: {
|
|
1674
|
+
/** @description OK */
|
|
1675
|
+
200: {
|
|
1676
|
+
headers: {
|
|
1677
|
+
[name: string]: unknown;
|
|
1678
|
+
};
|
|
1679
|
+
content: {
|
|
1680
|
+
"application/json": components["schemas"]["Attachment"];
|
|
1681
|
+
};
|
|
1682
|
+
};
|
|
1683
|
+
/** @description Error */
|
|
1684
|
+
default: {
|
|
1685
|
+
headers: {
|
|
1686
|
+
[name: string]: unknown;
|
|
1687
|
+
};
|
|
1688
|
+
content: {
|
|
1689
|
+
"application/json": components["schemas"]["Error"];
|
|
1690
|
+
};
|
|
1691
|
+
};
|
|
1692
|
+
};
|
|
1693
|
+
};
|
|
1694
|
+
}
|