@phala/cloud 0.2.8 → 0.2.10
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/actions/apps/check_app_cvms_is_allowed.d.ts +315 -5
- package/dist/actions/apps/check_app_is_allowed.d.ts +2 -2
- package/dist/actions/apps/create_app_instance.d.ts +205 -0
- package/dist/actions/apps/get_app_attestation.d.ts +50 -0
- package/dist/actions/apps/get_app_device_allowlist.d.ts +274 -5
- package/dist/actions/apps/get_app_filter_options.d.ts +2 -2
- package/dist/actions/cvms/check_cvm_is_allowed.d.ts +133 -3
- package/dist/actions/cvms/commit_cvm_provision.d.ts +425 -148
- package/dist/actions/cvms/get_cvm_compose_file.d.ts +328 -0
- package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +93 -0
- package/dist/actions/cvms/provision_cvm.d.ts +243 -225
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +216 -0
- package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +123 -5
- package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +236 -7
- package/dist/actions/cvms/replicate_cvm.d.ts +4 -4
- package/dist/actions/cvms/restart_cvm.d.ts +4 -4
- package/dist/actions/cvms/shutdown_cvm.d.ts +4 -4
- package/dist/actions/cvms/start_cvm.d.ts +4 -4
- package/dist/actions/cvms/stop_cvm.d.ts +4 -4
- package/dist/actions/cvms/update_cvm_visibility.d.ts +2 -2
- package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +319 -0
- package/dist/actions/get_cvm_create_resources.d.ts +2412 -0
- package/dist/actions/index.d.ts +4 -0
- package/dist/actions/workspaces/get_workspace.d.ts +2 -0
- package/dist/actions/workspaces/list_workspaces.d.ts +18 -0
- package/dist/client.d.ts +5 -2
- package/dist/create-client.d.ts +48 -0
- package/dist/index.js +1648 -1208
- package/dist/index.mjs +1613 -1206
- package/dist/types/app_compose.d.ts +125 -0
- package/dist/types/app_info_v20251028.d.ts +8 -131
- package/dist/types/app_info_v20260121.d.ts +4500 -168
- package/dist/types/client.d.ts +2 -2
- package/dist/types/cvm_info.d.ts +533 -7
- package/dist/types/cvm_info_v20251028.d.ts +18 -18
- package/dist/types/cvm_info_v20260121.d.ts +1640 -89
- package/dist/types/version-mappings.d.ts +8 -8
- package/dist/utils/errors.d.ts +8 -1
- package/package.json +2 -2
|
@@ -22,6 +22,233 @@ export declare const RefreshCvmInstanceIdsRequestSchema: z.ZodObject<{
|
|
|
22
22
|
missing_only?: boolean | undefined;
|
|
23
23
|
}>;
|
|
24
24
|
export type RefreshCvmInstanceIdsRequest = z.infer<typeof RefreshCvmInstanceIdsRequestSchema>;
|
|
25
|
+
export declare const RefreshCvmInstanceIdsResponseV20260121Schema: z.ZodObject<{
|
|
26
|
+
total: z.ZodNumber;
|
|
27
|
+
scanned: z.ZodNumber;
|
|
28
|
+
updated: z.ZodNumber;
|
|
29
|
+
unchanged: z.ZodNumber;
|
|
30
|
+
skipped: z.ZodNumber;
|
|
31
|
+
conflicts: z.ZodNumber;
|
|
32
|
+
errors: z.ZodNumber;
|
|
33
|
+
} & {
|
|
34
|
+
items: z.ZodArray<z.ZodObject<{
|
|
35
|
+
identifier: z.ZodString;
|
|
36
|
+
status: z.ZodEnum<["updated", "unchanged", "skipped", "conflict", "error"]>;
|
|
37
|
+
old_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
new_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
source: z.ZodEnum<["teepod_state", "teepod_info", "gateway", "none"]>;
|
|
40
|
+
verified_with_gateway: z.ZodBoolean;
|
|
41
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
} & {
|
|
43
|
+
cvm_id: z.ZodNullable<z.ZodNumber>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
46
|
+
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
47
|
+
identifier: string;
|
|
48
|
+
verified_with_gateway: boolean;
|
|
49
|
+
cvm_id: number | null;
|
|
50
|
+
old_instance_id?: string | null | undefined;
|
|
51
|
+
new_instance_id?: string | null | undefined;
|
|
52
|
+
reason?: string | null | undefined;
|
|
53
|
+
}, {
|
|
54
|
+
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
55
|
+
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
56
|
+
identifier: string;
|
|
57
|
+
verified_with_gateway: boolean;
|
|
58
|
+
cvm_id: number | null;
|
|
59
|
+
old_instance_id?: string | null | undefined;
|
|
60
|
+
new_instance_id?: string | null | undefined;
|
|
61
|
+
reason?: string | null | undefined;
|
|
62
|
+
}>, "many">;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
errors: number;
|
|
65
|
+
items: {
|
|
66
|
+
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
67
|
+
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
68
|
+
identifier: string;
|
|
69
|
+
verified_with_gateway: boolean;
|
|
70
|
+
cvm_id: number | null;
|
|
71
|
+
old_instance_id?: string | null | undefined;
|
|
72
|
+
new_instance_id?: string | null | undefined;
|
|
73
|
+
reason?: string | null | undefined;
|
|
74
|
+
}[];
|
|
75
|
+
total: number;
|
|
76
|
+
updated: number;
|
|
77
|
+
unchanged: number;
|
|
78
|
+
skipped: number;
|
|
79
|
+
scanned: number;
|
|
80
|
+
conflicts: number;
|
|
81
|
+
}, {
|
|
82
|
+
errors: number;
|
|
83
|
+
items: {
|
|
84
|
+
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
85
|
+
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
86
|
+
identifier: string;
|
|
87
|
+
verified_with_gateway: boolean;
|
|
88
|
+
cvm_id: number | null;
|
|
89
|
+
old_instance_id?: string | null | undefined;
|
|
90
|
+
new_instance_id?: string | null | undefined;
|
|
91
|
+
reason?: string | null | undefined;
|
|
92
|
+
}[];
|
|
93
|
+
total: number;
|
|
94
|
+
updated: number;
|
|
95
|
+
unchanged: number;
|
|
96
|
+
skipped: number;
|
|
97
|
+
scanned: number;
|
|
98
|
+
conflicts: number;
|
|
99
|
+
}>;
|
|
100
|
+
export type RefreshCvmInstanceIdsResponseV20260121 = z.infer<typeof RefreshCvmInstanceIdsResponseV20260121Schema>;
|
|
101
|
+
export declare const RefreshCvmInstanceIdsResponseV20260522Schema: z.ZodObject<{
|
|
102
|
+
total: z.ZodNumber;
|
|
103
|
+
scanned: z.ZodNumber;
|
|
104
|
+
updated: z.ZodNumber;
|
|
105
|
+
unchanged: z.ZodNumber;
|
|
106
|
+
skipped: z.ZodNumber;
|
|
107
|
+
conflicts: z.ZodNumber;
|
|
108
|
+
errors: z.ZodNumber;
|
|
109
|
+
} & {
|
|
110
|
+
items: z.ZodArray<z.ZodObject<{
|
|
111
|
+
identifier: z.ZodString;
|
|
112
|
+
status: z.ZodEnum<["updated", "unchanged", "skipped", "conflict", "error"]>;
|
|
113
|
+
old_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
114
|
+
new_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
115
|
+
source: z.ZodEnum<["teepod_state", "teepod_info", "gateway", "none"]>;
|
|
116
|
+
verified_with_gateway: z.ZodBoolean;
|
|
117
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
118
|
+
} & {
|
|
119
|
+
cvm_id: z.ZodNullable<z.ZodString>;
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
122
|
+
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
123
|
+
identifier: string;
|
|
124
|
+
verified_with_gateway: boolean;
|
|
125
|
+
cvm_id: string | null;
|
|
126
|
+
old_instance_id?: string | null | undefined;
|
|
127
|
+
new_instance_id?: string | null | undefined;
|
|
128
|
+
reason?: string | null | undefined;
|
|
129
|
+
}, {
|
|
130
|
+
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
131
|
+
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
132
|
+
identifier: string;
|
|
133
|
+
verified_with_gateway: boolean;
|
|
134
|
+
cvm_id: string | null;
|
|
135
|
+
old_instance_id?: string | null | undefined;
|
|
136
|
+
new_instance_id?: string | null | undefined;
|
|
137
|
+
reason?: string | null | undefined;
|
|
138
|
+
}>, "many">;
|
|
139
|
+
}, "strip", z.ZodTypeAny, {
|
|
140
|
+
errors: number;
|
|
141
|
+
items: {
|
|
142
|
+
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
143
|
+
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
144
|
+
identifier: string;
|
|
145
|
+
verified_with_gateway: boolean;
|
|
146
|
+
cvm_id: string | null;
|
|
147
|
+
old_instance_id?: string | null | undefined;
|
|
148
|
+
new_instance_id?: string | null | undefined;
|
|
149
|
+
reason?: string | null | undefined;
|
|
150
|
+
}[];
|
|
151
|
+
total: number;
|
|
152
|
+
updated: number;
|
|
153
|
+
unchanged: number;
|
|
154
|
+
skipped: number;
|
|
155
|
+
scanned: number;
|
|
156
|
+
conflicts: number;
|
|
157
|
+
}, {
|
|
158
|
+
errors: number;
|
|
159
|
+
items: {
|
|
160
|
+
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
161
|
+
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
162
|
+
identifier: string;
|
|
163
|
+
verified_with_gateway: boolean;
|
|
164
|
+
cvm_id: string | null;
|
|
165
|
+
old_instance_id?: string | null | undefined;
|
|
166
|
+
new_instance_id?: string | null | undefined;
|
|
167
|
+
reason?: string | null | undefined;
|
|
168
|
+
}[];
|
|
169
|
+
total: number;
|
|
170
|
+
updated: number;
|
|
171
|
+
unchanged: number;
|
|
172
|
+
skipped: number;
|
|
173
|
+
scanned: number;
|
|
174
|
+
conflicts: number;
|
|
175
|
+
}>;
|
|
176
|
+
export type RefreshCvmInstanceIdsResponseV20260522 = z.infer<typeof RefreshCvmInstanceIdsResponseV20260522Schema>;
|
|
177
|
+
export declare const RefreshCvmInstanceIdsResponseAnySchema: z.ZodObject<{
|
|
178
|
+
total: z.ZodNumber;
|
|
179
|
+
scanned: z.ZodNumber;
|
|
180
|
+
updated: z.ZodNumber;
|
|
181
|
+
unchanged: z.ZodNumber;
|
|
182
|
+
skipped: z.ZodNumber;
|
|
183
|
+
conflicts: z.ZodNumber;
|
|
184
|
+
errors: z.ZodNumber;
|
|
185
|
+
} & {
|
|
186
|
+
items: z.ZodArray<z.ZodObject<{
|
|
187
|
+
identifier: z.ZodString;
|
|
188
|
+
status: z.ZodEnum<["updated", "unchanged", "skipped", "conflict", "error"]>;
|
|
189
|
+
old_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
190
|
+
new_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
191
|
+
source: z.ZodEnum<["teepod_state", "teepod_info", "gateway", "none"]>;
|
|
192
|
+
verified_with_gateway: z.ZodBoolean;
|
|
193
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
|
+
} & {
|
|
195
|
+
cvm_id: z.ZodNullable<z.ZodString>;
|
|
196
|
+
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
198
|
+
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
199
|
+
identifier: string;
|
|
200
|
+
verified_with_gateway: boolean;
|
|
201
|
+
cvm_id: string | null;
|
|
202
|
+
old_instance_id?: string | null | undefined;
|
|
203
|
+
new_instance_id?: string | null | undefined;
|
|
204
|
+
reason?: string | null | undefined;
|
|
205
|
+
}, {
|
|
206
|
+
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
207
|
+
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
208
|
+
identifier: string;
|
|
209
|
+
verified_with_gateway: boolean;
|
|
210
|
+
cvm_id: string | null;
|
|
211
|
+
old_instance_id?: string | null | undefined;
|
|
212
|
+
new_instance_id?: string | null | undefined;
|
|
213
|
+
reason?: string | null | undefined;
|
|
214
|
+
}>, "many">;
|
|
215
|
+
}, "strip", z.ZodTypeAny, {
|
|
216
|
+
errors: number;
|
|
217
|
+
items: {
|
|
218
|
+
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
219
|
+
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
220
|
+
identifier: string;
|
|
221
|
+
verified_with_gateway: boolean;
|
|
222
|
+
cvm_id: string | null;
|
|
223
|
+
old_instance_id?: string | null | undefined;
|
|
224
|
+
new_instance_id?: string | null | undefined;
|
|
225
|
+
reason?: string | null | undefined;
|
|
226
|
+
}[];
|
|
227
|
+
total: number;
|
|
228
|
+
updated: number;
|
|
229
|
+
unchanged: number;
|
|
230
|
+
skipped: number;
|
|
231
|
+
scanned: number;
|
|
232
|
+
conflicts: number;
|
|
233
|
+
}, {
|
|
234
|
+
errors: number;
|
|
235
|
+
items: {
|
|
236
|
+
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
237
|
+
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
238
|
+
identifier: string;
|
|
239
|
+
verified_with_gateway: boolean;
|
|
240
|
+
cvm_id: string | null;
|
|
241
|
+
old_instance_id?: string | null | undefined;
|
|
242
|
+
new_instance_id?: string | null | undefined;
|
|
243
|
+
reason?: string | null | undefined;
|
|
244
|
+
}[];
|
|
245
|
+
total: number;
|
|
246
|
+
updated: number;
|
|
247
|
+
unchanged: number;
|
|
248
|
+
skipped: number;
|
|
249
|
+
scanned: number;
|
|
250
|
+
conflicts: number;
|
|
251
|
+
}>;
|
|
25
252
|
export declare const RefreshCvmInstanceIdsResponseSchema: z.ZodObject<{
|
|
26
253
|
total: z.ZodNumber;
|
|
27
254
|
scanned: z.ZodNumber;
|
|
@@ -30,8 +257,8 @@ export declare const RefreshCvmInstanceIdsResponseSchema: z.ZodObject<{
|
|
|
30
257
|
skipped: z.ZodNumber;
|
|
31
258
|
conflicts: z.ZodNumber;
|
|
32
259
|
errors: z.ZodNumber;
|
|
260
|
+
} & {
|
|
33
261
|
items: z.ZodArray<z.ZodObject<{
|
|
34
|
-
cvm_id: z.ZodNumber;
|
|
35
262
|
identifier: z.ZodString;
|
|
36
263
|
status: z.ZodEnum<["updated", "unchanged", "skipped", "conflict", "error"]>;
|
|
37
264
|
old_instance_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -39,21 +266,23 @@ export declare const RefreshCvmInstanceIdsResponseSchema: z.ZodObject<{
|
|
|
39
266
|
source: z.ZodEnum<["teepod_state", "teepod_info", "gateway", "none"]>;
|
|
40
267
|
verified_with_gateway: z.ZodBoolean;
|
|
41
268
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
269
|
+
} & {
|
|
270
|
+
cvm_id: z.ZodNullable<z.ZodString>;
|
|
42
271
|
}, "strip", z.ZodTypeAny, {
|
|
43
272
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
44
273
|
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
45
|
-
cvm_id: number;
|
|
46
274
|
identifier: string;
|
|
47
275
|
verified_with_gateway: boolean;
|
|
276
|
+
cvm_id: string | null;
|
|
48
277
|
old_instance_id?: string | null | undefined;
|
|
49
278
|
new_instance_id?: string | null | undefined;
|
|
50
279
|
reason?: string | null | undefined;
|
|
51
280
|
}, {
|
|
52
281
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
53
282
|
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
54
|
-
cvm_id: number;
|
|
55
283
|
identifier: string;
|
|
56
284
|
verified_with_gateway: boolean;
|
|
285
|
+
cvm_id: string | null;
|
|
57
286
|
old_instance_id?: string | null | undefined;
|
|
58
287
|
new_instance_id?: string | null | undefined;
|
|
59
288
|
reason?: string | null | undefined;
|
|
@@ -63,9 +292,9 @@ export declare const RefreshCvmInstanceIdsResponseSchema: z.ZodObject<{
|
|
|
63
292
|
items: {
|
|
64
293
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
65
294
|
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
66
|
-
cvm_id: number;
|
|
67
295
|
identifier: string;
|
|
68
296
|
verified_with_gateway: boolean;
|
|
297
|
+
cvm_id: string | null;
|
|
69
298
|
old_instance_id?: string | null | undefined;
|
|
70
299
|
new_instance_id?: string | null | undefined;
|
|
71
300
|
reason?: string | null | undefined;
|
|
@@ -81,9 +310,9 @@ export declare const RefreshCvmInstanceIdsResponseSchema: z.ZodObject<{
|
|
|
81
310
|
items: {
|
|
82
311
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
83
312
|
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
84
|
-
cvm_id: number;
|
|
85
313
|
identifier: string;
|
|
86
314
|
verified_with_gateway: boolean;
|
|
315
|
+
cvm_id: string | null;
|
|
87
316
|
old_instance_id?: string | null | undefined;
|
|
88
317
|
new_instance_id?: string | null | undefined;
|
|
89
318
|
reason?: string | null | undefined;
|
|
@@ -109,9 +338,9 @@ declare const refreshCvmInstanceIds: {
|
|
|
109
338
|
items: {
|
|
110
339
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
111
340
|
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
112
|
-
cvm_id: number;
|
|
113
341
|
identifier: string;
|
|
114
342
|
verified_with_gateway: boolean;
|
|
343
|
+
cvm_id: string | null;
|
|
115
344
|
old_instance_id?: string | null | undefined;
|
|
116
345
|
new_instance_id?: string | null | undefined;
|
|
117
346
|
reason?: string | null | undefined;
|
|
@@ -156,9 +385,9 @@ declare const refreshCvmInstanceIds: {
|
|
|
156
385
|
items: {
|
|
157
386
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
158
387
|
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
159
|
-
cvm_id: number;
|
|
160
388
|
identifier: string;
|
|
161
389
|
verified_with_gateway: boolean;
|
|
390
|
+
cvm_id: string | null;
|
|
162
391
|
old_instance_id?: string | null | undefined;
|
|
163
392
|
new_instance_id?: string | null | undefined;
|
|
164
393
|
reason?: string | null | undefined;
|
|
@@ -58,7 +58,7 @@ declare const replicateCvm: {
|
|
|
58
58
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<{
|
|
59
59
|
status: string;
|
|
60
60
|
name: string;
|
|
61
|
-
id:
|
|
61
|
+
id: string;
|
|
62
62
|
app_id: string;
|
|
63
63
|
instance_id: string | null;
|
|
64
64
|
vcpu: number;
|
|
@@ -76,7 +76,7 @@ declare const replicateCvm: {
|
|
|
76
76
|
region_identifier?: string | null | undefined;
|
|
77
77
|
} | null | undefined;
|
|
78
78
|
base_image?: string | null | undefined;
|
|
79
|
-
user_id?:
|
|
79
|
+
user_id?: string | null | undefined;
|
|
80
80
|
docker_compose_file?: string | null | undefined;
|
|
81
81
|
features?: string[] | null | undefined;
|
|
82
82
|
manifest_version?: number | null | undefined;
|
|
@@ -92,7 +92,7 @@ declare const replicateCvm: {
|
|
|
92
92
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<import("../..").SafeResult<{
|
|
93
93
|
status: string;
|
|
94
94
|
name: string;
|
|
95
|
-
id:
|
|
95
|
+
id: string;
|
|
96
96
|
app_id: string;
|
|
97
97
|
instance_id: string | null;
|
|
98
98
|
vcpu: number;
|
|
@@ -110,7 +110,7 @@ declare const replicateCvm: {
|
|
|
110
110
|
region_identifier?: string | null | undefined;
|
|
111
111
|
} | null | undefined;
|
|
112
112
|
base_image?: string | null | undefined;
|
|
113
|
-
user_id?:
|
|
113
|
+
user_id?: string | null | undefined;
|
|
114
114
|
docker_compose_file?: string | null | undefined;
|
|
115
115
|
features?: string[] | null | undefined;
|
|
116
116
|
manifest_version?: number | null | undefined;
|
|
@@ -58,7 +58,7 @@ declare const restartCvm: {
|
|
|
58
58
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<{
|
|
59
59
|
status: string;
|
|
60
60
|
name: string;
|
|
61
|
-
id:
|
|
61
|
+
id: string;
|
|
62
62
|
app_id: string;
|
|
63
63
|
instance_id: string | null;
|
|
64
64
|
vcpu: number;
|
|
@@ -76,7 +76,7 @@ declare const restartCvm: {
|
|
|
76
76
|
region_identifier?: string | null | undefined;
|
|
77
77
|
} | null | undefined;
|
|
78
78
|
base_image?: string | null | undefined;
|
|
79
|
-
user_id?:
|
|
79
|
+
user_id?: string | null | undefined;
|
|
80
80
|
docker_compose_file?: string | null | undefined;
|
|
81
81
|
features?: string[] | null | undefined;
|
|
82
82
|
manifest_version?: number | null | undefined;
|
|
@@ -92,7 +92,7 @@ declare const restartCvm: {
|
|
|
92
92
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<import("../..").SafeResult<{
|
|
93
93
|
status: string;
|
|
94
94
|
name: string;
|
|
95
|
-
id:
|
|
95
|
+
id: string;
|
|
96
96
|
app_id: string;
|
|
97
97
|
instance_id: string | null;
|
|
98
98
|
vcpu: number;
|
|
@@ -110,7 +110,7 @@ declare const restartCvm: {
|
|
|
110
110
|
region_identifier?: string | null | undefined;
|
|
111
111
|
} | null | undefined;
|
|
112
112
|
base_image?: string | null | undefined;
|
|
113
|
-
user_id?:
|
|
113
|
+
user_id?: string | null | undefined;
|
|
114
114
|
docker_compose_file?: string | null | undefined;
|
|
115
115
|
features?: string[] | null | undefined;
|
|
116
116
|
manifest_version?: number | null | undefined;
|
|
@@ -51,7 +51,7 @@ declare const shutdownCvm: {
|
|
|
51
51
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput): Promise<{
|
|
52
52
|
status: string;
|
|
53
53
|
name: string;
|
|
54
|
-
id:
|
|
54
|
+
id: string;
|
|
55
55
|
app_id: string;
|
|
56
56
|
instance_id: string | null;
|
|
57
57
|
vcpu: number;
|
|
@@ -69,7 +69,7 @@ declare const shutdownCvm: {
|
|
|
69
69
|
region_identifier?: string | null | undefined;
|
|
70
70
|
} | null | undefined;
|
|
71
71
|
base_image?: string | null | undefined;
|
|
72
|
-
user_id?:
|
|
72
|
+
user_id?: string | null | undefined;
|
|
73
73
|
docker_compose_file?: string | null | undefined;
|
|
74
74
|
features?: string[] | null | undefined;
|
|
75
75
|
manifest_version?: number | null | undefined;
|
|
@@ -85,7 +85,7 @@ declare const shutdownCvm: {
|
|
|
85
85
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput): Promise<import("../..").SafeResult<{
|
|
86
86
|
status: string;
|
|
87
87
|
name: string;
|
|
88
|
-
id:
|
|
88
|
+
id: string;
|
|
89
89
|
app_id: string;
|
|
90
90
|
instance_id: string | null;
|
|
91
91
|
vcpu: number;
|
|
@@ -103,7 +103,7 @@ declare const shutdownCvm: {
|
|
|
103
103
|
region_identifier?: string | null | undefined;
|
|
104
104
|
} | null | undefined;
|
|
105
105
|
base_image?: string | null | undefined;
|
|
106
|
-
user_id?:
|
|
106
|
+
user_id?: string | null | undefined;
|
|
107
107
|
docker_compose_file?: string | null | undefined;
|
|
108
108
|
features?: string[] | null | undefined;
|
|
109
109
|
manifest_version?: number | null | undefined;
|
|
@@ -52,7 +52,7 @@ declare const startCvm: {
|
|
|
52
52
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput): Promise<{
|
|
53
53
|
status: string;
|
|
54
54
|
name: string;
|
|
55
|
-
id:
|
|
55
|
+
id: string;
|
|
56
56
|
app_id: string;
|
|
57
57
|
instance_id: string | null;
|
|
58
58
|
vcpu: number;
|
|
@@ -70,7 +70,7 @@ declare const startCvm: {
|
|
|
70
70
|
region_identifier?: string | null | undefined;
|
|
71
71
|
} | null | undefined;
|
|
72
72
|
base_image?: string | null | undefined;
|
|
73
|
-
user_id?:
|
|
73
|
+
user_id?: string | null | undefined;
|
|
74
74
|
docker_compose_file?: string | null | undefined;
|
|
75
75
|
features?: string[] | null | undefined;
|
|
76
76
|
manifest_version?: number | null | undefined;
|
|
@@ -86,7 +86,7 @@ declare const startCvm: {
|
|
|
86
86
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput): Promise<import("../..").SafeResult<{
|
|
87
87
|
status: string;
|
|
88
88
|
name: string;
|
|
89
|
-
id:
|
|
89
|
+
id: string;
|
|
90
90
|
app_id: string;
|
|
91
91
|
instance_id: string | null;
|
|
92
92
|
vcpu: number;
|
|
@@ -104,7 +104,7 @@ declare const startCvm: {
|
|
|
104
104
|
region_identifier?: string | null | undefined;
|
|
105
105
|
} | null | undefined;
|
|
106
106
|
base_image?: string | null | undefined;
|
|
107
|
-
user_id?:
|
|
107
|
+
user_id?: string | null | undefined;
|
|
108
108
|
docker_compose_file?: string | null | undefined;
|
|
109
109
|
features?: string[] | null | undefined;
|
|
110
110
|
manifest_version?: number | null | undefined;
|
|
@@ -53,7 +53,7 @@ declare const stopCvm: {
|
|
|
53
53
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput): Promise<{
|
|
54
54
|
status: string;
|
|
55
55
|
name: string;
|
|
56
|
-
id:
|
|
56
|
+
id: string;
|
|
57
57
|
app_id: string;
|
|
58
58
|
instance_id: string | null;
|
|
59
59
|
vcpu: number;
|
|
@@ -71,7 +71,7 @@ declare const stopCvm: {
|
|
|
71
71
|
region_identifier?: string | null | undefined;
|
|
72
72
|
} | null | undefined;
|
|
73
73
|
base_image?: string | null | undefined;
|
|
74
|
-
user_id?:
|
|
74
|
+
user_id?: string | null | undefined;
|
|
75
75
|
docker_compose_file?: string | null | undefined;
|
|
76
76
|
features?: string[] | null | undefined;
|
|
77
77
|
manifest_version?: number | null | undefined;
|
|
@@ -87,7 +87,7 @@ declare const stopCvm: {
|
|
|
87
87
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput): Promise<import("../..").SafeResult<{
|
|
88
88
|
status: string;
|
|
89
89
|
name: string;
|
|
90
|
-
id:
|
|
90
|
+
id: string;
|
|
91
91
|
app_id: string;
|
|
92
92
|
instance_id: string | null;
|
|
93
93
|
vcpu: number;
|
|
@@ -105,7 +105,7 @@ declare const stopCvm: {
|
|
|
105
105
|
region_identifier?: string | null | undefined;
|
|
106
106
|
} | null | undefined;
|
|
107
107
|
base_image?: string | null | undefined;
|
|
108
|
-
user_id?:
|
|
108
|
+
user_id?: string | null | undefined;
|
|
109
109
|
docker_compose_file?: string | null | undefined;
|
|
110
110
|
features?: string[] | null | undefined;
|
|
111
111
|
manifest_version?: number | null | undefined;
|
|
@@ -51,7 +51,7 @@ declare const updateCvmVisibility: {
|
|
|
51
51
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<{
|
|
52
52
|
status: string;
|
|
53
53
|
name: string;
|
|
54
|
-
id: number;
|
|
54
|
+
id: string | number;
|
|
55
55
|
app_id: string;
|
|
56
56
|
instance_id: string | null;
|
|
57
57
|
vcpu: number;
|
|
@@ -110,7 +110,7 @@ declare const updateCvmVisibility: {
|
|
|
110
110
|
(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<import("../..").SafeResult<{
|
|
111
111
|
status: string;
|
|
112
112
|
name: string;
|
|
113
|
-
id: number;
|
|
113
|
+
id: string | number;
|
|
114
114
|
app_id: string;
|
|
115
115
|
instance_id: string | null;
|
|
116
116
|
vcpu: number;
|