tencentcloud-sdk-nodejs-ags 4.1.321 → 4.1.326

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.
@@ -9,6 +9,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
9
9
  async PreviewRegistryRecord(req, cb) {
10
10
  return this.request("PreviewRegistryRecord", req, cb);
11
11
  }
12
+ async CreateSandboxSnapshot(req, cb) {
13
+ return this.request("CreateSandboxSnapshot", req, cb);
14
+ }
12
15
  async UpdateSandboxInstance(req, cb) {
13
16
  return this.request("UpdateSandboxInstance", req, cb);
14
17
  }
@@ -30,8 +33,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
30
33
  async SyncRegistryRecord(req, cb) {
31
34
  return this.request("SyncRegistryRecord", req, cb);
32
35
  }
33
- async DescribeRegistryAuditLogList(req, cb) {
34
- return this.request("DescribeRegistryAuditLogList", req, cb);
36
+ async DeleteSandboxSnapshot(req, cb) {
37
+ return this.request("DeleteSandboxSnapshot", req, cb);
35
38
  }
36
39
  async CreateAPIKey(req, cb) {
37
40
  return this.request("CreateAPIKey", req, cb);
@@ -60,8 +63,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
60
63
  async DescribeRegistryRecordList(req, cb) {
61
64
  return this.request("DescribeRegistryRecordList", req, cb);
62
65
  }
63
- async DescribeSandboxInstanceList(req, cb) {
64
- return this.request("DescribeSandboxInstanceList", req, cb);
66
+ async DescribePreCacheImageList(req, cb) {
67
+ return this.request("DescribePreCacheImageList", req, cb);
65
68
  }
66
69
  async ResumeSandboxInstance(req, cb) {
67
70
  return this.request("ResumeSandboxInstance", req, cb);
@@ -75,6 +78,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
75
78
  async DeleteSessionSpace(req, cb) {
76
79
  return this.request("DeleteSessionSpace", req, cb);
77
80
  }
81
+ async DescribeSandboxSnapshotList(req, cb) {
82
+ return this.request("DescribeSandboxSnapshotList", req, cb);
83
+ }
78
84
  async DeleteRegistry(req, cb) {
79
85
  return this.request("DeleteRegistry", req, cb);
80
86
  }
@@ -102,6 +108,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
102
108
  async DescribeSessions(req, cb) {
103
109
  return this.request("DescribeSessions", req, cb);
104
110
  }
111
+ async DescribeSandboxInstanceList(req, cb) {
112
+ return this.request("DescribeSandboxInstanceList", req, cb);
113
+ }
105
114
  async DescribeSandboxToolList(req, cb) {
106
115
  return this.request("DescribeSandboxToolList", req, cb);
107
116
  }
@@ -132,6 +141,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
132
141
  async DescribeSessionSpaces(req, cb) {
133
142
  return this.request("DescribeSessionSpaces", req, cb);
134
143
  }
144
+ async DeletePreCacheImage(req, cb) {
145
+ return this.request("DeletePreCacheImage", req, cb);
146
+ }
135
147
  async DescribeRegistryList(req, cb) {
136
148
  return this.request("DescribeRegistryList", req, cb);
137
149
  }
@@ -147,6 +159,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
147
159
  async StopSandboxInstance(req, cb) {
148
160
  return this.request("StopSandboxInstance", req, cb);
149
161
  }
162
+ async DescribeRegistryAuditLogList(req, cb) {
163
+ return this.request("DescribeRegistryAuditLogList", req, cb);
164
+ }
150
165
  async DescribeRegistry(req, cb) {
151
166
  return this.request("DescribeRegistry", req, cb);
152
167
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ags",
3
- "version": "4.1.321",
3
+ "version": "4.1.326",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { DeleteSessionSpaceResponse, ApproveRegistryRecordRequest, AppendEventResponse, DescribeRegistryRecordResponse, DescribeQuotaOverviewRequest, CreatePreCacheImageTaskResponse, ResumeSandboxInstanceRequest, ModifySessionSpaceResponse, DescribePreCacheImageTaskRequest, DescribeDeploymentResponse, RejectRegistryRecordResponse, DescribeRegistryRecordListRequest, UpdateRegistryResponse, ApproveRegistryRecordResponse, DeleteSessionRequest, ResumeSandboxInstanceResponse, AcquireSandboxInstanceTokenRequest, DescribeAPIKeyListResponse, PreviewRegistryRecordResponse, CreateSessionRequest, DescribeDeploymentRequest, DescribeSessionSpaceResponse, CreateSandboxToolResponse, CreateRegistryResponse, DeleteAPIKeyRequest, DeleteDeploymentRequest, GetSkillPackageUploadURLRequest, UpdateSandboxToolRequest, DescribeSessionSpacesResponse, DescribeRegistryRecordVersionListResponse, StopSandboxInstanceResponse, DescribeRegistryRecordVersionListRequest, RejectRegistryRecordRequest, CreateDeploymentRequest, StopSandboxInstanceRequest, GetSkillPackageDownloadURLRequest, DescribeSandboxToolListResponse, DescribeQuotaOverviewResponse, UpdateSandboxToolResponse, DescribeRegistryRecordRequest, CancelRegistryRecordRequest, DescribeSandboxToolListRequest, DeleteSandboxToolRequest, CreateAPIKeyRequest, DeleteSandboxToolResponse, CreateRegistryRecordResponse, UpdateSandboxInstanceRequest, ModifySessionRequest, SyncRegistryRecordRequest, DescribeRegistryRequest, DeleteRegistryResponse, DescribeAPIKeyListRequest, DescribeSandboxInstanceListResponse, GetSkillPackageUploadURLResponse, CreateSessionSpaceResponse, UpdateRegistryRequest, DescribeSessionsResponse, DescribeDeploymentListRequest, DescribeRegistryAuditLogListRequest, PauseSandboxInstanceRequest, DescribeRegistryRecordListResponse, UpdateRegistryRecordRequest, CreateAPIKeyResponse, DescribeSessionRequest, AcquireDeploymentTokenRequest, DescribeEventsResponse, DescribeDeploymentListResponse, DescribeRegistryResponse, ModifySessionSpaceRequest, CreateSessionSpaceRequest, DeleteAPIKeyResponse, DescribeRegistryListRequest, CreateDeploymentResponse, DeleteRegistryRequest, GetSkillPackageDownloadURLResponse, CreateSessionResponse, StartSandboxInstanceResponse, DescribeSessionSpaceRequest, DescribeSandboxInstanceListRequest, ModifyDeploymentRequest, DescribeRegistryAuditLogListResponse, AcquireSandboxInstanceTokenResponse, PauseSandboxInstanceResponse, StartSandboxInstanceRequest, CancelRegistryRecordResponse, DescribeSessionSpacesRequest, DescribeRegistryListResponse, UpdateRegistryRecordResponse, DeleteSessionSpaceRequest, AcquireDeploymentTokenResponse, DescribeSessionsRequest, CreateSandboxToolRequest, DescribePreCacheImageTaskResponse, DeleteRegistryRecordResponse, CreateRegistryRecordRequest, ModifySessionResponse, UpdateSandboxInstanceResponse, DeleteDeploymentResponse, SyncRegistryRecordResponse, DescribeSessionResponse, DeleteRegistryRecordRequest, AppendEventRequest, DeleteSessionResponse, PreviewRegistryRecordRequest, DescribeEventsRequest, CreateRegistryRequest, ModifyDeploymentResponse, CreatePreCacheImageTaskRequest } from "./ags_models";
2
+ import { DeleteSessionSpaceResponse, ApproveRegistryRecordRequest, AppendEventResponse, DescribeRegistryRecordResponse, DescribeQuotaOverviewRequest, CreatePreCacheImageTaskResponse, ResumeSandboxInstanceRequest, ModifySessionSpaceResponse, DescribePreCacheImageTaskRequest, DescribeDeploymentResponse, RejectRegistryRecordResponse, DescribeRegistryRecordListRequest, UpdateRegistryResponse, ApproveRegistryRecordResponse, DeleteSessionRequest, ResumeSandboxInstanceResponse, AcquireSandboxInstanceTokenRequest, DescribeAPIKeyListResponse, PreviewRegistryRecordResponse, CreateSessionRequest, DescribeDeploymentRequest, DescribeSandboxSnapshotListRequest, DescribeSessionSpaceResponse, CreateSandboxToolResponse, CreateRegistryResponse, DeleteAPIKeyRequest, DeleteDeploymentRequest, GetSkillPackageUploadURLRequest, UpdateSandboxToolRequest, DescribeSessionSpacesResponse, DescribeRegistryRecordVersionListResponse, DeleteSandboxSnapshotResponse, DescribePreCacheImageListRequest, DescribeRegistryRecordVersionListRequest, RejectRegistryRecordRequest, CreateDeploymentRequest, StopSandboxInstanceRequest, GetSkillPackageDownloadURLRequest, DescribeSandboxToolListResponse, CreateSandboxSnapshotResponse, DescribeQuotaOverviewResponse, UpdateSandboxToolResponse, DescribeRegistryRecordRequest, CancelRegistryRecordRequest, DescribeSandboxToolListRequest, DeleteSandboxToolRequest, CreateAPIKeyRequest, DeleteSandboxToolResponse, DeleteSandboxSnapshotRequest, CreateRegistryRecordResponse, DescribePreCacheImageListResponse, UpdateSandboxInstanceRequest, ModifySessionRequest, SyncRegistryRecordRequest, DescribeRegistryRequest, DeleteRegistryResponse, DescribeAPIKeyListRequest, DescribeSandboxInstanceListResponse, GetSkillPackageUploadURLResponse, CreateSessionSpaceResponse, UpdateRegistryRequest, DescribeSessionsResponse, DescribeDeploymentListRequest, DescribeRegistryAuditLogListRequest, PauseSandboxInstanceRequest, DescribeRegistryRecordListResponse, UpdateRegistryRecordRequest, DeletePreCacheImageResponse, CreateAPIKeyResponse, DescribeSessionRequest, AcquireDeploymentTokenRequest, DescribeEventsResponse, DescribeDeploymentListResponse, DescribeRegistryResponse, ModifySessionSpaceRequest, CreateSessionSpaceRequest, DeleteAPIKeyResponse, DescribeRegistryListRequest, CreateDeploymentResponse, DeleteRegistryRequest, GetSkillPackageDownloadURLResponse, CreateSessionResponse, StartSandboxInstanceResponse, DescribeSessionSpaceRequest, DescribeSandboxInstanceListRequest, ModifyDeploymentRequest, DescribeRegistryAuditLogListResponse, AcquireSandboxInstanceTokenResponse, DeletePreCacheImageRequest, DescribeSandboxSnapshotListResponse, PauseSandboxInstanceResponse, StartSandboxInstanceRequest, CancelRegistryRecordResponse, DescribeSessionSpacesRequest, DescribeRegistryListResponse, UpdateRegistryRecordResponse, DeleteSessionSpaceRequest, AcquireDeploymentTokenResponse, DescribeSessionsRequest, CreateSandboxToolRequest, DescribePreCacheImageTaskResponse, DeleteRegistryRecordResponse, CreateRegistryRecordRequest, ModifySessionResponse, UpdateSandboxInstanceResponse, DeleteDeploymentResponse, SyncRegistryRecordResponse, DescribeSessionResponse, DeleteRegistryRecordRequest, StopSandboxInstanceResponse, CreateSandboxSnapshotRequest, AppendEventRequest, DeleteSessionResponse, PreviewRegistryRecordRequest, DescribeEventsRequest, CreateRegistryRequest, ModifyDeploymentResponse, CreatePreCacheImageTaskRequest } from "./ags_models";
3
3
  /**
4
4
  * ags client
5
5
  * @class
@@ -14,6 +14,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
14
14
  * 对 Record 的指定 Version 或 Label 目标发起一次预览调用。VersionId 与 Label 互斥;均省略时使用 Stable。不创建 Version、不修改 Label。
15
15
  */
16
16
  PreviewRegistryRecord(req: PreviewRegistryRecordRequest, cb?: (error: string, rep: PreviewRegistryRecordResponse) => void): Promise<PreviewRegistryRecordResponse>;
17
+ /**
18
+ * 创建沙箱快照
19
+ 该接口属于 Runtime Snapshot API ,当前为预览版本(Beta)。接口后续可能发生不兼容变更或被弃用,不保证向后兼容。接入方需关注后续版本及变更说明,并根据需要调整调用代码。
20
+ */
21
+ CreateSandboxSnapshot(req: CreateSandboxSnapshotRequest, cb?: (error: string, rep: CreateSandboxSnapshotResponse) => void): Promise<CreateSandboxSnapshotResponse>;
17
22
  /**
18
23
  * 更新沙箱实例
19
24
  */
@@ -46,9 +51,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
46
51
  */
47
52
  SyncRegistryRecord(req: SyncRegistryRecordRequest, cb?: (error: string, rep: SyncRegistryRecordResponse) => void): Promise<SyncRegistryRecordResponse>;
48
53
  /**
49
- * 分页查询指定Registry / Record / Version的审计日志。
50
- */
51
- DescribeRegistryAuditLogList(req: DescribeRegistryAuditLogListRequest, cb?: (error: string, rep: DescribeRegistryAuditLogListResponse) => void): Promise<DescribeRegistryAuditLogListResponse>;
54
+ * 删除沙箱快照
55
+ 该接口属于 Runtime Snapshot API ,当前为预览版本(Beta)。接口后续可能发生不兼容变更或被弃用,不保证向后兼容。接入方需关注后续版本及变更说明,并根据需要调整调用代码。
56
+ */
57
+ DeleteSandboxSnapshot(req: DeleteSandboxSnapshotRequest, cb?: (error: string, rep: DeleteSandboxSnapshotResponse) => void): Promise<DeleteSandboxSnapshotResponse>;
52
58
  /**
53
59
  * 创建新的API密钥,用于调用Agent Sandbox接口。相较于腾讯云Secret ID Secret Key支持调用所有接口使用,仅有部分接口支持使用API密钥调用。
54
60
  */
@@ -88,9 +94,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
88
94
  */
89
95
  DescribeRegistryRecordList(req: DescribeRegistryRecordListRequest, cb?: (error: string, rep: DescribeRegistryRecordListResponse) => void): Promise<DescribeRegistryRecordListResponse>;
90
96
  /**
91
- * 查询沙箱实例列表
97
+ * 查询镜像预热列表
92
98
  */
93
- DescribeSandboxInstanceList(req: DescribeSandboxInstanceListRequest, cb?: (error: string, rep: DescribeSandboxInstanceListResponse) => void): Promise<DescribeSandboxInstanceListResponse>;
99
+ DescribePreCacheImageList(req: DescribePreCacheImageListRequest, cb?: (error: string, rep: DescribePreCacheImageListResponse) => void): Promise<DescribePreCacheImageListResponse>;
94
100
  /**
95
101
  * 恢复沙箱实例
96
102
  */
@@ -108,6 +114,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
108
114
  删除指定的会话空间。仅允许删除不包含会话、事件或用户状态数据的非默认会话空间;系统默认会话空间不能删除。删除成功后不再返回会话空间信息。
109
115
  */
110
116
  DeleteSessionSpace(req: DeleteSessionSpaceRequest, cb?: (error: string, rep: DeleteSessionSpaceResponse) => void): Promise<DeleteSessionSpaceResponse>;
117
+ /**
118
+ * 查询沙箱快照
119
+ 该接口属于 Runtime Snapshot API ,当前为预览版本(Beta)。接口后续可能发生不兼容变更或被弃用,不保证向后兼容。请关注后续版本及变更说明,并根据需要调整调用代码。
120
+ */
121
+ DescribeSandboxSnapshotList(req: DescribeSandboxSnapshotListRequest, cb?: (error: string, rep: DescribeSandboxSnapshotListResponse) => void): Promise<DescribeSandboxSnapshotListResponse>;
111
122
  /**
112
123
  * 删除 Registry。
113
124
  */
@@ -145,6 +156,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
145
156
  * 查询会话列表
146
157
  */
147
158
  DescribeSessions(req: DescribeSessionsRequest, cb?: (error: string, rep: DescribeSessionsResponse) => void): Promise<DescribeSessionsResponse>;
159
+ /**
160
+ * 查询沙箱实例列表
161
+ */
162
+ DescribeSandboxInstanceList(req: DescribeSandboxInstanceListRequest, cb?: (error: string, rep: DescribeSandboxInstanceListResponse) => void): Promise<DescribeSandboxInstanceListResponse>;
148
163
  /**
149
164
  * 查询沙箱工具列表
150
165
  */
@@ -188,6 +203,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
188
203
  * 分页查询当前应用和地域下的会话空间。
189
204
  */
190
205
  DescribeSessionSpaces(req: DescribeSessionSpacesRequest, cb?: (error: string, rep: DescribeSessionSpacesResponse) => void): Promise<DescribeSessionSpacesResponse>;
206
+ /**
207
+ * 删除预热镜像
208
+ */
209
+ DeletePreCacheImage(req: DeletePreCacheImageRequest, cb?: (error: string, rep: DeletePreCacheImageResponse) => void): Promise<DeletePreCacheImageResponse>;
191
210
  /**
192
211
  * 分页查询当前租户可见的 Registry 列表。
193
212
  */
@@ -208,6 +227,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
208
227
  * 停止沙箱实例
209
228
  */
210
229
  StopSandboxInstance(req: StopSandboxInstanceRequest, cb?: (error: string, rep: StopSandboxInstanceResponse) => void): Promise<StopSandboxInstanceResponse>;
230
+ /**
231
+ * 分页查询指定Registry / Record / Version的审计日志。
232
+ */
233
+ DescribeRegistryAuditLogList(req: DescribeRegistryAuditLogListRequest, cb?: (error: string, rep: DescribeRegistryAuditLogListResponse) => void): Promise<DescribeRegistryAuditLogListResponse>;
211
234
  /**
212
235
  * 按 RegistryId 查询 Registry 详情。
213
236
  */
@@ -40,6 +40,13 @@ class Client extends TencentCloudCommon.AbstractClient {
40
40
  async PreviewRegistryRecord(req, cb) {
41
41
  return this.request("PreviewRegistryRecord", req, cb);
42
42
  }
43
+ /**
44
+ * 创建沙箱快照
45
+ 该接口属于 Runtime Snapshot API ,当前为预览版本(Beta)。接口后续可能发生不兼容变更或被弃用,不保证向后兼容。接入方需关注后续版本及变更说明,并根据需要调整调用代码。
46
+ */
47
+ async CreateSandboxSnapshot(req, cb) {
48
+ return this.request("CreateSandboxSnapshot", req, cb);
49
+ }
43
50
  /**
44
51
  * 更新沙箱实例
45
52
  */
@@ -86,10 +93,11 @@ class Client extends TencentCloudCommon.AbstractClient {
86
93
  return this.request("SyncRegistryRecord", req, cb);
87
94
  }
88
95
  /**
89
- * 分页查询指定Registry / Record / Version的审计日志。
90
- */
91
- async DescribeRegistryAuditLogList(req, cb) {
92
- return this.request("DescribeRegistryAuditLogList", req, cb);
96
+ * 删除沙箱快照
97
+ 该接口属于 Runtime Snapshot API ,当前为预览版本(Beta)。接口后续可能发生不兼容变更或被弃用,不保证向后兼容。接入方需关注后续版本及变更说明,并根据需要调整调用代码。
98
+ */
99
+ async DeleteSandboxSnapshot(req, cb) {
100
+ return this.request("DeleteSandboxSnapshot", req, cb);
93
101
  }
94
102
  /**
95
103
  * 创建新的API密钥,用于调用Agent Sandbox接口。相较于腾讯云Secret ID Secret Key支持调用所有接口使用,仅有部分接口支持使用API密钥调用。
@@ -148,10 +156,10 @@ class Client extends TencentCloudCommon.AbstractClient {
148
156
  return this.request("DescribeRegistryRecordList", req, cb);
149
157
  }
150
158
  /**
151
- * 查询沙箱实例列表
159
+ * 查询镜像预热列表
152
160
  */
153
- async DescribeSandboxInstanceList(req, cb) {
154
- return this.request("DescribeSandboxInstanceList", req, cb);
161
+ async DescribePreCacheImageList(req, cb) {
162
+ return this.request("DescribePreCacheImageList", req, cb);
155
163
  }
156
164
  /**
157
165
  * 恢复沙箱实例
@@ -178,6 +186,13 @@ class Client extends TencentCloudCommon.AbstractClient {
178
186
  async DeleteSessionSpace(req, cb) {
179
187
  return this.request("DeleteSessionSpace", req, cb);
180
188
  }
189
+ /**
190
+ * 查询沙箱快照
191
+ 该接口属于 Runtime Snapshot API ,当前为预览版本(Beta)。接口后续可能发生不兼容变更或被弃用,不保证向后兼容。请关注后续版本及变更说明,并根据需要调整调用代码。
192
+ */
193
+ async DescribeSandboxSnapshotList(req, cb) {
194
+ return this.request("DescribeSandboxSnapshotList", req, cb);
195
+ }
181
196
  /**
182
197
  * 删除 Registry。
183
198
  */
@@ -233,6 +248,12 @@ class Client extends TencentCloudCommon.AbstractClient {
233
248
  async DescribeSessions(req, cb) {
234
249
  return this.request("DescribeSessions", req, cb);
235
250
  }
251
+ /**
252
+ * 查询沙箱实例列表
253
+ */
254
+ async DescribeSandboxInstanceList(req, cb) {
255
+ return this.request("DescribeSandboxInstanceList", req, cb);
256
+ }
236
257
  /**
237
258
  * 查询沙箱工具列表
238
259
  */
@@ -296,6 +317,12 @@ class Client extends TencentCloudCommon.AbstractClient {
296
317
  async DescribeSessionSpaces(req, cb) {
297
318
  return this.request("DescribeSessionSpaces", req, cb);
298
319
  }
320
+ /**
321
+ * 删除预热镜像
322
+ */
323
+ async DeletePreCacheImage(req, cb) {
324
+ return this.request("DeletePreCacheImage", req, cb);
325
+ }
299
326
  /**
300
327
  * 分页查询当前租户可见的 Registry 列表。
301
328
  */
@@ -326,6 +353,12 @@ class Client extends TencentCloudCommon.AbstractClient {
326
353
  async StopSandboxInstance(req, cb) {
327
354
  return this.request("StopSandboxInstance", req, cb);
328
355
  }
356
+ /**
357
+ * 分页查询指定Registry / Record / Version的审计日志。
358
+ */
359
+ async DescribeRegistryAuditLogList(req, cb) {
360
+ return this.request("DescribeRegistryAuditLogList", req, cb);
361
+ }
329
362
  /**
330
363
  * 按 RegistryId 查询 Registry 详情。
331
364
  */
@@ -434,6 +434,47 @@ export interface CloudRegistry {
434
434
  */
435
435
  CreatorSubAccountUin?: string;
436
436
  }
437
+ /**
438
+ * 沙箱快照
439
+ */
440
+ export interface SandboxSnapshot {
441
+ /**
442
+ * <p>沙箱快照 ID</p>
443
+ */
444
+ SnapshotId?: string;
445
+ /**
446
+ * <p>沙箱快照名称</p>
447
+ */
448
+ SnapshotName?: string;
449
+ /**
450
+ * <p>源沙箱实例 ID,沙箱快照由其派生</p>
451
+ */
452
+ SourceInstanceId?: string;
453
+ /**
454
+ * <p>制作快照时是否包含内存状态</p>
455
+ */
456
+ MemoryIncluded?: boolean;
457
+ /**
458
+ * <p>沙箱快照状态</p><p>枚举值:</p><ul><li>ACTIVE: 可用</li><li>DELETING: 删除中</li><li>DELETED: 已删除</li></ul>
459
+ */
460
+ Status?: string;
461
+ /**
462
+ * <p>用于说明沙箱快照处于该状态的原因</p>
463
+ */
464
+ StatusReason?: string;
465
+ /**
466
+ * <p>云资源标签</p>
467
+ */
468
+ Tags?: Array<Tag>;
469
+ /**
470
+ * <p>创建时间</p><p>参数格式:ISO8601</p>
471
+ */
472
+ CreateTime?: string;
473
+ /**
474
+ * <p>更新时间</p><p>参数格式:ISO8601</p>
475
+ */
476
+ UpdateTime?: string;
477
+ }
437
478
  /**
438
479
  * UpdateRegistry返回参数结构体
439
480
  */
@@ -692,6 +733,35 @@ export interface DescribeDeploymentRequest {
692
733
  */
693
734
  DeploymentId: string;
694
735
  }
736
+ /**
737
+ * DescribeSandboxSnapshotList请求参数结构体
738
+ */
739
+ export interface DescribeSandboxSnapshotListRequest {
740
+ /**
741
+ * <p>待查询的沙箱快照 ID 列表</p>
742
+ */
743
+ SnapshotIds?: Array<string>;
744
+ /**
745
+ * <p>过滤条件</p>
746
+ */
747
+ Filters?: Array<Filter>;
748
+ /**
749
+ * <p>偏移量,与 NextToken 参数互斥</p>
750
+ */
751
+ Offset?: number;
752
+ /**
753
+ * <p>返回数量上限</p>
754
+ */
755
+ Limit?: number;
756
+ /**
757
+ * <p>分页偏移 token,与 Offset 参数互斥</p>
758
+ */
759
+ NextToken?: string;
760
+ /**
761
+ * <p>每次调用返回的最大结果数。如果查询返回的时候有NextToken返回,您可以使用NextToken值获取更多页结果, 当NextToke返回空或者返回的结果数量小于MaxResults时,表示没有更多数据了。允许的最大页面大小为 100。</p>
762
+ */
763
+ MaxResults?: number;
764
+ }
695
765
  /**
696
766
  * 资源配置
697
767
  */
@@ -939,14 +1009,35 @@ export interface DescribeRegistryRecordVersionListResponse {
939
1009
  RequestId?: string;
940
1010
  }
941
1011
  /**
942
- * StopSandboxInstance返回参数结构体
1012
+ * DeleteSandboxSnapshot返回参数结构体
943
1013
  */
944
- export interface StopSandboxInstanceResponse {
1014
+ export interface DeleteSandboxSnapshotResponse {
945
1015
  /**
946
1016
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
947
1017
  */
948
1018
  RequestId?: string;
949
1019
  }
1020
+ /**
1021
+ * DescribePreCacheImageList请求参数结构体
1022
+ */
1023
+ export interface DescribePreCacheImageListRequest {
1024
+ /**
1025
+ * <p>查询过滤条件。支持 Image, ImageDigest, ImageRegistryType, Status, SourceType;不同 Filter 之间为 AND,同一 Filter 的 Values 之间为 OR。</p>
1026
+ */
1027
+ Filters?: Array<Filter>;
1028
+ /**
1029
+ * <p>返回数据列数</p><p>取值范围:[1, 100]</p><p>默认值:20</p>
1030
+ */
1031
+ MaxResults?: number;
1032
+ /**
1033
+ * <p>NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。</p>
1034
+ */
1035
+ NextToken?: string;
1036
+ /**
1037
+ * <p>默认 false;仅控制是否返回精确总数</p>
1038
+ */
1039
+ NeedTotalCount?: boolean;
1040
+ }
950
1041
  /**
951
1042
  * DescribeRegistryRecordVersionList请求参数结构体
952
1043
  */
@@ -1128,6 +1219,19 @@ export interface SessionInfo {
1128
1219
  */
1129
1220
  UpdateTime?: string;
1130
1221
  }
1222
+ /**
1223
+ * CreateSandboxSnapshot返回参数结构体
1224
+ */
1225
+ export interface CreateSandboxSnapshotResponse {
1226
+ /**
1227
+ * <p>沙箱快照</p>
1228
+ */
1229
+ Snapshot?: SandboxSnapshot;
1230
+ /**
1231
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1232
+ */
1233
+ RequestId?: string;
1234
+ }
1131
1235
  /**
1132
1236
  * DescribeQuotaOverview返回参数结构体
1133
1237
  */
@@ -1386,6 +1490,15 @@ export interface SandboxTool {
1386
1490
  */
1387
1491
  StatusReason?: string;
1388
1492
  }
1493
+ /**
1494
+ * DeleteSandboxSnapshot请求参数结构体
1495
+ */
1496
+ export interface DeleteSandboxSnapshotRequest {
1497
+ /**
1498
+ * <p>待删除的沙箱快照 ID</p>
1499
+ */
1500
+ SnapshotId: string;
1501
+ }
1389
1502
  /**
1390
1503
  * CreateRegistryRecord返回参数结构体
1391
1504
  */
@@ -1456,6 +1569,27 @@ export interface SessionSpaceInfo {
1456
1569
  */
1457
1570
  UpdateTime?: string;
1458
1571
  }
1572
+ /**
1573
+ * DescribePreCacheImageList返回参数结构体
1574
+ */
1575
+ export interface DescribePreCacheImageListResponse {
1576
+ /**
1577
+ * <p>镜像预热总数</p>
1578
+ */
1579
+ TotalCount?: number;
1580
+ /**
1581
+ * <p>镜像预热列表</p>
1582
+ */
1583
+ PreCacheImageList?: Array<PreCacheImage>;
1584
+ /**
1585
+ * <p>如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。</p>
1586
+ */
1587
+ NextToken?: string;
1588
+ /**
1589
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1590
+ */
1591
+ RequestId?: string;
1592
+ }
1459
1593
  /**
1460
1594
  * UpdateSandboxInstance请求参数结构体
1461
1595
  */
@@ -1926,6 +2060,15 @@ export interface UpdateRegistryRecordRequest {
1926
2060
  */
1927
2061
  LabelMutations?: Array<CloudRecordLabelMutation>;
1928
2062
  }
2063
+ /**
2064
+ * DeletePreCacheImage返回参数结构体
2065
+ */
2066
+ export interface DeletePreCacheImageResponse {
2067
+ /**
2068
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2069
+ */
2070
+ RequestId?: string;
2071
+ }
1929
2072
  /**
1930
2073
  * CreateAPIKey返回参数结构体
1931
2074
  */
@@ -2185,6 +2328,47 @@ export interface GetSkillPackageDownloadURLResponse {
2185
2328
  */
2186
2329
  RequestId?: string;
2187
2330
  }
2331
+ /**
2332
+ * 镜像预热产物
2333
+ */
2334
+ export interface PreCacheImage {
2335
+ /**
2336
+ * <p>镜像地址</p>
2337
+ */
2338
+ Image?: string;
2339
+ /**
2340
+ * <p>镜像 Digest</p>
2341
+ */
2342
+ ImageDigest?: string;
2343
+ /**
2344
+ * <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code> 。</p><p>枚举值:</p><ul><li>enterprise: tcr 企业容器镜像服务</li><li>personal: ccr 个人容器镜像服务</li></ul>
2345
+ */
2346
+ ImageRegistryType?: string;
2347
+ /**
2348
+ * <p>镜像预热状态</p>
2349
+ */
2350
+ Status?: string;
2351
+ /**
2352
+ * <p>镜像预热创建时间</p>
2353
+ */
2354
+ CreateTime?: string;
2355
+ /**
2356
+ * <p>镜像预热ID</p>
2357
+ */
2358
+ PreCacheImageId?: string;
2359
+ /**
2360
+ * <p>镜像预热来源</p><p>枚举值:</p><ul><li>AUTO: Sandbox Tool / Instance 自动预热</li><li>EXPLICIT: 手动预热</li><li>TCR_AUTO: TCR自动预热</li></ul>
2361
+ */
2362
+ SourceType?: string;
2363
+ /**
2364
+ * <p>镜像预热存储大小</p><p>单位:Byte</p>
2365
+ */
2366
+ CachedImageSizeBytes?: number;
2367
+ /**
2368
+ * <p>该预热镜像最近一次被沙箱实例使用时间</p>
2369
+ */
2370
+ LastUsedTime?: string;
2371
+ }
2188
2372
  /**
2189
2373
  * Session 快照状态
2190
2374
  */
@@ -2430,6 +2614,27 @@ export interface AgentBucketStorageSource {
2430
2614
  */
2431
2615
  AccessDomain?: string;
2432
2616
  }
2617
+ /**
2618
+ * DeletePreCacheImage请求参数结构体
2619
+ */
2620
+ export interface DeletePreCacheImageRequest {
2621
+ /**
2622
+ * <p>镜像地址</p>
2623
+ */
2624
+ Image?: string;
2625
+ /**
2626
+ * <p>镜像仓库配置</p>
2627
+ */
2628
+ ImageDigest?: string;
2629
+ /**
2630
+ * <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code> 。</p><p>枚举值:</p><ul><li>enterprise: tcr 企业容器镜像服务</li><li>personal: ccr 个人容器镜像服务</li></ul>
2631
+ */
2632
+ ImageRegistryType?: string;
2633
+ /**
2634
+ * <p>镜像预热ID</p>
2635
+ */
2636
+ PreCacheImageId?: string;
2637
+ }
2433
2638
  /**
2434
2639
  * Record Label 变更操作项。Operation=SET 时可携带 VersionId;DELETE 时禁止 VersionId。
2435
2640
  */
@@ -2455,6 +2660,27 @@ export interface CloudRecordLabelMutation {
2455
2660
  */
2456
2661
  Reason?: string;
2457
2662
  }
2663
+ /**
2664
+ * DescribeSandboxSnapshotList返回参数结构体
2665
+ */
2666
+ export interface DescribeSandboxSnapshotListResponse {
2667
+ /**
2668
+ * <p>查询到的沙箱快照列表</p>
2669
+ */
2670
+ SnapshotSet?: Array<SandboxSnapshot>;
2671
+ /**
2672
+ * <p>查询到的沙箱快照数量</p>
2673
+ */
2674
+ TotalCount?: number;
2675
+ /**
2676
+ * <p>分页偏移 token,可用于下一次查询</p>
2677
+ */
2678
+ NextToken?: string;
2679
+ /**
2680
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2681
+ */
2682
+ RequestId?: string;
2683
+ }
2458
2684
  /**
2459
2685
  * PauseSandboxInstance返回参数结构体
2460
2686
  */
@@ -2497,6 +2723,14 @@ export interface StartSandboxInstanceRequest {
2497
2723
  * <p>沙箱工具名称,与 ToolId 至少有一个要填</p>
2498
2724
  */
2499
2725
  ToolName?: string;
2726
+ /**
2727
+ * <p>待克隆的源沙箱 ID</p>
2728
+ */
2729
+ SourceInstanceId?: string;
2730
+ /**
2731
+ * <p>待启动的沙箱快照 ID</p>
2732
+ */
2733
+ SnapshotId?: string;
2500
2734
  /**
2501
2735
  * <p>超时时间,超过这个时间就自动回收实例。支持格式:5m、300s、1h 等,默认 5m。最小 30s,最大 24h</p>
2502
2736
  */
@@ -3155,6 +3389,15 @@ export interface Tag {
3155
3389
  */
3156
3390
  Value?: string;
3157
3391
  }
3392
+ /**
3393
+ * StopSandboxInstance返回参数结构体
3394
+ */
3395
+ export interface StopSandboxInstanceResponse {
3396
+ /**
3397
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3398
+ */
3399
+ RequestId?: string;
3400
+ }
3158
3401
  /**
3159
3402
  * Deployment 活跃容量配置
3160
3403
  */
@@ -3172,6 +3415,31 @@ export interface ScalingConfiguration {
3172
3415
  */
3173
3416
  MaxInstanceRequestConcurrency?: number;
3174
3417
  }
3418
+ /**
3419
+ * CreateSandboxSnapshot请求参数结构体
3420
+ */
3421
+ export interface CreateSandboxSnapshotRequest {
3422
+ /**
3423
+ * <p>待制作快照的沙箱实例 ID</p>
3424
+ */
3425
+ InstanceId?: string;
3426
+ /**
3427
+ * <p>快照名称</p>
3428
+ */
3429
+ SnapshotName?: string;
3430
+ /**
3431
+ * <p>制作快照时是否包含内存状态</p>
3432
+ */
3433
+ Memory?: boolean;
3434
+ /**
3435
+ * <p>云资源标签</p>
3436
+ */
3437
+ Tags?: Array<Tag>;
3438
+ /**
3439
+ * <p>幂等 token</p>
3440
+ */
3441
+ ClientToken?: string;
3442
+ }
3175
3443
  /**
3176
3444
  * AppendEvent请求参数结构体
3177
3445
  */