tencentcloud-sdk-nodejs-ags 4.1.198 → 4.1.202
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
|
@@ -29,29 +29,37 @@ export interface CosStorageSource {
|
|
|
29
29
|
*/
|
|
30
30
|
export interface StartSandboxInstanceRequest {
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* <p>沙箱工具 ID,与 ToolName 至少有一个要填</p>
|
|
33
33
|
*/
|
|
34
34
|
ToolId?: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* <p>沙箱工具名称,与 ToolId 至少有一个要填</p>
|
|
37
37
|
*/
|
|
38
38
|
ToolName?: string;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* <p>超时时间,超过这个时间就自动回收实例。支持格式:5m、300s、1h 等,默认 5m。最小 30s,最大 24h</p>
|
|
41
41
|
*/
|
|
42
42
|
Timeout?: string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* <p>幂等性 Token,长度不超过 64 字符</p>
|
|
45
45
|
*/
|
|
46
46
|
ClientToken?: string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* <p>沙箱实例存储挂载配置</p>
|
|
49
49
|
*/
|
|
50
50
|
MountOptions?: Array<MountOption>;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* <p>沙箱实例自定义配置</p>
|
|
53
53
|
*/
|
|
54
54
|
CustomConfiguration?: CustomConfiguration;
|
|
55
|
+
/**
|
|
56
|
+
* <p>沙箱访问认证模式</p><p>枚举值:</p><ul><li>DEFAULT: 跟随系统策略</li><li>TOKEN: Token认证</li><li>NONE: 免认证 </li></ul><p>默认值:DEFAULT</p>
|
|
57
|
+
*/
|
|
58
|
+
AuthMode?: string;
|
|
59
|
+
/**
|
|
60
|
+
* <p>沙箱元数据</p>
|
|
61
|
+
*/
|
|
62
|
+
Metadata?: Array<MetadataVar>;
|
|
55
63
|
}
|
|
56
64
|
/**
|
|
57
65
|
* 沙箱实例结构体
|
|
@@ -101,6 +109,14 @@ export interface SandboxInstance {
|
|
|
101
109
|
* <p>沙箱实例自定义配置</p>
|
|
102
110
|
*/
|
|
103
111
|
CustomConfiguration?: CustomConfigurationDetail;
|
|
112
|
+
/**
|
|
113
|
+
* <p>网络模式</p><p>枚举值:</p><ul><li>PUBLIC: 公网访问</li><li>SANDBOX: 无网络</li><li>INTERNAL_SERVICE: 腾讯云内部公共服务</li></ul><p>可以覆盖工具级别的网络配置。但如果一个工具本身就不支持 VPC 网络,那么即便在实例设置里选了 VPC 模式,也是无效的</p>
|
|
114
|
+
*/
|
|
115
|
+
NetworkMode?: string;
|
|
116
|
+
/**
|
|
117
|
+
* <p>沙箱实例元数据</p>
|
|
118
|
+
*/
|
|
119
|
+
Metadata?: Array<MetadataVar>;
|
|
104
120
|
}
|
|
105
121
|
/**
|
|
106
122
|
* 文件存储配置
|
|
@@ -542,7 +558,7 @@ export interface Filter {
|
|
|
542
558
|
*/
|
|
543
559
|
export interface StartSandboxInstanceResponse {
|
|
544
560
|
/**
|
|
545
|
-
*
|
|
561
|
+
* <p>创建的沙箱实例完整信息</p>
|
|
546
562
|
*/
|
|
547
563
|
Instance?: SandboxInstance;
|
|
548
564
|
/**
|
|
@@ -622,7 +638,7 @@ export interface AcquireSandboxInstanceTokenRequest {
|
|
|
622
638
|
*/
|
|
623
639
|
export interface PauseSandboxInstanceRequest {
|
|
624
640
|
/**
|
|
625
|
-
*
|
|
641
|
+
* <p>沙箱实例ID</p>
|
|
626
642
|
*/
|
|
627
643
|
InstanceId: string;
|
|
628
644
|
}
|
|
@@ -739,13 +755,17 @@ export type DescribeAPIKeyListRequest = null;
|
|
|
739
755
|
*/
|
|
740
756
|
export interface UpdateSandboxInstanceRequest {
|
|
741
757
|
/**
|
|
742
|
-
*
|
|
758
|
+
* <p>沙箱实例ID</p>
|
|
743
759
|
*/
|
|
744
760
|
InstanceId: string;
|
|
745
761
|
/**
|
|
746
|
-
*
|
|
762
|
+
* <p>新的超时时间(从设置时开始重新计算超时),支持格式:5m、300s、1h等。最小30s,最大24h。如果不指定则保持原有超时设置</p>
|
|
747
763
|
*/
|
|
748
764
|
Timeout?: string;
|
|
765
|
+
/**
|
|
766
|
+
* <p>沙箱实例元数据</p>
|
|
767
|
+
*/
|
|
768
|
+
Metadata?: Array<MetadataVar>;
|
|
749
769
|
}
|
|
750
770
|
/**
|
|
751
771
|
* DeleteSandboxTool请求参数结构体
|
|
@@ -864,6 +884,19 @@ export interface LogConfiguration {
|
|
|
864
884
|
*/
|
|
865
885
|
CLSConfig?: CLSConfig;
|
|
866
886
|
}
|
|
887
|
+
/**
|
|
888
|
+
* metadata 项
|
|
889
|
+
*/
|
|
890
|
+
export interface MetadataVar {
|
|
891
|
+
/**
|
|
892
|
+
* <p>沙箱元数据名</p>
|
|
893
|
+
*/
|
|
894
|
+
Name?: string;
|
|
895
|
+
/**
|
|
896
|
+
* <p>沙箱元数据值</p>
|
|
897
|
+
*/
|
|
898
|
+
Value?: string;
|
|
899
|
+
}
|
|
867
900
|
/**
|
|
868
901
|
* 标签
|
|
869
902
|
*/
|