tencentcloud-sdk-nodejs-intl-en 3.0.1279 → 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/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/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
package/package.json
CHANGED
|
@@ -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>.
|
|
@@ -3216,7 +3216,7 @@ class TimingSettingsReq extends AbstractModel {
|
|
|
3216
3216
|
super();
|
|
3217
3217
|
|
|
3218
3218
|
/**
|
|
3219
|
-
* Event trigger type. Valid values: `FIXED_TIME`, `IMMEDIATE`. This parameter is required if `EventType` is `INPUT_SWITCH`.
|
|
3219
|
+
* Event trigger type. Valid values: `FIXED_TIME`, `IMMEDIATE`,`FIXED_PTS `. This parameter is required if `EventType` is `INPUT_SWITCH`.
|
|
3220
3220
|
* @type {string || null}
|
|
3221
3221
|
*/
|
|
3222
3222
|
this.StartType = null;
|
|
@@ -3242,6 +3242,12 @@ It specifies the recording end time in UTC format (e.g., `2020-01-01T12:00:00Z`)
|
|
|
3242
3242
|
*/
|
|
3243
3243
|
this.EndTime = null;
|
|
3244
3244
|
|
|
3245
|
+
/**
|
|
3246
|
+
* Effective only when StartType is FIXED_PTS, with a range of 1-8589934592
|
|
3247
|
+
* @type {number || null}
|
|
3248
|
+
*/
|
|
3249
|
+
this.PTS = null;
|
|
3250
|
+
|
|
3245
3251
|
}
|
|
3246
3252
|
|
|
3247
3253
|
/**
|
|
@@ -3255,6 +3261,7 @@ It specifies the recording end time in UTC format (e.g., `2020-01-01T12:00:00Z`)
|
|
|
3255
3261
|
this.Time = 'Time' in params ? params.Time : null;
|
|
3256
3262
|
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
3257
3263
|
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
3264
|
+
this.PTS = 'PTS' in params ? params.PTS : null;
|
|
3258
3265
|
|
|
3259
3266
|
}
|
|
3260
3267
|
}
|
|
@@ -4084,6 +4091,12 @@ class EventSettingsResp extends AbstractModel {
|
|
|
4084
4091
|
*/
|
|
4085
4092
|
this.InputAttachment = null;
|
|
4086
4093
|
|
|
4094
|
+
/**
|
|
4095
|
+
* When the type is FIXED_PTS, it is mandatory and defaults to 0
|
|
4096
|
+
* @type {number || null}
|
|
4097
|
+
*/
|
|
4098
|
+
this.PipelineId = null;
|
|
4099
|
+
|
|
4087
4100
|
/**
|
|
4088
4101
|
* Name of the output group attached. This parameter is not empty if `EventType` is `TIMED_RECORD`.
|
|
4089
4102
|
* @type {string || null}
|
|
@@ -4155,6 +4168,7 @@ class EventSettingsResp extends AbstractModel {
|
|
|
4155
4168
|
}
|
|
4156
4169
|
this.EventType = 'EventType' in params ? params.EventType : null;
|
|
4157
4170
|
this.InputAttachment = 'InputAttachment' in params ? params.InputAttachment : null;
|
|
4171
|
+
this.PipelineId = 'PipelineId' in params ? params.PipelineId : null;
|
|
4158
4172
|
this.OutputGroupName = 'OutputGroupName' in params ? params.OutputGroupName : null;
|
|
4159
4173
|
this.ManifestName = 'ManifestName' in params ? params.ManifestName : null;
|
|
4160
4174
|
|
|
@@ -5857,6 +5871,12 @@ class EventSettingsReq extends AbstractModel {
|
|
|
5857
5871
|
*/
|
|
5858
5872
|
this.InputAttachment = null;
|
|
5859
5873
|
|
|
5874
|
+
/**
|
|
5875
|
+
* When the type is FIXED_PTS, it is mandatory and defaults to 0
|
|
5876
|
+
* @type {number || null}
|
|
5877
|
+
*/
|
|
5878
|
+
this.PipelineId = null;
|
|
5879
|
+
|
|
5860
5880
|
/**
|
|
5861
5881
|
* Name of the output group to attach. This parameter is required if `EventType` is `TIMED_RECORD`.
|
|
5862
5882
|
* @type {string || null}
|
|
@@ -5928,6 +5948,7 @@ class EventSettingsReq extends AbstractModel {
|
|
|
5928
5948
|
}
|
|
5929
5949
|
this.EventType = 'EventType' in params ? params.EventType : null;
|
|
5930
5950
|
this.InputAttachment = 'InputAttachment' in params ? params.InputAttachment : null;
|
|
5951
|
+
this.PipelineId = 'PipelineId' in params ? params.PipelineId : null;
|
|
5931
5952
|
this.OutputGroupName = 'OutputGroupName' in params ? params.OutputGroupName : null;
|
|
5932
5953
|
this.ManifestName = 'ManifestName' in params ? params.ManifestName : null;
|
|
5933
5954
|
|
|
@@ -7041,6 +7062,12 @@ It indicates the end time for recording in UTC format (e.g., `2020-01-01T12:00:0
|
|
|
7041
7062
|
*/
|
|
7042
7063
|
this.EndTime = null;
|
|
7043
7064
|
|
|
7065
|
+
/**
|
|
7066
|
+
* Effective only when StartType is FIXED_PTS, with a range of 1-8589934592
|
|
7067
|
+
* @type {number || null}
|
|
7068
|
+
*/
|
|
7069
|
+
this.PTS = null;
|
|
7070
|
+
|
|
7044
7071
|
}
|
|
7045
7072
|
|
|
7046
7073
|
/**
|
|
@@ -7054,6 +7081,7 @@ It indicates the end time for recording in UTC format (e.g., `2020-01-01T12:00:0
|
|
|
7054
7081
|
this.Time = 'Time' in params ? params.Time : null;
|
|
7055
7082
|
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
7056
7083
|
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
7084
|
+
this.PTS = 'PTS' in params ? params.PTS : null;
|
|
7057
7085
|
|
|
7058
7086
|
}
|
|
7059
7087
|
}
|