tencentcloud-sdk-nodejs-intl-en 3.0.1278 → 3.0.1280
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 +1 -1
- package/tencentcloud/ccc/v20200210/ccc_client.js +31 -1
- package/tencentcloud/ccc/v20200210/models.js +522 -110
- package/tencentcloud/ckafka/v20190819/ckafka_client.js +140 -56
- package/tencentcloud/ckafka/v20190819/models.js +2185 -1109
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/cvm_client.js +0 -1
- package/tencentcloud/cvm/v20170312/models.js +30 -18
- package/tencentcloud/dbbrain/index.js +1 -1
- package/tencentcloud/lkeap/v20240522/lkeap_client.js +25 -11
- package/tencentcloud/lkeap/v20240522/models.js +454 -264
- package/tencentcloud/mdl/v20200326/models.js +29 -1
- package/tencentcloud/mps/v20190612/models.js +1630 -476
- package/tencentcloud/mps/v20190612/mps_client.js +16 -3
- package/tencentcloud/sms/index.js +1 -1
- package/tencentcloud/tke/index.js +1 -1
- package/tencentcloud/vm/index.js +1 -1
- package/tencentcloud/vod/index.js +1 -1
- package/tencentcloud/vpc/v20170312/models.js +41 -26
- package/tencentcloud/vpc/v20170312/vpc_client.js +1 -2
- package/tencentcloud/wedata/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1280";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -1221,7 +1221,6 @@ This API is used to ensure your account balance is sufficient for renewal. You c
|
|
|
1221
1221
|
|
|
1222
1222
|
/**
|
|
1223
1223
|
* This API is used to create CDH instances with specified configuration.
|
|
1224
|
-
* When HostChargeType is PREPAID, the HostChargePrepaid parameter must be specified.
|
|
1225
1224
|
* @param {AllocateHostsRequest} req
|
|
1226
1225
|
* @param {function(string, AllocateHostsResponse):void} cb
|
|
1227
1226
|
* @public
|
|
@@ -1190,7 +1190,7 @@ class SystemDisk extends AbstractModel {
|
|
|
1190
1190
|
super();
|
|
1191
1191
|
|
|
1192
1192
|
/**
|
|
1193
|
-
* Specifies the system disk type. for the restrictions on the system disk type, refer to [storage overview](https://
|
|
1193
|
+
* Specifies the system disk type. for the restrictions on the system disk type, refer to [storage overview](https://www.tencentcloud.com/document/product/362/31636). value range:<br>
|
|
1194
1194
|
<li>LOCAL_BASIC: Local SATA disk</li>
|
|
1195
1195
|
<li>LOCAL_SSD: Local NVMe SSD</li>
|
|
1196
1196
|
<li>CLOUD_BASIC: Cloud SATA disk</li>
|
|
@@ -1206,7 +1206,7 @@ Default value: Current disk types with inventory available.
|
|
|
1206
1206
|
|
|
1207
1207
|
/**
|
|
1208
1208
|
* System disk ID.
|
|
1209
|
-
Currently, this parameter is only used for response parameters in query apis such as [DescribeInstances](https://www.tencentcloud.
|
|
1209
|
+
Currently, this parameter is only used for response parameters in query apis such as [DescribeInstances](https://www.tencentcloud.com/document/api/213/33258) and is not applicable to request parameters in write apis such as [RunInstances](https://www.tencentcloud.com/document/api/213/33237).
|
|
1210
1210
|
* @type {string || null}
|
|
1211
1211
|
*/
|
|
1212
1212
|
this.DiskId = null;
|
|
@@ -1389,13 +1389,13 @@ class AllocateHostsRequest extends AbstractModel {
|
|
|
1389
1389
|
this.ClientToken = null;
|
|
1390
1390
|
|
|
1391
1391
|
/**
|
|
1392
|
-
* Configuration of prepaid instances. You can use the parameter to specify the attributes of prepaid instances, such as the subscription period and the auto-renewal plan. This parameter is required for prepaid instances.
|
|
1392
|
+
* Not supported. Configuration of prepaid instances. You can use the parameter to specify the attributes of prepaid instances, such as the subscription period and the auto-renewal plan. This parameter is required for prepaid instances.
|
|
1393
1393
|
* @type {ChargePrepaid || null}
|
|
1394
1394
|
*/
|
|
1395
1395
|
this.HostChargePrepaid = null;
|
|
1396
1396
|
|
|
1397
1397
|
/**
|
|
1398
|
-
* Instance billing
|
|
1398
|
+
* Instance [billing type](https://intl.cloud.tencent.com/document/product/213/2180?from_cn_redirect=1). <br><li>`POSTPAID_BY_HOUR`: Hourly-based pay-as-you-go <br>
|
|
1399
1399
|
* @type {string || null}
|
|
1400
1400
|
*/
|
|
1401
1401
|
this.HostChargeType = null;
|
|
@@ -2516,6 +2516,12 @@ class EnterRescueModeRequest extends AbstractModel {
|
|
|
2516
2516
|
*/
|
|
2517
2517
|
this.ForceStop = null;
|
|
2518
2518
|
|
|
2519
|
+
/**
|
|
2520
|
+
*
|
|
2521
|
+
* @type {string || null}
|
|
2522
|
+
*/
|
|
2523
|
+
this.StopType = null;
|
|
2524
|
+
|
|
2519
2525
|
}
|
|
2520
2526
|
|
|
2521
2527
|
/**
|
|
@@ -2529,6 +2535,7 @@ class EnterRescueModeRequest extends AbstractModel {
|
|
|
2529
2535
|
this.Password = 'Password' in params ? params.Password : null;
|
|
2530
2536
|
this.Username = 'Username' in params ? params.Username : null;
|
|
2531
2537
|
this.ForceStop = 'ForceStop' in params ? params.ForceStop : null;
|
|
2538
|
+
this.StopType = 'StopType' in params ? params.StopType : null;
|
|
2532
2539
|
|
|
2533
2540
|
}
|
|
2534
2541
|
}
|
|
@@ -3462,13 +3469,13 @@ class Placement extends AbstractModel {
|
|
|
3462
3469
|
this.Zone = null;
|
|
3463
3470
|
|
|
3464
3471
|
/**
|
|
3465
|
-
* Instance'S project ID. obtain this parameter by calling the `ProjectId` field in the return value of [DescribeProject](https://www.tencentcloud.
|
|
3472
|
+
* Instance'S project ID. obtain this parameter by calling the `ProjectId` field in the return value of [DescribeProject](https://www.tencentcloud.com/document/product/651/54679). default value 0 means default project.
|
|
3466
3473
|
* @type {number || null}
|
|
3467
3474
|
*/
|
|
3468
3475
|
this.ProjectId = null;
|
|
3469
3476
|
|
|
3470
3477
|
/**
|
|
3471
|
-
* Specifies the dedicated host ID list for instance ownership, only used for input parameters. if you purchase a dedicated host and specify this parameter, instances you purchase will be randomly deployed on these dedicated hosts. obtain this parameter by calling the `HostId` field in the return value of [DescribeHosts](https://www.tencentcloud.
|
|
3478
|
+
* Specifies the dedicated host ID list for instance ownership, only used for input parameters. if you purchase a dedicated host and specify this parameter, instances you purchase will be randomly deployed on these dedicated hosts. obtain this parameter by calling the `HostId` field in the return value of [DescribeHosts](https://www.tencentcloud.com/document/product/213/33279?lang=en).
|
|
3472
3479
|
* @type {Array.<string> || null}
|
|
3473
3480
|
*/
|
|
3474
3481
|
this.HostIds = null;
|
|
@@ -6036,7 +6043,7 @@ Note: this field is null in postpaid mode.
|
|
|
6036
6043
|
this.LoginSettings = null;
|
|
6037
6044
|
|
|
6038
6045
|
/**
|
|
6039
|
-
* Instance status. for specific status types, see the
|
|
6046
|
+
* Instance status. for specific status types, see the [instance status table](https://www.tencentcloud.com/document/product/213/15753#instancestatus)
|
|
6040
6047
|
* @type {string || null}
|
|
6041
6048
|
*/
|
|
6042
6049
|
this.InstanceState = null;
|
|
@@ -7465,6 +7472,12 @@ class InquiryPriceResetInstanceRequest extends AbstractModel {
|
|
|
7465
7472
|
*/
|
|
7466
7473
|
this.EnhancedService = null;
|
|
7467
7474
|
|
|
7475
|
+
/**
|
|
7476
|
+
*
|
|
7477
|
+
* @type {string || null}
|
|
7478
|
+
*/
|
|
7479
|
+
this.UserData = null;
|
|
7480
|
+
|
|
7468
7481
|
}
|
|
7469
7482
|
|
|
7470
7483
|
/**
|
|
@@ -7494,6 +7507,7 @@ class InquiryPriceResetInstanceRequest extends AbstractModel {
|
|
|
7494
7507
|
obj.deserialize(params.EnhancedService)
|
|
7495
7508
|
this.EnhancedService = obj;
|
|
7496
7509
|
}
|
|
7510
|
+
this.UserData = 'UserData' in params ? params.UserData : null;
|
|
7497
7511
|
|
|
7498
7512
|
}
|
|
7499
7513
|
}
|
|
@@ -8408,8 +8422,7 @@ Only applicable to accounts, regions, and billing modes (annual/monthly subscrip
|
|
|
8408
8422
|
this.LoginSettings = null;
|
|
8409
8423
|
|
|
8410
8424
|
/**
|
|
8411
|
-
* Security group to which an instance belongs. obtain this parameter by calling the `SecurityGroupId` field in the return value of [DescribeSecurityGroups](https://www.tencentcloud.
|
|
8412
|
-
|
|
8425
|
+
* Security group to which an instance belongs. obtain this parameter by calling the `SecurityGroupId` field in the return value of [DescribeSecurityGroups](https://www.tencentcloud.com/document/product/215/15808?from_search=1). if not specified, bind the default security group under the designated project. if the default security group does not exist, automatically create it.
|
|
8413
8426
|
* @type {Array.<string> || null}
|
|
8414
8427
|
*/
|
|
8415
8428
|
this.SecurityGroupIds = null;
|
|
@@ -8522,7 +8535,7 @@ If the dry run succeeds, the RequestId will be returned.
|
|
|
8522
8535
|
this.DisableApiTermination = null;
|
|
8523
8536
|
|
|
8524
8537
|
/**
|
|
8525
|
-
* Whether the instance enables jumbo frames. valid values:<br><li/> true: means the instance enables jumbo frames. only models supporting jumbo frames can be set to true.<br><li/> false: means the instance disables jumbo frames. only models supporting jumbo frames can be set to false.<br> instance specifications supporting jumbo frames: [instance specifications](https://www.tencentcloud.
|
|
8538
|
+
* Whether the instance enables jumbo frames. valid values:<br><li/> true: means the instance enables jumbo frames. only models supporting jumbo frames can be set to true.<br><li/> false: means the instance disables jumbo frames. only models supporting jumbo frames can be set to false.<br> instance specifications supporting jumbo frames: [instance specifications](https://www.tencentcloud.com/document/product/213/11518?lang=en&pg=).
|
|
8526
8539
|
* @type {boolean || null}
|
|
8527
8540
|
*/
|
|
8528
8541
|
this.EnableJumboFrame = null;
|
|
@@ -12103,13 +12116,13 @@ class VirtualPrivateCloud extends AbstractModel {
|
|
|
12103
12116
|
super();
|
|
12104
12117
|
|
|
12105
12118
|
/**
|
|
12106
|
-
* vpc ID, such as `vpc-xxx`. valid vpc ids can be queried by logging in to the console (https://console.cloud.tencent.com/vpc/vpc?rid=1) or by calling the API [DescribeVpcs](https://www.tencentcloud.
|
|
12119
|
+
* vpc ID, such as `vpc-xxx`. valid vpc ids can be queried by logging in to the console (https://console.cloud.tencent.com/vpc/vpc?rid=1) or by calling the API [DescribeVpcs](https://www.tencentcloud.com/document/product/215/15778?lang=en) and obtaining the `VpcId` field from the API response. if both VpcId and SubnetId are input as `DEFAULT` when creating an instance, the DEFAULT vpc network will be forcibly used.
|
|
12107
12120
|
* @type {string || null}
|
|
12108
12121
|
*/
|
|
12109
12122
|
this.VpcId = null;
|
|
12110
12123
|
|
|
12111
12124
|
/**
|
|
12112
|
-
* vpc subnet ID, in the form of `subnet-xxx`. valid vpc subnet ids can be queried by logging in to the console
|
|
12125
|
+
* vpc subnet ID, in the form of `subnet-xxx`. valid vpc subnet ids can be queried by logging in to the [console](https://console.tencentcloud.com/vpc/subnet); or they can be obtained from the `SubnetId` field in the API response by calling the [DescribeSubnets](https://www.tencentcloud.com/document/product/215/15784) API . if SubnetId and VpcId are both input as `DEFAULT` when creating an instance, the DEFAULT vpc network will be forcibly used.
|
|
12113
12126
|
* @type {string || null}
|
|
12114
12127
|
*/
|
|
12115
12128
|
this.SubnetId = null;
|
|
@@ -12188,27 +12201,26 @@ class ResizeInstanceDisksRequest extends AbstractModel {
|
|
|
12188
12201
|
super();
|
|
12189
12202
|
|
|
12190
12203
|
/**
|
|
12191
|
-
* Instance ID.
|
|
12204
|
+
* Instance ID to be operated. can be obtained from the `InstanceId` in the return value from the DescribeInstances api (https://www.tencentcloud.comom/document/api/213/15728?from_cn_redirect=1).
|
|
12192
12205
|
* @type {string || null}
|
|
12193
12206
|
*/
|
|
12194
12207
|
this.InstanceId = null;
|
|
12195
12208
|
|
|
12196
12209
|
/**
|
|
12197
|
-
*
|
|
12210
|
+
* Specifies the configuration information of the data disk to be expanded, only supporting specifying the target capacity of the disk to be expanded. only non-elastic data disks (with `Portable` being `false` in the return values of [DescribeDisks](https://www.tencentcloud.comom/document/api/362/16315?from_cn_redirect=1)) can be expanded. the unit of data disk capacity is GiB. the minimum expansion step is 10 GiB. for data disk type selection, refer to [disk product introduction](https://www.tencentcloud.comom/document/product/362/2353?from_cn_redirect=1). the available data disk type is restricted by the instance type `InstanceType`. additionally, the maximum allowable capacity for expansion varies by data disk type.
|
|
12198
12211
|
<dx-alert infotype="explain" title="">You should specify either DataDisks or SystemDisk, but you cannot specify both at the same time.</dx-alert>
|
|
12199
12212
|
* @type {Array.<DataDisk> || null}
|
|
12200
12213
|
*/
|
|
12201
12214
|
this.DataDisks = null;
|
|
12202
12215
|
|
|
12203
12216
|
/**
|
|
12204
|
-
*
|
|
12217
|
+
* Specifies whether to forcibly shut down a running instance. it is recommended to manually shut down a running instance first and then expand the instance disk. valid values:<br><li>true: forcibly shut down an instance after a normal shutdown fails.</li><br><li>false: do not forcibly shut down an instance after a normal shutdown fails.</li><br><br>default value: false.<br><br>forced shutdown is equivalent to turning off a physical computer's power switch. forced shutdown may cause data loss or file system corruption and should only be used when a server cannot be shut down normally.
|
|
12205
12218
|
* @type {boolean || null}
|
|
12206
12219
|
*/
|
|
12207
12220
|
this.ForceStop = null;
|
|
12208
12221
|
|
|
12209
12222
|
/**
|
|
12210
|
-
*
|
|
12211
|
-
|
|
12223
|
+
* System disk configuration information to be expanded. only supports specifying the purpose capacity of the disk to be expanded. only supports cloud disk expansion.
|
|
12212
12224
|
<dx-alert infotype="explain" title="">You should specify either DataDisks or SystemDisk, but you cannot specify both at the same time.</dx-alert>
|
|
12213
12225
|
* @type {SystemDisk || null}
|
|
12214
12226
|
*/
|
|
@@ -12427,7 +12439,7 @@ class InternetAccessible extends AbstractModel {
|
|
|
12427
12439
|
this.BandwidthPackageId = null;
|
|
12428
12440
|
|
|
12429
12441
|
/**
|
|
12430
|
-
* Line type. for details on various types of lines and supported regions, refer to [EIP IP address types](https://
|
|
12442
|
+
* Line type. for details on various types of lines and supported regions, refer to [EIP IP address types](https://cloud.tencent.com/document/product/1199/41646). default value: BGP.
|
|
12431
12443
|
<Li>BGP: specifies the general bgp line.</li>.
|
|
12432
12444
|
For a user with static single-line IP allowlist enabled, valid values include:.
|
|
12433
12445
|
<Li>CMCC: china mobile.</li>.
|
|
@@ -17,24 +17,27 @@
|
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
19
|
const CreateSplitDocumentFlowRequest = models.CreateSplitDocumentFlowRequest;
|
|
20
|
-
const
|
|
21
|
-
const
|
|
20
|
+
const ReconstructDocumentSSEResponse = models.ReconstructDocumentSSEResponse;
|
|
21
|
+
const GetReconstructDocumentResultRequest = models.GetReconstructDocumentResultRequest;
|
|
22
22
|
const Usage = models.Usage;
|
|
23
|
-
const
|
|
24
|
-
const
|
|
23
|
+
const CreateSplitDocumentFlowResponse = models.CreateSplitDocumentFlowResponse;
|
|
24
|
+
const ReconstructDocumentSSEConfig = models.ReconstructDocumentSSEConfig;
|
|
25
25
|
const DocumentUsage = models.DocumentUsage;
|
|
26
|
-
const RunRerankResponse = models.RunRerankResponse;
|
|
27
|
-
const CreateReconstructDocumentFlowResponse = models.CreateReconstructDocumentFlowResponse;
|
|
28
26
|
const GetReconstructDocumentResultResponse = models.GetReconstructDocumentResultResponse;
|
|
29
27
|
const CreateReconstructDocumentFlowConfig = models.CreateReconstructDocumentFlowConfig;
|
|
28
|
+
const RunRerankRequest = models.RunRerankRequest;
|
|
29
|
+
const ReconstructDocumentSSERequest = models.ReconstructDocumentSSERequest;
|
|
30
|
+
const CreateReconstructDocumentFlowRequest = models.CreateReconstructDocumentFlowRequest;
|
|
31
|
+
const GetSplitDocumentResultResponse = models.GetSplitDocumentResultResponse;
|
|
32
|
+
const ReconstructDocumentFailedPage = models.ReconstructDocumentFailedPage;
|
|
33
|
+
const SplitDocumentFailedPage = models.SplitDocumentFailedPage;
|
|
34
|
+
const QueryRewriteRequest = models.QueryRewriteRequest;
|
|
30
35
|
const CreateSplitDocumentFlowConfig = models.CreateSplitDocumentFlowConfig;
|
|
31
|
-
const
|
|
36
|
+
const RunRerankResponse = models.RunRerankResponse;
|
|
37
|
+
const CreateReconstructDocumentFlowResponse = models.CreateReconstructDocumentFlowResponse;
|
|
32
38
|
const GetSplitDocumentResultRequest = models.GetSplitDocumentResultRequest;
|
|
33
|
-
const QueryRewriteResponse = models.QueryRewriteResponse;
|
|
34
|
-
const ReconstructDocumentFailedPage = models.ReconstructDocumentFailedPage;
|
|
35
39
|
const Message = models.Message;
|
|
36
|
-
const
|
|
37
|
-
const CreateSplitDocumentFlowResponse = models.CreateSplitDocumentFlowResponse;
|
|
40
|
+
const QueryRewriteResponse = models.QueryRewriteResponse;
|
|
38
41
|
|
|
39
42
|
|
|
40
43
|
/**
|
|
@@ -83,6 +86,17 @@ There is a call limit for single-account for this API. If you need to increase t
|
|
|
83
86
|
this.request("QueryRewrite", req, resp, cb);
|
|
84
87
|
}
|
|
85
88
|
|
|
89
|
+
/**
|
|
90
|
+
* This API is used for quasi-real-time document parsing, using HTTP SSE protocol for communication.
|
|
91
|
+
* @param {ReconstructDocumentSSERequest} req
|
|
92
|
+
* @param {function(string, ReconstructDocumentSSEResponse):void} cb
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
ReconstructDocumentSSE(req, cb) {
|
|
96
|
+
let resp = new ReconstructDocumentSSEResponse();
|
|
97
|
+
this.request("ReconstructDocumentSSE", req, resp, cb);
|
|
98
|
+
}
|
|
99
|
+
|
|
86
100
|
/**
|
|
87
101
|
* This API is used to reorder the results of multi-channel recall based on the rerank model of knowledge engine fine-tuning model technology, sort the segments according to the relevance between the query and the segment content from high to low score, and output the corresponding scoring results.
|
|
88
102
|
* @param {RunRerankRequest} req
|