tencentcloud-sdk-nodejs 4.1.223 → 4.1.225

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.
Files changed (63) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/antiddos/index.js +2 -0
  3. package/es/services/antiddos/v20250903/antiddos_client.js +12 -0
  4. package/es/services/antiddos/v20250903/antiddos_models.js +1 -0
  5. package/es/services/antiddos/v20250903/index.js +6 -0
  6. package/es/services/cvm/v20170312/cvm_client.js +7 -4
  7. package/es/services/emr/v20190103/emr_client.js +14 -2
  8. package/es/services/ess/v20201111/ess_client.js +10 -4
  9. package/es/services/ioa/v20220601/ioa_client.js +30 -0
  10. package/es/services/ocr/v20181119/ocr_client.js +6 -6
  11. package/es/services/organization/v20210331/organization_client.js +7 -4
  12. package/es/services/tione/v20211111/tione_client.js +6 -0
  13. package/package.json +1 -1
  14. package/tencentcloud/common/sdk_version.d.ts +1 -1
  15. package/tencentcloud/common/sdk_version.js +1 -1
  16. package/tencentcloud/services/antiddos/index.d.ts +4 -0
  17. package/tencentcloud/services/antiddos/index.js +2 -0
  18. package/tencentcloud/services/antiddos/v20250903/antiddos_client.d.ts +18 -0
  19. package/tencentcloud/services/antiddos/v20250903/antiddos_client.js +43 -0
  20. package/tencentcloud/services/antiddos/v20250903/antiddos_models.d.ts +115 -0
  21. package/tencentcloud/services/antiddos/v20250903/antiddos_models.js +18 -0
  22. package/tencentcloud/services/antiddos/v20250903/index.d.ts +6 -0
  23. package/tencentcloud/services/antiddos/v20250903/index.js +10 -0
  24. package/tencentcloud/services/apis/v20240801/apis_models.d.ts +65 -0
  25. package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +12 -23
  26. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +14 -10
  27. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +15 -5
  28. package/tencentcloud/services/cvm/v20170312/cvm_client.js +18 -6
  29. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +29 -7
  30. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +95 -64
  31. package/tencentcloud/services/dataagent/v20250513/dataagent_models.d.ts +53 -34
  32. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +12 -12
  33. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +19 -3
  34. package/tencentcloud/services/emr/v20190103/emr_client.js +27 -3
  35. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +894 -302
  36. package/tencentcloud/services/es/v20180416/es_models.d.ts +22 -22
  37. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +30 -22
  38. package/tencentcloud/services/ess/v20201111/ess_client.js +35 -23
  39. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1175 -1033
  40. package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +41 -1
  41. package/tencentcloud/services/ioa/v20220601/ioa_client.js +60 -0
  42. package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +944 -126
  43. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +14 -2
  44. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +6 -6
  45. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +79 -2
  46. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +9 -13
  47. package/tencentcloud/services/ocr/v20181119/ocr_client.js +12 -16
  48. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +6835 -6726
  49. package/tencentcloud/services/organization/v20210331/organization_client.d.ts +9 -5
  50. package/tencentcloud/services/organization/v20210331/organization_client.js +12 -6
  51. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +42 -20
  52. package/tencentcloud/services/partners/v20180321/partners_models.d.ts +4 -4
  53. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +10 -15
  54. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +21 -9
  55. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +37 -33
  56. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +16 -16
  57. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +9 -1
  58. package/tencentcloud/services/tione/v20211111/tione_client.js +12 -0
  59. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +655 -349
  60. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +57 -44
  61. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -1
  62. package/tencentcloud/services/waf/v20180125/waf_client.js +1 -1
  63. package/tencentcloud/services/wimgs/v20251106/wimgs_models.d.ts +3 -13
@@ -1 +1 @@
1
- export const sdkVersion = "4.1.223";
1
+ export const sdkVersion = "4.1.225";
@@ -1,4 +1,6 @@
1
+ import { v20250903 } from "./v20250903";
1
2
  import { v20200309 } from "./v20200309";
2
3
  export const antiddos = {
4
+ v20250903: v20250903,
3
5
  v20200309: v20200309,
4
6
  };
