tencentcloud-sdk-nodejs-intl-en 3.0.1428 → 3.0.1429
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1429";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -153,6 +153,7 @@ const SpotMarketOptions = models.SpotMarketOptions;
|
|
|
153
153
|
const ConfigureChcAssistVpcRequest = models.ConfigureChcAssistVpcRequest;
|
|
154
154
|
const DescribeImportImageOsRequest = models.DescribeImportImageOsRequest;
|
|
155
155
|
const CreateLaunchTemplateResponse = models.CreateLaunchTemplateResponse;
|
|
156
|
+
const NetworkInterfaces = models.NetworkInterfaces;
|
|
156
157
|
const CreateKeyPairRequest = models.CreateKeyPairRequest;
|
|
157
158
|
const InstanceStatus = models.InstanceStatus;
|
|
158
159
|
const InquiryPriceRenewInstancesResponse = models.InquiryPriceRenewInstancesResponse;
|
|
@@ -4317,6 +4317,12 @@ class InquiryPriceRunInstancesRequest extends AbstractModel {
|
|
|
4317
4317
|
*/
|
|
4318
4318
|
this.LaunchTemplate = null;
|
|
4319
4319
|
|
|
4320
|
+
/**
|
|
4321
|
+
* Network interface configuration for instance creation, including VPCs, subnets, and IP address allocation for primary and secondary network interfaces. This feature is in beta test in selected regions. To use this feature, [submit a ticket](https://console.tencentcloud.com/workorder/category).
|
|
4322
|
+
* @type {Array.<NetworkInterfaces> || null}
|
|
4323
|
+
*/
|
|
4324
|
+
this.NetworkInterfaces = null;
|
|
4325
|
+
|
|
4320
4326
|
}
|
|
4321
4327
|
|
|
4322
4328
|
/**
|
|
@@ -4420,6 +4426,15 @@ class InquiryPriceRunInstancesRequest extends AbstractModel {
|
|
|
4420
4426
|
this.LaunchTemplate = obj;
|
|
4421
4427
|
}
|
|
4422
4428
|
|
|
4429
|
+
if (params.NetworkInterfaces) {
|
|
4430
|
+
this.NetworkInterfaces = new Array();
|
|
4431
|
+
for (let z in params.NetworkInterfaces) {
|
|
4432
|
+
let obj = new NetworkInterfaces();
|
|
4433
|
+
obj.deserialize(params.NetworkInterfaces[z]);
|
|
4434
|
+
this.NetworkInterfaces.push(obj);
|
|
4435
|
+
}
|
|
4436
|
+
}
|
|
4437
|
+
|
|
4423
4438
|
}
|
|
4424
4439
|
}
|
|
4425
4440
|
|
|
@@ -6594,6 +6609,12 @@ Note: this field is in beta test.
|
|
|
6594
6609
|
*/
|
|
6595
6610
|
this.TemplateDataModifyAction = null;
|
|
6596
6611
|
|
|
6612
|
+
/**
|
|
6613
|
+
* Network interface configuration for instance creation, including VPCs, subnets, and IP address allocation for primary and secondary network interfaces. This feature is in beta test in selected regions. To use this feature, [submit a ticket](https://console.tencentcloud.com/workorder/category).
|
|
6614
|
+
* @type {Array.<NetworkInterfaces> || null}
|
|
6615
|
+
*/
|
|
6616
|
+
this.NetworkInterfaces = null;
|
|
6617
|
+
|
|
6597
6618
|
}
|
|
6598
6619
|
|
|
6599
6620
|
/**
|
|
@@ -6701,6 +6722,15 @@ Note: this field is in beta test.
|
|
|
6701
6722
|
}
|
|
6702
6723
|
this.TemplateDataModifyAction = 'TemplateDataModifyAction' in params ? params.TemplateDataModifyAction : null;
|
|
6703
6724
|
|
|
6725
|
+
if (params.NetworkInterfaces) {
|
|
6726
|
+
this.NetworkInterfaces = new Array();
|
|
6727
|
+
for (let z in params.NetworkInterfaces) {
|
|
6728
|
+
let obj = new NetworkInterfaces();
|
|
6729
|
+
obj.deserialize(params.NetworkInterfaces[z]);
|
|
6730
|
+
this.NetworkInterfaces.push(obj);
|
|
6731
|
+
}
|
|
6732
|
+
}
|
|
6733
|
+
|
|
6704
6734
|
}
|
|
6705
6735
|
}
|
|
6706
6736
|
|
|
@@ -7376,6 +7406,12 @@ Note: this field is in beta test.
|
|
|
7376
7406
|
*/
|
|
7377
7407
|
this.TemplateDataModifyAction = null;
|
|
7378
7408
|
|
|
7409
|
+
/**
|
|
7410
|
+
* Network interface configuration for instance creation, including VPCs, subnets, and IP address allocation for primary and secondary network interfaces. This feature is in beta test in selected regions. To use this feature, [submit a ticket](https://console.tencentcloud.com/workorder/category).
|
|
7411
|
+
* @type {Array.<NetworkInterfaces> || null}
|
|
7412
|
+
*/
|
|
7413
|
+
this.NetworkInterfaces = null;
|
|
7414
|
+
|
|
7379
7415
|
}
|
|
7380
7416
|
|
|
7381
7417
|
/**
|
|
@@ -7491,6 +7527,15 @@ Note: this field is in beta test.
|
|
|
7491
7527
|
}
|
|
7492
7528
|
this.TemplateDataModifyAction = 'TemplateDataModifyAction' in params ? params.TemplateDataModifyAction : null;
|
|
7493
7529
|
|
|
7530
|
+
if (params.NetworkInterfaces) {
|
|
7531
|
+
this.NetworkInterfaces = new Array();
|
|
7532
|
+
for (let z in params.NetworkInterfaces) {
|
|
7533
|
+
let obj = new NetworkInterfaces();
|
|
7534
|
+
obj.deserialize(params.NetworkInterfaces[z]);
|
|
7535
|
+
this.NetworkInterfaces.push(obj);
|
|
7536
|
+
}
|
|
7537
|
+
}
|
|
7538
|
+
|
|
7494
7539
|
}
|
|
7495
7540
|
}
|
|
7496
7541
|
|
|
@@ -8114,6 +8159,76 @@ class CreateLaunchTemplateResponse extends AbstractModel {
|
|
|
8114
8159
|
}
|
|
8115
8160
|
}
|
|
8116
8161
|
|
|
8162
|
+
/**
|
|
8163
|
+
* Network interface configuration for instance creation, including VPCs, subnets, and IP address allocation for primary and secondary network interfaces. This feature is in beta test in selected regions. To use this feature, [submit a ticket](https://console.tencentcloud.com/workorder/category).
|
|
8164
|
+
* @class
|
|
8165
|
+
*/
|
|
8166
|
+
class NetworkInterfaces extends AbstractModel {
|
|
8167
|
+
constructor(){
|
|
8168
|
+
super();
|
|
8169
|
+
|
|
8170
|
+
/**
|
|
8171
|
+
* Specifies whether the network interface is primary or secondary. Valid values must be uppercase. The `NetworkInterfaces` array must contain exactly one `PRIMARY` network interface and can contain multiple `SECONDARY` network interfaces. Valid values:<li>`PRIMARY`: Primary network interface.</li><li>`SECONDARY`: Secondary network interface.</li>
|
|
8172
|
+
* @type {string || null}
|
|
8173
|
+
*/
|
|
8174
|
+
this.InterfaceType = null;
|
|
8175
|
+
|
|
8176
|
+
/**
|
|
8177
|
+
* VPC ID in the format of `vpc-xxx`. You can obtain a valid VPC ID from the [VPC console](https://console.tencentcloud.com/vpc/vpc?rid=1) or from the `VpcId` field returned by the [DescribeVpcs](https://www.tencentcloud.com/document/product/215/15778) API. If both `VpcId` and `SubnetId` are set to `DEFAULT` when creating an instance, the default VPC is used.
|
|
8178
|
+
* @type {string || null}
|
|
8179
|
+
*/
|
|
8180
|
+
this.VpcId = null;
|
|
8181
|
+
|
|
8182
|
+
/**
|
|
8183
|
+
* VPC subnet ID in the format of `subnet-xxx`. You can obtain a valid subnet ID from the [subnet console](https://console.tencentcloud.com/vpc/subnet) or from the `SubnetId` field returned by the [DescribeSubnets](https://www.tencentcloud.com/document/product/215/15784) API. If both `SubnetId` and `VpcId` are set to `DEFAULT` when creating an instance, the default VPC is used.
|
|
8184
|
+
* @type {string || null}
|
|
8185
|
+
*/
|
|
8186
|
+
this.SubnetId = null;
|
|
8187
|
+
|
|
8188
|
+
/**
|
|
8189
|
+
* Required. Specifies the number of private IPv4 addresses automatically assigned to each network interface. Manually specifying IP addresses and automatically assigning IP addresses at the same time is not supported. Valid range: [1, 50].
|
|
8190
|
+
* @type {number || null}
|
|
8191
|
+
*/
|
|
8192
|
+
this.PrivateIpv4AddressCount = null;
|
|
8193
|
+
|
|
8194
|
+
/**
|
|
8195
|
+
* ID of an existing elastic network interface (ENI) to be attached. This parameter applies only to secondary network interfaces. The primary network interface is created automatically through the existing process and cannot be specified using this parameter. When an existing ENI is specified, `InstanceCount` must be set to 1.
|
|
8196
|
+
* @type {string || null}
|
|
8197
|
+
*/
|
|
8198
|
+
this.NetworkInterfaceId = null;
|
|
8199
|
+
|
|
8200
|
+
/**
|
|
8201
|
+
* Security groups associated with the instance. You can obtain the security group IDs from the `SecurityGroupId` field returned by the [DescribeSecurityGroups](https://www.tencentcloud.com/document/api/215/15808) API. If this parameter is not specified, the default security group of the specified project is associated. If no default security group exists, one is automatically created. Each user can configure up to 50 security groups per project in each region.
|
|
8202
|
+
* @type {Array.<string> || null}
|
|
8203
|
+
*/
|
|
8204
|
+
this.SecurityGroupIds = null;
|
|
8205
|
+
|
|
8206
|
+
/**
|
|
8207
|
+
* Specifies whether the associated elastic network interface (ENI) is deleted when the CVM instance is terminated. This parameter applies only to secondary network interfaces. By default, secondary network interfaces are retained to preserve the existing behavior. This parameter does not apply to the primary network interface, which is always deleted when the instance is terminated. Default value: `false`.
|
|
8208
|
+
* @type {boolean || null}
|
|
8209
|
+
*/
|
|
8210
|
+
this.DeleteWithInstance = null;
|
|
8211
|
+
|
|
8212
|
+
}
|
|
8213
|
+
|
|
8214
|
+
/**
|
|
8215
|
+
* @private
|
|
8216
|
+
*/
|
|
8217
|
+
deserialize(params) {
|
|
8218
|
+
if (!params) {
|
|
8219
|
+
return;
|
|
8220
|
+
}
|
|
8221
|
+
this.InterfaceType = 'InterfaceType' in params ? params.InterfaceType : null;
|
|
8222
|
+
this.VpcId = 'VpcId' in params ? params.VpcId : null;
|
|
8223
|
+
this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
|
|
8224
|
+
this.PrivateIpv4AddressCount = 'PrivateIpv4AddressCount' in params ? params.PrivateIpv4AddressCount : null;
|
|
8225
|
+
this.NetworkInterfaceId = 'NetworkInterfaceId' in params ? params.NetworkInterfaceId : null;
|
|
8226
|
+
this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
|
|
8227
|
+
this.DeleteWithInstance = 'DeleteWithInstance' in params ? params.DeleteWithInstance : null;
|
|
8228
|
+
|
|
8229
|
+
}
|
|
8230
|
+
}
|
|
8231
|
+
|
|
8117
8232
|
/**
|
|
8118
8233
|
* CreateKeyPair request structure.
|
|
8119
8234
|
* @class
|
|
@@ -8663,6 +8778,12 @@ If the dry run succeeds, the RequestId will be returned.
|
|
|
8663
8778
|
*/
|
|
8664
8779
|
this.ChcIds = null;
|
|
8665
8780
|
|
|
8781
|
+
/**
|
|
8782
|
+
* Partition number of the partition placement group. Valid values depend on the number of partitions in the selected placement group. If the selected placement group is a partition placement group and this parameter is not specified, a partition is randomly assigned. This feature is in beta test.
|
|
8783
|
+
* @type {number || null}
|
|
8784
|
+
*/
|
|
8785
|
+
this.PartitionNumber = null;
|
|
8786
|
+
|
|
8666
8787
|
/**
|
|
8667
8788
|
* Instance termination protection flag, indicating whether an instance is allowed to be deleted through an API. Valid values:<br><li>true: Instance protection is enabled, and the instance is not allowed to be deleted through the API.</li><br><li>false: Instance protection is disabled, and the instance is allowed to be deleted through the API.</li><br><br>Default value: false.
|
|
8668
8789
|
* @type {boolean || null}
|
|
@@ -8675,6 +8796,12 @@ If the dry run succeeds, the RequestId will be returned.
|
|
|
8675
8796
|
*/
|
|
8676
8797
|
this.EnableJumboFrame = null;
|
|
8677
8798
|
|
|
8799
|
+
/**
|
|
8800
|
+
* Network interface configuration for instance creation, including VPCs, subnets, and IP address allocation for primary and secondary network interfaces. This feature is in beta test in selected regions. To use this feature, [submit a ticket](https://console.tencentcloud.com/workorder/category).
|
|
8801
|
+
* @type {Array.<NetworkInterfaces> || null}
|
|
8802
|
+
*/
|
|
8803
|
+
this.NetworkInterfaces = null;
|
|
8804
|
+
|
|
8678
8805
|
}
|
|
8679
8806
|
|
|
8680
8807
|
/**
|
|
@@ -8790,9 +8917,19 @@ If the dry run succeeds, the RequestId will be returned.
|
|
|
8790
8917
|
}
|
|
8791
8918
|
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
8792
8919
|
this.ChcIds = 'ChcIds' in params ? params.ChcIds : null;
|
|
8920
|
+
this.PartitionNumber = 'PartitionNumber' in params ? params.PartitionNumber : null;
|
|
8793
8921
|
this.DisableApiTermination = 'DisableApiTermination' in params ? params.DisableApiTermination : null;
|
|
8794
8922
|
this.EnableJumboFrame = 'EnableJumboFrame' in params ? params.EnableJumboFrame : null;
|
|
8795
8923
|
|
|
8924
|
+
if (params.NetworkInterfaces) {
|
|
8925
|
+
this.NetworkInterfaces = new Array();
|
|
8926
|
+
for (let z in params.NetworkInterfaces) {
|
|
8927
|
+
let obj = new NetworkInterfaces();
|
|
8928
|
+
obj.deserialize(params.NetworkInterfaces[z]);
|
|
8929
|
+
this.NetworkInterfaces.push(obj);
|
|
8930
|
+
}
|
|
8931
|
+
}
|
|
8932
|
+
|
|
8796
8933
|
}
|
|
8797
8934
|
}
|
|
8798
8935
|
|
|
@@ -13118,6 +13255,7 @@ module.exports = {
|
|
|
13118
13255
|
ConfigureChcAssistVpcRequest: ConfigureChcAssistVpcRequest,
|
|
13119
13256
|
DescribeImportImageOsRequest: DescribeImportImageOsRequest,
|
|
13120
13257
|
CreateLaunchTemplateResponse: CreateLaunchTemplateResponse,
|
|
13258
|
+
NetworkInterfaces: NetworkInterfaces,
|
|
13121
13259
|
CreateKeyPairRequest: CreateKeyPairRequest,
|
|
13122
13260
|
InstanceStatus: InstanceStatus,
|
|
13123
13261
|
InquiryPriceRenewInstancesResponse: InquiryPriceRenewInstancesResponse,
|
|
@@ -6340,6 +6340,12 @@ class CreateStreamPackageHarvestJobRequest extends AbstractModel {
|
|
|
6340
6340
|
*/
|
|
6341
6341
|
this.Manifest = null;
|
|
6342
6342
|
|
|
6343
|
+
/**
|
|
6344
|
+
* Callback address after recording completion
|
|
6345
|
+
* @type {string || null}
|
|
6346
|
+
*/
|
|
6347
|
+
this.CallbackURL = null;
|
|
6348
|
+
|
|
6343
6349
|
}
|
|
6344
6350
|
|
|
6345
6351
|
/**
|
|
@@ -6357,6 +6363,7 @@ class CreateStreamPackageHarvestJobRequest extends AbstractModel {
|
|
|
6357
6363
|
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
6358
6364
|
this.Destination = 'Destination' in params ? params.Destination : null;
|
|
6359
6365
|
this.Manifest = 'Manifest' in params ? params.Manifest : null;
|
|
6366
|
+
this.CallbackURL = 'CallbackURL' in params ? params.CallbackURL : null;
|
|
6360
6367
|
|
|
6361
6368
|
}
|
|
6362
6369
|
}
|