@leaflow/sdk 0.0.0-dev.23.g7fcf334 → 0.0.0-dev.230.g6609f68
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 +22 -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 +33 -22
- package/dist/account/v1/index.js +4 -4
- package/dist/account/v1/schema.d.ts +307 -89
- package/dist/assistant/v1/client.d.ts +4 -0
- package/dist/assistant/v1/client.js +7 -0
- package/dist/assistant/v1/index.d.ts +71 -40
- package/dist/assistant/v1/index.js +4 -4
- package/dist/assistant/v1/schema.d.ts +1204 -139
- package/dist/billing/account/v1/client.d.ts +4 -0
- package/dist/billing/account/v1/client.js +7 -0
- package/dist/billing/account/v1/index.d.ts +143 -0
- package/dist/billing/account/v1/index.js +5 -0
- package/dist/billing/account/v1/schema.d.ts +3989 -0
- package/dist/billing/account/v1/schema.js +5 -0
- package/dist/billing/catalog/v1/client.d.ts +4 -0
- package/dist/billing/catalog/v1/client.js +7 -0
- package/dist/billing/catalog/v1/index.d.ts +29 -0
- package/dist/billing/catalog/v1/index.js +5 -0
- package/dist/billing/catalog/v1/schema.d.ts +910 -0
- package/dist/billing/catalog/v1/schema.js +5 -0
- package/dist/billing/index.d.ts +3 -0
- package/dist/billing/index.js +6 -0
- package/dist/billing/project/v1/client.d.ts +4 -0
- package/dist/billing/project/v1/client.js +7 -0
- package/dist/billing/project/v1/index.d.ts +45 -0
- package/dist/billing/project/v1/index.js +5 -0
- package/dist/billing/project/v1/schema.d.ts +1440 -0
- package/dist/billing/project/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 +182 -127
- package/dist/compute/v1/index.js +4 -4
- package/dist/compute/v1/schema.d.ts +1501 -286
- 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/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 +11 -7
- package/dist/index.js +19 -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/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 +30 -10
|
@@ -1,232 +1,287 @@
|
|
|
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 ActOnInstanceBody = NonNullable<operations["act-on-instance"]["requestBody"]>["content"]["application/json"];
|
|
93
|
-
/** `POST /api/v1/instances/{instanceId}/commands` 成功时的响应体。 */
|
|
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`. */
|
|
94
103
|
export type RunInstanceCommandResult = operations["run-instance-command"]["responses"][200]["content"]["application/json"];
|
|
95
|
-
/** `POST /api/v1/instances/{instanceId}/commands
|
|
104
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/commands`. */
|
|
96
105
|
export type RunInstanceCommandBody = NonNullable<operations["run-instance-command"]["requestBody"]>["content"]["application/json"];
|
|
97
|
-
/** `POST /api/v1/instances/{instanceId}/console
|
|
106
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/console`. */
|
|
98
107
|
export type OpenInstanceConsoleResult = operations["open-instance-console"]["responses"][200]["content"]["application/json"];
|
|
99
|
-
/** `GET /api/v1/instances/{instanceId}/console-output
|
|
108
|
+
/** The success response body of `GET /api/v1/instances/{instanceId}/console-output`. */
|
|
100
109
|
export type GetInstanceConsoleOutputResult = operations["get-instance-console-output"]["responses"][200]["content"]["application/json"];
|
|
101
|
-
/** `GET /api/v1/instances/{instanceId}/console-output
|
|
110
|
+
/** The query parameters of `GET /api/v1/instances/{instanceId}/console-output`. */
|
|
102
111
|
export type GetInstanceConsoleOutputQuery = operations["get-instance-console-output"]["parameters"]["query"];
|
|
103
|
-
/** `
|
|
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`. */
|
|
104
121
|
export type ResetInstancePasswordResult = operations["reset-instance-password"]["responses"][200]["content"]["application/json"];
|
|
105
|
-
/** `POST /api/v1/instances/{instanceId}/password
|
|
122
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/password`. */
|
|
106
123
|
export type ResetInstancePasswordBody = NonNullable<operations["reset-instance-password"]["requestBody"]>["content"]["application/json"];
|
|
107
|
-
/** `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`. */
|
|
108
129
|
export type RebuildInstanceResult = operations["rebuild-instance"]["responses"][200]["content"]["application/json"];
|
|
109
|
-
/** `POST /api/v1/instances/{instanceId}/rebuild
|
|
130
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/rebuild`. */
|
|
110
131
|
export type RebuildInstanceBody = NonNullable<operations["rebuild-instance"]["requestBody"]>["content"]["application/json"];
|
|
111
|
-
/** `POST /api/v1/instances/{instanceId}/resize
|
|
112
|
-
export type ResizeInstanceResult = operations["resize-instance"]["responses"][
|
|
113
|
-
/** `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`. */
|
|
114
135
|
export type ResizeInstanceBody = NonNullable<operations["resize-instance"]["requestBody"]>["content"]["application/json"];
|
|
115
|
-
/** `POST /api/v1/instances/{instanceId}/
|
|
116
|
-
export type
|
|
117
|
-
/** `POST /api/v1/instances/{instanceId}/
|
|
118
|
-
export type
|
|
119
|
-
/** `
|
|
136
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/start`. */
|
|
137
|
+
export type StartInstanceResult = operations["start-instance"]["responses"][202]["content"]["application/json"];
|
|
138
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/start`. */
|
|
139
|
+
export type StartInstanceBody = NonNullable<operations["start-instance"]["requestBody"]>["content"]["application/json"];
|
|
140
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/stop`. */
|
|
141
|
+
export type StopInstanceResult = operations["stop-instance"]["responses"][202]["content"]["application/json"];
|
|
142
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/stop`. */
|
|
143
|
+
export type StopInstanceBody = NonNullable<operations["stop-instance"]["requestBody"]>["content"]["application/json"];
|
|
144
|
+
/** The success response body of `GET /api/v1/instances/{instanceId}/disks`. */
|
|
120
145
|
export type ListInstanceDisksResult = operations["list-instance-disks"]["responses"][200]["content"]["application/json"];
|
|
121
|
-
/** `
|
|
122
|
-
export type
|
|
123
|
-
/** `POST /api/v1/instances/{instanceId}/disks
|
|
146
|
+
/** The query parameters of `GET /api/v1/instances/{instanceId}/disks`. */
|
|
147
|
+
export type ListInstanceDisksQuery = operations["list-instance-disks"]["parameters"]["query"];
|
|
148
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/disks`. */
|
|
149
|
+
export type AttachDiskResult = operations["attach-disk"]["responses"][202]["content"]["application/json"];
|
|
150
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/disks`. */
|
|
124
151
|
export type AttachDiskBody = NonNullable<operations["attach-disk"]["requestBody"]>["content"]["application/json"];
|
|
125
|
-
/** `DELETE /api/v1/instances/{instanceId}/disks/{diskId}
|
|
126
|
-
export type DetachDiskResult = operations["detach-disk"]["responses"][
|
|
127
|
-
/** `POST /api/v1/instances/{instanceId}/floating-ips
|
|
152
|
+
/** The success response body of `DELETE /api/v1/instances/{instanceId}/disks/{diskId}`. */
|
|
153
|
+
export type DetachDiskResult = operations["detach-disk"]["responses"][202]["content"]["application/json"];
|
|
154
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/floating-ips`. */
|
|
128
155
|
export type AttachInstanceFloatingIpResult = operations["attach-instance-floating-ip"]["responses"][200]["content"]["application/json"];
|
|
129
|
-
/** `POST /api/v1/instances/{instanceId}/floating-ips
|
|
156
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/floating-ips`. */
|
|
130
157
|
export type AttachInstanceFloatingIpBody = NonNullable<operations["attach-instance-floating-ip"]["requestBody"]>["content"]["application/json"];
|
|
131
|
-
/** `DELETE /api/v1/instances/{instanceId}/floating-ips/{floatingIpId}
|
|
158
|
+
/** The success response body of `DELETE /api/v1/instances/{instanceId}/floating-ips/{floatingIpId}`. */
|
|
132
159
|
export type DetachInstanceFloatingIpResult = operations["detach-instance-floating-ip"]["responses"][200]["content"]["application/json"];
|
|
133
|
-
/** `GET /api/v1/instances/{instanceId}/ports
|
|
160
|
+
/** The success response body of `GET /api/v1/instances/{instanceId}/ports`. */
|
|
134
161
|
export type ListInstancePortsResult = operations["list-instance-ports"]["responses"][200]["content"]["application/json"];
|
|
135
|
-
/** `
|
|
136
|
-
export type
|
|
137
|
-
/** `POST /api/v1/instances/{instanceId}/ports
|
|
162
|
+
/** The query parameters of `GET /api/v1/instances/{instanceId}/ports`. */
|
|
163
|
+
export type ListInstancePortsQuery = operations["list-instance-ports"]["parameters"]["query"];
|
|
164
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/ports`. */
|
|
165
|
+
export type AttachPortResult = operations["attach-port"]["responses"][202]["content"]["application/json"];
|
|
166
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/ports`. */
|
|
138
167
|
export type AttachPortBody = NonNullable<operations["attach-port"]["requestBody"]>["content"]["application/json"];
|
|
139
|
-
/** `DELETE /api/v1/instances/{instanceId}/ports/{portId}
|
|
140
|
-
export type DetachPortResult = operations["detach-port"]["responses"][
|
|
141
|
-
/** `GET /api/v1/operation-logs
|
|
168
|
+
/** The success response body of `DELETE /api/v1/instances/{instanceId}/ports/{portId}`. */
|
|
169
|
+
export type DetachPortResult = operations["detach-port"]["responses"][202]["content"]["application/json"];
|
|
170
|
+
/** The success response body of `GET /api/v1/operation-logs`. */
|
|
142
171
|
export type ListOperationLogsResult = operations["list-operation-logs"]["responses"][200]["content"]["application/json"];
|
|
143
|
-
/** `GET /api/v1/operation-logs
|
|
172
|
+
/** The query parameters of `GET /api/v1/operation-logs`. */
|
|
144
173
|
export type ListOperationLogsQuery = operations["list-operation-logs"]["parameters"]["query"];
|
|
145
|
-
/** `GET /api/v1/ports
|
|
174
|
+
/** The success response body of `GET /api/v1/ports`. */
|
|
146
175
|
export type ListPortsResult = operations["list-ports"]["responses"][200]["content"]["application/json"];
|
|
147
|
-
/** `POST /api/v1/ports
|
|
176
|
+
/** The success response body of `POST /api/v1/ports`. */
|
|
148
177
|
export type CreatePortResult = operations["create-port"]["responses"][201]["content"]["application/json"];
|
|
149
|
-
/** `POST /api/v1/ports
|
|
178
|
+
/** The request body of `POST /api/v1/ports`. */
|
|
150
179
|
export type CreatePortBody = NonNullable<operations["create-port"]["requestBody"]>["content"]["application/json"];
|
|
151
|
-
/** `GET /api/v1/private-images
|
|
180
|
+
/** The success response body of `GET /api/v1/private-images`. */
|
|
152
181
|
export type ListPrivateImagesResult = operations["list-private-images"]["responses"][200]["content"]["application/json"];
|
|
153
|
-
/** `GET /api/v1/private-images
|
|
182
|
+
/** The query parameters of `GET /api/v1/private-images`. */
|
|
154
183
|
export type ListPrivateImagesQuery = operations["list-private-images"]["parameters"]["query"];
|
|
155
|
-
/** `POST /api/v1/private-images
|
|
184
|
+
/** The success response body of `POST /api/v1/private-images`. */
|
|
156
185
|
export type CreatePrivateImageResult = operations["create-private-image"]["responses"][201]["content"]["application/json"];
|
|
157
|
-
/** `POST /api/v1/private-images
|
|
186
|
+
/** The request body of `POST /api/v1/private-images`. */
|
|
158
187
|
export type CreatePrivateImageBody = NonNullable<operations["create-private-image"]["requestBody"]>["content"]["application/json"];
|
|
159
|
-
/** `GET /api/v1/private-images/{privateImageId}
|
|
188
|
+
/** The success response body of `GET /api/v1/private-images/{privateImageId}`. */
|
|
160
189
|
export type GetPrivateImageResult = operations["get-private-image"]["responses"][200]["content"]["application/json"];
|
|
161
|
-
/** `PATCH /api/v1/private-images/{privateImageId}
|
|
190
|
+
/** The success response body of `PATCH /api/v1/private-images/{privateImageId}`. */
|
|
162
191
|
export type RenamePrivateImageResult = operations["rename-private-image"]["responses"][200]["content"]["application/json"];
|
|
163
|
-
/** `PATCH /api/v1/private-images/{privateImageId}
|
|
192
|
+
/** The request body of `PATCH /api/v1/private-images/{privateImageId}`. */
|
|
164
193
|
export type RenamePrivateImageBody = NonNullable<operations["rename-private-image"]["requestBody"]>["content"]["application/json"];
|
|
165
|
-
/** `
|
|
194
|
+
/** The success response body of `DELETE /api/v1/private-images/{privateImageId}`. */
|
|
195
|
+
export type DeletePrivateImageResult = operations["delete-private-image"]["responses"][202]["content"]["application/json"];
|
|
196
|
+
/** The success response body of `GET /api/v1/private-networks`. */
|
|
166
197
|
export type ListPrivateNetworksResult = operations["list-private-networks"]["responses"][200]["content"]["application/json"];
|
|
167
|
-
/** `GET /api/v1/private-networks
|
|
198
|
+
/** The query parameters of `GET /api/v1/private-networks`. */
|
|
168
199
|
export type ListPrivateNetworksQuery = operations["list-private-networks"]["parameters"]["query"];
|
|
169
|
-
/** `POST /api/v1/private-networks
|
|
200
|
+
/** The success response body of `POST /api/v1/private-networks`. */
|
|
170
201
|
export type CreatePrivateNetworkResult = operations["create-private-network"]["responses"][201]["content"]["application/json"];
|
|
171
|
-
/** `POST /api/v1/private-networks
|
|
202
|
+
/** The request body of `POST /api/v1/private-networks`. */
|
|
172
203
|
export type CreatePrivateNetworkBody = NonNullable<operations["create-private-network"]["requestBody"]>["content"]["application/json"];
|
|
173
|
-
/** `GET /api/v1/private-networks/{privateNetworkId}
|
|
204
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}`. */
|
|
174
205
|
export type GetPrivateNetworkResult = operations["get-private-network"]["responses"][200]["content"]["application/json"];
|
|
175
|
-
/** `PATCH /api/v1/private-networks/{privateNetworkId}
|
|
206
|
+
/** The success response body of `PATCH /api/v1/private-networks/{privateNetworkId}`. */
|
|
176
207
|
export type RenamePrivateNetworkResult = operations["rename-private-network"]["responses"][200]["content"]["application/json"];
|
|
177
|
-
/** `PATCH /api/v1/private-networks/{privateNetworkId}
|
|
208
|
+
/** The request body of `PATCH /api/v1/private-networks/{privateNetworkId}`. */
|
|
178
209
|
export type RenamePrivateNetworkBody = NonNullable<operations["rename-private-network"]["requestBody"]>["content"]["application/json"];
|
|
179
|
-
/** `GET /api/v1/private-networks/{privateNetworkId}/ipv6
|
|
210
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/ipv6`. */
|
|
180
211
|
export type GetPrivateNetworkIpv6Result = operations["get-private-network-ipv6"]["responses"][200]["content"]["application/json"];
|
|
181
|
-
/** `POST /api/v1/private-networks/{privateNetworkId}/ipv6
|
|
212
|
+
/** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/ipv6`. */
|
|
182
213
|
export type EnablePrivateNetworkIpv6Result = operations["enable-private-network-ipv6"]["responses"][200]["content"]["application/json"];
|
|
183
|
-
/** `GET /api/v1/private-networks/{privateNetworkId}/routes
|
|
214
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
184
215
|
export type ListRoutesResult = operations["list-routes"]["responses"][200]["content"]["application/json"];
|
|
185
|
-
/** `POST /api/v1/private-networks/{privateNetworkId}/routes
|
|
216
|
+
/** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
186
217
|
export type CreateRouteResult = operations["create-route"]["responses"][201]["content"]["application/json"];
|
|
187
|
-
/** `POST /api/v1/private-networks/{privateNetworkId}/routes
|
|
218
|
+
/** The request body of `POST /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
188
219
|
export type CreateRouteBody = NonNullable<operations["create-route"]["requestBody"]>["content"]["application/json"];
|
|
189
|
-
/** `GET /api/v1/private-networks/{privateNetworkId}/subnets
|
|
220
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/subnets`. */
|
|
190
221
|
export type ListSubnetsResult = operations["list-subnets"]["responses"][200]["content"]["application/json"];
|
|
191
|
-
/** `POST /api/v1/private-networks/{privateNetworkId}/subnets
|
|
222
|
+
/** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/subnets`. */
|
|
192
223
|
export type CreateSubnetResult = operations["create-subnet"]["responses"][201]["content"]["application/json"];
|
|
193
|
-
/** `POST /api/v1/private-networks/{privateNetworkId}/subnets
|
|
224
|
+
/** The request body of `POST /api/v1/private-networks/{privateNetworkId}/subnets`. */
|
|
194
225
|
export type CreateSubnetBody = NonNullable<operations["create-subnet"]["requestBody"]>["content"]["application/json"];
|
|
195
|
-
/** `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr
|
|
226
|
+
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr`. */
|
|
196
227
|
export type SuggestSubnetCidrResult = operations["suggest-subnet-cidr"]["responses"][200]["content"]["application/json"];
|
|
197
|
-
/** `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr
|
|
228
|
+
/** The query parameters of `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr`. */
|
|
198
229
|
export type SuggestSubnetCidrQuery = operations["suggest-subnet-cidr"]["parameters"]["query"];
|
|
199
|
-
/** `GET /api/v1/security-groups
|
|
230
|
+
/** The success response body of `GET /api/v1/security-groups`. */
|
|
200
231
|
export type ListSecurityGroupsResult = operations["list-security-groups"]["responses"][200]["content"]["application/json"];
|
|
201
|
-
/** `GET /api/v1/security-groups
|
|
232
|
+
/** The query parameters of `GET /api/v1/security-groups`. */
|
|
202
233
|
export type ListSecurityGroupsQuery = operations["list-security-groups"]["parameters"]["query"];
|
|
203
|
-
/** `POST /api/v1/security-groups
|
|
234
|
+
/** The success response body of `POST /api/v1/security-groups`. */
|
|
204
235
|
export type CreateSecurityGroupResult = operations["create-security-group"]["responses"][201]["content"]["application/json"];
|
|
205
|
-
/** `POST /api/v1/security-groups
|
|
236
|
+
/** The request body of `POST /api/v1/security-groups`. */
|
|
206
237
|
export type CreateSecurityGroupBody = NonNullable<operations["create-security-group"]["requestBody"]>["content"]["application/json"];
|
|
207
|
-
/** `GET /api/v1/security-groups/{securityGroupId}
|
|
238
|
+
/** The success response body of `GET /api/v1/security-groups/{securityGroupId}`. */
|
|
208
239
|
export type GetSecurityGroupResult = operations["get-security-group"]["responses"][200]["content"]["application/json"];
|
|
209
|
-
/** `PATCH /api/v1/security-groups/{securityGroupId}
|
|
240
|
+
/** The success response body of `PATCH /api/v1/security-groups/{securityGroupId}`. */
|
|
210
241
|
export type RenameSecurityGroupResult = operations["rename-security-group"]["responses"][200]["content"]["application/json"];
|
|
211
|
-
/** `PATCH /api/v1/security-groups/{securityGroupId}
|
|
242
|
+
/** The request body of `PATCH /api/v1/security-groups/{securityGroupId}`. */
|
|
212
243
|
export type RenameSecurityGroupBody = NonNullable<operations["rename-security-group"]["requestBody"]>["content"]["application/json"];
|
|
213
|
-
/** `GET /api/v1/security-groups/{securityGroupId}/rules
|
|
244
|
+
/** The success response body of `GET /api/v1/security-groups/{securityGroupId}/rules`. */
|
|
214
245
|
export type ListSecurityGroupRulesResult = operations["list-security-group-rules"]["responses"][200]["content"]["application/json"];
|
|
215
|
-
/** `POST /api/v1/security-groups/{securityGroupId}/rules
|
|
246
|
+
/** The success response body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
|
|
216
247
|
export type CreateSecurityGroupRuleResult = operations["create-security-group-rule"]["responses"][201]["content"]["application/json"];
|
|
217
|
-
/** `POST /api/v1/security-groups/{securityGroupId}/rules
|
|
248
|
+
/** The request body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
|
|
218
249
|
export type CreateSecurityGroupRuleBody = NonNullable<operations["create-security-group-rule"]["requestBody"]>["content"]["application/json"];
|
|
219
|
-
/** `GET /api/v1/snapshots
|
|
250
|
+
/** The success response body of `GET /api/v1/snapshots`. */
|
|
220
251
|
export type ListSnapshotsResult = operations["list-snapshots"]["responses"][200]["content"]["application/json"];
|
|
221
|
-
/** `GET /api/v1/snapshots
|
|
252
|
+
/** The query parameters of `GET /api/v1/snapshots`. */
|
|
222
253
|
export type ListSnapshotsQuery = operations["list-snapshots"]["parameters"]["query"];
|
|
223
|
-
/** `POST /api/v1/snapshots
|
|
254
|
+
/** The success response body of `POST /api/v1/snapshots`. */
|
|
224
255
|
export type CreateSnapshotResult = operations["create-snapshot"]["responses"][201]["content"]["application/json"];
|
|
225
|
-
/** `POST /api/v1/snapshots
|
|
256
|
+
/** The request body of `POST /api/v1/snapshots`. */
|
|
226
257
|
export type CreateSnapshotBody = NonNullable<operations["create-snapshot"]["requestBody"]>["content"]["application/json"];
|
|
227
|
-
/** `GET /api/v1/snapshots/{snapshotId}
|
|
258
|
+
/** The success response body of `GET /api/v1/snapshots/{snapshotId}`. */
|
|
228
259
|
export type GetSnapshotResult = operations["get-snapshot"]["responses"][200]["content"]["application/json"];
|
|
229
|
-
/** `PATCH /api/v1/snapshots/{snapshotId}
|
|
260
|
+
/** The success response body of `PATCH /api/v1/snapshots/{snapshotId}`. */
|
|
230
261
|
export type RenameSnapshotResult = operations["rename-snapshot"]["responses"][200]["content"]["application/json"];
|
|
231
|
-
/** `PATCH /api/v1/snapshots/{snapshotId}
|
|
262
|
+
/** The request body of `PATCH /api/v1/snapshots/{snapshotId}`. */
|
|
232
263
|
export type RenameSnapshotBody = NonNullable<operations["rename-snapshot"]["requestBody"]>["content"]["application/json"];
|
|
264
|
+
/** The success response body of `DELETE /api/v1/snapshots/{snapshotId}`. */
|
|
265
|
+
export type DeleteSnapshotResult = operations["delete-snapshot"]["responses"][202]["content"]["application/json"];
|
|
266
|
+
/** The success response body of `GET /api/v1/tasks/{taskId}`. */
|
|
267
|
+
export type GetTaskResult = operations["get-task"]["responses"][200]["content"]["application/json"];
|
|
268
|
+
/** The success response body of `GET /api/v1/ipv4-pools`. */
|
|
269
|
+
export type ListIpv4PoolsResult = operations["list-ipv4-pools"]["responses"][200]["content"]["application/json"];
|
|
270
|
+
/** The query parameters of `GET /api/v1/ipv4-pools`. */
|
|
271
|
+
export type ListIpv4PoolsQuery = operations["list-ipv4-pools"]["parameters"]["query"];
|
|
272
|
+
/** The success response body of `GET /api/v1/peerings`. */
|
|
273
|
+
export type ListPeeringsResult = operations["list-peerings"]["responses"][200]["content"]["application/json"];
|
|
274
|
+
/** The query parameters of `GET /api/v1/peerings`. */
|
|
275
|
+
export type ListPeeringsQuery = operations["list-peerings"]["parameters"]["query"];
|
|
276
|
+
/** The success response body of `POST /api/v1/peerings`. */
|
|
277
|
+
export type CreatePeeringResult = operations["create-peering"]["responses"][201]["content"]["application/json"];
|
|
278
|
+
/** The request body of `POST /api/v1/peerings`. */
|
|
279
|
+
export type CreatePeeringBody = NonNullable<operations["create-peering"]["requestBody"]>["content"]["application/json"];
|
|
280
|
+
/** The success response body of `GET /api/v1/peerings/{peeringId}`. */
|
|
281
|
+
export type GetPeeringResult = operations["get-peering"]["responses"][200]["content"]["application/json"];
|
|
282
|
+
/** The success response body of `DELETE /api/v1/peerings/{peeringId}`. */
|
|
283
|
+
export type DeletePeeringResult = operations["delete-peering"]["responses"][202]["content"]["application/json"];
|
|
284
|
+
/** The success response body of `POST /api/v1/peerings/{peeringId}/accept`. */
|
|
285
|
+
export type AcceptPeeringResult = operations["accept-peering"]["responses"][202]["content"]["application/json"];
|
|
286
|
+
/** The success response body of `POST /api/v1/peerings/{peeringId}/reject`. */
|
|
287
|
+
export type RejectPeeringResult = operations["reject-peering"]["responses"][200]["content"]["application/json"];
|
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";
|