tencentcloud-sdk-nodejs-ags 4.1.325 → 4.1.327

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.
@@ -63,8 +63,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
63
63
  async DescribeRegistryRecordList(req, cb) {
64
64
  return this.request("DescribeRegistryRecordList", req, cb);
65
65
  }
66
- async DescribeSandboxInstanceList(req, cb) {
67
- return this.request("DescribeSandboxInstanceList", req, cb);
66
+ async DescribePreCacheImageList(req, cb) {
67
+ return this.request("DescribePreCacheImageList", req, cb);
68
68
  }
69
69
  async ResumeSandboxInstance(req, cb) {
70
70
  return this.request("ResumeSandboxInstance", req, cb);
@@ -108,6 +108,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
108
108
  async DescribeSessions(req, cb) {
109
109
  return this.request("DescribeSessions", req, cb);
110
110
  }
111
+ async DescribeSandboxInstanceList(req, cb) {
112
+ return this.request("DescribeSandboxInstanceList", req, cb);
113
+ }
111
114
  async DescribeSandboxToolList(req, cb) {
112
115
  return this.request("DescribeSandboxToolList", req, cb);
113
116
  }
@@ -138,6 +141,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
138
141
  async DescribeSessionSpaces(req, cb) {
139
142
  return this.request("DescribeSessionSpaces", req, cb);
140
143
  }
144
+ async DeletePreCacheImage(req, cb) {
145
+ return this.request("DeletePreCacheImage", req, cb);
146
+ }
141
147
  async DescribeRegistryList(req, cb) {
142
148
  return this.request("DescribeRegistryList", req, cb);
143
149
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ags",
3
- "version": "4.1.325",
3
+ "version": "4.1.327",
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, DescribeSandboxSnapshotListRequest, DescribeSessionSpaceResponse, CreateSandboxToolResponse, CreateRegistryResponse, DeleteAPIKeyRequest, DeleteDeploymentRequest, GetSkillPackageUploadURLRequest, UpdateSandboxToolRequest, DescribeSessionSpacesResponse, DescribeRegistryRecordVersionListResponse, DeleteSandboxSnapshotResponse, DescribeRegistryRecordVersionListRequest, RejectRegistryRecordRequest, CreateDeploymentRequest, StopSandboxInstanceRequest, GetSkillPackageDownloadURLRequest, DescribeSandboxToolListResponse, CreateSandboxSnapshotResponse, DescribeQuotaOverviewResponse, UpdateSandboxToolResponse, DescribeRegistryRecordRequest, CancelRegistryRecordRequest, DescribeSandboxToolListRequest, DeleteSandboxToolRequest, CreateAPIKeyRequest, DeleteSandboxToolResponse, DeleteSandboxSnapshotRequest, 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, 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";
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
@@ -94,9 +94,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
94
94
  */
95
95
  DescribeRegistryRecordList(req: DescribeRegistryRecordListRequest, cb?: (error: string, rep: DescribeRegistryRecordListResponse) => void): Promise<DescribeRegistryRecordListResponse>;
96
96
  /**
97
- * 查询沙箱实例列表
97
+ * 查询镜像预热列表
98
98
  */
99
- DescribeSandboxInstanceList(req: DescribeSandboxInstanceListRequest, cb?: (error: string, rep: DescribeSandboxInstanceListResponse) => void): Promise<DescribeSandboxInstanceListResponse>;
99
+ DescribePreCacheImageList(req: DescribePreCacheImageListRequest, cb?: (error: string, rep: DescribePreCacheImageListResponse) => void): Promise<DescribePreCacheImageListResponse>;
100
100
  /**
101
101
  * 恢复沙箱实例
102
102
  */
@@ -156,6 +156,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
156
156
  * 查询会话列表
157
157
  */
158
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>;
159
163
  /**
160
164
  * 查询沙箱工具列表
161
165
  */
@@ -199,6 +203,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
199
203
  * 分页查询当前应用和地域下的会话空间。
200
204
  */
201
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>;
202
210
  /**
203
211
  * 分页查询当前租户可见的 Registry 列表。
204
212
  */
@@ -156,10 +156,10 @@ class Client extends TencentCloudCommon.AbstractClient {
156
156
  return this.request("DescribeRegistryRecordList", req, cb);
157
157
  }
158
158
  /**
159
- * 查询沙箱实例列表
159
+ * 查询镜像预热列表
160
160
  */
161
- async DescribeSandboxInstanceList(req, cb) {
162
- return this.request("DescribeSandboxInstanceList", req, cb);
161
+ async DescribePreCacheImageList(req, cb) {
162
+ return this.request("DescribePreCacheImageList", req, cb);
163
163
  }
164
164
  /**
165
165
  * 恢复沙箱实例
@@ -248,6 +248,12 @@ class Client extends TencentCloudCommon.AbstractClient {
248
248
  async DescribeSessions(req, cb) {
249
249
  return this.request("DescribeSessions", req, cb);
250
250
  }
251
+ /**
252
+ * 查询沙箱实例列表
253
+ */
254
+ async DescribeSandboxInstanceList(req, cb) {
255
+ return this.request("DescribeSandboxInstanceList", req, cb);
256
+ }
251
257
  /**
252
258
  * 查询沙箱工具列表
253
259
  */
@@ -311,6 +317,12 @@ class Client extends TencentCloudCommon.AbstractClient {
311
317
  async DescribeSessionSpaces(req, cb) {
312
318
  return this.request("DescribeSessionSpaces", req, cb);
313
319
  }
320
+ /**
321
+ * 删除预热镜像
322
+ */
323
+ async DeletePreCacheImage(req, cb) {
324
+ return this.request("DeletePreCacheImage", req, cb);
325
+ }
314
326
  /**
315
327
  * 分页查询当前租户可见的 Registry 列表。
316
328
  */
@@ -307,6 +307,19 @@ export interface RejectRegistryRecordResponse {
307
307
  */
308
308
  RequestId?: string;
309
309
  }
310
+ /**
311
+ * SecurityContext 包含将应用于容器的安全配置。
312
+ */
313
+ export interface SecurityContext {
314
+ /**
315
+ * <p>是否开启特权</p><p>默认值:true</p>
316
+ */
317
+ Privileged?: boolean;
318
+ /**
319
+ * <p>Capabilities 指的是可以添加到正在运行的容器中或从中移除的 POSIX capabilities。</p>
320
+ */
321
+ Capabilities?: Capabilities;
322
+ }
310
323
  /**
311
324
  * 腾讯云自定义标签。
312
325
  */
@@ -1017,6 +1030,27 @@ export interface DeleteSandboxSnapshotResponse {
1017
1030
  */
1018
1031
  RequestId?: string;
1019
1032
  }
1033
+ /**
1034
+ * DescribePreCacheImageList请求参数结构体
1035
+ */
1036
+ export interface DescribePreCacheImageListRequest {
1037
+ /**
1038
+ * <p>查询过滤条件。支持 Image, ImageDigest, ImageRegistryType, Status, SourceType;不同 Filter 之间为 AND,同一 Filter 的 Values 之间为 OR。</p>
1039
+ */
1040
+ Filters?: Array<Filter>;
1041
+ /**
1042
+ * <p>返回数据列数</p><p>取值范围:[1, 100]</p><p>默认值:20</p>
1043
+ */
1044
+ MaxResults?: number;
1045
+ /**
1046
+ * <p>NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。</p>
1047
+ */
1048
+ NextToken?: string;
1049
+ /**
1050
+ * <p>默认 false;仅控制是否返回精确总数</p>
1051
+ */
1052
+ NeedTotalCount?: boolean;
1053
+ }
1020
1054
  /**
1021
1055
  * DescribeRegistryRecordVersionList请求参数结构体
1022
1056
  */
@@ -1105,6 +1139,21 @@ export interface CfsStorageSource {
1105
1139
  */
1106
1140
  Path?: string;
1107
1141
  }
1142
+ /**
1143
+ * 对 VolumeTemplate 的引用
1144
+ */
1145
+ export interface VolumeTemplateRef {
1146
+ /**
1147
+ * <p>VolumeTemplate 名称</p>
1148
+ 注意:此字段可能返回 null,表示取不到有效值。
1149
+ */
1150
+ VolumeTemplateName: string;
1151
+ /**
1152
+ * <p>复用键,可为字面量或 ${metadata.xxx}</p>
1153
+ 注意:此字段可能返回 null,表示取不到有效值。
1154
+ */
1155
+ ReuseKey?: string;
1156
+ }
1108
1157
  /**
1109
1158
  * StopSandboxInstance请求参数结构体
1110
1159
  */
@@ -1548,6 +1597,27 @@ export interface SessionSpaceInfo {
1548
1597
  */
1549
1598
  UpdateTime?: string;
1550
1599
  }
1600
+ /**
1601
+ * DescribePreCacheImageList返回参数结构体
1602
+ */
1603
+ export interface DescribePreCacheImageListResponse {
1604
+ /**
1605
+ * <p>镜像预热总数</p>
1606
+ */
1607
+ TotalCount?: number;
1608
+ /**
1609
+ * <p>镜像预热列表</p>
1610
+ */
1611
+ PreCacheImageList?: Array<PreCacheImage>;
1612
+ /**
1613
+ * <p>如果NextToken返回非空字符串 ,表示还有更多可用结果。 NextToken是每个页面唯一的分页令牌。使用返回的令牌再次调用以检索下一页。需要保持所有其他参数不变。</p>
1614
+ */
1615
+ NextToken?: string;
1616
+ /**
1617
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1618
+ */
1619
+ RequestId?: string;
1620
+ }
1551
1621
  /**
1552
1622
  * UpdateSandboxInstance请求参数结构体
1553
1623
  */
@@ -1630,6 +1700,10 @@ export interface CustomConfiguration {
1630
1700
  * <p>沙箱 DNS 配置</p>
1631
1701
  */
1632
1702
  DNSConfig?: DNSConfig;
1703
+ /**
1704
+ * <p>沙箱安全上下文</p>
1705
+ */
1706
+ SecurityContext?: SecurityContext;
1633
1707
  }
1634
1708
  /**
1635
1709
  * SyncRegistryRecord请求参数结构体
@@ -2018,6 +2092,15 @@ export interface UpdateRegistryRecordRequest {
2018
2092
  */
2019
2093
  LabelMutations?: Array<CloudRecordLabelMutation>;
2020
2094
  }
2095
+ /**
2096
+ * DeletePreCacheImage返回参数结构体
2097
+ */
2098
+ export interface DeletePreCacheImageResponse {
2099
+ /**
2100
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2101
+ */
2102
+ RequestId?: string;
2103
+ }
2021
2104
  /**
2022
2105
  * CreateAPIKey返回参数结构体
2023
2106
  */
@@ -2078,6 +2161,21 @@ export interface AcquireDeploymentTokenRequest {
2078
2161
  */
2079
2162
  DeploymentId: string;
2080
2163
  }
2164
+ /**
2165
+ * 对 Volume 的引用,其中 Name 或 Id 之一必须不为空
2166
+ */
2167
+ export interface VolumeRef {
2168
+ /**
2169
+ * Volume 名称;服务端在当前认证 AppId 下解析为稳定 VolumeId
2170
+ 注意:此字段可能返回 null,表示取不到有效值。
2171
+ */
2172
+ VolumeName?: string;
2173
+ /**
2174
+ * 稳定 Volume ID,格式 vol-xxxxxxxx
2175
+ 注意:此字段可能返回 null,表示取不到有效值。
2176
+ */
2177
+ VolumeId?: string;
2178
+ }
2081
2179
  /**
2082
2180
  * DescribeEvents返回参数结构体
2083
2181
  */
@@ -2229,6 +2327,10 @@ export interface CustomConfigurationDetail {
2229
2327
  * <p>沙箱 DNS 配置</p>
2230
2328
  */
2231
2329
  DNSConfig?: DNSConfig;
2330
+ /**
2331
+ * <p>沙箱安全上下文</p>
2332
+ */
2333
+ SecurityContext?: SecurityContext;
2232
2334
  }
2233
2335
  /**
2234
2336
  * CreateDeployment返回参数结构体
@@ -2277,6 +2379,47 @@ export interface GetSkillPackageDownloadURLResponse {
2277
2379
  */
2278
2380
  RequestId?: string;
2279
2381
  }
2382
+ /**
2383
+ * 镜像预热产物
2384
+ */
2385
+ export interface PreCacheImage {
2386
+ /**
2387
+ * <p>镜像地址</p>
2388
+ */
2389
+ Image?: string;
2390
+ /**
2391
+ * <p>镜像 Digest</p>
2392
+ */
2393
+ ImageDigest?: string;
2394
+ /**
2395
+ * <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code> 。</p><p>枚举值:</p><ul><li>enterprise: tcr 企业容器镜像服务</li><li>personal: ccr 个人容器镜像服务</li></ul>
2396
+ */
2397
+ ImageRegistryType?: string;
2398
+ /**
2399
+ * <p>镜像预热状态</p>
2400
+ */
2401
+ Status?: string;
2402
+ /**
2403
+ * <p>镜像预热创建时间</p>
2404
+ */
2405
+ CreateTime?: string;
2406
+ /**
2407
+ * <p>镜像预热ID</p>
2408
+ */
2409
+ PreCacheImageId?: string;
2410
+ /**
2411
+ * <p>镜像预热来源</p><p>枚举值:</p><ul><li>AUTO: Sandbox Tool / Instance 自动预热</li><li>EXPLICIT: 手动预热</li><li>TCR_AUTO: TCR自动预热</li></ul>
2412
+ */
2413
+ SourceType?: string;
2414
+ /**
2415
+ * <p>镜像预热存储大小</p><p>单位:Byte</p>
2416
+ */
2417
+ CachedImageSizeBytes?: number;
2418
+ /**
2419
+ * <p>该预热镜像最近一次被沙箱实例使用时间</p>
2420
+ */
2421
+ LastUsedTime?: string;
2422
+ }
2280
2423
  /**
2281
2424
  * Session 快照状态
2282
2425
  */
@@ -2522,6 +2665,27 @@ export interface AgentBucketStorageSource {
2522
2665
  */
2523
2666
  AccessDomain?: string;
2524
2667
  }
2668
+ /**
2669
+ * DeletePreCacheImage请求参数结构体
2670
+ */
2671
+ export interface DeletePreCacheImageRequest {
2672
+ /**
2673
+ * <p>镜像地址</p>
2674
+ */
2675
+ Image?: string;
2676
+ /**
2677
+ * <p>镜像仓库配置</p>
2678
+ */
2679
+ ImageDigest?: string;
2680
+ /**
2681
+ * <p>镜像仓库类型:<code>enterprise</code>、<code>personal</code>、<code>custom</code> 。</p><p>枚举值:</p><ul><li>enterprise: tcr 企业容器镜像服务</li><li>personal: ccr 个人容器镜像服务</li></ul>
2682
+ */
2683
+ ImageRegistryType?: string;
2684
+ /**
2685
+ * <p>镜像预热ID</p>
2686
+ */
2687
+ PreCacheImageId?: string;
2688
+ }
2525
2689
  /**
2526
2690
  * Record Label 变更操作项。Operation=SET 时可携带 VersionId;DELETE 时禁止 VersionId。
2527
2691
  */
@@ -2614,6 +2778,10 @@ export interface StartSandboxInstanceRequest {
2614
2778
  * <p>待克隆的源沙箱 ID</p>
2615
2779
  */
2616
2780
  SourceInstanceId?: string;
2781
+ /**
2782
+ * <p>待启动的沙箱快照 ID</p>
2783
+ */
2784
+ SnapshotId?: string;
2617
2785
  /**
2618
2786
  * <p>超时时间,超过这个时间就自动回收实例。支持格式:5m、300s、1h 等,默认 5m。最小 30s,最大 24h</p>
2619
2787
  */
@@ -2738,6 +2906,19 @@ export interface SandboxInstance {
2738
2906
  */
2739
2907
  AuthMode?: string;
2740
2908
  }
2909
+ /**
2910
+ * 可以添加到正在运行的容器中或从中移除的 POSIX POSIX capabilities。
2911
+ */
2912
+ export interface Capabilities {
2913
+ /**
2914
+ * <p>要添加的capabilities</p><p>取值参考:[&quot;SYS_ADMIN&quot;]</p>
2915
+ */
2916
+ Add?: Array<string>;
2917
+ /**
2918
+ * <p>要移除的capabilities</p><p>取值参考:[&quot;ALL&quot;]</p>
2919
+ */
2920
+ Drop?: Array<string>;
2921
+ }
2741
2922
  /**
2742
2923
  * waa自定义配置项
2743
2924
  */
@@ -2768,6 +2949,16 @@ export interface StorageMount {
2768
2949
  * <p>存储挂载读写权限配置,默认为false</p>
2769
2950
  */
2770
2951
  ReadOnly?: boolean;
2952
+ /**
2953
+ * <p>Volume的引用</p>
2954
+ 注意:此字段可能返回 null,表示取不到有效值。
2955
+ */
2956
+ Volume?: VolumeRef;
2957
+ /**
2958
+ * <p>VolumeTemplate 的引用以及派生规则</p>
2959
+ 注意:此字段可能返回 null,表示取不到有效值。
2960
+ */
2961
+ VolumeTemplate?: VolumeTemplateRef;
2771
2962
  }
2772
2963
  /**
2773
2964
  * 桌面电脑环境类沙箱配置