tencentcloud-sdk-nodejs-ags 4.1.271 → 4.1.285

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ags",
3
- "version": "4.1.271",
3
+ "version": "4.1.285",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -19,6 +19,10 @@ export interface PauseSandboxInstanceRequest {
19
19
  * <p>沙箱实例ID</p>
20
20
  */
21
21
  InstanceId: string;
22
+ /**
23
+ * <p>可选。带内存暂停,恢复后保留进程和内存状态。true=带内存;false=仅磁盘;不传=系统默认(当前默认 true,带内存)。</p>
24
+ */
25
+ Memory?: boolean;
22
26
  }
23
27
  /**
24
28
  * 沙箱实例对象存储挂载配置
@@ -66,7 +70,7 @@ export interface StartSandboxInstanceRequest {
66
70
  */
67
71
  CustomConfiguration?: CustomConfiguration;
68
72
  /**
69
- * <p>沙箱访问认证模式</p><p>枚举值:</p><ul><li>DEFAULT: 默认,即 TOKEN 认证</li><li>TOKEN: Token认证,即所有端口访问都需携带TOKEN</li><li>NONE: 免认证,即所有端口访问无需携带TOKEN</li><li>PUBLIC: 公开模式,即ENVD管理端口(49983)访问需携带TOKEN,其他端口无需携带TOKEN</li></ul><p>默认值:DEFAULT</p>
73
+ * <p>沙箱访问认证模式</p><p>枚举值:</p><ul><li>DEFAULT: 默认,即TOKEN认证</li><li>TOKEN: Token认证,即所有端口访问都需携带Token</li><li>NONE: 免认证,即所有端口访问无需携带Token</li><li>PUBLIC: 公开模式,即ENVD管理端口(49983)访问需携带Token,其他端口无需携带Token</li></ul><p>默认值:DEFAULT</p>
70
74
  */
71
75
  AuthMode?: string;
72
76
  /**
@@ -295,23 +299,23 @@ export interface HttpGetAction {
295
299
  */
