tencentcloud-sdk-nodejs 4.1.200 → 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/es/common/sdk_version.js +1 -1
- package/es/services/apis/index.js +4 -0
- package/es/services/apis/v20240801/apis_client.js +102 -0
- package/es/services/apis/v20240801/apis_models.js +1 -0
- package/es/services/apis/v20240801/index.js +6 -0
- package/es/services/cls/v20201016/cls_client.js +16 -4
- package/es/services/config/v20220802/config_client.js +162 -6
- package/es/services/csip/v20221121/csip_client.js +6 -0
- package/es/services/cwp/v20180228/cwp_client.js +3 -0
- package/es/services/dnspod/v20210323/dnspod_client.js +3 -0
- package/es/services/domain/v20180808/domain_client.js +3 -0
- package/es/services/ess/v20201111/ess_client.js +14 -2
- package/es/services/hai/v20230812/hai_client.js +10 -4
- package/es/services/index.js +1 -0
- package/es/services/iotexplorer/v20190423/iotexplorer_client.js +14 -8
- package/es/services/live/v20180801/live_client.js +10 -4
- package/es/services/mongodb/v20190725/mongodb_client.js +3 -0
- package/es/services/monitor/v20230616/monitor_client.js +14 -2
- package/es/services/redis/v20180412/redis_client.js +26 -2
- package/es/services/tcb/v20180608/tcb_client.js +58 -46
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ags/v20250920/ags_models.d.ts +43 -10
- package/tencentcloud/services/apis/index.d.ts +6 -0
- package/tencentcloud/services/apis/index.js +7 -0
- package/tencentcloud/services/apis/v20240801/apis_client.d.ts +138 -0
- package/tencentcloud/services/apis/v20240801/apis_client.js +223 -0
- package/tencentcloud/services/apis/v20240801/apis_models.d.ts +2635 -0
- package/tencentcloud/services/apis/v20240801/apis_models.js +18 -0
- package/tencentcloud/services/apis/v20240801/index.d.ts +6 -0
- package/tencentcloud/services/apis/v20240801/index.js +10 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +12 -0
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +30 -26
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +6 -6
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +21 -5
- package/tencentcloud/services/cls/v20201016/cls_client.js +30 -6
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +484 -122
- package/tencentcloud/services/config/v20220802/config_client.d.ts +215 -7
- package/tencentcloud/services/config/v20220802/config_client.js +321 -9
- package/tencentcloud/services/config/v20220802/config_models.d.ts +2640 -241
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +9 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +12 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +361 -210
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +5 -5
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +5 -5
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +5 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +6 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +72 -13
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +19 -8
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +28 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +5 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +6 -0
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +84 -26
- package/tencentcloud/services/domain/v20180808/domain_client.d.ts +5 -1
- package/tencentcloud/services/domain/v20180808/domain_client.js +6 -0
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +35 -0
- package/tencentcloud/services/es/v20250101/es_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +19 -3
- package/tencentcloud/services/ess/v20201111/ess_client.js +27 -3
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +175 -14
- package/tencentcloud/services/hai/v20230812/hai_client.d.ts +14 -6
- package/tencentcloud/services/hai/v20230812/hai_client.js +19 -7
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +129 -60
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +8 -5
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +7 -7
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +17 -9
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +24 -12
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +76 -4
- package/tencentcloud/services/iss/v20230517/iss_models.d.ts +35 -32
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +8 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +13 -5
- package/tencentcloud/services/live/v20180801/live_client.js +18 -6
- package/tencentcloud/services/live/v20180801/live_models.d.ts +145 -39
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +6 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +42 -0
- package/tencentcloud/services/monitor/v20230616/monitor_client.d.ts +19 -3
- package/tencentcloud/services/monitor/v20230616/monitor_client.js +27 -3
- package/tencentcloud/services/monitor/v20230616/monitor_models.d.ts +279 -37
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +26 -35
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +154 -102
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +11 -7
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +1 -1
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +26 -1
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +35 -3
- package/tencentcloud/services/redis/v20180412/redis_client.js +51 -3
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +909 -345
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +13 -16
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +86 -68
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +118 -92
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +1407 -1160
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +32 -34
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +32 -20
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +17 -4
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +17 -4
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +52 -4
- package/tencentcloud/services/trro/v20220325/trro_models.d.ts +33 -33
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +18 -23
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +156 -211
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +25 -6
|
@@ -120,6 +120,9 @@ export class Client extends AbstractClient {
|
|
|
120
120
|
async DescribeInstanceDTSInfo(req, cb) {
|
|
121
121
|
return this.request("DescribeInstanceDTSInfo", req, cb);
|
|
122
122
|
}
|
|
123
|
+
async DeleteExportTask(req, cb) {
|
|
124
|
+
return this.request("DeleteExportTask", req, cb);
|
|
125
|
+
}
|
|
123
126
|
async InquiryPriceUpgradeInstance(req, cb) {
|
|
124
127
|
return this.request("InquiryPriceUpgradeInstance", req, cb);
|
|
125
128
|
}
|
|
@@ -231,6 +234,15 @@ export class Client extends AbstractClient {
|
|
|
231
234
|
async AssociateSecurityGroups(req, cb) {
|
|
232
235
|
return this.request("AssociateSecurityGroups", req, cb);
|
|
233
236
|
}
|
|
237
|
+
async ModifyLog(req, cb) {
|
|
238
|
+
return this.request("ModifyLog", req, cb);
|
|
239
|
+
}
|
|
240
|
+
async DescribeExportTasks(req, cb) {
|
|
241
|
+
return this.request("DescribeExportTasks", req, cb);
|
|
242
|
+
}
|
|
243
|
+
async DescribeLogs(req, cb) {
|
|
244
|
+
return this.request("DescribeLogs", req, cb);
|
|
245
|
+
}
|
|
234
246
|
async DescribeSSLStatus(req, cb) {
|
|
235
247
|
return this.request("DescribeSSLStatus", req, cb);
|
|
236
248
|
}
|
|
@@ -258,6 +270,9 @@ export class Client extends AbstractClient {
|
|
|
258
270
|
async DescribeInstanceEvents(req, cb) {
|
|
259
271
|
return this.request("DescribeInstanceEvents", req, cb);
|
|
260
272
|
}
|
|
273
|
+
async CloseLog(req, cb) {
|
|
274
|
+
return this.request("CloseLog", req, cb);
|
|
275
|
+
}
|
|
261
276
|
async SwitchInstanceVip(req, cb) {
|
|
262
277
|
return this.request("SwitchInstanceVip", req, cb);
|
|
263
278
|
}
|
|
@@ -273,8 +288,11 @@ export class Client extends AbstractClient {
|
|
|
273
288
|
async ModifyMaintenanceWindow(req, cb) {
|
|
274
289
|
return this.request("ModifyMaintenanceWindow", req, cb);
|
|
275
290
|
}
|
|
276
|
-
async
|
|
277
|
-
return this.request("
|
|
291
|
+
async CreateExportTask(req, cb) {
|
|
292
|
+
return this.request("CreateExportTask", req, cb);
|
|
293
|
+
}
|
|
294
|
+
async DescribeLogInstanceList(req, cb) {
|
|
295
|
+
return this.request("DescribeLogInstanceList", req, cb);
|
|
278
296
|
}
|
|
279
297
|
async DescribeInstanceShards(req, cb) {
|
|
280
298
|
return this.request("DescribeInstanceShards", req, cb);
|
|
@@ -288,12 +306,18 @@ export class Client extends AbstractClient {
|
|
|
288
306
|
async RemoveReplicationGroup(req, cb) {
|
|
289
307
|
return this.request("RemoveReplicationGroup", req, cb);
|
|
290
308
|
}
|
|
309
|
+
async OpenLog(req, cb) {
|
|
310
|
+
return this.request("OpenLog", req, cb);
|
|
311
|
+
}
|
|
291
312
|
async OpenSSL(req, cb) {
|
|
292
313
|
return this.request("OpenSSL", req, cb);
|
|
293
314
|
}
|
|
294
315
|
async DescribeAutoBackupConfig(req, cb) {
|
|
295
316
|
return this.request("DescribeAutoBackupConfig", req, cb);
|
|
296
317
|
}
|
|
318
|
+
async ModifyNetworkConfig(req, cb) {
|
|
319
|
+
return this.request("ModifyNetworkConfig", req, cb);
|
|
320
|
+
}
|
|
297
321
|
async DescribeBandwidthRange(req, cb) {
|
|
298
322
|
return this.request("DescribeBandwidthRange", req, cb);
|
|
299
323
|
}
|
|
@@ -6,14 +6,17 @@ export class Client extends AbstractClient {
|
|
|
6
6
|
async DescribeCreateMySQLResult(req, cb) {
|
|
7
7
|
return this.request("DescribeCreateMySQLResult", req, cb);
|
|
8
8
|
}
|
|
9
|
+
async DescribeGatewayVersions(req, cb) {
|
|
10
|
+
return this.request("DescribeGatewayVersions", req, cb);
|
|
11
|
+
}
|
|
9
12
|
async ModifyClsTopic(req, cb) {
|
|
10
13
|
return this.request("ModifyClsTopic", req, cb);
|
|
11
14
|
}
|
|
12
15
|
async DescribeUserList(req, cb) {
|
|
13
16
|
return this.request("DescribeUserList", req, cb);
|
|
14
17
|
}
|
|
15
|
-
async
|
|
16
|
-
return this.request("
|
|
18
|
+
async DescribeVmSpec(req, cb) {
|
|
19
|
+
return this.request("DescribeVmSpec", req, cb);
|
|
17
20
|
}
|
|
18
21
|
async CreateHostingDomain(req, cb) {
|
|
19
22
|
return this.request("CreateHostingDomain", req, cb);
|
|
@@ -27,35 +30,38 @@ export class Client extends AbstractClient {
|
|
|
27
30
|
async UpdateTable(req, cb) {
|
|
28
31
|
return this.request("UpdateTable", req, cb);
|
|
29
32
|
}
|
|
30
|
-
async
|
|
31
|
-
return this.request("
|
|
33
|
+
async DescribeApiKeyList(req, cb) {
|
|
34
|
+
return this.request("DescribeApiKeyList", req, cb);
|
|
35
|
+
}
|
|
36
|
+
async DeleteVmInstance(req, cb) {
|
|
37
|
+
return this.request("DeleteVmInstance", req, cb);
|
|
32
38
|
}
|
|
33
39
|
async CreateEnvResource(req, cb) {
|
|
34
40
|
return this.request("CreateEnvResource", req, cb);
|
|
35
41
|
}
|
|
36
|
-
async DestroyStaticStore(req, cb) {
|
|
37
|
-
return this.request("DestroyStaticStore", req, cb);
|
|
38
|
-
}
|
|
39
42
|
async CreateEnv(req, cb) {
|
|
40
43
|
return this.request("CreateEnv", req, cb);
|
|
41
44
|
}
|
|
42
45
|
async ModifyDatabaseACL(req, cb) {
|
|
43
46
|
return this.request("ModifyDatabaseACL", req, cb);
|
|
44
47
|
}
|
|
45
|
-
async
|
|
46
|
-
return this.request("
|
|
48
|
+
async CreateVmInstance(req, cb) {
|
|
49
|
+
return this.request("CreateVmInstance", req, cb);
|
|
47
50
|
}
|
|
48
|
-
async
|
|
49
|
-
return this.request("
|
|
51
|
+
async DeleteHTTPServiceRoute(req, cb) {
|
|
52
|
+
return this.request("DeleteHTTPServiceRoute", req, cb);
|
|
53
|
+
}
|
|
54
|
+
async DescribeHTTPServiceRoute(req, cb) {
|
|
55
|
+
return this.request("DescribeHTTPServiceRoute", req, cb);
|
|
50
56
|
}
|
|
51
57
|
async CreateAuthDomain(req, cb) {
|
|
52
58
|
return this.request("CreateAuthDomain", req, cb);
|
|
53
59
|
}
|
|
54
|
-
async
|
|
55
|
-
return this.request("
|
|
60
|
+
async DescribeVmInstances(req, cb) {
|
|
61
|
+
return this.request("DescribeVmInstances", req, cb);
|
|
56
62
|
}
|
|
57
|
-
async
|
|
58
|
-
return this.request("
|
|
63
|
+
async InquireVmPrice(req, cb) {
|
|
64
|
+
return this.request("InquireVmPrice", req, cb);
|
|
59
65
|
}
|
|
60
66
|
async DescribeCloudBaseRunServerVersion(req, cb) {
|
|
61
67
|
return this.request("DescribeCloudBaseRunServerVersion", req, cb);
|
|
@@ -63,8 +69,8 @@ export class Client extends AbstractClient {
|
|
|
63
69
|
async DescribeAuthDomains(req, cb) {
|
|
64
70
|
return this.request("DescribeAuthDomains", req, cb);
|
|
65
71
|
}
|
|
66
|
-
async
|
|
67
|
-
return this.request("
|
|
72
|
+
async DescribeClient(req, cb) {
|
|
73
|
+
return this.request("DescribeClient", req, cb);
|
|
68
74
|
}
|
|
69
75
|
async ModifySafeRule(req, cb) {
|
|
70
76
|
return this.request("ModifySafeRule", req, cb);
|
|
@@ -81,12 +87,15 @@ export class Client extends AbstractClient {
|
|
|
81
87
|
async ModifyClient(req, cb) {
|
|
82
88
|
return this.request("ModifyClient", req, cb);
|
|
83
89
|
}
|
|
84
|
-
async
|
|
85
|
-
return this.request("
|
|
90
|
+
async ModifyHTTPServiceRoute(req, cb) {
|
|
91
|
+
return this.request("ModifyHTTPServiceRoute", req, cb);
|
|
86
92
|
}
|
|
87
93
|
async DescribeHostingDomainTask(req, cb) {
|
|
88
94
|
return this.request("DescribeHostingDomainTask", req, cb);
|
|
89
95
|
}
|
|
96
|
+
async RenewEnv(req, cb) {
|
|
97
|
+
return this.request("RenewEnv", req, cb);
|
|
98
|
+
}
|
|
90
99
|
async ReinstateEnv(req, cb) {
|
|
91
100
|
return this.request("ReinstateEnv", req, cb);
|
|
92
101
|
}
|
|
@@ -105,9 +114,6 @@ export class Client extends AbstractClient {
|
|
|
105
114
|
async ModifyEnv(req, cb) {
|
|
106
115
|
return this.request("ModifyEnv", req, cb);
|
|
107
116
|
}
|
|
108
|
-
async DeleteCloudBaseGWAPI(req, cb) {
|
|
109
|
-
return this.request("DeleteCloudBaseGWAPI", req, cb);
|
|
110
|
-
}
|
|
111
117
|
async DeleteProvider(req, cb) {
|
|
112
118
|
return this.request("DeleteProvider", req, cb);
|
|
113
119
|
}
|
|
@@ -117,8 +123,8 @@ export class Client extends AbstractClient {
|
|
|
117
123
|
async CheckTcbService(req, cb) {
|
|
118
124
|
return this.request("CheckTcbService", req, cb);
|
|
119
125
|
}
|
|
120
|
-
async
|
|
121
|
-
return this.request("
|
|
126
|
+
async CreateApiKey(req, cb) {
|
|
127
|
+
return this.request("CreateApiKey", req, cb);
|
|
122
128
|
}
|
|
123
129
|
async DescribeSafeRule(req, cb) {
|
|
124
130
|
return this.request("DescribeSafeRule", req, cb);
|
|
@@ -129,14 +135,17 @@ export class Client extends AbstractClient {
|
|
|
129
135
|
async DescribeMySQLTaskStatus(req, cb) {
|
|
130
136
|
return this.request("DescribeMySQLTaskStatus", req, cb);
|
|
131
137
|
}
|
|
132
|
-
async
|
|
133
|
-
return this.request("
|
|
138
|
+
async RunSql(req, cb) {
|
|
139
|
+
return this.request("RunSql", req, cb);
|
|
134
140
|
}
|
|
135
141
|
async DescribeQuotaData(req, cb) {
|
|
136
142
|
return this.request("DescribeQuotaData", req, cb);
|
|
137
143
|
}
|
|
138
|
-
async
|
|
139
|
-
return this.request("
|
|
144
|
+
async ModifyProvider(req, cb) {
|
|
145
|
+
return this.request("ModifyProvider", req, cb);
|
|
146
|
+
}
|
|
147
|
+
async DestroyEnv(req, cb) {
|
|
148
|
+
return this.request("DestroyEnv", req, cb);
|
|
140
149
|
}
|
|
141
150
|
async ModifyUser(req, cb) {
|
|
142
151
|
return this.request("ModifyUser", req, cb);
|
|
@@ -150,35 +159,35 @@ export class Client extends AbstractClient {
|
|
|
150
159
|
async DeleteTable(req, cb) {
|
|
151
160
|
return this.request("DeleteTable", req, cb);
|
|
152
161
|
}
|
|
153
|
-
async
|
|
154
|
-
return this.request("
|
|
155
|
-
}
|
|
156
|
-
async DescribeCloudBaseGWService(req, cb) {
|
|
157
|
-
return this.request("DescribeCloudBaseGWService", req, cb);
|
|
162
|
+
async DescribeBillingInfo(req, cb) {
|
|
163
|
+
return this.request("DescribeBillingInfo", req, cb);
|
|
158
164
|
}
|
|
159
165
|
async DescribeCloudBaseBuildService(req, cb) {
|
|
160
166
|
return this.request("DescribeCloudBaseBuildService", req, cb);
|
|
161
167
|
}
|
|
168
|
+
async SearchClsLog(req, cb) {
|
|
169
|
+
return this.request("SearchClsLog", req, cb);
|
|
170
|
+
}
|
|
162
171
|
async DescribeEnvs(req, cb) {
|
|
163
172
|
return this.request("DescribeEnvs", req, cb);
|
|
164
173
|
}
|
|
165
174
|
async DestroyMySQL(req, cb) {
|
|
166
175
|
return this.request("DestroyMySQL", req, cb);
|
|
167
176
|
}
|
|
177
|
+
async RunCommands(req, cb) {
|
|
178
|
+
return this.request("RunCommands", req, cb);
|
|
179
|
+
}
|
|
168
180
|
async CreateBillDeal(req, cb) {
|
|
169
181
|
return this.request("CreateBillDeal", req, cb);
|
|
170
182
|
}
|
|
171
|
-
async
|
|
172
|
-
return this.request("
|
|
173
|
-
}
|
|
174
|
-
async CreateCloudBaseGWAPI(req, cb) {
|
|
175
|
-
return this.request("CreateCloudBaseGWAPI", req, cb);
|
|
183
|
+
async DescribeCurveData(req, cb) {
|
|
184
|
+
return this.request("DescribeCurveData", req, cb);
|
|
176
185
|
}
|
|
177
|
-
async
|
|
178
|
-
return this.request("
|
|
186
|
+
async CreateHTTPServiceRoute(req, cb) {
|
|
187
|
+
return this.request("CreateHTTPServiceRoute", req, cb);
|
|
179
188
|
}
|
|
180
|
-
async
|
|
181
|
-
return this.request("
|
|
189
|
+
async CreateTable(req, cb) {
|
|
190
|
+
return this.request("CreateTable", req, cb);
|
|
182
191
|
}
|
|
183
192
|
async CreateUser(req, cb) {
|
|
184
193
|
return this.request("CreateUser", req, cb);
|
|
@@ -189,11 +198,14 @@ export class Client extends AbstractClient {
|
|
|
189
198
|
async DescribeEnvLimit(req, cb) {
|
|
190
199
|
return this.request("DescribeEnvLimit", req, cb);
|
|
191
200
|
}
|
|
192
|
-
async
|
|
193
|
-
return this.request("
|
|
201
|
+
async EditAuthConfig(req, cb) {
|
|
202
|
+
return this.request("EditAuthConfig", req, cb);
|
|
194
203
|
}
|
|
195
|
-
async
|
|
196
|
-
return this.request("
|
|
204
|
+
async DestroyStaticStore(req, cb) {
|
|
205
|
+
return this.request("DestroyStaticStore", req, cb);
|
|
206
|
+
}
|
|
207
|
+
async DeleteApiKey(req, cb) {
|
|
208
|
+
return this.request("DeleteApiKey", req, cb);
|
|
197
209
|
}
|
|
198
210
|
async AddProvider(req, cb) {
|
|
199
211
|
return this.request("AddProvider", req, cb);
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.1.
|
|
1
|
+
export declare const sdkVersion = "4.1.202";
|
|
@@ -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
|
*/
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { CreateModelServiceRequest, ModifyAgentAppRequest, CreateAgentAppResponse, DescribeAgentAppModelServicesRequest, DeleteAgentCredentialResponse, DescribeMcpServerResponse, DeleteModelServiceResponse, DeleteModelResponse, ModifyModelServiceRequest, ModifyModelResponse, CreateAgentAppModelServicesRequest, DeleteMcpServerResponse, DescribeAgentCredentialsRequest, CreateMcpServerResponse, DescribeAgentAppsRequest, DescribeAgentAppResponse, CreateModelRequest, DescribeModelRequest, DeleteAgentAppModelServicesResponse, CreateModelResponse, DescribeMcpServersRequest, DescribeAgentAppsResponse, ModifyAgentAppResponse, DescribeModelServiceResponse, DescribeAgentCredentialResponse, ModifyAgentAppModelServicesRequest, DescribeModelServiceRequest, DeleteAgentAppMcpServersRequest, CreateMcpServerRequest, DeleteModelServiceRequest, DeleteAgentAppRequest, DeleteMcpServerRequest, ModifyModelRequest, CreateAgentAppModelServicesResponse, DescribeAgentAppMcpServersResponse, DescribeModelServicesRequest, DescribeMcpServerRequest, ModifyAgentAppModelServicesResponse, DeleteAgentAppModelServicesRequest, ModifyAgentCredentialResponse, DeleteAgentCredentialRequest, ModifyModelServiceResponse, CreateAgentAppMcpServersRequest, DescribeMcpServersResponse, ModifyAgentCredentialRequest, CreateAgentAppRequest, CreateModelServiceResponse, DescribeAgentCredentialsResponse, DeleteAgentAppMcpServersResponse, DescribeModelsRequest, DescribeAgentCredentialRequest, CreateAgentCredentialRequest, CreateAgentAppMcpServersResponse, ModifyMcpServerRequest, DescribeModelResponse, DescribeAgentAppMcpServersRequest, DescribeAgentAppRequest, DeleteAgentAppResponse, CreateAgentCredentialResponse, DescribeAgentAppModelServicesResponse, ModifyMcpServerResponse, DeleteModelRequest, DescribeModelsResponse, DescribeModelServicesResponse } from "./apis_models";
|
|
4
|
+
/**
|
|
5
|
+
* apis client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 查询Credential详情
|
|
12
|
+
*/
|
|
13
|
+
DescribeAgentCredential(req?: DescribeAgentCredentialRequest, cb?: (error: string, rep: DescribeAgentCredentialResponse) => void): Promise<DescribeAgentCredentialResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 查询app列表
|
|
16
|
+
*/
|
|
17
|
+
DescribeAgentApps(req: DescribeAgentAppsRequest, cb?: (error: string, rep: DescribeAgentAppsResponse) => void): Promise<DescribeAgentAppsResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 查询模型详情
|
|
20
|
+
*/
|
|
21
|
+
DescribeModel(req: DescribeModelRequest, cb?: (error: string, rep: DescribeModelResponse) => void): Promise<DescribeModelResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* 删除app的mcp server
|
|
24
|
+
*/
|
|
25
|
+
DeleteAgentAppMcpServers(req: DeleteAgentAppMcpServersRequest, cb?: (error: string, rep: DeleteAgentAppMcpServersResponse) => void): Promise<DeleteAgentAppMcpServersResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* 查询模型服务详情
|
|
28
|
+
*/
|
|
29
|
+
DescribeModelService(req: DescribeModelServiceRequest, cb?: (error: string, rep: DescribeModelServiceResponse) => void): Promise<DescribeModelServiceResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 查询Credential列表
|
|
32
|
+
*/
|
|
33
|
+
DescribeAgentCredentials(req?: DescribeAgentCredentialsRequest, cb?: (error: string, rep: DescribeAgentCredentialsResponse) => void): Promise<DescribeAgentCredentialsResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 创建app的mcp server关联
|
|
36
|
+
*/
|
|
37
|
+
CreateAgentAppMcpServers(req: CreateAgentAppMcpServersRequest, cb?: (error: string, rep: CreateAgentAppMcpServersResponse) => void): Promise<CreateAgentAppMcpServersResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* 查询app详情
|
|
40
|
+
*/
|
|
41
|
+
DescribeAgentApp(req: DescribeAgentAppRequest, cb?: (error: string, rep: DescribeAgentAppResponse) => void): Promise<DescribeAgentAppResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* 查询app mcpServer关联列表
|
|
44
|
+
*/
|
|
45
|
+
DescribeAgentAppMcpServers(req: DescribeAgentAppMcpServersRequest, cb?: (error: string, rep: DescribeAgentAppMcpServersResponse) => void): Promise<DescribeAgentAppMcpServersResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* 修改模型
|
|
48
|
+
*/
|
|
49
|
+
ModifyModel(req: ModifyModelRequest, cb?: (error: string, rep: ModifyModelResponse) => void): Promise<ModifyModelResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* 查询mcp server详情
|
|
52
|
+
*/
|
|
53
|
+
DescribeMcpServer(req: DescribeMcpServerRequest, cb?: (error: string, rep: DescribeMcpServerResponse) => void): Promise<DescribeMcpServerResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* 修改Credential
|
|
56
|
+
*/
|
|
57
|
+
ModifyAgentCredential(req?: ModifyAgentCredentialRequest, cb?: (error: string, rep: ModifyAgentCredentialResponse) => void): Promise<ModifyAgentCredentialResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* 删除mcp server
|
|
60
|
+
*/
|
|
61
|
+
DeleteMcpServer(req: DeleteMcpServerRequest, cb?: (error: string, rep: DeleteMcpServerResponse) => void): Promise<DeleteMcpServerResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* 查询mcp server列表
|
|
64
|
+
*/
|
|
65
|
+
DescribeMcpServers(req: DescribeMcpServersRequest, cb?: (error: string, rep: DescribeMcpServersResponse) => void): Promise<DescribeMcpServersResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* 修改mcp server
|
|
68
|
+
*/
|
|
69
|
+
ModifyMcpServer(req: ModifyMcpServerRequest, cb?: (error: string, rep: ModifyMcpServerResponse) => void): Promise<ModifyMcpServerResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* 创建app
|
|
72
|
+
*/
|
|
73
|
+
CreateAgentApp(req: CreateAgentAppRequest, cb?: (error: string, rep: CreateAgentAppResponse) => void): Promise<CreateAgentAppResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* 查询app modelService关联列表
|
|
76
|
+
*/
|
|
77
|
+
DescribeAgentAppModelServices(req?: DescribeAgentAppModelServicesRequest, cb?: (error: string, rep: DescribeAgentAppModelServicesResponse) => void): Promise<DescribeAgentAppModelServicesResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* 删除app的model service关联
|
|
80
|
+
*/
|
|
81
|
+
DeleteAgentAppModelServices(req: DeleteAgentAppModelServicesRequest, cb?: (error: string, rep: DeleteAgentAppModelServicesResponse) => void): Promise<DeleteAgentAppModelServicesResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* 创建模型服务
|
|
84
|
+
*/
|
|
85
|
+
CreateModelService(req: CreateModelServiceRequest, cb?: (error: string, rep: CreateModelServiceResponse) => void): Promise<CreateModelServiceResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* 创建Credential
|
|
88
|
+
*/
|
|
89
|
+
CreateAgentCredential(req?: CreateAgentCredentialRequest, cb?: (error: string, rep: CreateAgentCredentialResponse) => void): Promise<CreateAgentCredentialResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* 删除Credential
|
|
92
|
+
*/
|
|
93
|
+
DeleteAgentCredential(req?: DeleteAgentCredentialRequest, cb?: (error: string, rep: DeleteAgentCredentialResponse) => void): Promise<DeleteAgentCredentialResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* 创建app的model service关联
|
|
96
|
+
*/
|
|
97
|
+
CreateAgentAppModelServices(req: CreateAgentAppModelServicesRequest, cb?: (error: string, rep: CreateAgentAppModelServicesResponse) => void): Promise<CreateAgentAppModelServicesResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* 删除模型服务
|
|
100
|
+
*/
|
|
101
|
+
DeleteModelService(req: DeleteModelServiceRequest, cb?: (error: string, rep: DeleteModelServiceResponse) => void): Promise<DeleteModelServiceResponse>;
|
|
102
|
+
/**
|
|
103
|
+
* 查询模型列表
|
|
104
|
+
*/
|
|
105
|
+
DescribeModels(req: DescribeModelsRequest, cb?: (error: string, rep: DescribeModelsResponse) => void): Promise<DescribeModelsResponse>;
|
|
106
|
+
/**
|
|
107
|
+
* 修改app
|
|
108
|
+
*/
|
|
109
|
+
ModifyAgentApp(req: ModifyAgentAppRequest, cb?: (error: string, rep: ModifyAgentAppResponse) => void): Promise<ModifyAgentAppResponse>;
|
|
110
|
+
/**
|
|
111
|
+
* 修改模型服务
|
|
112
|
+
*/
|
|
113
|
+
ModifyModelService(req: ModifyModelServiceRequest, cb?: (error: string, rep: ModifyModelServiceResponse) => void): Promise<ModifyModelServiceResponse>;
|
|
114
|
+
/**
|
|
115
|
+
* 删除app
|
|
116
|
+
*/
|
|
117
|
+
DeleteAgentApp(req: DeleteAgentAppRequest, cb?: (error: string, rep: DeleteAgentAppResponse) => void): Promise<DeleteAgentAppResponse>;
|
|
118
|
+
/**
|
|
119
|
+
* 创建模型
|
|
120
|
+
*/
|
|
121
|
+
CreateModel(req: CreateModelRequest, cb?: (error: string, rep: CreateModelResponse) => void): Promise<CreateModelResponse>;
|
|
122
|
+
/**
|
|
123
|
+
* 查询模型服务列表
|
|
124
|
+
*/
|
|
125
|
+
DescribeModelServices(req: DescribeModelServicesRequest, cb?: (error: string, rep: DescribeModelServicesResponse) => void): Promise<DescribeModelServicesResponse>;
|
|
126
|
+
/**
|
|
127
|
+
* 编辑app的model service关联
|
|
128
|
+
*/
|
|
129
|
+
ModifyAgentAppModelServices(req: ModifyAgentAppModelServicesRequest, cb?: (error: string, rep: ModifyAgentAppModelServicesResponse) => void): Promise<ModifyAgentAppModelServicesResponse>;
|
|
130
|
+
/**
|
|
131
|
+
* 创建mcp server
|
|
132
|
+
*/
|
|
133
|
+
CreateMcpServer(req: CreateMcpServerRequest, cb?: (error: string, rep: CreateMcpServerResponse) => void): Promise<CreateMcpServerResponse>;
|
|
134
|
+
/**
|
|
135
|
+
* 删除模型
|
|
136
|
+
*/
|
|
137
|
+
DeleteModel(req: DeleteModelRequest, cb?: (error: string, rep: DeleteModelResponse) => void): Promise<DeleteModelResponse>;
|
|
138
|
+
}
|