@@ -0,0 +1,12 @@
1
+ import { AbstractClient } from "../../../common/abstract_client";
2
+ export class Client extends AbstractClient {
3
+ constructor(clientConfig) {
4
+ super("antiddos.tencentcloudapi.com", "2025-09-03", clientConfig);
5
+ }
6
+ async DescribeDDoSBlockRecords(req, cb) {
7
+ return this.request("DescribeDDoSBlockRecords", req, cb);
8
+ }
9
+ async UnblockResources(req, cb) {
10
+ return this.request("UnblockResources", req, cb);
11
+ }
12
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import * as Models from "./antiddos_models";
2
+ import { Client } from "./antiddos_client";
3
+ export const v20250903 = {
4
+ Client: Client,
5
+ Models: Models
6
+ };
@@ -24,8 +24,8 @@ export class Client extends AbstractClient {
24
24
  async RunInstances(req, cb) {
25
25
  return this.request("RunInstances", req, cb);
26
26
  }
27
- async ModifyLaunchTemplateDefaultVersion(req, cb) {
28
- return this.request("ModifyLaunchTemplateDefaultVersion", req, cb);
27
+ async DeleteLaunchTemplate(req, cb) {
28
+ return this.request("DeleteLaunchTemplate", req, cb);
29
29
  }
30
30
  async ModifyInstancesVpcAttribute(req, cb) {
31
31
  return this.request("ModifyInstancesVpcAttribute", req, cb);
@@ -90,6 +90,9 @@ export class Client extends AbstractClient {
90
90
  async AssociateInstancesKeyPairs(req, cb) {
91
91
  return this.request("AssociateInstancesKeyPairs", req, cb);
92
92
  }
93
+ async ModifyChcNetworkMode(req, cb) {
94
+ return this.request("ModifyChcNetworkMode", req, cb);
95
+ }
93
96
  async DisassociateInstancesKeyPairs(req, cb) {
94
97
  return this.request("DisassociateInstancesKeyPairs", req, cb);
95
98
  }
@@ -150,8 +153,8 @@ export class Client extends AbstractClient {
150
153
  async ImportInstancesActionTimer(req, cb) {
151
154
  return this.request("ImportInstancesActionTimer", req, cb);
152
155
  }
153
- async DeleteLaunchTemplate(req, cb) {
154
- return this.request("DeleteLaunchTemplate", req, cb);
156
+ async ModifyLaunchTemplateDefaultVersion(req, cb) {
157
+ return this.request("ModifyLaunchTemplateDefaultVersion", req, cb);
155
158
  }
156
159
  async ModifyInstancesDisasterRecoverGroup(req, cb) {
157
160
  return this.request("ModifyInstancesDisasterRecoverGroup", req, cb);
@@ -24,8 +24,8 @@ export class Client extends AbstractClient {
24
24
  async DescribeHBaseTableOverview(req, cb) {
25
25
  return this.request("DescribeHBaseTableOverview", req, cb);
26
26
  }
27
- async DescribeServiceNodeInfos(req, cb) {
28
- return this.request("DescribeServiceNodeInfos", req, cb);
27
+ async CreateDynamicInstance(req, cb) {
28
+ return this.request("CreateDynamicInstance", req, cb);
29
29
  }
30
30
  async ModifyYarnDeploy(req, cb) {
31
31
  return this.request("ModifyYarnDeploy", req, cb);
@@ -57,6 +57,9 @@ export class Client extends AbstractClient {
57
57
  async DescribeHiveQueries(req, cb) {
58
58
  return this.request("DescribeHiveQueries", req, cb);
59
59
  }
60
+ async ModifyDynamicInstance(req, cb) {
61
+ return this.request("ModifyDynamicInstance", req, cb);
62
+ }
60
63
  async ModifyAutoScaleStrategy(req, cb) {
61
64
  return this.request("ModifyAutoScaleStrategy", req, cb);
62
65
  }
@@ -141,6 +144,9 @@ export class Client extends AbstractClient {
141
144
  async DescribeYarnScheduleHistory(req, cb) {
142
145
  return this.request("DescribeYarnScheduleHistory", req, cb);
143
146
  }
147
+ async DescribeServiceNodeInfos(req, cb) {
148
+ return this.request("DescribeServiceNodeInfos", req, cb);
149
+ }
144
150
  async DescribeEmrOverviewMetrics(req, cb) {
145
151
  return this.request("DescribeEmrOverviewMetrics", req, cb);
146
152
  }
@@ -192,6 +198,9 @@ export class Client extends AbstractClient {
192
198
  async ModifySLInstanceBasic(req, cb) {
193
199
  return this.request("ModifySLInstanceBasic", req, cb);
194
200
  }
201
+ async DescribeDynamicInstanceList(req, cb) {
202
+ return this.request("DescribeDynamicInstanceList", req, cb);
203
+ }
195
204
  async TerminateClusterNodes(req, cb) {
196
205
  return this.request("TerminateClusterNodes", req, cb);
197
206
  }
@@ -228,6 +237,9 @@ export class Client extends AbstractClient {
228
237
  async DescribeServiceConfGroupInfos(req, cb) {
229
238
  return this.request("DescribeServiceConfGroupInfos", req, cb);
230
239
  }
240
+ async TerminateDynamicInstances(req, cb) {
241
+ return this.request("TerminateDynamicInstances", req, cb);
242
+ }
231
243
  async DescribeInspectionTaskResult(req, cb) {
232
244
  return this.request("DescribeInspectionTaskResult", req, cb);
233
245
  }
@@ -12,8 +12,8 @@ export class Client extends AbstractClient {
12
12
  async CreateContractComparisonTask(req, cb) {
13
13
  return this.request("CreateContractComparisonTask", req, cb);
14
14
  }
15
- async DescribeFlowTemplates(req, cb) {
16
- return this.request("DescribeFlowTemplates", req, cb);
15
+ async DescribeContractReviewChecklist(req, cb) {
16
+ return this.request("DescribeContractReviewChecklist", req, cb);
17
17
  }
18
18
  async CreateUserAutoSignEnableUrl(req, cb) {
19
19
  return this.request("CreateUserAutoSignEnableUrl", req, cb);
@@ -57,8 +57,11 @@ export class Client extends AbstractClient {
57
57
  async CreateFlowGroupByTemplates(req, cb) {
58
58
  return this.request("CreateFlowGroupByTemplates", req, cb);
59
59
  }
60
- async VerifyDigitFile(req, cb) {
61
- return this.request("VerifyDigitFile", req, cb);
60
+ async ImportContractReviewChecklist(req, cb) {
61
+ return this.request("ImportContractReviewChecklist", req, cb);
62
+ }
63
+ async DescribeFlowTemplates(req, cb) {
64
+ return this.request("DescribeFlowTemplates", req, cb);
62
65
  }
63
66
  async CreatePartnerAutoSignAuthUrl(req, cb) {
64
67
  return this.request("CreatePartnerAutoSignAuthUrl", req, cb);
@@ -288,6 +291,9 @@ export class Client extends AbstractClient {
288
291
  async CreateInformationExtractionWebUrl(req, cb) {
289
292
  return this.request("CreateInformationExtractionWebUrl", req, cb);
290
293
  }
294
+ async VerifyDigitFile(req, cb) {
295
+ return this.request("VerifyDigitFile", req, cb);
296
+ }
291
297
  async CreateExtendedServiceAuthInfos(req, cb) {
292
298
  return this.request("CreateExtendedServiceAuthInfos", req, cb);
293
299
  }
@@ -6,6 +6,9 @@ export class Client extends AbstractClient {
6
6
  async DescribeAggrSoftDeviceList(req, cb) {
7
7
  return this.request("DescribeAggrSoftDeviceList", req, cb);
8
8
  }
9
+ async GrantResourcesByAccounts(req, cb) {
10
+ return this.request("GrantResourcesByAccounts", req, cb);
11
+ }
9
12
  async ExportDeviceDownloadTask(req, cb) {
10
13
  return this.request("ExportDeviceDownloadTask", req, cb);
11
14
  }
@@ -15,6 +18,9 @@ export class Client extends AbstractClient {
15
18
  async DescribeSoftwareInformation(req, cb) {
16
19
  return this.request("DescribeSoftwareInformation", req, cb);
17
20
  }
21
+ async DescribeResourceGrantedAccountGroups(req, cb) {
22
+ return this.request("DescribeResourceGrantedAccountGroups", req, cb);
23
+ }
18
24
  async CreateDLPFileDetectTask(req, cb) {
19
25
  return this.request("CreateDLPFileDetectTask", req, cb);
20
26
  }
@@ -42,12 +48,24 @@ export class Client extends AbstractClient {
42
48
  async DescribeDLPFileDetectResult(req, cb) {
43
49
  return this.request("DescribeDLPFileDetectResult", req, cb);
44
50
  }
51
+ async DescribeResourceGrantedAccounts(req, cb) {
52
+ return this.request("DescribeResourceGrantedAccounts", req, cb);
53
+ }
45
54
  async DescribeAggrSoftCategorySoftList(req, cb) {
46
55
  return this.request("DescribeAggrSoftCategorySoftList", req, cb);
47
56
  }
48
57
  async DescribeDLPEdgeNodes(req, cb) {
49
58
  return this.request("DescribeDLPEdgeNodes", req, cb);
50
59
  }
60
+ async DescribeDirectAccountGroupResources(req, cb) {
61
+ return this.request("DescribeDirectAccountGroupResources", req, cb);
62
+ }
63
+ async GrantResourcesByAccountGroups(req, cb) {
64
+ return this.request("GrantResourcesByAccountGroups", req, cb);
65
+ }
66
+ async CreateBusinessResource(req, cb) {
67
+ return this.request("CreateBusinessResource", req, cb);
68
+ }
51
69
  async DescribeAggrSoftDetail(req, cb) {
52
70
  return this.request("DescribeAggrSoftDetail", req, cb);
53
71
  }
@@ -66,6 +84,9 @@ export class Client extends AbstractClient {
66
84
  async DescribeDeviceDetailList(req, cb) {
67
85
  return this.request("DescribeDeviceDetailList", req, cb);
68
86
  }
87
+ async ModifyDeviceTrustStatus(req, cb) {
88
+ return this.request("ModifyDeviceTrustStatus", req, cb);
89
+ }
69
90
  async DescribeLocalAccounts(req, cb) {
70
91
  return this.request("DescribeLocalAccounts", req, cb);
71
92
  }
@@ -78,10 +99,19 @@ export class Client extends AbstractClient {
78
99
  async DescribeDeviceVirtualGroups(req, cb) {
79
100
  return this.request("DescribeDeviceVirtualGroups", req, cb);
80
101
  }
102
+ async GrantResourcesByVirtualGroups(req, cb) {
103
+ return this.request("GrantResourcesByVirtualGroups", req, cb);
104
+ }
81
105
  async DescribeSoftCensusListByDevice(req, cb) {
82
106
  return this.request("DescribeSoftCensusListByDevice", req, cb);
83
107
  }
84
108
  async ModifyVirtualDeviceGroups(req, cb) {
85
109
  return this.request("ModifyVirtualDeviceGroups", req, cb);
86
110
  }
111
+ async DescribeBusinessResources(req, cb) {
112
+ return this.request("DescribeBusinessResources", req, cb);
113
+ }
114
+ async DescribeResourceGrantedVirtualGroups(req, cb) {
115
+ return this.request("DescribeResourceGrantedVirtualGroups", req, cb);
116
+ }
87
117
  }
@@ -36,6 +36,9 @@ export class Client extends AbstractClient {
36
36
  async RecognizeValidIDCardOCR(req, cb) {
37
37
  return this.request("RecognizeValidIDCardOCR", req, cb);
38
38
  }
39
+ async VerifyScenePhoto(req, cb) {
40
+ return this.request("VerifyScenePhoto", req, cb);
41
+ }
39
42
  async InvoiceGeneralOCR(req, cb) {
40
43
  return this.request("InvoiceGeneralOCR", req, cb);
41
44
  }
@@ -78,9 +81,6 @@ export class Client extends AbstractClient {
78
81
  async FlightInvoiceOCR(req, cb) {
79
82
  return this.request("FlightInvoiceOCR", req, cb);
80
83
  }
81
- async CropEnhanceImageOCR(req, cb) {
82
- return this.request("CropEnhanceImageOCR", req, cb);
83
- }
84
84
  async RecognizeGeneralInvoice(req, cb) {
85
85
  return this.request("RecognizeGeneralInvoice", req, cb);
86
86
  }
@@ -126,15 +126,15 @@ export class Client extends AbstractClient {
126
126
  async BankCardOCR(req, cb) {
127
127
  return this.request("BankCardOCR", req, cb);
128
128
  }
129
- async EraseHandwrittenImageOCR(req, cb) {
130
- return this.request("EraseHandwrittenImageOCR", req, cb);
131
- }
132
129
  async GetOCRToken(req, cb) {
133
130
  return this.request("GetOCRToken", req, cb);
134
131
  }
135
132
  async EduPaperOCR(req, cb) {
136
133
  return this.request("EduPaperOCR", req, cb);
137
134
  }
135
+ async RecognizeAgent(req, cb) {
136
+ return this.request("RecognizeAgent", req, cb);
137
+ }
138
138
  async EnterpriseLicenseOCR(req, cb) {
139
139
  return this.request("EnterpriseLicenseOCR", req, cb);
140
140
  }
@@ -183,8 +183,8 @@ export class Client extends AbstractClient {
183
183
  async ListUserSyncProvisionings(req, cb) {
184
184
  return this.request("ListUserSyncProvisionings", req, cb);
185
185
  }
186
- async UpdateUserStatus(req, cb) {
187
- return this.request("UpdateUserStatus", req, cb);
186
+ async UpdateOrganizationNode(req, cb) {
187
+ return this.request("UpdateOrganizationNode", req, cb);
188
188
  }
189
189
  async DisablePolicyType(req, cb) {
190
190
  return this.request("DisablePolicyType", req, cb);
@@ -201,6 +201,9 @@ export class Client extends AbstractClient {
201
201
  async DeletePolicy(req, cb) {
202
202
  return this.request("DeletePolicy", req, cb);
203
203
  }
204
+ async UpdateUserStatus(req, cb) {
205
+ return this.request("UpdateUserStatus", req, cb);
206
+ }
204
207
  async UpdateOrganizationMembersPolicy(req, cb) {
205
208
  return this.request("UpdateOrganizationMembersPolicy", req, cb);
206
209
  }
@@ -282,8 +285,8 @@ export class Client extends AbstractClient {
282
285
  async GetProvisioningTaskStatus(req, cb) {
283
286
  return this.request("GetProvisioningTaskStatus", req, cb);
284
287
  }
285
- async UpdateOrganizationNode(req, cb) {
286
- return this.request("UpdateOrganizationNode", req, cb);
288
+ async GetIPWhitelist(req, cb) {
289
+ return this.request("GetIPWhitelist", req, cb);
287
290
  }
288
291
  async UpdateShareUnit(req, cb) {
289
292
  return this.request("UpdateShareUnit", req, cb);
@@ -42,6 +42,9 @@ export class Client extends AbstractClient {
42
42
  async StartNotebook(req, cb) {
43
43
  return this.request("StartNotebook", req, cb);
44
44
  }
45
+ async DescribeWorkspaces(req, cb) {
46
+ return this.request("DescribeWorkspaces", req, cb);
47
+ }
45
48
  async DeleteDataset(req, cb) {
46
49
  return this.request("DeleteDataset", req, cb);
47
50
  }
@@ -87,6 +90,9 @@ export class Client extends AbstractClient {
87
90
  async CreateNotebook(req, cb) {
88
91
  return this.request("CreateNotebook", req, cb);
89
92
  }
93
+ async DescribeAnnotatedTaskList(req, cb) {
94
+ return this.request("DescribeAnnotatedTaskList", req, cb);
95
+ }
90
96
  async DescribeMountInstances(req, cb) {
91
97
  return this.request("DescribeMountInstances", req, cb);
92
98
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.1.223",
3
+ "version": "4.1.225",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.1.223";
1
+ export declare const sdkVersion = "4.1.225";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.1.223";
4
+ exports.sdkVersion = "4.1.225";
@@ -1,4 +1,8 @@
1
1
  export declare const antiddos: {
2
+ v20250903: {
3
+ Client: typeof import("./v20250903/antiddos_client").Client;
4
+ Models: typeof import("./v20250903/antiddos_models");
5
+ };
2
6
  v20200309: {
3
7
  Client: typeof import("./v20200309/antiddos_client").Client;
4
8
  Models: typeof import("./v20200309/antiddos_models");
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.antiddos = void 0;
4
+ const v20250903_1 = require("./v20250903");
4
5
  const v20200309_1 = require("./v20200309");
5
6
  exports.antiddos = {
7
+ v20250903: v20250903_1.v20250903,
6
8
  v20200309: v20200309_1.v20200309,
7
9
  };
@@ -0,0 +1,18 @@
1
+ import { AbstractClient } from "../../../common/abstract_client";
2
+ import { ClientConfig } from "../../../common/interface";
3
+ import { UnblockResourcesResponse, DescribeDDoSBlockRecordsResponse, UnblockResourcesRequest, DescribeDDoSBlockRecordsRequest } from "./antiddos_models";
4
+ /**
5
+ * antiddos client
6
+ * @class
7
+ */
8
+ export declare class Client extends AbstractClient {
9
+ constructor(clientConfig: ClientConfig);
10
+ /**
11
+ * 查询封堵解封记录和解封配额信息。
12
+ */
13
+ DescribeDDoSBlockRecords(req: DescribeDDoSBlockRecordsRequest, cb?: (error: string, rep: DescribeDDoSBlockRecordsResponse) => void): Promise<DescribeDDoSBlockRecordsResponse>;
14
+ /**
15
+ * 申请解封资源,可通过 DescribeDDoSBlockRecords 接口获取资源的封堵解封状态。
16
+ */
17
+ UnblockResources(req: UnblockResourcesRequest, cb?: (error: string, rep: UnblockResourcesResponse) => void): Promise<UnblockResourcesResponse>;
18
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Client = void 0;
4
+ /* eslint-disable @typescript-eslint/no-unused-vars */
5
+ /*
6
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+ const abstract_client_1 = require("../../../common/abstract_client");
22
+ /**
23
+ * antiddos client
24
+ * @class
25
+ */
26
+ class Client extends abstract_client_1.AbstractClient {
27
+ constructor(clientConfig) {
28
+ super("antiddos.tencentcloudapi.com", "2025-09-03", clientConfig);
29
+ }
30
+ /**
31
+ * 查询封堵解封记录和解封配额信息。
32
+ */
33
+ async DescribeDDoSBlockRecords(req, cb) {
34
+ return this.request("DescribeDDoSBlockRecords", req, cb);
35
+ }
36
+ /**
37
+ * 申请解封资源,可通过 DescribeDDoSBlockRecords 接口获取资源的封堵解封状态。
38
+ */
39
+ async UnblockResources(req, cb) {
40
+ return this.request("UnblockResources", req, cb);
41
+ }
42
+ }
43
+ exports.Client = Client;
@@ -0,0 +1,115 @@
1
+ /**
2
+ * 当前账号剩余解封配额信息。购买高防产品的用户默认解封配额为三个资源,系统将在每天零点(UTC+8)时区重置解封配额数,当天未使用的解封配额数不会累计到次日;DDoS 高防包(轻量版)解封配额数为每月三个资源,每月重置。
3
+ */
4
+ export interface DDoSUnblockQuota {
5
+ /**
6
+ * <p>解封次数配额总数。</p>
7
+ */
8
+ TotalQuota?: number;
9
+ /**
10
+ * <p>已使用的配额总数。</p>
11
+ */
12
+ UsedQuota?: number;
13
+ /**
14
+ * <p>配额生效的起始时间。</p>
15
+ */
16
+ QuotaStartTime?: string;
17
+ /**
18
+ * <p>配额生效的结束时间。</p>
19
+ */
20
+ QuotaEndTime?: string;
21
+ }
22
+ /**
23
+ * 描述键值对过滤器,用于条件过滤查询。例如过滤 ID、名称、状态等。 若存在多个 Filter 时,Filter 间的关系为逻辑与(AND)关系。 若同一个 Filter 存在多个 Values,同一 Filter 下 Values 间的关系为逻辑或(OR)关系。
24
+ */
25
+ export interface Filter {
26
+ /**
27
+ * <p>需要过滤的字段;具体可选择值请查看对应的引用接口。</p>
28
+ */
29
+ Name: string;
30
+ /**
31
+ * <p>字段的过滤值。</p>
32
+ */
33
+ Values: Array<string>;
34
+ }
35
+ /**
36
+ * UnblockResources返回参数结构体
37
+ */
38
+ export interface UnblockResourcesResponse {
39
+ /**
40
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
41
+ */
42
+ RequestId?: string;
43
+ }
44
+ /**
45
+ * 封堵记录
46
+ */
47
+ export interface DDoSBlockRecord {
48
+ /**
49
+ * <p>被封堵的资源,公网 IP,示例如下:</p><ul><li> 公网 IP:117.175.94.231。</li></ul>
50
+ */
51
+ Resource?: string;
52
+ /**
53
+ * <p>被封堵的时间。</p>
54
+ */
55
+ BlockTime?: string;
56
+ /**
57
+ * <p>封堵解封状态。</p><p>枚举值:</p><ul><li>Blocked:已封堵;</li><li>Unblocking:解封中;</li><li>Unblocked:已解封。</li></ul>
58
+ */
59
+ Status?: string;
60
+ }
61
+ /**
62
+ * DescribeDDoSBlockRecords返回参数结构体
63
+ */
64
+ export interface DescribeDDoSBlockRecordsResponse {
65
+ /**
66
+ * <p>封堵解封记录总数。</p>
67
+ */
68
+ TotalCount?: number;
69
+ /**
70
+ * <p>封堵解封记录。</p>
71
+ */
72
+ BlockRecords?: Array<DDoSBlockRecord>;
73
+ /**
74
+ * <p>解封次数配额信息。</p>
75
+ */
76
+ UnblockQuotaInfo?: DDoSUnblockQuota;
77
+ /**
78
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
79
+ */
80
+ RequestId?: string;
81
+ }
82
+ /**
83
+ * UnblockResources请求参数结构体
84
+ */
85
+ export interface UnblockResourcesRequest {
86
+ /**
87
+ * <p>申请解封的资源列表。支持按照公网 IP 解封;可通过 DescribeDDoSBlockRecords 接口获取被封堵的资源详情。参数示例如下:</p><ul><li>公网 IP:117.175.94.230。</li></ul><p>入参限制:列表长度最大限制 10。</p>
88
+ */
89
+ Resources: Array<string>;
90
+ }
91
+ /**
92
+ * DescribeDDoSBlockRecords请求参数结构体
93
+ */
94
+ export interface DescribeDDoSBlockRecordsRequest {
95
+ /**
96
+ * <p>查询的起始时间。最高支持近一年的数据查询。</p><p>参数格式:2026-02-04T11:30:00+08:00。</p>
97
+ */
98
+ StartTime: string;
99
+ /**
100
+ * <p>查询的结束时间。查询时间范围(EndTime - StartTime)需小于等于 31 天。</p><p>参数格式:2026-03-04T11:30:00+08:00。</p>
101
+ */
102
+ EndTime: string;
103
+ /**
104
+ * <p>过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 appid 下所有被封堵过的资源列表。详细的过滤条件如下:</p><ul><li> Resource:可按照被封堵的 IP 或者被封堵的资源六段式进行过滤;</li><li> Status:可按照被封堵的资源状态进行过滤。</li></ul><p>当 Filters.Name 取值为 Status 时,Filters.Values 取值有:</p><ul><li>Blocked:已封堵;</li><li>Unblocking:解封中;</li><li>Unblocked:已解封。</li></ul>
105
+ */
106
+ Filters?: Array<Filter>;
107
+ /**
108
+ * <p>分页查询限制数,最大值为 100。</p><p>默认值:20</p>
109
+ */
110
+ Limit?: number;
111
+ /**
112
+ * <p>分页查询偏移量。</p><p>默认值:0</p>
113
+ */
114
+ Offset?: number;
115
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import * as Models from "./antiddos_models";
2
+ import { Client } from "./antiddos_client";
3
+ export declare const v20250903: {
4
+ Client: typeof Client;
5
+ Models: typeof Models;
6
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.v20250903 = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const Models = tslib_1.__importStar(require("./antiddos_models"));
6
+ const antiddos_client_1 = require("./antiddos_client");
7
+ exports.v20250903 = {
8
+ Client: antiddos_client_1.Client,
9
+ Models: Models
10
+ };
@@ -86,6 +86,26 @@ export interface CreateModelServiceRequest {
86
86
  * <p>敏感数据检测配置</p>
87
87
  */
88
88
  SensitiveDataCheckConfig?: SensitiveDataCheckConfigDTO;
89
+ /**
90
+ * <p>负载方式</p><p>枚举值:</p><ul><li>random: 随机</li><li>consistentHash: 会话保持</li></ul>
91
+ */
92
+ TargetSelect?: string;
93
+ /**
94
+ * <p>会话判断方式</p><p>枚举值:</p><ul><li>fromClientIP: 客户端IP</li><li>fromHeader: 通过header值</li><li>autoDetect: 自动探测</li></ul>
95
+ */
96
+ FindHostKeyMethod?: string;
97
+ /**
98
+ * <p>会话判定方式为fromHeader时会话的header名称</p>
99
+ */
100
+ HostKeyHeaderName?: string;
101
+ /**
102
+ * <p>是否启用Fallback模型</p>
103
+ */
104
+ FallbackStatus?: boolean;
105
+ /**
106
+ * <p>Fallback模型配置</p>
107
+ */
108
+ FallbackModels?: Array<TargetModelDTO>;
89
109
  }
90
110
  /**
91
111
  * secretKey的出参
@@ -724,6 +744,26 @@ export interface ModifyModelServiceRequest {
724
744
  * <p>敏感数据检测配置</p>
725
745
  */
726
746
  SensitiveDataCheckConfig?: SensitiveDataCheckConfigDTO;
747
+ /**
748
+ * <p>负载方式</p><p>枚举值:</p><ul><li>random: 随机</li><li>consistentHash: 会话保持</li></ul>
749
+ */
750
+ TargetSelect?: string;
751
+ /**
752
+ * <p>会话判断方式</p><p>枚举值:</p><ul><li>fromClientIP: 从客户端IP判断</li><li>fromHeader: 从请求header判断</li><li>autoDetect: 自动探测</li></ul>
753
+ */
754
+ FindHostKeyMethod?: string;
755
+ /**
756
+ * <p>会话判断header名称</p>
757
+ */
758
+ HostKeyHeaderName?: string;
759
+ /**
760
+ * <p>是否开启备份模型</p>
761
+ */
762
+ FallbackStatus?: boolean;
763
+ /**
764
+ * <p>备份模型</p>
765
+ */
766
+ FallbackModels?: Array<TargetModelDTO>;
727
767
  }
728
768
  /**
729
769
  * ModifyModel返回参数结构体
@@ -2531,6 +2571,31 @@ export interface DescribeModelServiceResponseVO {
2531
2571
  注意:此字段可能返回 null,表示取不到有效值。
2532
2572
  */
2533
2573
  SensitiveDataCheckConfig?: SensitiveDataCheckConfigDTO;
2574
+ /**
2575
+ * <p>负载方式</p><p>枚举值:</p><ul><li>random: 随机</li><li>consistentHash: 会话保持</li></ul>
2576
+ 注意:此字段可能返回 null,表示取不到有效值。
2577
+ */
2578
+ TargetSelect?: string;
2579
+ /**
2580
+ * <p>会话判断方式</p><p>枚举值:</p><ul><li>fromClientIP: 从客户端IP判断</li><li>fromHeader: 从请求header判断</li><li>autoDetect: 自动探测</li></ul>
2581
+ 注意:此字段可能返回 null,表示取不到有效值。
2582
+ */
2583
+ FindHostKeyMethod?: string;
2584
+ /**
2585
+ * <p>会话判断header名称</p>
2586
+ 注意:此字段可能返回 null,表示取不到有效值。
2587
+ */
2588
+ HostKeyHeaderName?: string;
2589
+ /**
2590
+ * <p>是否开启备份模型</p>
2591
+ 注意:此字段可能返回 null,表示取不到有效值。
2592
+ */
2593
+ FallbackStatus?: boolean;
2594
+ /**
2595
+ * <p>备份模型</p>
2596
+ 注意:此字段可能返回 null,表示取不到有效值。
2597
+ */
2598
+ FallbackModels?: Array<TargetModelDTO>;
2534
2599
  }
2535
2600
  /**
2536
2601
  * DescribeModelsSort