296
300
  export interface DescribePreCacheImageTaskResponse {
297
301
  /**
298
- * 镜像地址
302
+ * <p>镜像地址</p>
299
303
  */
300
304
  Image?: string;
301
305
  /**
302
- * 镜像 Digest
306
+ * <p>镜像 Digest</p>
303
307
  */
304
308
  ImageDigest?: string;
305
309
  /**
306
- * 镜像仓库类型:`enterprise`、`personal`。
310
+ * <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>。</p>
307
311
  */
308
312
  ImageRegistryType?: string;
309
313
  /**
310
- * 镜像预热状态
314
+ * <p>镜像预热状态</p>
311
315
  */
312
316
  Status?: string;
313
317
  /**
314
- * 镜像预热状态描述
318
+ * <p>镜像预热状态描述</p>
315
319
  */
316
320
  Message?: string;
317
321
  /**
@@ -324,9 +328,13 @@ export interface DescribePreCacheImageTaskResponse {
324
328
  */
325
329
  export interface ResumeSandboxInstanceRequest {
326
330
  /**
327
- * 沙箱实例ID
331
+ * <p>沙箱实例ID</p>
328
332
  */
329
333
  InstanceId: string;
334
+ /**
335
+ * <p>超时时间,超过这个时间就自动回收实例。支持格式:5m、300s、1h 等,默认 5m。最小 30s,最大 24h</p>
336
+ */
337
+ Timeout?: string;
330
338
  }
331
339
  /**
332
340
  * DeleteAPIKey返回参数结构体
@@ -376,15 +384,15 @@ export interface UpdateSandboxInstanceResponse {
376
384
  */
377
385
  export interface DescribePreCacheImageTaskRequest {
378
386
  /**
379
- * 镜像地址
387
+ * <p>镜像地址</p>
380
388
  */
381
389
  Image: string;
382
390
  /**
383
- * 镜像 Digest
391
+ * <p>镜像 Digest</p>
384
392
  */
385
393
  ImageDigest: string;
386
394
  /**
387
- * 镜像仓库类型:`enterprise`、`personal`。
395
+ * <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code> 。</p><p>枚举值:</p><ul><li>enterprise: tcr 企业容器镜像服务</li><li>personal: ccr 个人容器镜像服务</li></ul>
388
396
  */
389
397
  ImageRegistryType: string;
390
398
  }
@@ -404,6 +412,10 @@ export interface StorageSource {
404
412
  * <p>文件存储配置</p>
405
413
  */
406
414
  Cfs?: CfsStorageSource;
415
+ /**
416
+ * <p>AgentBucket 存储配置</p>
417
+ */
418
+ AgentBucket?: AgentBucketStorageSource;
407
419
  }
408
420
  /**
409
421
  * 资源配置
@@ -626,7 +638,7 @@ export interface CustomConfiguration {
626
638
  */
627
639
  Image?: string;
628
640
  /**
629
- * <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>。</p>
641
+ * <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code></p><p>枚举值:</p><ul><li>enterprise: tcr 企业容器镜像服务</li><li>personal: ccr 个人容器镜像服务</li></ul>
630
642
  */
631
643
  ImageRegistryType?: string;
632
644
  /**
@@ -663,19 +675,19 @@ export interface CustomConfiguration {
663
675
  */
664
676
  export interface ImageStorageSource {
665
677
  /**
666
- * 镜像地址
678
+ * <p>镜像地址</p>
667
679
  */
668
680
  Reference?: string;
669
681
  /**
670
- * 镜像仓库类型:`enterprise`、`personal`。
682
+ * <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>。</p>
671
683
  */
672
684
  ImageRegistryType?: string;
673
685
  /**
674
- * 镜像内部的路径
686
+ * <p>镜像内部的路径</p>
675
687
  */
676
688
  SubPath?: string;
677
689
  /**
678
- * 镜像 Digest,请求时无需传入
690
+ * <p>镜像 Digest,请求时无需传入</p>
679
691
  */
680
692
  Digest?: string;
681
693
  }
@@ -770,7 +782,7 @@ export interface CustomConfigurationDetail {
770
782
  */
771
783
  Image?: string;
772
784
  /**
773
- * <p>镜像仓库类型:<code>TCR</code>、<code>CCR</code>。</p>
785
+ * <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code>。</p><p>枚举值:</p><ul><li>enterprise: TCR 企业容器镜像服务</li><li>personal: CCR 个人容器镜像服务</li></ul>
774
786
  */
775
787
  ImageRegistryType?: string;
776
788
  /**
@@ -858,6 +870,23 @@ export interface VPCConfig {
858
870
  */
859
871
  SecurityGroupIds?: Array<string>;
860
872
  }
873
+ /**
874
+ * 用于记录 Agent Bucket 的 Storage Source
875
+ */
876
+ export interface AgentBucketStorageSource {
877
+ /**
878
+ * <p>用于传入 AgentBucket 的 LibraryID</p>
879
+ */
880
+ LibraryId?: string;
881
+ /**
882
+ * <p>用于传入 AgentBucket 的 spaceId</p>
883
+ */
884
+ SpaceId?: string;
885
+ /**
886
+ * <p>用于传入 AgentBucket 的 AccessDomain</p>
887
+ */
888
+ AccessDomain?: string;
889
+ }
861
890
  /**
862
891
  * DeleteAPIKey请求参数结构体
863
892
  */
@@ -929,10 +958,6 @@ export interface CreatePreCacheImageTaskRequest {
929
958
  * <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code></p><p>枚举值:</p><ul><li>enterprise: tcr 企业容器镜像服务</li><li>personal: ccr 个人容器镜像服务</li></ul>
930
959
  */
931
960
  ImageRegistryType: string;
932
- /**
933
- * <p>预热超时时长</p>
934
- */
935
- TimeoutMinutes?: number;
936
961
  }
937
962
  /**
938
963
  * 沙箱工具日志推送CLS相关配置
@@ -1021,19 +1046,20 @@ export interface ResumeSandboxInstanceResponse {
1021
1046
  */
1022
1047
  export interface StorageMount {
1023
1048
  /**
1024
- * 存储挂载配置名称
1049
+ * <p>存储挂载配置名称</p>
1025
1050
  */
1026
1051
  Name?: string;
1027
1052
  /**
1028
- * 存储配置
1053
+ * <p>存储配置</p>
1054
+ 注意:此字段可能返回 null,表示取不到有效值。
1029
1055
  */
1030
1056
  StorageSource?: StorageSource;
1031
1057
  /**
1032
- * 沙箱实例本地挂载路径
1058
+ * <p>沙箱实例本地挂载路径</p>
1033
1059
  */
1034
1060
  MountPath?: string;
1035
1061
  /**
1036
- * 存储挂载读写权限配置,默认为false
1062
+ * <p>存储挂载读写权限配置,默认为false</p>
1037
1063
  */
1038
1064
  ReadOnly?: boolean;
1039
1065
  }