@leaflow/sdk 0.68.0 → 0.70.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/account/v1/schema.d.ts +6 -0
- package/dist/billing/v1/index.d.ts +12 -0
- package/dist/billing/v1/schema.d.ts +263 -0
- package/dist/compute/v1/index.d.ts +165 -11
- package/dist/compute/v1/schema.d.ts +4043 -763
- package/dist/iam/v1/schema.d.ts +6 -0
- package/package.json +1 -1
|
@@ -511,6 +511,12 @@ export interface components {
|
|
|
511
511
|
token: string;
|
|
512
512
|
};
|
|
513
513
|
ProjectResource: {
|
|
514
|
+
/**
|
|
515
|
+
* Format: date-time
|
|
516
|
+
* @description A read-only management lock. Running resources and billing remain unchanged. Only an operator can release it.
|
|
517
|
+
*/
|
|
518
|
+
locked_at: string | null;
|
|
519
|
+
lock_reason: string;
|
|
514
520
|
ban_reason: string;
|
|
515
521
|
/** Format: date-time */
|
|
516
522
|
created_at: string;
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
export type { paths, components, operations, webhooks } from "./schema.js";
|
|
2
2
|
export { client } from "./client.js";
|
|
3
3
|
import type { operations } from "./schema.js";
|
|
4
|
+
/** The success response body of `GET /account/v1/commitments`. */
|
|
5
|
+
export type ListCommitmentsResult = operations["ListCommitments"]["responses"][200]["content"]["application/json"];
|
|
6
|
+
/** The query parameters of `GET /account/v1/commitments`. */
|
|
7
|
+
export type ListCommitmentsQuery = operations["ListCommitments"]["parameters"]["query"];
|
|
8
|
+
/** The success response body of `GET /api/v1/projects/{projectId}/closure-preview`. */
|
|
9
|
+
export type GetProjectClosurePreviewResult = operations["get-project-closure-preview"]["responses"][200]["content"]["application/json"];
|
|
10
|
+
/** The query parameters of `GET /api/v1/projects/{projectId}/closure-preview`. */
|
|
11
|
+
export type GetProjectClosurePreviewQuery = operations["get-project-closure-preview"]["parameters"]["query"];
|
|
12
|
+
/** The success response body of `GET /account/v1/projects/{projectId}/closure-preview`. */
|
|
13
|
+
export type GetAccountProjectClosurePreviewResult = operations["get-account-project-closure-preview"]["responses"][200]["content"]["application/json"];
|
|
14
|
+
/** The query parameters of `GET /account/v1/projects/{projectId}/closure-preview`. */
|
|
15
|
+
export type GetAccountProjectClosurePreviewQuery = operations["get-account-project-closure-preview"]["parameters"]["query"];
|
|
4
16
|
/** The success response body of `GET /catalog/v1/products`. */
|
|
5
17
|
export type ListCatalogProductsResult = operations["list-catalog-products"]["responses"][200]["content"]["application/json"];
|
|
6
18
|
/** The success response body of `GET /catalog/v1/products/{productId}/plans`. */
|
|
@@ -3,6 +3,63 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
+
"/account/v1/commitments": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/** List account commercial commitments */
|
|
14
|
+
get: operations["ListCommitments"];
|
|
15
|
+
put?: never;
|
|
16
|
+
post?: never;
|
|
17
|
+
delete?: never;
|
|
18
|
+
options?: never;
|
|
19
|
+
head?: never;
|
|
20
|
+
patch?: never;
|
|
21
|
+
trace?: never;
|
|
22
|
+
};
|
|
23
|
+
"/api/v1/projects/{projectId}/closure-preview": {
|
|
24
|
+
parameters: {
|
|
25
|
+
query?: never;
|
|
26
|
+
header?: never;
|
|
27
|
+
path?: never;
|
|
28
|
+
cookie?: never;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Preview project closure
|
|
32
|
+
* @description Lists outstanding orders, subscriptions, metering and unfinished operations. Reports the next action and timing for each item. This read never performs cleanup or creates a closure request. Historical invoices and account-level purchases are retained. Billing approval alone does not prove that technical resources are absent.
|
|
33
|
+
*/
|
|
34
|
+
get: operations["get-project-closure-preview"];
|
|
35
|
+
put?: never;
|
|
36
|
+
post?: never;
|
|
37
|
+
delete?: never;
|
|
38
|
+
options?: never;
|
|
39
|
+
head?: never;
|
|
40
|
+
patch?: never;
|
|
41
|
+
trace?: never;
|
|
42
|
+
};
|
|
43
|
+
"/account/v1/projects/{projectId}/closure-preview": {
|
|
44
|
+
parameters: {
|
|
45
|
+
query?: never;
|
|
46
|
+
header?: never;
|
|
47
|
+
path?: never;
|
|
48
|
+
cookie?: never;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Preview project closure
|
|
52
|
+
* @description Lists outstanding orders, subscriptions, metering and unfinished operations. Reports the next action and timing for each item. This read never performs cleanup or creates a closure request. Historical invoices and account-level purchases are retained. Billing approval alone does not prove that technical resources are absent.
|
|
53
|
+
*/
|
|
54
|
+
get: operations["get-account-project-closure-preview"];
|
|
55
|
+
put?: never;
|
|
56
|
+
post?: never;
|
|
57
|
+
delete?: never;
|
|
58
|
+
options?: never;
|
|
59
|
+
head?: never;
|
|
60
|
+
patch?: never;
|
|
61
|
+
trace?: never;
|
|
62
|
+
};
|
|
6
63
|
"/catalog/v1/products": {
|
|
7
64
|
parameters: {
|
|
8
65
|
query?: never;
|
|
@@ -1305,6 +1362,133 @@ export interface paths {
|
|
|
1305
1362
|
export type webhooks = Record<string, never>;
|
|
1306
1363
|
export interface components {
|
|
1307
1364
|
schemas: {
|
|
1365
|
+
CommitmentPeriod: {
|
|
1366
|
+
/** Format: uuid */
|
|
1367
|
+
id: string;
|
|
1368
|
+
sequence: number;
|
|
1369
|
+
/** Format: date-time */
|
|
1370
|
+
period_start: string;
|
|
1371
|
+
/** Format: date-time */
|
|
1372
|
+
period_end: string;
|
|
1373
|
+
/** Format: date-time */
|
|
1374
|
+
due_at: string;
|
|
1375
|
+
amount: string;
|
|
1376
|
+
/** Format: uuid */
|
|
1377
|
+
invoice_item_id?: string;
|
|
1378
|
+
/** Format: date-time */
|
|
1379
|
+
finalized_at?: string;
|
|
1380
|
+
eligible_amount?: string;
|
|
1381
|
+
amount_due?: string;
|
|
1382
|
+
/** Format: date-time */
|
|
1383
|
+
waived_at?: string;
|
|
1384
|
+
waiver_reason?: string;
|
|
1385
|
+
};
|
|
1386
|
+
/** @description Account-owned commercial obligation. Project removal does not waive payment. Minimum-spend activation requires a defined, reproducible eligibility policy; drafts do not authorize collection. */
|
|
1387
|
+
Commitment: {
|
|
1388
|
+
/** Format: uuid */
|
|
1389
|
+
id: string;
|
|
1390
|
+
billing_account_id: number;
|
|
1391
|
+
currency: string;
|
|
1392
|
+
/** @enum {string} */
|
|
1393
|
+
type: "fixed_amount" | "minimum_spend";
|
|
1394
|
+
/** @enum {string} */
|
|
1395
|
+
status: "draft" | "active" | "completed" | "terminated";
|
|
1396
|
+
description: string;
|
|
1397
|
+
terms_reference: string;
|
|
1398
|
+
/** Format: date-time */
|
|
1399
|
+
effective_from: string;
|
|
1400
|
+
/** Format: date-time */
|
|
1401
|
+
effective_to: string;
|
|
1402
|
+
/** @enum {string} */
|
|
1403
|
+
release_policy: "retain_until_term" | "release_with_obligation";
|
|
1404
|
+
/** Format: uuid */
|
|
1405
|
+
contract_id?: string;
|
|
1406
|
+
/** Format: uuid */
|
|
1407
|
+
origin_order_item_id?: string;
|
|
1408
|
+
/** Format: uuid */
|
|
1409
|
+
origin_project_id?: string;
|
|
1410
|
+
/** Format: date-time */
|
|
1411
|
+
accepted_at?: string;
|
|
1412
|
+
accepted_by?: string;
|
|
1413
|
+
eligibility_policy_version?: string;
|
|
1414
|
+
/** Format: date-time */
|
|
1415
|
+
terminated_at?: string;
|
|
1416
|
+
termination_reason?: string;
|
|
1417
|
+
periods: components["schemas"]["CommitmentPeriod"][];
|
|
1418
|
+
};
|
|
1419
|
+
CommitmentList: {
|
|
1420
|
+
items: components["schemas"]["Commitment"][];
|
|
1421
|
+
/** Format: int64 */
|
|
1422
|
+
total_count: number;
|
|
1423
|
+
};
|
|
1424
|
+
/**
|
|
1425
|
+
* @description Whether a fulfilled purchase may end immediately or only after its paid term. Does not grant a refund. When absent, the terms are not configured and termination requires review.
|
|
1426
|
+
* @enum {string}
|
|
1427
|
+
*/
|
|
1428
|
+
TerminationPolicy: "immediate" | "period_end";
|
|
1429
|
+
/**
|
|
1430
|
+
* @description none preserves paid amounts when fulfilled service ends. standard applies the documented refund window and change proration rules. Releasing unpaid holds or returning funds for failed fulfillment is separate.
|
|
1431
|
+
* @enum {string}
|
|
1432
|
+
*/
|
|
1433
|
+
RefundPolicy: "none" | "standard";
|
|
1434
|
+
/** @description A cancellation request for the original purchase. scheduled_for is the intended time; effective_at is the confirmed end of service. The request alone does not stop metering or issue a refund. */
|
|
1435
|
+
SubscriptionCancellation: {
|
|
1436
|
+
/** Format: uuid */
|
|
1437
|
+
id: string;
|
|
1438
|
+
/** Format: uuid */
|
|
1439
|
+
subscription_item_id: string;
|
|
1440
|
+
/** @enum {string} */
|
|
1441
|
+
status: "requested" | "scheduled" | "releasing" | "failed" | "completed" | "canceled";
|
|
1442
|
+
/** @enum {string} */
|
|
1443
|
+
mode: "immediate" | "period_end";
|
|
1444
|
+
/** Format: date-time */
|
|
1445
|
+
requested_at: string;
|
|
1446
|
+
/** Format: date-time */
|
|
1447
|
+
scheduled_for?: string;
|
|
1448
|
+
/** Format: date-time */
|
|
1449
|
+
effective_at?: string;
|
|
1450
|
+
/** Format: date-time */
|
|
1451
|
+
completed_at?: string;
|
|
1452
|
+
/** Format: date-time */
|
|
1453
|
+
release_started_at?: string;
|
|
1454
|
+
/** Format: date-time */
|
|
1455
|
+
canceled_at?: string;
|
|
1456
|
+
forfeit_remaining_value: boolean;
|
|
1457
|
+
failure_code?: string;
|
|
1458
|
+
failure_reason?: string;
|
|
1459
|
+
};
|
|
1460
|
+
/** @description One outstanding Billing obligation. action_required identifies a supported next step, not authorization to destroy a resource. Items for the same resource must be considered together. */
|
|
1461
|
+
ProjectClosureItem: {
|
|
1462
|
+
/** @enum {string} */
|
|
1463
|
+
type: "order" | "subscription_item" | "active_resource" | "resource_operation" | "subscription_cancellation" | "usage_charge" | "commitment";
|
|
1464
|
+
/** Format: uuid */
|
|
1465
|
+
id: string;
|
|
1466
|
+
/** Format: uuid */
|
|
1467
|
+
product_id?: string;
|
|
1468
|
+
resource_id?: string;
|
|
1469
|
+
/** @enum {string} */
|
|
1470
|
+
disposition: "action_required" | "waiting" | "blocked";
|
|
1471
|
+
reason_code: string;
|
|
1472
|
+
actions: ("cancel_order" | "wait" | "release_resource" | "cancel_subscription" | "disable_auto_renew" | "settle_usage" | "configure_terms" | "resolve_failure")[];
|
|
1473
|
+
/** Format: date-time */
|
|
1474
|
+
earliest_termination_at?: string;
|
|
1475
|
+
/** @description Known refund amount as a decimal string. Absent means a separate quote is required, not zero. */
|
|
1476
|
+
refund_amount?: string;
|
|
1477
|
+
currency?: string;
|
|
1478
|
+
cancellation?: components["schemas"]["SubscriptionCancellation"];
|
|
1479
|
+
};
|
|
1480
|
+
/** @description Read-only, paginated assessment. Does not cancel orders, stop renewals, refund payments or release resources. Concurrent orders or callbacks may change the result; execution must close admission and recheck. */
|
|
1481
|
+
ProjectClosurePreview: {
|
|
1482
|
+
/** Format: uuid */
|
|
1483
|
+
project_id: string;
|
|
1484
|
+
/** Format: date-time */
|
|
1485
|
+
evaluated_at: string;
|
|
1486
|
+
/** @description True only when the full Billing result, across all pages, has no outstanding obligations. Technical services must independently confirm that all resources are gone. */
|
|
1487
|
+
can_close: boolean;
|
|
1488
|
+
items: components["schemas"]["ProjectClosureItem"][];
|
|
1489
|
+
/** Format: int64 */
|
|
1490
|
+
total_count: number;
|
|
1491
|
+
};
|
|
1308
1492
|
Error: {
|
|
1309
1493
|
code?: string;
|
|
1310
1494
|
message: string;
|
|
@@ -1361,6 +1545,8 @@ export interface components {
|
|
|
1361
1545
|
total_count?: number;
|
|
1362
1546
|
};
|
|
1363
1547
|
CatalogPrice: {
|
|
1548
|
+
termination_policy?: components["schemas"]["TerminationPolicy"];
|
|
1549
|
+
refund_policy?: components["schemas"]["RefundPolicy"];
|
|
1364
1550
|
/** @description External lookup alias within the service. Existing references use the price ID. */
|
|
1365
1551
|
lookup_key?: string;
|
|
1366
1552
|
/** Format: uuid */
|
|
@@ -2953,6 +3139,83 @@ export interface components {
|
|
|
2953
3139
|
}
|
|
2954
3140
|
export type $defs = Record<string, never>;
|
|
2955
3141
|
export interface operations {
|
|
3142
|
+
ListCommitments: {
|
|
3143
|
+
parameters: {
|
|
3144
|
+
query: {
|
|
3145
|
+
billing_account_id: number;
|
|
3146
|
+
page?: number;
|
|
3147
|
+
page_size?: number;
|
|
3148
|
+
};
|
|
3149
|
+
header?: never;
|
|
3150
|
+
path?: never;
|
|
3151
|
+
cookie?: never;
|
|
3152
|
+
};
|
|
3153
|
+
requestBody?: never;
|
|
3154
|
+
responses: {
|
|
3155
|
+
/** @description Commitments including original payment schedules. */
|
|
3156
|
+
200: {
|
|
3157
|
+
headers: {
|
|
3158
|
+
[name: string]: unknown;
|
|
3159
|
+
};
|
|
3160
|
+
content: {
|
|
3161
|
+
"application/json": components["schemas"]["CommitmentList"];
|
|
3162
|
+
};
|
|
3163
|
+
};
|
|
3164
|
+
default: components["responses"]["Error"];
|
|
3165
|
+
};
|
|
3166
|
+
};
|
|
3167
|
+
"get-project-closure-preview": {
|
|
3168
|
+
parameters: {
|
|
3169
|
+
query?: {
|
|
3170
|
+
page?: number;
|
|
3171
|
+
page_size?: number;
|
|
3172
|
+
};
|
|
3173
|
+
header?: never;
|
|
3174
|
+
path: {
|
|
3175
|
+
projectId: string;
|
|
3176
|
+
};
|
|
3177
|
+
cookie?: never;
|
|
3178
|
+
};
|
|
3179
|
+
requestBody?: never;
|
|
3180
|
+
responses: {
|
|
3181
|
+
/** @description Closure assessment */
|
|
3182
|
+
200: {
|
|
3183
|
+
headers: {
|
|
3184
|
+
[name: string]: unknown;
|
|
3185
|
+
};
|
|
3186
|
+
content: {
|
|
3187
|
+
"application/json": components["schemas"]["ProjectClosurePreview"];
|
|
3188
|
+
};
|
|
3189
|
+
};
|
|
3190
|
+
default: components["responses"]["Error"];
|
|
3191
|
+
};
|
|
3192
|
+
};
|
|
3193
|
+
"get-account-project-closure-preview": {
|
|
3194
|
+
parameters: {
|
|
3195
|
+
query?: {
|
|
3196
|
+
page?: number;
|
|
3197
|
+
page_size?: number;
|
|
3198
|
+
};
|
|
3199
|
+
header?: never;
|
|
3200
|
+
path: {
|
|
3201
|
+
projectId: string;
|
|
3202
|
+
};
|
|
3203
|
+
cookie?: never;
|
|
3204
|
+
};
|
|
3205
|
+
requestBody?: never;
|
|
3206
|
+
responses: {
|
|
3207
|
+
/** @description Closure assessment */
|
|
3208
|
+
200: {
|
|
3209
|
+
headers: {
|
|
3210
|
+
[name: string]: unknown;
|
|
3211
|
+
};
|
|
3212
|
+
content: {
|
|
3213
|
+
"application/json": components["schemas"]["ProjectClosurePreview"];
|
|
3214
|
+
};
|
|
3215
|
+
};
|
|
3216
|
+
default: components["responses"]["Error"];
|
|
3217
|
+
};
|
|
3218
|
+
};
|
|
2956
3219
|
"list-catalog-products": {
|
|
2957
3220
|
parameters: {
|
|
2958
3221
|
query?: {
|
|
@@ -1,6 +1,32 @@
|
|
|
1
1
|
export type { paths, components, operations, webhooks } from "./schema.js";
|
|
2
2
|
export { client } from "./client.js";
|
|
3
3
|
import type { operations } from "./schema.js";
|
|
4
|
+
/** The success response body of `GET /api/v1/backups`. */
|
|
5
|
+
export type ListBackupsResult = operations["list-backups"]["responses"][200]["content"]["application/json"];
|
|
6
|
+
/** The query parameters of `GET /api/v1/backups`. */
|
|
7
|
+
export type ListBackupsQuery = operations["list-backups"]["parameters"]["query"];
|
|
8
|
+
/** The success response body of `POST /api/v1/backups`. */
|
|
9
|
+
export type CreateBackupResult = operations["create-backup"]["responses"][201]["content"]["application/json"];
|
|
10
|
+
/** The request body of `POST /api/v1/backups`. */
|
|
11
|
+
export type CreateBackupBody = NonNullable<operations["create-backup"]["requestBody"]>["content"]["application/json"];
|
|
12
|
+
/** The success response body of `GET /api/v1/backups/{backupId}`. */
|
|
13
|
+
export type GetBackupResult = operations["get-backup"]["responses"][200]["content"]["application/json"];
|
|
14
|
+
/** The success response body of `PATCH /api/v1/backups/{backupId}`. */
|
|
15
|
+
export type RenameBackupResult = operations["rename-backup"]["responses"][200]["content"]["application/json"];
|
|
16
|
+
/** The request body of `PATCH /api/v1/backups/{backupId}`. */
|
|
17
|
+
export type RenameBackupBody = NonNullable<operations["rename-backup"]["requestBody"]>["content"]["application/json"];
|
|
18
|
+
/** The success response body of `DELETE /api/v1/backups/{backupId}`. */
|
|
19
|
+
export type DeleteBackupResult = operations["delete-backup"]["responses"][202]["content"]["application/json"];
|
|
20
|
+
/** The success response body of `POST /api/v1/backups/{backupId}/restore`. */
|
|
21
|
+
export type RestoreBackupResult = operations["restore-backup"]["responses"][201]["content"]["application/json"];
|
|
22
|
+
/** The request body of `POST /api/v1/backups/{backupId}/restore`. */
|
|
23
|
+
export type RestoreBackupBody = NonNullable<operations["restore-backup"]["requestBody"]>["content"]["application/json"];
|
|
24
|
+
/** The success response body of `GET /api/v1/disk-types`. */
|
|
25
|
+
export type ListDiskTypesResult = operations["list-disk-types"]["responses"][200]["content"]["application/json"];
|
|
26
|
+
/** The query parameters of `GET /api/v1/disk-types`. */
|
|
27
|
+
export type ListDiskTypesQuery = operations["list-disk-types"]["parameters"]["query"];
|
|
28
|
+
/** The success response body of `GET /api/v1/disk-types/{diskTypeId}`. */
|
|
29
|
+
export type GetDiskTypeResult = operations["get-disk-type"]["responses"][200]["content"]["application/json"];
|
|
4
30
|
/** The success response body of `GET /api/v1/images`. */
|
|
5
31
|
export type ListImagesResult = operations["list-images"]["responses"][200]["content"]["application/json"];
|
|
6
32
|
/** The query parameters of `GET /api/v1/images`. */
|
|
@@ -9,6 +35,52 @@ export type ListImagesQuery = operations["list-images"]["parameters"]["query"];
|
|
|
9
35
|
export type ListInstanceTypesResult = operations["list-instance-types"]["responses"][200]["content"]["application/json"];
|
|
10
36
|
/** The query parameters of `GET /api/v1/instance-types`. */
|
|
11
37
|
export type ListInstanceTypesQuery = operations["list-instance-types"]["parameters"]["query"];
|
|
38
|
+
/** The success response body of `GET /api/v1/regions`. */
|
|
39
|
+
export type ListRegionsResult = operations["list-regions"]["responses"][200]["content"]["application/json"];
|
|
40
|
+
/** The success response body of `GET /api/v1/regions/{regionId}/availability-zones`. */
|
|
41
|
+
export type ListAvailabilityZonesResult = operations["list-availability-zones"]["responses"][200]["content"]["application/json"];
|
|
42
|
+
/** The success response body of `GET /api/v1/disks`. */
|
|
43
|
+
export type ListDisksResult = operations["list-disks"]["responses"][200]["content"]["application/json"];
|
|
44
|
+
/** The query parameters of `GET /api/v1/disks`. */
|
|
45
|
+
export type ListDisksQuery = operations["list-disks"]["parameters"]["query"];
|
|
46
|
+
/** The success response body of `POST /api/v1/disks`. */
|
|
47
|
+
export type CreateDiskResult = operations["create-disk"]["responses"][201]["content"]["application/json"];
|
|
48
|
+
/** The request body of `POST /api/v1/disks`. */
|
|
49
|
+
export type CreateDiskBody = NonNullable<operations["create-disk"]["requestBody"]>["content"]["application/json"];
|
|
50
|
+
/** The success response body of `GET /api/v1/disks/{diskId}`. */
|
|
51
|
+
export type GetDiskResult = operations["get-disk"]["responses"][200]["content"]["application/json"];
|
|
52
|
+
/** The success response body of `PATCH /api/v1/disks/{diskId}`. */
|
|
53
|
+
export type RenameDiskResult = operations["rename-disk"]["responses"][200]["content"]["application/json"];
|
|
54
|
+
/** The request body of `PATCH /api/v1/disks/{diskId}`. */
|
|
55
|
+
export type RenameDiskBody = NonNullable<operations["rename-disk"]["requestBody"]>["content"]["application/json"];
|
|
56
|
+
/** The success response body of `DELETE /api/v1/disks/{diskId}`. */
|
|
57
|
+
export type DeleteDiskResult = operations["delete-disk"]["responses"][202]["content"]["application/json"];
|
|
58
|
+
/** The success response body of `POST /api/v1/disks/{diskId}/resize`. */
|
|
59
|
+
export type ResizeDiskResult = operations["resize-disk"]["responses"][200]["content"]["application/json"];
|
|
60
|
+
/** The request body of `POST /api/v1/disks/{diskId}/resize`. */
|
|
61
|
+
export type ResizeDiskBody = NonNullable<operations["resize-disk"]["requestBody"]>["content"]["application/json"];
|
|
62
|
+
/** The success response body of `POST /api/v1/disks/{diskId}/revert`. */
|
|
63
|
+
export type RevertDiskResult = operations["revert-disk"]["responses"][202]["content"]["application/json"];
|
|
64
|
+
/** The request body of `POST /api/v1/disks/{diskId}/revert`. */
|
|
65
|
+
export type RevertDiskBody = NonNullable<operations["revert-disk"]["requestBody"]>["content"]["application/json"];
|
|
66
|
+
/** The success response body of `GET /api/v1/floating-ips`. */
|
|
67
|
+
export type ListFloatingIpsResult = operations["list-floating-ips"]["responses"][200]["content"]["application/json"];
|
|
68
|
+
/** The success response body of `POST /api/v1/floating-ips`. */
|
|
69
|
+
export type AllocateFloatingIpResult = operations["allocate-floating-ip"]["responses"][201]["content"]["application/json"];
|
|
70
|
+
/** The request body of `POST /api/v1/floating-ips`. */
|
|
71
|
+
export type AllocateFloatingIpBody = NonNullable<operations["allocate-floating-ip"]["requestBody"]>["content"]["application/json"];
|
|
72
|
+
/** The success response body of `GET /api/v1/floating-ips/{floatingIpId}`. */
|
|
73
|
+
export type GetFloatingIpResult = operations["get-floating-ip"]["responses"][200]["content"]["application/json"];
|
|
74
|
+
/** The success response body of `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth`. */
|
|
75
|
+
export type SetFloatingIpBandwidthResult = operations["set-floating-ip-bandwidth"]["responses"][200]["content"]["application/json"];
|
|
76
|
+
/** The request body of `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth`. */
|
|
77
|
+
export type SetFloatingIpBandwidthBody = NonNullable<operations["set-floating-ip-bandwidth"]["requestBody"]>["content"]["application/json"];
|
|
78
|
+
/** The success response body of `PUT /api/v1/floating-ips/{floatingIpId}/binding`. */
|
|
79
|
+
export type BindFloatingIpResult = operations["bind-floating-ip"]["responses"][200]["content"]["application/json"];
|
|
80
|
+
/** The request body of `PUT /api/v1/floating-ips/{floatingIpId}/binding`. */
|
|
81
|
+
export type BindFloatingIpBody = NonNullable<operations["bind-floating-ip"]["requestBody"]>["content"]["application/json"];
|
|
82
|
+
/** The success response body of `DELETE /api/v1/floating-ips/{floatingIpId}/binding`. */
|
|
83
|
+
export type UnbindFloatingIpResult = operations["unbind-floating-ip"]["responses"][200]["content"]["application/json"];
|
|
12
84
|
/** The success response body of `GET /api/v1/instances`. */
|
|
13
85
|
export type ListInstancesResult = operations["list-instances"]["responses"][200]["content"]["application/json"];
|
|
14
86
|
/** The query parameters of `GET /api/v1/instances`. */
|
|
@@ -23,6 +95,8 @@ export type GetInstanceResult = operations["get-instance"]["responses"][200]["co
|
|
|
23
95
|
export type RenameInstanceResult = operations["rename-instance"]["responses"][200]["content"]["application/json"];
|
|
24
96
|
/** The request body of `PATCH /api/v1/instances/{instanceId}`. */
|
|
25
97
|
export type RenameInstanceBody = NonNullable<operations["rename-instance"]["requestBody"]>["content"]["application/json"];
|
|
98
|
+
/** The success response body of `DELETE /api/v1/instances/{instanceId}`. */
|
|
99
|
+
export type DeleteInstanceResult = operations["delete-instance"]["responses"][202]["content"]["application/json"];
|
|
26
100
|
/** The success response body of `POST /api/v1/instances/{instanceId}/commands`. */
|
|
27
101
|
export type RunInstanceCommandResult = operations["run-instance-command"]["responses"][200]["content"]["application/json"];
|
|
28
102
|
/** The request body of `POST /api/v1/instances/{instanceId}/commands`. */
|
|
@@ -46,7 +120,7 @@ export type ResetInstancePasswordResult = operations["reset-instance-password"][
|
|
|
46
120
|
/** The request body of `POST /api/v1/instances/{instanceId}/password`. */
|
|
47
121
|
export type ResetInstancePasswordBody = NonNullable<operations["reset-instance-password"]["requestBody"]>["content"]["application/json"];
|
|
48
122
|
/** The success response body of `POST /api/v1/instances/{instanceId}/reboot`. */
|
|
49
|
-
export type RebootInstanceResult = operations["reboot-instance"]["responses"][
|
|
123
|
+
export type RebootInstanceResult = operations["reboot-instance"]["responses"][202]["content"]["application/json"];
|
|
50
124
|
/** The request body of `POST /api/v1/instances/{instanceId}/reboot`. */
|
|
51
125
|
export type RebootInstanceBody = NonNullable<operations["reboot-instance"]["requestBody"]>["content"]["application/json"];
|
|
52
126
|
/** The success response body of `POST /api/v1/instances/{instanceId}/rebuild`. */
|
|
@@ -58,9 +132,9 @@ export type ResizeInstanceResult = operations["resize-instance"]["responses"][20
|
|
|
58
132
|
/** The request body of `POST /api/v1/instances/{instanceId}/resize`. */
|
|
59
133
|
export type ResizeInstanceBody = NonNullable<operations["resize-instance"]["requestBody"]>["content"]["application/json"];
|
|
60
134
|
/** The success response body of `POST /api/v1/instances/{instanceId}/resize/confirm`. */
|
|
61
|
-
export type ConfirmInstanceResizeResult = operations["confirm-instance-resize"]["responses"][
|
|
135
|
+
export type ConfirmInstanceResizeResult = operations["confirm-instance-resize"]["responses"][202]["content"]["application/json"];
|
|
62
136
|
/** The success response body of `POST /api/v1/instances/{instanceId}/resize/revert`. */
|
|
63
|
-
export type RevertInstanceResizeResult = operations["revert-instance-resize"]["responses"][
|
|
137
|
+
export type RevertInstanceResizeResult = operations["revert-instance-resize"]["responses"][202]["content"]["application/json"];
|
|
64
138
|
/** The success response body of `POST /api/v1/instances/{instanceId}/start`. */
|
|
65
139
|
export type StartInstanceResult = operations["start-instance"]["responses"][202]["content"]["application/json"];
|
|
66
140
|
/** The request body of `POST /api/v1/instances/{instanceId}/start`. */
|
|
@@ -74,11 +148,11 @@ export type ListInstanceDisksResult = operations["list-instance-disks"]["respons
|
|
|
74
148
|
/** The query parameters of `GET /api/v1/instances/{instanceId}/disks`. */
|
|
75
149
|
export type ListInstanceDisksQuery = operations["list-instance-disks"]["parameters"]["query"];
|
|
76
150
|
/** The success response body of `POST /api/v1/instances/{instanceId}/disks`. */
|
|
77
|
-
export type AttachDiskResult = operations["attach-disk"]["responses"][
|
|
151
|
+
export type AttachDiskResult = operations["attach-disk"]["responses"][202]["content"]["application/json"];
|
|
78
152
|
/** The request body of `POST /api/v1/instances/{instanceId}/disks`. */
|
|
79
153
|
export type AttachDiskBody = NonNullable<operations["attach-disk"]["requestBody"]>["content"]["application/json"];
|
|
80
154
|
/** The success response body of `DELETE /api/v1/instances/{instanceId}/disks/{diskId}`. */
|
|
81
|
-
export type DetachDiskResult = operations["detach-disk"]["responses"][
|
|
155
|
+
export type DetachDiskResult = operations["detach-disk"]["responses"][202]["content"]["application/json"];
|
|
82
156
|
/** The success response body of `POST /api/v1/instances/{instanceId}/floating-ips`. */
|
|
83
157
|
export type AttachInstanceFloatingIpResult = operations["attach-instance-floating-ip"]["responses"][202]["content"]["application/json"];
|
|
84
158
|
/** The request body of `POST /api/v1/instances/{instanceId}/floating-ips`. */
|
|
@@ -90,15 +164,21 @@ export type ListInstancePortsResult = operations["list-instance-ports"]["respons
|
|
|
90
164
|
/** The query parameters of `GET /api/v1/instances/{instanceId}/ports`. */
|
|
91
165
|
export type ListInstancePortsQuery = operations["list-instance-ports"]["parameters"]["query"];
|
|
92
166
|
/** The success response body of `POST /api/v1/instances/{instanceId}/ports`. */
|
|
93
|
-
export type AttachPortResult = operations["attach-port"]["responses"][
|
|
167
|
+
export type AttachPortResult = operations["attach-port"]["responses"][202]["content"]["application/json"];
|
|
94
168
|
/** The request body of `POST /api/v1/instances/{instanceId}/ports`. */
|
|
95
169
|
export type AttachPortBody = NonNullable<operations["attach-port"]["requestBody"]>["content"]["application/json"];
|
|
96
170
|
/** The success response body of `DELETE /api/v1/instances/{instanceId}/ports/{portId}`. */
|
|
97
|
-
export type DetachPortResult = operations["detach-port"]["responses"][
|
|
171
|
+
export type DetachPortResult = operations["detach-port"]["responses"][202]["content"]["application/json"];
|
|
98
172
|
/** The success response body of `GET /api/v1/operation-logs`. */
|
|
99
173
|
export type ListOperationLogsResult = operations["list-operation-logs"]["responses"][200]["content"]["application/json"];
|
|
100
174
|
/** The query parameters of `GET /api/v1/operation-logs`. */
|
|
101
175
|
export type ListOperationLogsQuery = operations["list-operation-logs"]["parameters"]["query"];
|
|
176
|
+
/** The success response body of `GET /api/v1/ports`. */
|
|
177
|
+
export type ListPortsResult = operations["list-ports"]["responses"][200]["content"]["application/json"];
|
|
178
|
+
/** The success response body of `POST /api/v1/ports`. */
|
|
179
|
+
export type CreatePortResult = operations["create-port"]["responses"][201]["content"]["application/json"];
|
|
180
|
+
/** The request body of `POST /api/v1/ports`. */
|
|
181
|
+
export type CreatePortBody = NonNullable<operations["create-port"]["requestBody"]>["content"]["application/json"];
|
|
102
182
|
/** The success response body of `GET /api/v1/private-images`. */
|
|
103
183
|
export type ListPrivateImagesResult = operations["list-private-images"]["responses"][200]["content"]["application/json"];
|
|
104
184
|
/** The query parameters of `GET /api/v1/private-images`. */
|
|
@@ -113,7 +193,81 @@ export type GetPrivateImageResult = operations["get-private-image"]["responses"]
|
|
|
113
193
|
export type RenamePrivateImageResult = operations["rename-private-image"]["responses"][200]["content"]["application/json"];
|
|
114
194
|
/** The request body of `PATCH /api/v1/private-images/{privateImageId}`. */
|
|
115
195
|
export type RenamePrivateImageBody = NonNullable<operations["rename-private-image"]["requestBody"]>["content"]["application/json"];
|
|
116
|
-
/** The success response body of `
|
|
117
|
-
export type
|
|
118
|
-
/** The
|
|
119
|
-
export type
|
|
196
|
+
/** The success response body of `DELETE /api/v1/private-images/{privateImageId}`. */
|
|
197
|
+
export type DeletePrivateImageResult = operations["delete-private-image"]["responses"][202]["content"]["application/json"];
|
|
198
|
+
/** The success response body of `GET /api/v1/private-networks`. */
|
|
199
|
+
export type ListPrivateNetworksResult = operations["list-private-networks"]["responses"][200]["content"]["application/json"];
|
|
200
|
+
/** The query parameters of `GET /api/v1/private-networks`. */
|
|
201
|
+
export type ListPrivateNetworksQuery = operations["list-private-networks"]["parameters"]["query"];
|
|
202
|
+
/** The success response body of `POST /api/v1/private-networks`. */
|
|
203
|
+
export type CreatePrivateNetworkResult = operations["create-private-network"]["responses"][201]["content"]["application/json"];
|
|
204
|
+
/** The request body of `POST /api/v1/private-networks`. */
|
|
205
|
+
export type CreatePrivateNetworkBody = NonNullable<operations["create-private-network"]["requestBody"]>["content"]["application/json"];
|
|
206
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}`. */
|
|
207
|
+
export type GetPrivateNetworkResult = operations["get-private-network"]["responses"][200]["content"]["application/json"];
|
|
208
|
+
/** The success response body of `PATCH /api/v1/private-networks/{privateNetworkId}`. */
|
|
209
|
+
export type RenamePrivateNetworkResult = operations["rename-private-network"]["responses"][200]["content"]["application/json"];
|
|
210
|
+
/** The request body of `PATCH /api/v1/private-networks/{privateNetworkId}`. */
|
|
211
|
+
export type RenamePrivateNetworkBody = NonNullable<operations["rename-private-network"]["requestBody"]>["content"]["application/json"];
|
|
212
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/ipv6`. */
|
|
213
|
+
export type GetPrivateNetworkIpv6Result = operations["get-private-network-ipv6"]["responses"][200]["content"]["application/json"];
|
|
214
|
+
/** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/ipv6`. */
|
|
215
|
+
export type EnablePrivateNetworkIpv6Result = operations["enable-private-network-ipv6"]["responses"][200]["content"]["application/json"];
|
|
216
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
217
|
+
export type ListRoutesResult = operations["list-routes"]["responses"][200]["content"]["application/json"];
|
|
218
|
+
/** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
219
|
+
export type CreateRouteResult = operations["create-route"]["responses"][201]["content"]["application/json"];
|
|
220
|
+
/** The request body of `POST /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
221
|
+
export type CreateRouteBody = NonNullable<operations["create-route"]["requestBody"]>["content"]["application/json"];
|
|
222
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/subnets`. */
|
|
223
|
+
export type ListSubnetsResult = operations["list-subnets"]["responses"][200]["content"]["application/json"];
|
|
224
|
+
/** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/subnets`. */
|
|
225
|
+
export type CreateSubnetResult = operations["create-subnet"]["responses"][201]["content"]["application/json"];
|
|
226
|
+
/** The request body of `POST /api/v1/private-networks/{privateNetworkId}/subnets`. */
|
|
227
|
+
export type CreateSubnetBody = NonNullable<operations["create-subnet"]["requestBody"]>["content"]["application/json"];
|
|
228
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr`. */
|
|
229
|
+
export type SuggestSubnetCidrResult = operations["suggest-subnet-cidr"]["responses"][200]["content"]["application/json"];
|
|
230
|
+
/** The query parameters of `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr`. */
|
|
231
|
+
export type SuggestSubnetCidrQuery = operations["suggest-subnet-cidr"]["parameters"]["query"];
|
|
232
|
+
/** The success response body of `GET /api/v1/security-groups`. */
|
|
233
|
+
export type ListSecurityGroupsResult = operations["list-security-groups"]["responses"][200]["content"]["application/json"];
|
|
234
|
+
/** The query parameters of `GET /api/v1/security-groups`. */
|
|
235
|
+
export type ListSecurityGroupsQuery = operations["list-security-groups"]["parameters"]["query"];
|
|
236
|
+
/** The success response body of `POST /api/v1/security-groups`. */
|
|
237
|
+
export type CreateSecurityGroupResult = operations["create-security-group"]["responses"][201]["content"]["application/json"];
|
|
238
|
+
/** The request body of `POST /api/v1/security-groups`. */
|
|
239
|
+
export type CreateSecurityGroupBody = NonNullable<operations["create-security-group"]["requestBody"]>["content"]["application/json"];
|
|
240
|
+
/** The success response body of `GET /api/v1/security-groups/{securityGroupId}`. */
|
|
241
|
+
export type GetSecurityGroupResult = operations["get-security-group"]["responses"][200]["content"]["application/json"];
|
|
242
|
+
/** The success response body of `PATCH /api/v1/security-groups/{securityGroupId}`. */
|
|
243
|
+
export type RenameSecurityGroupResult = operations["rename-security-group"]["responses"][200]["content"]["application/json"];
|
|
244
|
+
/** The request body of `PATCH /api/v1/security-groups/{securityGroupId}`. */
|
|
245
|
+
export type RenameSecurityGroupBody = NonNullable<operations["rename-security-group"]["requestBody"]>["content"]["application/json"];
|
|
246
|
+
/** The success response body of `GET /api/v1/security-groups/{securityGroupId}/rules`. */
|
|
247
|
+
export type ListSecurityGroupRulesResult = operations["list-security-group-rules"]["responses"][200]["content"]["application/json"];
|
|
248
|
+
/** The success response body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
|
|
249
|
+
export type CreateSecurityGroupRuleResult = operations["create-security-group-rule"]["responses"][201]["content"]["application/json"];
|
|
250
|
+
/** The request body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
|
|
251
|
+
export type CreateSecurityGroupRuleBody = NonNullable<operations["create-security-group-rule"]["requestBody"]>["content"]["application/json"];
|
|
252
|
+
/** The success response body of `GET /api/v1/snapshots`. */
|
|
253
|
+
export type ListSnapshotsResult = operations["list-snapshots"]["responses"][200]["content"]["application/json"];
|
|
254
|
+
/** The query parameters of `GET /api/v1/snapshots`. */
|
|
255
|
+
export type ListSnapshotsQuery = operations["list-snapshots"]["parameters"]["query"];
|
|
256
|
+
/** The success response body of `POST /api/v1/snapshots`. */
|
|
257
|
+
export type CreateSnapshotResult = operations["create-snapshot"]["responses"][201]["content"]["application/json"];
|
|
258
|
+
/** The request body of `POST /api/v1/snapshots`. */
|
|
259
|
+
export type CreateSnapshotBody = NonNullable<operations["create-snapshot"]["requestBody"]>["content"]["application/json"];
|
|
260
|
+
/** The success response body of `GET /api/v1/snapshots/{snapshotId}`. */
|
|
261
|
+
export type GetSnapshotResult = operations["get-snapshot"]["responses"][200]["content"]["application/json"];
|
|
262
|
+
/** The success response body of `PATCH /api/v1/snapshots/{snapshotId}`. */
|
|
263
|
+
export type RenameSnapshotResult = operations["rename-snapshot"]["responses"][200]["content"]["application/json"];
|
|
264
|
+
/** The request body of `PATCH /api/v1/snapshots/{snapshotId}`. */
|
|
265
|
+
export type RenameSnapshotBody = NonNullable<operations["rename-snapshot"]["requestBody"]>["content"]["application/json"];
|
|
266
|
+
/** The success response body of `DELETE /api/v1/snapshots/{snapshotId}`. */
|
|
267
|
+
export type DeleteSnapshotResult = operations["delete-snapshot"]["responses"][202]["content"]["application/json"];
|
|
268
|
+
/** The success response body of `GET /api/v1/tasks/{taskId}`. */
|
|
269
|
+
export type GetTaskResult = operations["get-task"]["responses"][200]["content"]["application/json"];
|
|
270
|
+
/** The success response body of `GET /api/v1/ipv4-pools`. */
|
|
271
|
+
export type ListIpv4PoolsResult = operations["list-ipv4-pools"]["responses"][200]["content"]["application/json"];
|
|
272
|
+
/** The query parameters of `GET /api/v1/ipv4-pools`. */
|
|
273
|
+
export type ListIpv4PoolsQuery = operations["list-ipv4-pools"]["parameters"]["query"];
|