@phala/cloud 0.2.10 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/apps/check_app_cvms_is_allowed.d.ts +100 -161
- package/dist/actions/apps/check_app_is_allowed.d.ts +14 -14
- package/dist/actions/apps/create_app_instance.d.ts +22 -22
- package/dist/actions/apps/get_app_attestation.d.ts +32 -32
- package/dist/actions/apps/get_app_device_allowlist.d.ts +51 -50
- package/dist/actions/apps/get_app_list.d.ts +2 -2
- package/dist/actions/cvms/check_cvm_is_allowed.d.ts +40 -102
- package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +12 -12
- package/dist/actions/cvms/commit_cvm_provision.d.ts +5 -135
- package/dist/actions/cvms/commit_cvm_update.d.ts +2 -2
- package/dist/actions/cvms/confirm_cvm_patch.d.ts +2 -2
- package/dist/actions/cvms/delete_cvm.d.ts +2 -2
- package/dist/actions/cvms/get_available_os_images.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_attestation.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_compose_file.d.ts +10 -10
- package/dist/actions/cvms/get_cvm_containers_stats.d.ts +10 -10
- package/dist/actions/cvms/get_cvm_docker_compose.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_info.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_list.d.ts +4 -4
- package/dist/actions/cvms/get_cvm_network.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_state.d.ts +6 -6
- package/dist/actions/cvms/get_cvm_stats.d.ts +2 -2
- package/dist/actions/cvms/get_cvm_status_batch.d.ts +6 -6
- package/dist/actions/cvms/get_cvm_user_config.d.ts +2 -2
- package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +2 -2
- package/dist/actions/cvms/patch_cvm.d.ts +18 -18
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +38 -38
- package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +27 -58
- package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +120 -165
- package/dist/actions/cvms/replicate_cvm.d.ts +7 -72
- package/dist/actions/cvms/restart_cvm.d.ts +7 -72
- package/dist/actions/cvms/shutdown_cvm.d.ts +9 -72
- package/dist/actions/cvms/start_cvm.d.ts +7 -72
- package/dist/actions/cvms/stop_cvm.d.ts +7 -72
- package/dist/actions/cvms/update_cvm_envs.d.ts +20 -20
- package/dist/actions/cvms/update_cvm_resources.d.ts +2 -2
- package/dist/actions/cvms/update_cvm_visibility.d.ts +24 -24
- package/dist/actions/cvms/update_docker_compose.d.ts +20 -20
- package/dist/actions/cvms/update_os_image.d.ts +2 -2
- package/dist/actions/cvms/update_prelaunch_script.d.ts +20 -20
- package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +20 -20
- package/dist/actions/kms/get_kms_list.d.ts +10 -10
- package/dist/actions/kms/next_app_ids.d.ts +6 -6
- package/dist/actions/list-instance-types.d.ts +12 -12
- package/dist/actions/ssh_keys/create_ssh_key.d.ts +2 -2
- package/dist/actions/ssh_keys/list_ssh_keys.d.ts +4 -4
- package/dist/actions/workspaces/get_workspace_nodes.d.ts +14 -14
- package/dist/index.js +254 -45
- package/dist/index.mjs +254 -45
- package/dist/types/app_info_v20251028.d.ts +128 -128
- package/dist/types/app_info_v20260121.d.ts +490 -490
- package/dist/types/app_revision.d.ts +8 -8
- package/dist/types/cvm_id.d.ts +6 -6
- package/dist/types/cvm_info.d.ts +98 -98
- package/dist/types/cvm_info_v20251028.d.ts +47 -47
- package/dist/types/cvm_info_v20260121.d.ts +148 -148
- package/dist/types/version-mappings.d.ts +37 -0
- package/package.json +1 -1
|
@@ -283,12 +283,12 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodEffects<z.
|
|
|
283
283
|
app_compose: {
|
|
284
284
|
docker_compose_file: string;
|
|
285
285
|
name?: string | undefined;
|
|
286
|
+
manifest_version?: number | undefined;
|
|
287
|
+
features?: string[] | undefined;
|
|
286
288
|
public_sysinfo?: boolean | undefined;
|
|
287
289
|
public_logs?: boolean | undefined;
|
|
288
290
|
storage_fs?: "ext4" | "zfs" | undefined;
|
|
289
291
|
allowed_envs?: string[] | undefined;
|
|
290
|
-
features?: string[] | undefined;
|
|
291
|
-
manifest_version?: number | undefined;
|
|
292
292
|
kms_enabled?: boolean | undefined;
|
|
293
293
|
tproxy_enabled?: boolean | undefined;
|
|
294
294
|
port_policy?: {
|
|
@@ -305,20 +305,20 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodEffects<z.
|
|
|
305
305
|
[k: string]: unknown;
|
|
306
306
|
};
|
|
307
307
|
id?: string | undefined;
|
|
308
|
+
uuid?: string | undefined;
|
|
308
309
|
app_id?: string | undefined;
|
|
309
310
|
instance_id?: string | undefined;
|
|
310
|
-
uuid?: string | undefined;
|
|
311
311
|
update_env_vars?: boolean | null | undefined;
|
|
312
312
|
}, {
|
|
313
313
|
app_compose: {
|
|
314
314
|
docker_compose_file: string;
|
|
315
315
|
name?: string | undefined;
|
|
316
|
+
manifest_version?: number | undefined;
|
|
317
|
+
features?: string[] | undefined;
|
|
316
318
|
public_sysinfo?: boolean | undefined;
|
|
317
319
|
public_logs?: boolean | undefined;
|
|
318
320
|
storage_fs?: "ext4" | "zfs" | undefined;
|
|
319
321
|
allowed_envs?: string[] | undefined;
|
|
320
|
-
features?: string[] | undefined;
|
|
321
|
-
manifest_version?: number | undefined;
|
|
322
322
|
kms_enabled?: boolean | undefined;
|
|
323
323
|
tproxy_enabled?: boolean | undefined;
|
|
324
324
|
port_policy?: {
|
|
@@ -335,20 +335,20 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodEffects<z.
|
|
|
335
335
|
[k: string]: unknown;
|
|
336
336
|
};
|
|
337
337
|
id?: string | undefined;
|
|
338
|
+
uuid?: string | undefined;
|
|
338
339
|
app_id?: string | undefined;
|
|
339
340
|
instance_id?: string | undefined;
|
|
340
|
-
uuid?: string | undefined;
|
|
341
341
|
update_env_vars?: boolean | null | undefined;
|
|
342
342
|
}>, {
|
|
343
343
|
app_compose: {
|
|
344
344
|
docker_compose_file: string;
|
|
345
345
|
name?: string | undefined;
|
|
346
|
+
manifest_version?: number | undefined;
|
|
347
|
+
features?: string[] | undefined;
|
|
346
348
|
public_sysinfo?: boolean | undefined;
|
|
347
349
|
public_logs?: boolean | undefined;
|
|
348
350
|
storage_fs?: "ext4" | "zfs" | undefined;
|
|
349
351
|
allowed_envs?: string[] | undefined;
|
|
350
|
-
features?: string[] | undefined;
|
|
351
|
-
manifest_version?: number | undefined;
|
|
352
352
|
kms_enabled?: boolean | undefined;
|
|
353
353
|
tproxy_enabled?: boolean | undefined;
|
|
354
354
|
port_policy?: {
|
|
@@ -365,20 +365,20 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodEffects<z.
|
|
|
365
365
|
[k: string]: unknown;
|
|
366
366
|
};
|
|
367
367
|
id?: string | undefined;
|
|
368
|
+
uuid?: string | undefined;
|
|
368
369
|
app_id?: string | undefined;
|
|
369
370
|
instance_id?: string | undefined;
|
|
370
|
-
uuid?: string | undefined;
|
|
371
371
|
update_env_vars?: boolean | null | undefined;
|
|
372
372
|
}, {
|
|
373
373
|
app_compose: {
|
|
374
374
|
docker_compose_file: string;
|
|
375
375
|
name?: string | undefined;
|
|
376
|
+
manifest_version?: number | undefined;
|
|
377
|
+
features?: string[] | undefined;
|
|
376
378
|
public_sysinfo?: boolean | undefined;
|
|
377
379
|
public_logs?: boolean | undefined;
|
|
378
380
|
storage_fs?: "ext4" | "zfs" | undefined;
|
|
379
381
|
allowed_envs?: string[] | undefined;
|
|
380
|
-
features?: string[] | undefined;
|
|
381
|
-
manifest_version?: number | undefined;
|
|
382
382
|
kms_enabled?: boolean | undefined;
|
|
383
383
|
tproxy_enabled?: boolean | undefined;
|
|
384
384
|
port_policy?: {
|
|
@@ -395,9 +395,9 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodEffects<z.
|
|
|
395
395
|
[k: string]: unknown;
|
|
396
396
|
};
|
|
397
397
|
id?: string | undefined;
|
|
398
|
+
uuid?: string | undefined;
|
|
398
399
|
app_id?: string | undefined;
|
|
399
400
|
instance_id?: string | undefined;
|
|
400
|
-
uuid?: string | undefined;
|
|
401
401
|
update_env_vars?: boolean | null | undefined;
|
|
402
402
|
}>, {
|
|
403
403
|
cvmId: string | undefined;
|
|
@@ -405,12 +405,12 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodEffects<z.
|
|
|
405
405
|
update_env_vars: boolean | null | undefined;
|
|
406
406
|
docker_compose_file: string;
|
|
407
407
|
name?: string | undefined;
|
|
408
|
+
manifest_version?: number | undefined;
|
|
409
|
+
features?: string[] | undefined;
|
|
408
410
|
public_sysinfo?: boolean | undefined;
|
|
409
411
|
public_logs?: boolean | undefined;
|
|
410
412
|
storage_fs?: "ext4" | "zfs" | undefined;
|
|
411
413
|
allowed_envs?: string[] | undefined;
|
|
412
|
-
features?: string[] | undefined;
|
|
413
|
-
manifest_version?: number | undefined;
|
|
414
414
|
kms_enabled?: boolean | undefined;
|
|
415
415
|
tproxy_enabled?: boolean | undefined;
|
|
416
416
|
port_policy?: {
|
|
@@ -428,12 +428,12 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodEffects<z.
|
|
|
428
428
|
app_compose: {
|
|
429
429
|
docker_compose_file: string;
|
|
430
430
|
name?: string | undefined;
|
|
431
|
+
manifest_version?: number | undefined;
|
|
432
|
+
features?: string[] | undefined;
|
|
431
433
|
public_sysinfo?: boolean | undefined;
|
|
432
434
|
public_logs?: boolean | undefined;
|
|
433
435
|
storage_fs?: "ext4" | "zfs" | undefined;
|
|
434
436
|
allowed_envs?: string[] | undefined;
|
|
435
|
-
features?: string[] | undefined;
|
|
436
|
-
manifest_version?: number | undefined;
|
|
437
437
|
kms_enabled?: boolean | undefined;
|
|
438
438
|
tproxy_enabled?: boolean | undefined;
|
|
439
439
|
port_policy?: {
|
|
@@ -450,21 +450,21 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodEffects<z.
|
|
|
450
450
|
[k: string]: unknown;
|
|
451
451
|
};
|
|
452
452
|
id?: string | undefined;
|
|
453
|
+
uuid?: string | undefined;
|
|
453
454
|
app_id?: string | undefined;
|
|
454
455
|
instance_id?: string | undefined;
|
|
455
|
-
uuid?: string | undefined;
|
|
456
456
|
update_env_vars?: boolean | null | undefined;
|
|
457
457
|
};
|
|
458
458
|
}, {
|
|
459
459
|
app_compose: {
|
|
460
460
|
docker_compose_file: string;
|
|
461
461
|
name?: string | undefined;
|
|
462
|
+
manifest_version?: number | undefined;
|
|
463
|
+
features?: string[] | undefined;
|
|
462
464
|
public_sysinfo?: boolean | undefined;
|
|
463
465
|
public_logs?: boolean | undefined;
|
|
464
466
|
storage_fs?: "ext4" | "zfs" | undefined;
|
|
465
467
|
allowed_envs?: string[] | undefined;
|
|
466
|
-
features?: string[] | undefined;
|
|
467
|
-
manifest_version?: number | undefined;
|
|
468
468
|
kms_enabled?: boolean | undefined;
|
|
469
469
|
tproxy_enabled?: boolean | undefined;
|
|
470
470
|
port_policy?: {
|
|
@@ -481,9 +481,9 @@ export declare const ProvisionCvmComposeFileUpdateRequestSchema: z.ZodEffects<z.
|
|
|
481
481
|
[k: string]: unknown;
|
|
482
482
|
};
|
|
483
483
|
id?: string | undefined;
|
|
484
|
+
uuid?: string | undefined;
|
|
484
485
|
app_id?: string | undefined;
|
|
485
486
|
instance_id?: string | undefined;
|
|
486
|
-
uuid?: string | undefined;
|
|
487
487
|
update_env_vars?: boolean | null | undefined;
|
|
488
488
|
}>;
|
|
489
489
|
export declare const ProvisionCvmComposeFileUpdateResultSchema: z.ZodObject<{
|
|
@@ -779,12 +779,12 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
779
779
|
app_compose: {
|
|
780
780
|
docker_compose_file: string;
|
|
781
781
|
name?: string | undefined;
|
|
782
|
+
manifest_version?: number | undefined;
|
|
783
|
+
features?: string[] | undefined;
|
|
782
784
|
public_sysinfo?: boolean | undefined;
|
|
783
785
|
public_logs?: boolean | undefined;
|
|
784
786
|
storage_fs?: "ext4" | "zfs" | undefined;
|
|
785
787
|
allowed_envs?: string[] | undefined;
|
|
786
|
-
features?: string[] | undefined;
|
|
787
|
-
manifest_version?: number | undefined;
|
|
788
788
|
kms_enabled?: boolean | undefined;
|
|
789
789
|
tproxy_enabled?: boolean | undefined;
|
|
790
790
|
port_policy?: {
|
|
@@ -801,9 +801,9 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
801
801
|
[k: string]: unknown;
|
|
802
802
|
};
|
|
803
803
|
id?: string | undefined;
|
|
804
|
+
uuid?: string | undefined;
|
|
804
805
|
app_id?: string | undefined;
|
|
805
806
|
instance_id?: string | undefined;
|
|
806
|
-
uuid?: string | undefined;
|
|
807
807
|
update_env_vars?: boolean | null | undefined;
|
|
808
808
|
}): Promise<z.objectOutputType<{
|
|
809
809
|
app_id: z.ZodNullable<z.ZodString>;
|
|
@@ -856,12 +856,12 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
856
856
|
app_compose: {
|
|
857
857
|
docker_compose_file: string;
|
|
858
858
|
name?: string | undefined;
|
|
859
|
+
manifest_version?: number | undefined;
|
|
860
|
+
features?: string[] | undefined;
|
|
859
861
|
public_sysinfo?: boolean | undefined;
|
|
860
862
|
public_logs?: boolean | undefined;
|
|
861
863
|
storage_fs?: "ext4" | "zfs" | undefined;
|
|
862
864
|
allowed_envs?: string[] | undefined;
|
|
863
|
-
features?: string[] | undefined;
|
|
864
|
-
manifest_version?: number | undefined;
|
|
865
865
|
kms_enabled?: boolean | undefined;
|
|
866
866
|
tproxy_enabled?: boolean | undefined;
|
|
867
867
|
port_policy?: {
|
|
@@ -878,9 +878,9 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
878
878
|
[k: string]: unknown;
|
|
879
879
|
};
|
|
880
880
|
id?: string | undefined;
|
|
881
|
+
uuid?: string | undefined;
|
|
881
882
|
app_id?: string | undefined;
|
|
882
883
|
instance_id?: string | undefined;
|
|
883
|
-
uuid?: string | undefined;
|
|
884
884
|
update_env_vars?: boolean | null | undefined;
|
|
885
885
|
}, parameters: {
|
|
886
886
|
schema: T;
|
|
@@ -889,12 +889,12 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
889
889
|
app_compose: {
|
|
890
890
|
docker_compose_file: string;
|
|
891
891
|
name?: string | undefined;
|
|
892
|
+
manifest_version?: number | undefined;
|
|
893
|
+
features?: string[] | undefined;
|
|
892
894
|
public_sysinfo?: boolean | undefined;
|
|
893
895
|
public_logs?: boolean | undefined;
|
|
894
896
|
storage_fs?: "ext4" | "zfs" | undefined;
|
|
895
897
|
allowed_envs?: string[] | undefined;
|
|
896
|
-
features?: string[] | undefined;
|
|
897
|
-
manifest_version?: number | undefined;
|
|
898
898
|
kms_enabled?: boolean | undefined;
|
|
899
899
|
tproxy_enabled?: boolean | undefined;
|
|
900
900
|
port_policy?: {
|
|
@@ -911,9 +911,9 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
911
911
|
[k: string]: unknown;
|
|
912
912
|
};
|
|
913
913
|
id?: string | undefined;
|
|
914
|
+
uuid?: string | undefined;
|
|
914
915
|
app_id?: string | undefined;
|
|
915
916
|
instance_id?: string | undefined;
|
|
916
|
-
uuid?: string | undefined;
|
|
917
917
|
update_env_vars?: boolean | null | undefined;
|
|
918
918
|
}, parameters: {
|
|
919
919
|
schema: false;
|
|
@@ -923,12 +923,12 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
923
923
|
app_compose: {
|
|
924
924
|
docker_compose_file: string;
|
|
925
925
|
name?: string | undefined;
|
|
926
|
+
manifest_version?: number | undefined;
|
|
927
|
+
features?: string[] | undefined;
|
|
926
928
|
public_sysinfo?: boolean | undefined;
|
|
927
929
|
public_logs?: boolean | undefined;
|
|
928
930
|
storage_fs?: "ext4" | "zfs" | undefined;
|
|
929
931
|
allowed_envs?: string[] | undefined;
|
|
930
|
-
features?: string[] | undefined;
|
|
931
|
-
manifest_version?: number | undefined;
|
|
932
932
|
kms_enabled?: boolean | undefined;
|
|
933
933
|
tproxy_enabled?: boolean | undefined;
|
|
934
934
|
port_policy?: {
|
|
@@ -945,9 +945,9 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
945
945
|
[k: string]: unknown;
|
|
946
946
|
};
|
|
947
947
|
id?: string | undefined;
|
|
948
|
+
uuid?: string | undefined;
|
|
948
949
|
app_id?: string | undefined;
|
|
949
950
|
instance_id?: string | undefined;
|
|
950
|
-
uuid?: string | undefined;
|
|
951
951
|
update_env_vars?: boolean | null | undefined;
|
|
952
952
|
}): Promise<import("../..").SafeResult<z.objectOutputType<{
|
|
953
953
|
app_id: z.ZodNullable<z.ZodString>;
|
|
@@ -1000,12 +1000,12 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
1000
1000
|
app_compose: {
|
|
1001
1001
|
docker_compose_file: string;
|
|
1002
1002
|
name?: string | undefined;
|
|
1003
|
+
manifest_version?: number | undefined;
|
|
1004
|
+
features?: string[] | undefined;
|
|
1003
1005
|
public_sysinfo?: boolean | undefined;
|
|
1004
1006
|
public_logs?: boolean | undefined;
|
|
1005
1007
|
storage_fs?: "ext4" | "zfs" | undefined;
|
|
1006
1008
|
allowed_envs?: string[] | undefined;
|
|
1007
|
-
features?: string[] | undefined;
|
|
1008
|
-
manifest_version?: number | undefined;
|
|
1009
1009
|
kms_enabled?: boolean | undefined;
|
|
1010
1010
|
tproxy_enabled?: boolean | undefined;
|
|
1011
1011
|
port_policy?: {
|
|
@@ -1022,9 +1022,9 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
1022
1022
|
[k: string]: unknown;
|
|
1023
1023
|
};
|
|
1024
1024
|
id?: string | undefined;
|
|
1025
|
+
uuid?: string | undefined;
|
|
1025
1026
|
app_id?: string | undefined;
|
|
1026
1027
|
instance_id?: string | undefined;
|
|
1027
|
-
uuid?: string | undefined;
|
|
1028
1028
|
update_env_vars?: boolean | null | undefined;
|
|
1029
1029
|
}, parameters: {
|
|
1030
1030
|
schema: T;
|
|
@@ -1033,12 +1033,12 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
1033
1033
|
app_compose: {
|
|
1034
1034
|
docker_compose_file: string;
|
|
1035
1035
|
name?: string | undefined;
|
|
1036
|
+
manifest_version?: number | undefined;
|
|
1037
|
+
features?: string[] | undefined;
|
|
1036
1038
|
public_sysinfo?: boolean | undefined;
|
|
1037
1039
|
public_logs?: boolean | undefined;
|
|
1038
1040
|
storage_fs?: "ext4" | "zfs" | undefined;
|
|
1039
1041
|
allowed_envs?: string[] | undefined;
|
|
1040
|
-
features?: string[] | undefined;
|
|
1041
|
-
manifest_version?: number | undefined;
|
|
1042
1042
|
kms_enabled?: boolean | undefined;
|
|
1043
1043
|
tproxy_enabled?: boolean | undefined;
|
|
1044
1044
|
port_policy?: {
|
|
@@ -1055,9 +1055,9 @@ declare const provisionCvmComposeFileUpdate: {
|
|
|
1055
1055
|
[k: string]: unknown;
|
|
1056
1056
|
};
|
|
1057
1057
|
id?: string | undefined;
|
|
1058
|
+
uuid?: string | undefined;
|
|
1058
1059
|
app_id?: string | undefined;
|
|
1059
1060
|
instance_id?: string | undefined;
|
|
1060
|
-
uuid?: string | undefined;
|
|
1061
1061
|
update_env_vars?: boolean | null | undefined;
|
|
1062
1062
|
}, parameters: {
|
|
1063
1063
|
schema: false;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { type Client, type SafeResult } from "../../client";
|
|
3
|
+
import type { ApiVersion } from "../../types/client";
|
|
4
|
+
import type { RefreshCvmInstanceIdResponse } from "../../types/version-mappings";
|
|
2
5
|
export declare const InstanceIdRefreshResultV20260121Schema: z.ZodObject<{
|
|
3
6
|
identifier: z.ZodString;
|
|
4
7
|
status: z.ZodEnum<["updated", "unchanged", "skipped", "conflict", "error"]>;
|
|
@@ -11,19 +14,19 @@ export declare const InstanceIdRefreshResultV20260121Schema: z.ZodObject<{
|
|
|
11
14
|
cvm_id: z.ZodNullable<z.ZodNumber>;
|
|
12
15
|
}, "strip", z.ZodTypeAny, {
|
|
13
16
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
14
|
-
|
|
17
|
+
cvm_id: number | null;
|
|
15
18
|
identifier: string;
|
|
19
|
+
source: "teepod_state" | "teepod_info" | "gateway" | "none";
|
|
16
20
|
verified_with_gateway: boolean;
|
|
17
|
-
cvm_id: number | null;
|
|
18
21
|
old_instance_id?: string | null | undefined;
|
|
19
22
|
new_instance_id?: string | null | undefined;
|
|
20
23
|
reason?: string | null | undefined;
|
|
21
24
|
}, {
|
|
22
25
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
23
|
-
|
|
26
|
+
cvm_id: number | null;
|
|
24
27
|
identifier: string;
|
|
28
|
+
source: "teepod_state" | "teepod_info" | "gateway" | "none";
|
|
25
29
|
verified_with_gateway: boolean;
|
|
26
|
-
cvm_id: number | null;
|
|
27
30
|
old_instance_id?: string | null | undefined;
|
|
28
31
|
new_instance_id?: string | null | undefined;
|
|
29
32
|
reason?: string | null | undefined;
|
|
@@ -41,19 +44,19 @@ export declare const InstanceIdRefreshResultV20260522Schema: z.ZodObject<{
|
|
|
41
44
|
cvm_id: z.ZodNullable<z.ZodString>;
|
|
42
45
|
}, "strip", z.ZodTypeAny, {
|
|
43
46
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
44
|
-
|
|
47
|
+
cvm_id: string | null;
|
|
45
48
|
identifier: string;
|
|
49
|
+
source: "teepod_state" | "teepod_info" | "gateway" | "none";
|
|
46
50
|
verified_with_gateway: boolean;
|
|
47
|
-
cvm_id: string | null;
|
|
48
51
|
old_instance_id?: string | null | undefined;
|
|
49
52
|
new_instance_id?: string | null | undefined;
|
|
50
53
|
reason?: string | null | undefined;
|
|
51
54
|
}, {
|
|
52
55
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
53
|
-
|
|
56
|
+
cvm_id: string | null;
|
|
54
57
|
identifier: string;
|
|
58
|
+
source: "teepod_state" | "teepod_info" | "gateway" | "none";
|
|
55
59
|
verified_with_gateway: boolean;
|
|
56
|
-
cvm_id: string | null;
|
|
57
60
|
old_instance_id?: string | null | undefined;
|
|
58
61
|
new_instance_id?: string | null | undefined;
|
|
59
62
|
reason?: string | null | undefined;
|
|
@@ -71,19 +74,19 @@ export declare const InstanceIdRefreshResultAnySchema: z.ZodUnion<[z.ZodObject<{
|
|
|
71
74
|
cvm_id: z.ZodNullable<z.ZodNumber>;
|
|
72
75
|
}, "strip", z.ZodTypeAny, {
|
|
73
76
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
74
|
-
|
|
77
|
+
cvm_id: number | null;
|
|
75
78
|
identifier: string;
|
|
79
|
+
source: "teepod_state" | "teepod_info" | "gateway" | "none";
|
|
76
80
|
verified_with_gateway: boolean;
|
|
77
|
-
cvm_id: number | null;
|
|
78
81
|
old_instance_id?: string | null | undefined;
|
|
79
82
|
new_instance_id?: string | null | undefined;
|
|
80
83
|
reason?: string | null | undefined;
|
|
81
84
|
}, {
|
|
82
85
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
83
|
-
|
|
86
|
+
cvm_id: number | null;
|
|
84
87
|
identifier: string;
|
|
88
|
+
source: "teepod_state" | "teepod_info" | "gateway" | "none";
|
|
85
89
|
verified_with_gateway: boolean;
|
|
86
|
-
cvm_id: number | null;
|
|
87
90
|
old_instance_id?: string | null | undefined;
|
|
88
91
|
new_instance_id?: string | null | undefined;
|
|
89
92
|
reason?: string | null | undefined;
|
|
@@ -99,19 +102,19 @@ export declare const InstanceIdRefreshResultAnySchema: z.ZodUnion<[z.ZodObject<{
|
|
|
99
102
|
cvm_id: z.ZodNullable<z.ZodString>;
|
|
100
103
|
}, "strip", z.ZodTypeAny, {
|
|
101
104
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
102
|
-
|
|
105
|
+
cvm_id: string | null;
|
|
103
106
|
identifier: string;
|
|
107
|
+
source: "teepod_state" | "teepod_info" | "gateway" | "none";
|
|
104
108
|
verified_with_gateway: boolean;
|
|
105
|
-
cvm_id: string | null;
|
|
106
109
|
old_instance_id?: string | null | undefined;
|
|
107
110
|
new_instance_id?: string | null | undefined;
|
|
108
111
|
reason?: string | null | undefined;
|
|
109
112
|
}, {
|
|
110
113
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
111
|
-
|
|
114
|
+
cvm_id: string | null;
|
|
112
115
|
identifier: string;
|
|
116
|
+
source: "teepod_state" | "teepod_info" | "gateway" | "none";
|
|
113
117
|
verified_with_gateway: boolean;
|
|
114
|
-
cvm_id: string | null;
|
|
115
118
|
old_instance_id?: string | null | undefined;
|
|
116
119
|
new_instance_id?: string | null | undefined;
|
|
117
120
|
reason?: string | null | undefined;
|
|
@@ -128,19 +131,19 @@ export declare const InstanceIdRefreshResultSchema: z.ZodObject<{
|
|
|
128
131
|
cvm_id: z.ZodNullable<z.ZodString>;
|
|
129
132
|
}, "strip", z.ZodTypeAny, {
|
|
130
133
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
131
|
-
|
|
134
|
+
cvm_id: string | null;
|
|
132
135
|
identifier: string;
|
|
136
|
+
source: "teepod_state" | "teepod_info" | "gateway" | "none";
|
|
133
137
|
verified_with_gateway: boolean;
|
|
134
|
-
cvm_id: string | null;
|
|
135
138
|
old_instance_id?: string | null | undefined;
|
|
136
139
|
new_instance_id?: string | null | undefined;
|
|
137
140
|
reason?: string | null | undefined;
|
|
138
141
|
}, {
|
|
139
142
|
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
140
|
-
|
|
143
|
+
cvm_id: string | null;
|
|
141
144
|
identifier: string;
|
|
145
|
+
source: "teepod_state" | "teepod_info" | "gateway" | "none";
|
|
142
146
|
verified_with_gateway: boolean;
|
|
143
|
-
cvm_id: string | null;
|
|
144
147
|
old_instance_id?: string | null | undefined;
|
|
145
148
|
new_instance_id?: string | null | undefined;
|
|
146
149
|
reason?: string | null | undefined;
|
|
@@ -158,54 +161,20 @@ export declare const RefreshCvmInstanceIdRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
158
161
|
}, "strip", z.ZodTypeAny, {
|
|
159
162
|
name?: string | undefined;
|
|
160
163
|
id?: string | undefined;
|
|
164
|
+
uuid?: string | undefined;
|
|
161
165
|
app_id?: string | undefined;
|
|
162
166
|
instance_id?: string | undefined;
|
|
163
|
-
uuid?: string | undefined;
|
|
164
167
|
overwrite?: boolean | undefined;
|
|
165
168
|
dry_run?: boolean | undefined;
|
|
166
169
|
}, {
|
|
167
170
|
name?: string | undefined;
|
|
168
171
|
id?: string | undefined;
|
|
172
|
+
uuid?: string | undefined;
|
|
169
173
|
app_id?: string | undefined;
|
|
170
174
|
instance_id?: string | undefined;
|
|
171
|
-
uuid?: string | undefined;
|
|
172
175
|
overwrite?: boolean | undefined;
|
|
173
176
|
dry_run?: boolean | undefined;
|
|
174
177
|
}>, any, any>;
|
|
175
178
|
export type RefreshCvmInstanceIdRequest = z.infer<typeof RefreshCvmInstanceIdRequestSchema>;
|
|
176
|
-
declare
|
|
177
|
-
|
|
178
|
-
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
179
|
-
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
180
|
-
identifier: string;
|
|
181
|
-
verified_with_gateway: boolean;
|
|
182
|
-
cvm_id: string | null;
|
|
183
|
-
old_instance_id?: string | null | undefined;
|
|
184
|
-
new_instance_id?: string | null | undefined;
|
|
185
|
-
reason?: string | null | undefined;
|
|
186
|
-
}>;
|
|
187
|
-
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
|
|
188
|
-
schema: T;
|
|
189
|
-
} | undefined): Promise<z.TypeOf<T>>;
|
|
190
|
-
(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
|
|
191
|
-
schema: false;
|
|
192
|
-
} | undefined): Promise<unknown>;
|
|
193
|
-
}, safeRefreshCvmInstanceId: {
|
|
194
|
-
(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<import("../..").SafeResult<{
|
|
195
|
-
status: "error" | "updated" | "unchanged" | "skipped" | "conflict";
|
|
196
|
-
source: "gateway" | "teepod_state" | "teepod_info" | "none";
|
|
197
|
-
identifier: string;
|
|
198
|
-
verified_with_gateway: boolean;
|
|
199
|
-
cvm_id: string | null;
|
|
200
|
-
old_instance_id?: string | null | undefined;
|
|
201
|
-
new_instance_id?: string | null | undefined;
|
|
202
|
-
reason?: string | null | undefined;
|
|
203
|
-
}>>;
|
|
204
|
-
<T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
|
|
205
|
-
schema: T;
|
|
206
|
-
} | undefined): Promise<import("../..").SafeResult<z.TypeOf<T>>>;
|
|
207
|
-
(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
|
|
208
|
-
schema: false;
|
|
209
|
-
} | undefined): Promise<import("../..").SafeResult<unknown>>;
|
|
210
|
-
};
|
|
211
|
-
export { refreshCvmInstanceId, safeRefreshCvmInstanceId };
|
|
179
|
+
export declare function refreshCvmInstanceId<V extends ApiVersion>(client: Client<V>, request: RefreshCvmInstanceIdRequest): Promise<RefreshCvmInstanceIdResponse<V>>;
|
|
180
|
+
export declare function safeRefreshCvmInstanceId<V extends ApiVersion>(client: Client<V>, request: RefreshCvmInstanceIdRequest): Promise<SafeResult<RefreshCvmInstanceIdResponse<V>>>;
|