@leaflow/sdk 0.0.0-dev.17.geb299fb → 0.0.0-dev.171.g5d23fa1
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/README.md +13 -1
- package/dist/account/v1/client.d.ts +4 -0
- package/dist/account/v1/client.js +7 -0
- package/dist/account/v1/index.d.ts +34 -21
- package/dist/account/v1/index.js +4 -4
- package/dist/account/v1/schema.d.ts +374 -81
- package/dist/assistant/v1/client.d.ts +4 -0
- package/dist/assistant/v1/client.js +7 -0
- package/dist/assistant/v1/index.d.ts +69 -40
- package/dist/assistant/v1/index.js +4 -4
- package/dist/assistant/v1/schema.d.ts +1089 -133
- package/dist/billing/v1/client.d.ts +6 -0
- package/dist/billing/v1/client.js +6 -0
- package/dist/billing/v1/index.d.ts +205 -0
- package/dist/billing/v1/index.js +5 -0
- package/dist/billing/v1/schema.d.ts +4976 -0
- package/dist/billing/v1/schema.js +5 -0
- package/dist/canopy/v1/client.d.ts +4 -0
- package/dist/canopy/v1/client.js +7 -0
- package/dist/canopy/v1/index.d.ts +24 -23
- package/dist/canopy/v1/index.js +4 -4
- package/dist/canopy/v1/schema.d.ts +113 -109
- package/dist/compute/v1/client.d.ts +4 -0
- package/dist/compute/v1/client.js +7 -0
- package/dist/compute/v1/index.d.ts +174 -127
- package/dist/compute/v1/index.js +4 -4
- package/dist/compute/v1/schema.d.ts +1688 -499
- package/dist/dns/v1/client.d.ts +4 -0
- package/dist/dns/v1/client.js +7 -0
- package/dist/dns/v1/index.d.ts +43 -0
- package/dist/dns/v1/index.js +5 -0
- package/dist/dns/v1/schema.d.ts +887 -0
- package/dist/dns/v1/schema.js +5 -0
- 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 +2311 -0
- package/dist/fabric/v1/schema.js +5 -0
- package/dist/fleet/v1/client.d.ts +4 -0
- package/dist/fleet/v1/client.js +7 -0
- package/dist/fleet/v1/index.d.ts +15 -0
- package/dist/fleet/v1/index.js +5 -0
- package/dist/fleet/v1/schema.d.ts +291 -0
- package/dist/fleet/v1/schema.js +5 -0
- package/dist/iam/v1/client.d.ts +4 -0
- package/dist/iam/v1/client.js +7 -0
- package/dist/iam/v1/index.d.ts +55 -32
- package/dist/iam/v1/index.js +4 -4
- package/dist/iam/v1/schema.d.ts +521 -88
- package/dist/index.d.ts +14 -7
- package/dist/index.js +22 -5
- package/dist/monitoring/v1/client.d.ts +4 -0
- package/dist/monitoring/v1/client.js +7 -0
- package/dist/monitoring/v1/index.d.ts +130 -49
- package/dist/monitoring/v1/index.js +4 -4
- package/dist/monitoring/v1/schema.d.ts +2420 -527
- package/dist/notification/v1/client.d.ts +4 -0
- package/dist/notification/v1/client.js +7 -0
- package/dist/notification/v1/index.d.ts +77 -0
- package/dist/notification/v1/index.js +5 -0
- package/dist/notification/v1/schema.d.ts +2048 -0
- package/dist/notification/v1/schema.js +5 -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 +35 -0
- package/dist/storage/v1/index.js +5 -0
- package/dist/storage/v1/schema.d.ts +751 -0
- package/dist/storage/v1/schema.js +5 -0
- package/dist/support/v1/client.d.ts +4 -0
- package/dist/support/v1/client.js +7 -0
- package/dist/support/v1/index.d.ts +51 -0
- package/dist/support/v1/index.js +5 -0
- package/dist/support/v1/schema.d.ts +1082 -0
- package/dist/support/v1/schema.js +5 -0
- package/dist/tunnel/v1/client.d.ts +4 -0
- package/dist/tunnel/v1/client.js +7 -0
- package/dist/tunnel/v1/index.d.ts +8 -7
- package/dist/tunnel/v1/index.js +4 -4
- package/dist/tunnel/v1/schema.d.ts +40 -34
- package/package.json +34 -10
|
@@ -1,228 +1,275 @@
|
|
|
1
1
|
export type { paths, components, operations, webhooks } from "./schema.js";
|
|
2
|
+
export { client } from "./client.js";
|
|
2
3
|
import type { operations } from "./schema.js";
|
|
3
|
-
/** `GET /api/v1/backups
|
|
4
|
+
/** The success response body of `GET /api/v1/backups`. */
|
|
4
5
|
export type ListBackupsResult = operations["list-backups"]["responses"][200]["content"]["application/json"];
|
|
5
|
-
/** `GET /api/v1/backups
|
|
6
|
+
/** The query parameters of `GET /api/v1/backups`. */
|
|
6
7
|
export type ListBackupsQuery = operations["list-backups"]["parameters"]["query"];
|
|
7
|
-
/** `POST /api/v1/backups
|
|
8
|
+
/** The success response body of `POST /api/v1/backups`. */
|
|
8
9
|
export type CreateBackupResult = operations["create-backup"]["responses"][201]["content"]["application/json"];
|
|
9
|
-
/** `POST /api/v1/backups
|
|
10
|
+
/** The request body of `POST /api/v1/backups`. */
|
|
10
11
|
export type CreateBackupBody = NonNullable<operations["create-backup"]["requestBody"]>["content"]["application/json"];
|
|
11
|
-
/** `GET /api/v1/backups/{backupId}
|
|
12
|
+
/** The success response body of `GET /api/v1/backups/{backupId}`. */
|
|
12
13
|
export type GetBackupResult = operations["get-backup"]["responses"][200]["content"]["application/json"];
|
|
13
|
-
/** `PATCH /api/v1/backups/{backupId}
|
|
14
|
+
/** The success response body of `PATCH /api/v1/backups/{backupId}`. */
|
|
14
15
|
export type RenameBackupResult = operations["rename-backup"]["responses"][200]["content"]["application/json"];
|
|
15
|
-
/** `PATCH /api/v1/backups/{backupId}
|
|
16
|
+
/** The request body of `PATCH /api/v1/backups/{backupId}`. */
|
|
16
17
|
export type RenameBackupBody = NonNullable<operations["rename-backup"]["requestBody"]>["content"]["application/json"];
|
|
17
|
-
/** `
|
|
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`. */
|
|
18
21
|
export type RestoreBackupResult = operations["restore-backup"]["responses"][201]["content"]["application/json"];
|
|
19
|
-
/** `POST /api/v1/backups/{backupId}/restore
|
|
22
|
+
/** The request body of `POST /api/v1/backups/{backupId}/restore`. */
|
|
20
23
|
export type RestoreBackupBody = NonNullable<operations["restore-backup"]["requestBody"]>["content"]["application/json"];
|
|
21
|
-
/** `GET /api/v1/disk-types
|
|
24
|
+
/** The success response body of `GET /api/v1/disk-types`. */
|
|
22
25
|
export type ListDiskTypesResult = operations["list-disk-types"]["responses"][200]["content"]["application/json"];
|
|
23
|
-
/** `GET /api/v1/disk-types
|
|
26
|
+
/** The query parameters of `GET /api/v1/disk-types`. */
|
|
24
27
|
export type ListDiskTypesQuery = operations["list-disk-types"]["parameters"]["query"];
|
|
25
|
-
/** `GET /api/v1/
|
|
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"];
|
|
30
|
+
/** The success response body of `GET /api/v1/images`. */
|
|
26
31
|
export type ListImagesResult = operations["list-images"]["responses"][200]["content"]["application/json"];
|
|
27
|
-
/** `GET /api/v1/images
|
|
32
|
+
/** The query parameters of `GET /api/v1/images`. */
|
|
28
33
|
export type ListImagesQuery = operations["list-images"]["parameters"]["query"];
|
|
29
|
-
/** `GET /api/v1/instance-types
|
|
34
|
+
/** The success response body of `GET /api/v1/instance-types`. */
|
|
30
35
|
export type ListInstanceTypesResult = operations["list-instance-types"]["responses"][200]["content"]["application/json"];
|
|
31
|
-
/** `GET /api/v1/instance-types
|
|
36
|
+
/** The query parameters of `GET /api/v1/instance-types`. */
|
|
32
37
|
export type ListInstanceTypesQuery = operations["list-instance-types"]["parameters"]["query"];
|
|
33
|
-
/** `GET /api/v1/regions
|
|
38
|
+
/** The success response body of `GET /api/v1/regions`. */
|
|
34
39
|
export type ListRegionsResult = operations["list-regions"]["responses"][200]["content"]["application/json"];
|
|
35
|
-
/** `GET /api/v1/regions/{
|
|
40
|
+
/** The success response body of `GET /api/v1/regions/{regionId}/availability-zones`. */
|
|
36
41
|
export type ListAvailabilityZonesResult = operations["list-availability-zones"]["responses"][200]["content"]["application/json"];
|
|
37
|
-
/** `GET /api/v1/disks
|
|
42
|
+
/** The success response body of `GET /api/v1/disks`. */
|
|
38
43
|
export type ListDisksResult = operations["list-disks"]["responses"][200]["content"]["application/json"];
|
|
39
|
-
/** `GET /api/v1/disks
|
|
44
|
+
/** The query parameters of `GET /api/v1/disks`. */
|
|
40
45
|
export type ListDisksQuery = operations["list-disks"]["parameters"]["query"];
|
|
41
|
-
/** `POST /api/v1/disks
|
|
46
|
+
/** The success response body of `POST /api/v1/disks`. */
|
|
42
47
|
export type CreateDiskResult = operations["create-disk"]["responses"][201]["content"]["application/json"];
|
|
43
|
-
/** `POST /api/v1/disks
|
|
48
|
+
/** The request body of `POST /api/v1/disks`. */
|
|
44
49
|
export type CreateDiskBody = NonNullable<operations["create-disk"]["requestBody"]>["content"]["application/json"];
|
|
45
|
-
/** `GET /api/v1/disks/{diskId}
|
|
50
|
+
/** The success response body of `GET /api/v1/disks/{diskId}`. */
|
|
46
51
|
export type GetDiskResult = operations["get-disk"]["responses"][200]["content"]["application/json"];
|
|
47
|
-
/** `PATCH /api/v1/disks/{diskId}
|
|
52
|
+
/** The success response body of `PATCH /api/v1/disks/{diskId}`. */
|
|
48
53
|
export type RenameDiskResult = operations["rename-disk"]["responses"][200]["content"]["application/json"];
|
|
49
|
-
/** `PATCH /api/v1/disks/{diskId}
|
|
54
|
+
/** The request body of `PATCH /api/v1/disks/{diskId}`. */
|
|
50
55
|
export type RenameDiskBody = NonNullable<operations["rename-disk"]["requestBody"]>["content"]["application/json"];
|
|
51
|
-
/** `
|
|
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`. */
|
|
52
59
|
export type ResizeDiskResult = operations["resize-disk"]["responses"][200]["content"]["application/json"];
|
|
53
|
-
/** `POST /api/v1/disks/{diskId}/resize
|
|
60
|
+
/** The request body of `POST /api/v1/disks/{diskId}/resize`. */
|
|
54
61
|
export type ResizeDiskBody = NonNullable<operations["resize-disk"]["requestBody"]>["content"]["application/json"];
|
|
55
|
-
/** `POST /api/v1/disks/{diskId}/revert
|
|
56
|
-
export type RevertDiskResult = operations["revert-disk"]["responses"][
|
|
57
|
-
/** `POST /api/v1/disks/{diskId}/revert
|
|
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`. */
|
|
58
65
|
export type RevertDiskBody = NonNullable<operations["revert-disk"]["requestBody"]>["content"]["application/json"];
|
|
59
|
-
/** `GET /api/v1/floating-ips
|
|
66
|
+
/** The success response body of `GET /api/v1/floating-ips`. */
|
|
60
67
|
export type ListFloatingIpsResult = operations["list-floating-ips"]["responses"][200]["content"]["application/json"];
|
|
61
|
-
/** `POST /api/v1/floating-ips
|
|
68
|
+
/** The success response body of `POST /api/v1/floating-ips`. */
|
|
62
69
|
export type AllocateFloatingIpResult = operations["allocate-floating-ip"]["responses"][201]["content"]["application/json"];
|
|
63
|
-
/** `POST /api/v1/floating-ips
|
|
70
|
+
/** The request body of `POST /api/v1/floating-ips`. */
|
|
64
71
|
export type AllocateFloatingIpBody = NonNullable<operations["allocate-floating-ip"]["requestBody"]>["content"]["application/json"];
|
|
65
|
-
/** `GET /api/v1/floating-ips/{floatingIpId}
|
|
72
|
+
/** The success response body of `GET /api/v1/floating-ips/{floatingIpId}`. */
|
|
66
73
|
export type GetFloatingIpResult = operations["get-floating-ip"]["responses"][200]["content"]["application/json"];
|
|
67
|
-
/** `
|
|
74
|
+
/** The success response body of `DELETE /api/v1/floating-ips/{floatingIpId}`. */
|
|
75
|
+
export type ReleaseFloatingIpResult = operations["release-floating-ip"]["responses"][202]["content"]["application/json"];
|
|
76
|
+
/** The success response body of `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth`. */
|
|
68
77
|
export type SetFloatingIpBandwidthResult = operations["set-floating-ip-bandwidth"]["responses"][200]["content"]["application/json"];
|
|
69
|
-
/** `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth
|
|
78
|
+
/** The request body of `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth`. */
|
|
70
79
|
export type SetFloatingIpBandwidthBody = NonNullable<operations["set-floating-ip-bandwidth"]["requestBody"]>["content"]["application/json"];
|
|
71
|
-
/** `
|
|
72
|
-
export type UnbindFloatingIpResult = operations["unbind-floating-ip"]["responses"][200]["content"]["application/json"];
|
|
73
|
-
/** `PUT /api/v1/floating-ips/{floatingIpId}/binding` 成功时的响应体。 */
|
|
80
|
+
/** The success response body of `PUT /api/v1/floating-ips/{floatingIpId}/binding`. */
|
|
74
81
|
export type BindFloatingIpResult = operations["bind-floating-ip"]["responses"][200]["content"]["application/json"];
|
|
75
|
-
/** `PUT /api/v1/floating-ips/{floatingIpId}/binding
|
|
82
|
+
/** The request body of `PUT /api/v1/floating-ips/{floatingIpId}/binding`. */
|
|
76
83
|
export type BindFloatingIpBody = NonNullable<operations["bind-floating-ip"]["requestBody"]>["content"]["application/json"];
|
|
77
|
-
/** `
|
|
84
|
+
/** The success response body of `DELETE /api/v1/floating-ips/{floatingIpId}/binding`. */
|
|
85
|
+
export type UnbindFloatingIpResult = operations["unbind-floating-ip"]["responses"][200]["content"]["application/json"];
|
|
86
|
+
/** The success response body of `GET /api/v1/instances`. */
|
|
78
87
|
export type ListInstancesResult = operations["list-instances"]["responses"][200]["content"]["application/json"];
|
|
79
|
-
/** `
|
|
80
|
-
export type
|
|
81
|
-
/** `POST /api/v1/instances
|
|
88
|
+
/** The query parameters of `GET /api/v1/instances`. */
|
|
89
|
+
export type ListInstancesQuery = operations["list-instances"]["parameters"]["query"];
|
|
90
|
+
/** The success response body of `POST /api/v1/instances`. */
|
|
91
|
+
export type LaunchInstanceResult = operations["launch-instance"]["responses"][202]["content"]["application/json"];
|
|
92
|
+
/** The request body of `POST /api/v1/instances`. */
|
|
82
93
|
export type LaunchInstanceBody = NonNullable<operations["launch-instance"]["requestBody"]>["content"]["application/json"];
|
|
83
|
-
/** `GET /api/v1/instances/{instanceId}
|
|
94
|
+
/** The success response body of `GET /api/v1/instances/{instanceId}`. */
|
|
84
95
|
export type GetInstanceResult = operations["get-instance"]["responses"][200]["content"]["application/json"];
|
|
85
|
-
/** `PATCH /api/v1/instances/{instanceId}
|
|
96
|
+
/** The success response body of `PATCH /api/v1/instances/{instanceId}`. */
|
|
86
97
|
export type RenameInstanceResult = operations["rename-instance"]["responses"][200]["content"]["application/json"];
|
|
87
|
-
/** `PATCH /api/v1/instances/{instanceId}
|
|
98
|
+
/** The request body of `PATCH /api/v1/instances/{instanceId}`. */
|
|
88
99
|
export type RenameInstanceBody = NonNullable<operations["rename-instance"]["requestBody"]>["content"]["application/json"];
|
|
89
|
-
/** `
|
|
90
|
-
export type
|
|
91
|
-
/** `POST /api/v1/instances/{instanceId}/
|
|
92
|
-
export type
|
|
93
|
-
/** `POST /api/v1/instances/{instanceId}/
|
|
100
|
+
/** The success response body of `DELETE /api/v1/instances/{instanceId}`. */
|
|
101
|
+
export type DeleteInstanceResult = operations["delete-instance"]["responses"][202]["content"]["application/json"];
|
|
102
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/commands`. */
|
|
103
|
+
export type RunInstanceCommandResult = operations["run-instance-command"]["responses"][200]["content"]["application/json"];
|
|
104
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/commands`. */
|
|
105
|
+
export type RunInstanceCommandBody = NonNullable<operations["run-instance-command"]["requestBody"]>["content"]["application/json"];
|
|
106
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/console`. */
|
|
94
107
|
export type OpenInstanceConsoleResult = operations["open-instance-console"]["responses"][200]["content"]["application/json"];
|
|
95
|
-
/** `GET /api/v1/instances/{instanceId}/console-output
|
|
108
|
+
/** The success response body of `GET /api/v1/instances/{instanceId}/console-output`. */
|
|
96
109
|
export type GetInstanceConsoleOutputResult = operations["get-instance-console-output"]["responses"][200]["content"]["application/json"];
|
|
97
|
-
/** `GET /api/v1/instances/{instanceId}/console-output
|
|
110
|
+
/** The query parameters of `GET /api/v1/instances/{instanceId}/console-output`. */
|
|
98
111
|
export type GetInstanceConsoleOutputQuery = operations["get-instance-console-output"]["parameters"]["query"];
|
|
99
|
-
/** `
|
|
112
|
+
/** The success response body of `PUT /api/v1/instances/{instanceId}/labels`. */
|
|
113
|
+
export type SetInstanceLabelsResult = operations["set-instance-labels"]["responses"][200]["content"]["application/json"];
|
|
114
|
+
/** The request body of `PUT /api/v1/instances/{instanceId}/labels`. */
|
|
115
|
+
export type SetInstanceLabelsBody = NonNullable<operations["set-instance-labels"]["requestBody"]>["content"]["application/json"];
|
|
116
|
+
/** The success response body of `PUT /api/v1/instances/{instanceId}/notes`. */
|
|
117
|
+
export type SetInstanceNotesResult = operations["set-instance-notes"]["responses"][200]["content"]["application/json"];
|
|
118
|
+
/** The request body of `PUT /api/v1/instances/{instanceId}/notes`. */
|
|
119
|
+
export type SetInstanceNotesBody = NonNullable<operations["set-instance-notes"]["requestBody"]>["content"]["application/json"];
|
|
120
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/password`. */
|
|
100
121
|
export type ResetInstancePasswordResult = operations["reset-instance-password"]["responses"][200]["content"]["application/json"];
|
|
101
|
-
/** `POST /api/v1/instances/{instanceId}/password
|
|
122
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/password`. */
|
|
102
123
|
export type ResetInstancePasswordBody = NonNullable<operations["reset-instance-password"]["requestBody"]>["content"]["application/json"];
|
|
103
|
-
/** `POST /api/v1/instances/{instanceId}/
|
|
124
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/reboot`. */
|
|
125
|
+
export type RebootInstanceResult = operations["reboot-instance"]["responses"][202]["content"]["application/json"];
|
|
126
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/reboot`. */
|
|
127
|
+
export type RebootInstanceBody = NonNullable<operations["reboot-instance"]["requestBody"]>["content"]["application/json"];
|
|
128
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/rebuild`. */
|
|
104
129
|
export type RebuildInstanceResult = operations["rebuild-instance"]["responses"][200]["content"]["application/json"];
|
|
105
|
-
/** `POST /api/v1/instances/{instanceId}/rebuild
|
|
130
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/rebuild`. */
|
|
106
131
|
export type RebuildInstanceBody = NonNullable<operations["rebuild-instance"]["requestBody"]>["content"]["application/json"];
|
|
107
|
-
/** `POST /api/v1/instances/{instanceId}/resize
|
|
108
|
-
export type ResizeInstanceResult = operations["resize-instance"]["responses"][
|
|
109
|
-
/** `POST /api/v1/instances/{instanceId}/resize
|
|
132
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/resize`. */
|
|
133
|
+
export type ResizeInstanceResult = operations["resize-instance"]["responses"][202]["content"]["application/json"];
|
|
134
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/resize`. */
|
|
110
135
|
export type ResizeInstanceBody = NonNullable<operations["resize-instance"]["requestBody"]>["content"]["application/json"];
|
|
111
|
-
/** `POST /api/v1/instances/{instanceId}/resize/confirm
|
|
112
|
-
export type ConfirmInstanceResizeResult = operations["confirm-instance-resize"]["responses"][
|
|
113
|
-
/** `POST /api/v1/instances/{instanceId}/resize/revert
|
|
114
|
-
export type RevertInstanceResizeResult = operations["revert-instance-resize"]["responses"][
|
|
115
|
-
/** `
|
|
136
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/resize/confirm`. */
|
|
137
|
+
export type ConfirmInstanceResizeResult = operations["confirm-instance-resize"]["responses"][202]["content"]["application/json"];
|
|
138
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/resize/revert`. */
|
|
139
|
+
export type RevertInstanceResizeResult = operations["revert-instance-resize"]["responses"][202]["content"]["application/json"];
|
|
140
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/start`. */
|
|
141
|
+
export type StartInstanceResult = operations["start-instance"]["responses"][202]["content"]["application/json"];
|
|
142
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/start`. */
|
|
143
|
+
export type StartInstanceBody = NonNullable<operations["start-instance"]["requestBody"]>["content"]["application/json"];
|
|
144
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/stop`. */
|
|
145
|
+
export type StopInstanceResult = operations["stop-instance"]["responses"][202]["content"]["application/json"];
|
|
146
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/stop`. */
|
|
147
|
+
export type StopInstanceBody = NonNullable<operations["stop-instance"]["requestBody"]>["content"]["application/json"];
|
|
148
|
+
/** The success response body of `GET /api/v1/instances/{instanceId}/disks`. */
|
|
116
149
|
export type ListInstanceDisksResult = operations["list-instance-disks"]["responses"][200]["content"]["application/json"];
|
|
117
|
-
/** `
|
|
118
|
-
export type
|
|
119
|
-
/** `POST /api/v1/instances/{instanceId}/disks
|
|
150
|
+
/** The query parameters of `GET /api/v1/instances/{instanceId}/disks`. */
|
|
151
|
+
export type ListInstanceDisksQuery = operations["list-instance-disks"]["parameters"]["query"];
|
|
152
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/disks`. */
|
|
153
|
+
export type AttachDiskResult = operations["attach-disk"]["responses"][202]["content"]["application/json"];
|
|
154
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/disks`. */
|
|
120
155
|
export type AttachDiskBody = NonNullable<operations["attach-disk"]["requestBody"]>["content"]["application/json"];
|
|
121
|
-
/** `DELETE /api/v1/instances/{instanceId}/disks/{diskId}
|
|
122
|
-
export type DetachDiskResult = operations["detach-disk"]["responses"][
|
|
123
|
-
/** `POST /api/v1/instances/{instanceId}/floating-ips
|
|
124
|
-
export type AttachInstanceFloatingIpResult = operations["attach-instance-floating-ip"]["responses"][
|
|
125
|
-
/** `POST /api/v1/instances/{instanceId}/floating-ips
|
|
156
|
+
/** The success response body of `DELETE /api/v1/instances/{instanceId}/disks/{diskId}`. */
|
|
157
|
+
export type DetachDiskResult = operations["detach-disk"]["responses"][202]["content"]["application/json"];
|
|
158
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/floating-ips`. */
|
|
159
|
+
export type AttachInstanceFloatingIpResult = operations["attach-instance-floating-ip"]["responses"][202]["content"]["application/json"];
|
|
160
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/floating-ips`. */
|
|
126
161
|
export type AttachInstanceFloatingIpBody = NonNullable<operations["attach-instance-floating-ip"]["requestBody"]>["content"]["application/json"];
|
|
127
|
-
/** `DELETE /api/v1/instances/{instanceId}/floating-ips/{floatingIpId}
|
|
128
|
-
export type DetachInstanceFloatingIpResult = operations["detach-instance-floating-ip"]["responses"][
|
|
129
|
-
/** `GET /api/v1/instances/{instanceId}/ports
|
|
162
|
+
/** The success response body of `DELETE /api/v1/instances/{instanceId}/floating-ips/{floatingIpId}`. */
|
|
163
|
+
export type DetachInstanceFloatingIpResult = operations["detach-instance-floating-ip"]["responses"][202]["content"]["application/json"];
|
|
164
|
+
/** The success response body of `GET /api/v1/instances/{instanceId}/ports`. */
|
|
130
165
|
export type ListInstancePortsResult = operations["list-instance-ports"]["responses"][200]["content"]["application/json"];
|
|
131
|
-
/** `
|
|
132
|
-
export type
|
|
133
|
-
/** `POST /api/v1/instances/{instanceId}/ports
|
|
166
|
+
/** The query parameters of `GET /api/v1/instances/{instanceId}/ports`. */
|
|
167
|
+
export type ListInstancePortsQuery = operations["list-instance-ports"]["parameters"]["query"];
|
|
168
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/ports`. */
|
|
169
|
+
export type AttachPortResult = operations["attach-port"]["responses"][202]["content"]["application/json"];
|
|
170
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/ports`. */
|
|
134
171
|
export type AttachPortBody = NonNullable<operations["attach-port"]["requestBody"]>["content"]["application/json"];
|
|
135
|
-
/** `DELETE /api/v1/instances/{instanceId}/ports/{portId}
|
|
136
|
-
export type DetachPortResult = operations["detach-port"]["responses"][
|
|
137
|
-
/** `GET /api/v1/operation-logs
|
|
172
|
+
/** The success response body of `DELETE /api/v1/instances/{instanceId}/ports/{portId}`. */
|
|
173
|
+
export type DetachPortResult = operations["detach-port"]["responses"][202]["content"]["application/json"];
|
|
174
|
+
/** The success response body of `GET /api/v1/operation-logs`. */
|
|
138
175
|
export type ListOperationLogsResult = operations["list-operation-logs"]["responses"][200]["content"]["application/json"];
|
|
139
|
-
/** `GET /api/v1/operation-logs
|
|
176
|
+
/** The query parameters of `GET /api/v1/operation-logs`. */
|
|
140
177
|
export type ListOperationLogsQuery = operations["list-operation-logs"]["parameters"]["query"];
|
|
141
|
-
/** `GET /api/v1/ports
|
|
178
|
+
/** The success response body of `GET /api/v1/ports`. */
|
|
142
179
|
export type ListPortsResult = operations["list-ports"]["responses"][200]["content"]["application/json"];
|
|
143
|
-
/** `POST /api/v1/ports
|
|
180
|
+
/** The success response body of `POST /api/v1/ports`. */
|
|
144
181
|
export type CreatePortResult = operations["create-port"]["responses"][201]["content"]["application/json"];
|
|
145
|
-
/** `POST /api/v1/ports
|
|
182
|
+
/** The request body of `POST /api/v1/ports`. */
|
|
146
183
|
export type CreatePortBody = NonNullable<operations["create-port"]["requestBody"]>["content"]["application/json"];
|
|
147
|
-
/** `GET /api/v1/private-images
|
|
184
|
+
/** The success response body of `GET /api/v1/private-images`. */
|
|
148
185
|
export type ListPrivateImagesResult = operations["list-private-images"]["responses"][200]["content"]["application/json"];
|
|
149
|
-
/** `GET /api/v1/private-images
|
|
186
|
+
/** The query parameters of `GET /api/v1/private-images`. */
|
|
150
187
|
export type ListPrivateImagesQuery = operations["list-private-images"]["parameters"]["query"];
|
|
151
|
-
/** `POST /api/v1/private-images
|
|
188
|
+
/** The success response body of `POST /api/v1/private-images`. */
|
|
152
189
|
export type CreatePrivateImageResult = operations["create-private-image"]["responses"][201]["content"]["application/json"];
|
|
153
|
-
/** `POST /api/v1/private-images
|
|
190
|
+
/** The request body of `POST /api/v1/private-images`. */
|
|
154
191
|
export type CreatePrivateImageBody = NonNullable<operations["create-private-image"]["requestBody"]>["content"]["application/json"];
|
|
155
|
-
/** `GET /api/v1/private-images/{privateImageId}
|
|
192
|
+
/** The success response body of `GET /api/v1/private-images/{privateImageId}`. */
|
|
156
193
|
export type GetPrivateImageResult = operations["get-private-image"]["responses"][200]["content"]["application/json"];
|
|
157
|
-
/** `PATCH /api/v1/private-images/{privateImageId}
|
|
194
|
+
/** The success response body of `PATCH /api/v1/private-images/{privateImageId}`. */
|
|
158
195
|
export type RenamePrivateImageResult = operations["rename-private-image"]["responses"][200]["content"]["application/json"];
|
|
159
|
-
/** `PATCH /api/v1/private-images/{privateImageId}
|
|
196
|
+
/** The request body of `PATCH /api/v1/private-images/{privateImageId}`. */
|
|
160
197
|
export type RenamePrivateImageBody = NonNullable<operations["rename-private-image"]["requestBody"]>["content"]["application/json"];
|
|
161
|
-
/** `
|
|
198
|
+
/** The success response body of `DELETE /api/v1/private-images/{privateImageId}`. */
|
|
199
|
+
export type DeletePrivateImageResult = operations["delete-private-image"]["responses"][202]["content"]["application/json"];
|
|
200
|
+
/** The success response body of `GET /api/v1/private-networks`. */
|
|
162
201
|
export type ListPrivateNetworksResult = operations["list-private-networks"]["responses"][200]["content"]["application/json"];
|
|
163
|
-
/** `GET /api/v1/private-networks
|
|
202
|
+
/** The query parameters of `GET /api/v1/private-networks`. */
|
|
164
203
|
export type ListPrivateNetworksQuery = operations["list-private-networks"]["parameters"]["query"];
|
|
165
|
-
/** `POST /api/v1/private-networks
|
|
204
|
+
/** The success response body of `POST /api/v1/private-networks`. */
|
|
166
205
|
export type CreatePrivateNetworkResult = operations["create-private-network"]["responses"][201]["content"]["application/json"];
|
|
167
|
-
/** `POST /api/v1/private-networks
|
|
206
|
+
/** The request body of `POST /api/v1/private-networks`. */
|
|
168
207
|
export type CreatePrivateNetworkBody = NonNullable<operations["create-private-network"]["requestBody"]>["content"]["application/json"];
|
|
169
|
-
/** `GET /api/v1/private-networks/{privateNetworkId}
|
|
208
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}`. */
|
|
170
209
|
export type GetPrivateNetworkResult = operations["get-private-network"]["responses"][200]["content"]["application/json"];
|
|
171
|
-
/** `PATCH /api/v1/private-networks/{privateNetworkId}
|
|
210
|
+
/** The success response body of `PATCH /api/v1/private-networks/{privateNetworkId}`. */
|
|
172
211
|
export type RenamePrivateNetworkResult = operations["rename-private-network"]["responses"][200]["content"]["application/json"];
|
|
173
|
-
/** `PATCH /api/v1/private-networks/{privateNetworkId}
|
|
212
|
+
/** The request body of `PATCH /api/v1/private-networks/{privateNetworkId}`. */
|
|
174
213
|
export type RenamePrivateNetworkBody = NonNullable<operations["rename-private-network"]["requestBody"]>["content"]["application/json"];
|
|
175
|
-
/** `GET /api/v1/private-networks/{privateNetworkId}/ipv6
|
|
214
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/ipv6`. */
|
|
176
215
|
export type GetPrivateNetworkIpv6Result = operations["get-private-network-ipv6"]["responses"][200]["content"]["application/json"];
|
|
177
|
-
/** `POST /api/v1/private-networks/{privateNetworkId}/ipv6
|
|
216
|
+
/** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/ipv6`. */
|
|
178
217
|
export type EnablePrivateNetworkIpv6Result = operations["enable-private-network-ipv6"]["responses"][200]["content"]["application/json"];
|
|
179
|
-
/** `GET /api/v1/private-networks/{privateNetworkId}/routes
|
|
218
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
180
219
|
export type ListRoutesResult = operations["list-routes"]["responses"][200]["content"]["application/json"];
|
|
181
|
-
/** `POST /api/v1/private-networks/{privateNetworkId}/routes
|
|
220
|
+
/** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
182
221
|
export type CreateRouteResult = operations["create-route"]["responses"][201]["content"]["application/json"];
|
|
183
|
-
/** `POST /api/v1/private-networks/{privateNetworkId}/routes
|
|
222
|
+
/** The request body of `POST /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
184
223
|
export type CreateRouteBody = NonNullable<operations["create-route"]["requestBody"]>["content"]["application/json"];
|
|
185
|
-
/** `GET /api/v1/private-networks/{privateNetworkId}/subnets
|
|
224
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/subnets`. */
|
|
186
225
|
export type ListSubnetsResult = operations["list-subnets"]["responses"][200]["content"]["application/json"];
|
|
187
|
-
/** `POST /api/v1/private-networks/{privateNetworkId}/subnets
|
|
226
|
+
/** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/subnets`. */
|
|
188
227
|
export type CreateSubnetResult = operations["create-subnet"]["responses"][201]["content"]["application/json"];
|
|
189
|
-
/** `POST /api/v1/private-networks/{privateNetworkId}/subnets
|
|
228
|
+
/** The request body of `POST /api/v1/private-networks/{privateNetworkId}/subnets`. */
|
|
190
229
|
export type CreateSubnetBody = NonNullable<operations["create-subnet"]["requestBody"]>["content"]["application/json"];
|
|
191
|
-
/** `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr
|
|
230
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr`. */
|
|
192
231
|
export type SuggestSubnetCidrResult = operations["suggest-subnet-cidr"]["responses"][200]["content"]["application/json"];
|
|
193
|
-
/** `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr
|
|
232
|
+
/** The query parameters of `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr`. */
|
|
194
233
|
export type SuggestSubnetCidrQuery = operations["suggest-subnet-cidr"]["parameters"]["query"];
|
|
195
|
-
/** `GET /api/v1/security-groups
|
|
234
|
+
/** The success response body of `GET /api/v1/security-groups`. */
|
|
196
235
|
export type ListSecurityGroupsResult = operations["list-security-groups"]["responses"][200]["content"]["application/json"];
|
|
197
|
-
/** `GET /api/v1/security-groups
|
|
236
|
+
/** The query parameters of `GET /api/v1/security-groups`. */
|
|
198
237
|
export type ListSecurityGroupsQuery = operations["list-security-groups"]["parameters"]["query"];
|
|
199
|
-
/** `POST /api/v1/security-groups
|
|
238
|
+
/** The success response body of `POST /api/v1/security-groups`. */
|
|
200
239
|
export type CreateSecurityGroupResult = operations["create-security-group"]["responses"][201]["content"]["application/json"];
|
|
201
|
-
/** `POST /api/v1/security-groups
|
|
240
|
+
/** The request body of `POST /api/v1/security-groups`. */
|
|
202
241
|
export type CreateSecurityGroupBody = NonNullable<operations["create-security-group"]["requestBody"]>["content"]["application/json"];
|
|
203
|
-
/** `GET /api/v1/security-groups/{securityGroupId}
|
|
242
|
+
/** The success response body of `GET /api/v1/security-groups/{securityGroupId}`. */
|
|
204
243
|
export type GetSecurityGroupResult = operations["get-security-group"]["responses"][200]["content"]["application/json"];
|
|
205
|
-
/** `PATCH /api/v1/security-groups/{securityGroupId}
|
|
244
|
+
/** The success response body of `PATCH /api/v1/security-groups/{securityGroupId}`. */
|
|
206
245
|
export type RenameSecurityGroupResult = operations["rename-security-group"]["responses"][200]["content"]["application/json"];
|
|
207
|
-
/** `PATCH /api/v1/security-groups/{securityGroupId}
|
|
246
|
+
/** The request body of `PATCH /api/v1/security-groups/{securityGroupId}`. */
|
|
208
247
|
export type RenameSecurityGroupBody = NonNullable<operations["rename-security-group"]["requestBody"]>["content"]["application/json"];
|
|
209
|
-
/** `GET /api/v1/security-groups/{securityGroupId}/rules
|
|
248
|
+
/** The success response body of `GET /api/v1/security-groups/{securityGroupId}/rules`. */
|
|
210
249
|
export type ListSecurityGroupRulesResult = operations["list-security-group-rules"]["responses"][200]["content"]["application/json"];
|
|
211
|
-
/** `POST /api/v1/security-groups/{securityGroupId}/rules
|
|
250
|
+
/** The success response body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
|
|
212
251
|
export type CreateSecurityGroupRuleResult = operations["create-security-group-rule"]["responses"][201]["content"]["application/json"];
|
|
213
|
-
/** `POST /api/v1/security-groups/{securityGroupId}/rules
|
|
252
|
+
/** The request body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
|
|
214
253
|
export type CreateSecurityGroupRuleBody = NonNullable<operations["create-security-group-rule"]["requestBody"]>["content"]["application/json"];
|
|
215
|
-
/** `GET /api/v1/snapshots
|
|
254
|
+
/** The success response body of `GET /api/v1/snapshots`. */
|
|
216
255
|
export type ListSnapshotsResult = operations["list-snapshots"]["responses"][200]["content"]["application/json"];
|
|
217
|
-
/** `GET /api/v1/snapshots
|
|
256
|
+
/** The query parameters of `GET /api/v1/snapshots`. */
|
|
218
257
|
export type ListSnapshotsQuery = operations["list-snapshots"]["parameters"]["query"];
|
|
219
|
-
/** `POST /api/v1/snapshots
|
|
258
|
+
/** The success response body of `POST /api/v1/snapshots`. */
|
|
220
259
|
export type CreateSnapshotResult = operations["create-snapshot"]["responses"][201]["content"]["application/json"];
|
|
221
|
-
/** `POST /api/v1/snapshots
|
|
260
|
+
/** The request body of `POST /api/v1/snapshots`. */
|
|
222
261
|
export type CreateSnapshotBody = NonNullable<operations["create-snapshot"]["requestBody"]>["content"]["application/json"];
|
|
223
|
-
/** `GET /api/v1/snapshots/{snapshotId}
|
|
262
|
+
/** The success response body of `GET /api/v1/snapshots/{snapshotId}`. */
|
|
224
263
|
export type GetSnapshotResult = operations["get-snapshot"]["responses"][200]["content"]["application/json"];
|
|
225
|
-
/** `PATCH /api/v1/snapshots/{snapshotId}
|
|
264
|
+
/** The success response body of `PATCH /api/v1/snapshots/{snapshotId}`. */
|
|
226
265
|
export type RenameSnapshotResult = operations["rename-snapshot"]["responses"][200]["content"]["application/json"];
|
|
227
|
-
/** `PATCH /api/v1/snapshots/{snapshotId}
|
|
266
|
+
/** The request body of `PATCH /api/v1/snapshots/{snapshotId}`. */
|
|
228
267
|
export type RenameSnapshotBody = NonNullable<operations["rename-snapshot"]["requestBody"]>["content"]["application/json"];
|
|
268
|
+
/** The success response body of `DELETE /api/v1/snapshots/{snapshotId}`. */
|
|
269
|
+
export type DeleteSnapshotResult = operations["delete-snapshot"]["responses"][202]["content"]["application/json"];
|
|
270
|
+
/** The success response body of `GET /api/v1/tasks/{taskId}`. */
|
|
271
|
+
export type GetTaskResult = operations["get-task"]["responses"][200]["content"]["application/json"];
|
|
272
|
+
/** The success response body of `GET /api/v1/ipv4-pools`. */
|
|
273
|
+
export type ListIpv4PoolsResult = operations["list-ipv4-pools"]["responses"][200]["content"]["application/json"];
|
|
274
|
+
/** The query parameters of `GET /api/v1/ipv4-pools`. */
|
|
275
|
+
export type ListIpv4PoolsQuery = operations["list-ipv4-pools"]["parameters"]["query"];
|
package/dist/compute/v1/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by scripts/generate.mjs. DO NOT EDIT.
|
|
2
2
|
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
export {};
|
|
3
|
+
// The aliases replace the operations[...] subscript chain with a name. The raw paths /
|
|
4
|
+
// components / operations are exported as well: paths is what createClient<paths>() takes.
|
|
5
|
+
export { client } from "./client.js";
|