tencentcloud-sdk-nodejs-ags 4.1.141 → 4.1.157

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.141",
3
+ "version": "4.1.157",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,3 +1,20 @@
1
+ /**
2
+ * 沙箱实例对象存储挂载配置
3
+ */
4
+ export interface CosStorageSource {
5
+ /**
6
+ * 对象存储访问域名
7
+ */
8
+ Endpoint?: string;
9
+ /**
10
+ * 对象存储桶名称
11
+ */
12
+ BucketName?: string;
13
+ /**
14
+ * 对象存储桶路径,必须为以/起始的绝对路径
15
+ */
16
+ BucketPath?: string;
17
+ }
1
18
  /**
2
19
  * StartSandboxInstance请求参数结构体
3
20
  */
@@ -18,6 +35,10 @@ export interface StartSandboxInstanceRequest {
18
35
  * 幂等性 Token,长度不超过 64 字符
19
36
  */
20
37
  ClientToken?: string;
38
+ /**
39
+ * 沙箱实例存储挂载配置
40
+ */
41
+ MountOptions?: Array<MountOption>;
21
42
  }
22
43
  /**
23
44
  * 沙箱实例结构体
@@ -59,6 +80,10 @@ export interface SandboxInstance {
59
80
  * 更新时间(ISO 8601 格式)
60
81
  */
61
82
  UpdateTime?: string;
83
+ /**
84
+ * 存储挂载选项
85
+ */
86
+ MountOptions?: Array<MountOption>;
62
87
  }
63
88
  /**
64
89
  * StopSandboxInstance请求参数结构体
@@ -160,6 +185,14 @@ export interface CreateSandboxToolRequest {
160
185
  * 幂等性 Token,长度不超过 64 字符
161
186
  */
162
187
  ClientToken?: string;
188
+ /**
189
+ * 角色ARN
190
+ */
191
+ RoleArn?: string;
192
+ /**
193
+ * 沙箱工具存储配置
194
+ */
195
+ StorageMounts?: Array<StorageMount>;
163
196
  }
164
197
  /**
165
198
  * DeleteAPIKey返回参数结构体
@@ -204,6 +237,15 @@ export interface UpdateSandboxInstanceResponse {
204
237
  */
205
238
  RequestId?: string;
206
239
  }
240
+ /**
241
+ * 挂载存储配置
242
+ */
243
+ export interface StorageSource {
244
+ /**
245
+ * 对象存储桶配置
246
+ */
247
+ Cos?: CosStorageSource;
248
+ }
207
249
  /**
208
250
  * DeleteSandboxTool请求参数结构体
209
251
  */
@@ -227,9 +269,13 @@ export interface CreateAPIKeyRequest {
227
269
  */
228
270
  export interface NetworkConfiguration {
229
271
  /**
230
- * 网络模式(当前支持 PUBLIC)
272
+ * 网络模式(当前支持 PUBLIC, VPC, SANDBOX
231
273
  */
232
274
  NetworkMode: string;
275
+ /**
276
+ * VPC网络相关配置
277
+ */
278
+ VpcConfig?: VPCConfig;
233
279
  }
234
280
  /**
235
281
  * DeleteSandboxTool返回参数结构体
@@ -284,6 +330,35 @@ export interface SandboxTool {
284
330
  * 沙箱工具更新时间,格式:ISO8601
285
331
  */
286
332
  UpdateTime?: string;
333
+ /**
334
+ * 沙箱工具绑定角色ARN
335
+ */
336
+ RoleArn?: string;
337
+ /**
338
+ * 沙箱工具中实例存储挂载配置
339
+ */
340
+ StorageMounts?: Array<StorageMount>;
341
+ }
342
+ /**
343
+ * 沙箱实例存储挂载配置可选项,用于覆盖沙箱工具的存储配置的部分选项,并提供子路径挂载配置。
344
+ */
345
+ export interface MountOption {
346
+ /**
347
+ * 指定沙箱工具中的存储配置名称
348
+ */
349
+ Name?: string;
350
+ /**
351
+ * 沙箱实例本地挂载路径(可选),默认继承工具中的存储配置
352
+ */
353
+ MountPath?: string;
354
+ /**
355
+ * 沙箱实例存储挂载子路径(可选)
356
+ */
357
+ SubPath?: string;
358
+ /**
359
+ * 沙箱实例存储挂载读写权限(可选),默认继承工具存储配置
360
+ */
361
+ ReadOnly?: boolean;
287
362
  }
288
363
  /**
289
364
  * 过滤列表规则
@@ -401,6 +476,19 @@ export interface UpdateSandboxToolResponse {
401
476
  */
402
477
  RequestId?: string;
403
478
  }
479
+ /**
480
+ * 沙箱工具VPC相关配置
481
+ */
482
+ export interface VPCConfig {
483
+ /**
484
+ * VPC子网ID列表
485
+ */
486
+ SubnetIds?: Array<string>;
487
+ /**
488
+ * 安全组ID列表
489
+ */
490
+ SecurityGroupIds?: Array<string>;
491
+ }
404
492
  /**
405
493
  * DeleteAPIKey请求参数结构体
406
494
  */
@@ -436,6 +524,27 @@ export interface StopSandboxInstanceResponse {
436
524
  */
437
525
  RequestId?: string;
438
526
  }
527
+ /**
528
+ * 沙箱工具中实例存储挂载配置
529
+ */
530
+ export interface StorageMount {
531
+ /**
532
+ * 存储挂载配置名称
533
+ */
534
+ Name?: string;
535
+ /**
536
+ * 存储配置
537
+ */
538
+ StorageSource?: StorageSource;
539
+ /**
540
+ * 沙箱实例本地挂载路径
541
+ */
542
+ MountPath?: string;
543
+ /**
544
+ * 存储挂载读写权限配置,默认为false
545
+ */
546
+ ReadOnly?: boolean;
547
+ }
439
548
  /**
440
549
  * 标签
441
550
  */