tencentcloud-sdk-nodejs-ags 4.1.188 → 4.1.198
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
|
@@ -58,47 +58,47 @@ export interface StartSandboxInstanceRequest {
|
|
|
58
58
|
*/
|
|
59
59
|
export interface SandboxInstance {
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* <p>沙箱实例唯一标识符</p>
|
|
62
62
|
*/
|
|
63
63
|
InstanceId: string;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* <p>所属沙箱工具 ID</p>
|
|
66
66
|
*/
|
|
67
67
|
ToolId: string;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* <p>所属沙箱工具名称</p>
|
|
70
70
|
*/
|
|
71
71
|
ToolName: string;
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* <p>实例状态:STARTING(启动中)、RUNNING(运行中)、STOPPING(停止中)、STOPPED(已停止)、STOP_FAILED(停止失败)、FAILED(失败状态)</p>
|
|
74
74
|
*/
|
|
75
75
|
Status: string;
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* <p>超时时间(秒),null 表示无超时设置</p>
|
|
78
78
|
*/
|
|
79
79
|
TimeoutSeconds?: number;
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* <p>过期时间(ISO 8601 格式),null 表示无过期时间</p>
|
|
82
82
|
*/
|
|
83
83
|
ExpiresAt?: string;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* <p>停止原因:manual(手动)、timeout(超时)、error(错误)、system(系统),仅在状态为 STOPPED、STOP_FAILED 或 FAILED 时有值。当 provider 停止失败时,状态为 STOP_FAILED,原因为 error</p>
|
|
86
86
|
*/
|
|
87
87
|
StopReason?: string;
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* <p>创建时间(ISO 8601 格式)</p>
|
|
90
90
|
*/
|
|
91
91
|
CreateTime?: string;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* <p>更新时间(ISO 8601 格式)</p>
|
|
94
94
|
*/
|
|
95
95
|
UpdateTime?: string;
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* <p>存储挂载选项</p>
|
|
98
98
|
*/
|
|
99
99
|
MountOptions?: Array<MountOption>;
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* <p>沙箱实例自定义配置</p>
|
|
102
102
|
*/
|
|
103
103
|
CustomConfiguration?: CustomConfigurationDetail;
|
|
104
104
|
}
|
|
@@ -188,47 +188,47 @@ export interface DescribeSandboxToolListRequest {
|
|
|
188
188
|
*/
|
|
189
189
|
export interface CreateSandboxToolRequest {
|
|
190
190
|
/**
|
|
191
|
-
*
|
|
191
|
+
* <p>沙箱工具名称,长度 1-50 字符,支持英文、数字、下划线和连接线。同一 AppId 下沙箱工具名称必须唯一</p>
|
|
192
192
|
*/
|
|
193
193
|
ToolName: string;
|
|
194
194
|
/**
|
|
195
|
-
*
|
|
195
|
+
* <p>沙箱工具类型,目前支持:browser、code-interpreter、custom</p>
|
|
196
196
|
*/
|
|
197
197
|
ToolType: string;
|
|
198
198
|
/**
|
|
199
|
-
*
|
|
199
|
+
* <p>网络配置</p>
|
|
200
200
|
*/
|
|
201
201
|
NetworkConfiguration: NetworkConfiguration;
|
|
202
202
|
/**
|
|
203
|
-
*
|
|
203
|
+
* <p>沙箱工具描述,最大长度 200 字符</p>
|
|
204
204
|
*/
|
|
205
205
|
Description?: string;
|
|
206
206
|
/**
|
|
207
|
-
*
|
|
207
|
+
* <p>默认超时时间,支持格式:5m、300s、1h 等,不指定则使用系统默认值(5 分钟)。最大 24 小时</p>
|
|
208
208
|
*/
|
|
209
209
|
DefaultTimeout?: string;
|
|
210
210
|
/**
|
|
211
|
-
*
|
|
211
|
+
* <p>标签规格,为沙箱工具绑定标签,支持多种资源类型的标签绑定</p>
|
|
212
212
|
*/
|
|
213
213
|
Tags?: Array<Tag>;
|
|
214
214
|
/**
|
|
215
|
-
*
|
|
215
|
+
* <p>幂等性 Token,长度不超过 64 字符</p>
|
|
216
216
|
*/
|
|
217
217
|
ClientToken?: string;
|
|
218
218
|
/**
|
|
219
|
-
*
|
|
219
|
+
* <p>角色ARN</p>
|
|
220
220
|
*/
|
|
221
221
|
RoleArn?: string;
|
|
222
222
|
/**
|
|
223
|
-
*
|
|
223
|
+
* <p>沙箱工具存储配置</p>
|
|
224
224
|
*/
|
|
225
225
|
StorageMounts?: Array<StorageMount>;
|
|
226
226
|
/**
|
|
227
|
-
*
|
|
227
|
+
* <p>沙箱工具自定义配置</p>
|
|
228
228
|
*/
|
|
229
229
|
CustomConfiguration?: CustomConfiguration;
|
|
230
230
|
/**
|
|
231
|
-
*
|
|
231
|
+
* <p>沙箱工具日志推送相关配置</p>
|
|
232
232
|
*/
|
|
233
233
|
LogConfiguration?: LogConfiguration;
|
|
234
234
|
}
|
|
@@ -352,15 +352,15 @@ export interface DescribePreCacheImageTaskRequest {
|
|
|
352
352
|
*/
|
|
353
353
|
export interface StorageSource {
|
|
354
354
|
/**
|
|
355
|
-
*
|
|
355
|
+
* <p>对象存储桶配置</p>
|
|
356
356
|
*/
|
|
357
357
|
Cos?: CosStorageSource;
|
|
358
358
|
/**
|
|
359
|
-
*
|
|
359
|
+
* <p>镜像卷配置</p>
|
|
360
360
|
*/
|
|
361
361
|
Image?: ImageStorageSource;
|
|
362
362
|
/**
|
|
363
|
-
*
|
|
363
|
+
* <p>文件存储配置</p>
|
|
364
364
|
*/
|
|
365
365
|
Cfs?: CfsStorageSource;
|
|
366
366
|
}
|
|
@@ -382,7 +382,7 @@ export interface ResourceConfiguration {
|
|
|
382
382
|
*/
|
|
383
383
|
export interface CreateSandboxToolResponse {
|
|
384
384
|
/**
|
|
385
|
-
*
|
|
385
|
+
* <p>创建的沙箱工具 ID</p>
|
|
386
386
|
*/
|
|
387
387
|
ToolId?: string;
|
|
388
388
|
/**
|