tencentcloud-sdk-nodejs-intl-en 3.0.1159 → 3.0.1160

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,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1159",
3
+ "version": "3.0.1160",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1159";
1
+ const sdkVersion = "3.0.1160";
2
2
  module.exports = sdkVersion
@@ -4322,6 +4322,41 @@ class DescribeNatGatewaysRequest extends AbstractModel {
4322
4322
  }
4323
4323
  }
4324
4324
 
4325
+ /**
4326
+ * Cloud virtual machine jumbo frame status.
4327
+ * @class
4328
+ */
4329
+ class InstanceJumbo extends AbstractModel {
4330
+ constructor(){
4331
+ super();
4332
+
4333
+ /**
4334
+ * Instance ID.
4335
+ * @type {string || null}
4336
+ */
4337
+ this.InstanceId = null;
4338
+
4339
+ /**
4340
+ * Whether the instance supports jumbo frames.
4341
+ * @type {boolean || null}
4342
+ */
4343
+ this.JumboState = null;
4344
+
4345
+ }
4346
+
4347
+ /**
4348
+ * @private
4349
+ */
4350
+ deserialize(params) {
4351
+ if (!params) {
4352
+ return;
4353
+ }
4354
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
4355
+ this.JumboState = 'JumboState' in params ? params.JumboState : null;
4356
+
4357
+ }
4358
+ }
4359
+
4325
4360
  /**
4326
4361
  * ModifyFlowLogAttribute response structure.
4327
4362
  * @class
@@ -4648,6 +4683,49 @@ class CreateVpcEndPointServiceWhiteListResponse extends AbstractModel {
4648
4683
  }
4649
4684
  }
4650
4685
 
4686
+ /**
4687
+ * DescribeInstanceJumbo response structure.
4688
+ * @class
4689
+ */
4690
+ class DescribeInstanceJumboResponse extends AbstractModel {
4691
+ constructor(){
4692
+ super();
4693
+
4694
+ /**
4695
+ * Specifies the jumbo frame status of the cloud virtual machine.
4696
+ * @type {Array.<InstanceJumbo> || null}
4697
+ */
4698
+ this.InstanceJumboSet = null;
4699
+
4700
+ /**
4701
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
4702
+ * @type {string || null}
4703
+ */
4704
+ this.RequestId = null;
4705
+
4706
+ }
4707
+
4708
+ /**
4709
+ * @private
4710
+ */
4711
+ deserialize(params) {
4712
+ if (!params) {
4713
+ return;
4714
+ }
4715
+
4716
+ if (params.InstanceJumboSet) {
4717
+ this.InstanceJumboSet = new Array();
4718
+ for (let z in params.InstanceJumboSet) {
4719
+ let obj = new InstanceJumbo();
4720
+ obj.deserialize(params.InstanceJumboSet[z]);
4721
+ this.InstanceJumboSet.push(obj);
4722
+ }
4723
+ }
4724
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4725
+
4726
+ }
4727
+ }
4728
+
4651
4729
  /**
4652
4730
  * DescribeIpGeolocationDatabaseUrl response structure.
4653
4731
  * @class
@@ -13357,6 +13435,34 @@ class DescribeVpnGatewaysRequest extends AbstractModel {
13357
13435
  }
13358
13436
  }
13359
13437
 
13438
+ /**
13439
+ * DescribeInstanceJumbo request structure.
13440
+ * @class
13441
+ */
13442
+ class DescribeInstanceJumboRequest extends AbstractModel {
13443
+ constructor(){
13444
+ super();
13445
+
13446
+ /**
13447
+ * Instance ID list of CVM. limits up to 10 instances for each query.
13448
+ * @type {Array.<string> || null}
13449
+ */
13450
+ this.InstanceIds = null;
13451
+
13452
+ }
13453
+
13454
+ /**
13455
+ * @private
13456
+ */
13457
+ deserialize(params) {
13458
+ if (!params) {
13459
+ return;
13460
+ }
13461
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
13462
+
13463
+ }
13464
+ }
13465
+
13360
13466
  /**
13361
13467
  * The verification result of the network detection destination IP address.
13362
13468
  * @class
@@ -31931,6 +32037,7 @@ module.exports = {
31931
32037
  AttachSnapshotInstancesResponse: AttachSnapshotInstancesResponse,
31932
32038
  DescribeNatGatewaySourceIpTranslationNatRulesRequest: DescribeNatGatewaySourceIpTranslationNatRulesRequest,
31933
32039
  DescribeNatGatewaysRequest: DescribeNatGatewaysRequest,
32040
+ InstanceJumbo: InstanceJumbo,
31934
32041
  ModifyFlowLogAttributeResponse: ModifyFlowLogAttributeResponse,
31935
32042
  DescribeBandwidthPackagesResponse: DescribeBandwidthPackagesResponse,
31936
32043
  ReplaceSecurityGroupPoliciesResponse: ReplaceSecurityGroupPoliciesResponse,
@@ -31939,6 +32046,7 @@ module.exports = {
31939
32046
  DescribeIPv6AddressesResponse: DescribeIPv6AddressesResponse,
31940
32047
  AttachSnapshotInstancesRequest: AttachSnapshotInstancesRequest,
31941
32048
  CreateVpcEndPointServiceWhiteListResponse: CreateVpcEndPointServiceWhiteListResponse,
32049
+ DescribeInstanceJumboResponse: DescribeInstanceJumboResponse,
31942
32050
  DescribeIpGeolocationDatabaseUrlResponse: DescribeIpGeolocationDatabaseUrlResponse,
31943
32051
  DescribeNatGatewaySourceIpTranslationNatRulesResponse: DescribeNatGatewaySourceIpTranslationNatRulesResponse,
31944
32052
  DescribeVpcsRequest: DescribeVpcsRequest,
@@ -32113,6 +32221,7 @@ module.exports = {
32113
32221
  ModifyRouteTableAttributeRequest: ModifyRouteTableAttributeRequest,
32114
32222
  ModifyDirectConnectGatewayAttributeResponse: ModifyDirectConnectGatewayAttributeResponse,
32115
32223
  DescribeVpnGatewaysRequest: DescribeVpnGatewaysRequest,
32224
+ DescribeInstanceJumboRequest: DescribeInstanceJumboRequest,
32116
32225
  NetDetectIpState: NetDetectIpState,
32117
32226
  InternetPrice: InternetPrice,
32118
32227
  ModifyIp6AddressesBandwidthResponse: ModifyIp6AddressesBandwidthResponse,
@@ -100,6 +100,7 @@ const DescribeCcnAttachedInstancesRequest = models.DescribeCcnAttachedInstancesR
100
100
  const AttachSnapshotInstancesResponse = models.AttachSnapshotInstancesResponse;
101
101
  const DescribeNatGatewaySourceIpTranslationNatRulesRequest = models.DescribeNatGatewaySourceIpTranslationNatRulesRequest;
102
102
  const DescribeNatGatewaysRequest = models.DescribeNatGatewaysRequest;
103
+ const InstanceJumbo = models.InstanceJumbo;
103
104
  const ModifyFlowLogAttributeResponse = models.ModifyFlowLogAttributeResponse;
104
105
  const DescribeBandwidthPackagesResponse = models.DescribeBandwidthPackagesResponse;
105
106
  const ReplaceSecurityGroupPoliciesResponse = models.ReplaceSecurityGroupPoliciesResponse;
@@ -108,6 +109,7 @@ const DisassociateVpcEndPointSecurityGroupsRequest = models.DisassociateVpcEndPo
108
109
  const DescribeIPv6AddressesResponse = models.DescribeIPv6AddressesResponse;
109
110
  const AttachSnapshotInstancesRequest = models.AttachSnapshotInstancesRequest;
110
111
  const CreateVpcEndPointServiceWhiteListResponse = models.CreateVpcEndPointServiceWhiteListResponse;
112
+ const DescribeInstanceJumboResponse = models.DescribeInstanceJumboResponse;
111
113
  const DescribeIpGeolocationDatabaseUrlResponse = models.DescribeIpGeolocationDatabaseUrlResponse;
112
114
  const DescribeNatGatewaySourceIpTranslationNatRulesResponse = models.DescribeNatGatewaySourceIpTranslationNatRulesResponse;
113
115
  const DescribeVpcsRequest = models.DescribeVpcsRequest;
@@ -282,6 +284,7 @@ const DescribeIp6AddressesResponse = models.DescribeIp6AddressesResponse;
282
284
  const ModifyRouteTableAttributeRequest = models.ModifyRouteTableAttributeRequest;
283
285
  const ModifyDirectConnectGatewayAttributeResponse = models.ModifyDirectConnectGatewayAttributeResponse;
284
286
  const DescribeVpnGatewaysRequest = models.DescribeVpnGatewaysRequest;
287
+ const DescribeInstanceJumboRequest = models.DescribeInstanceJumboRequest;
285
288
  const NetDetectIpState = models.NetDetectIpState;
286
289
  const InternetPrice = models.InternetPrice;
287
290
  const ModifyIp6AddressesBandwidthResponse = models.ModifyIp6AddressesBandwidthResponse;
@@ -1460,14 +1463,17 @@ Policies to modify must be in the same direction. `PolicyIndex` must be specifie
1460
1463
  }
1461
1464
 
1462
1465
  /**
1463
- * This API is used to get a pair of VPN tunnel health check addresses.
1464
- * @param {GenerateVpnConnectionDefaultHealthCheckIpRequest} req
1465
- * @param {function(string, GenerateVpnConnectionDefaultHealthCheckIpResponse):void} cb
1466
+ * This API is used to check whether Cloud Virtual Machines support jumbo frames.
1467
+ Usage limits.
1468
+ This API is used to perform operations that require CAM policy authorization and read access to the corresponding instance. The API accesses CVM instances, so it verifies whether there are CAM permissions for the instance. For example: CAM action allows vpc:DescribeInstanceJumbo; resource allows qcs::cvm:ap-guangzhou:uin/2126195383:instance/*.
1469
+ This API is used to check the jumbo frame status before and after instance migration. The status returned by this API may be inconsistent before and after migration. You need to check whether the host machines of the instance before and after migration both support jumbo frames. One possible reason is that the instance has been migrated to a host machine that does not support jumbo frames.
1470
+ * @param {DescribeInstanceJumboRequest} req
1471
+ * @param {function(string, DescribeInstanceJumboResponse):void} cb
1466
1472
  * @public
1467
1473
  */
1468
- GenerateVpnConnectionDefaultHealthCheckIp(req, cb) {
1469
- let resp = new GenerateVpnConnectionDefaultHealthCheckIpResponse();
1470
- this.request("GenerateVpnConnectionDefaultHealthCheckIp", req, resp, cb);
1474
+ DescribeInstanceJumbo(req, cb) {
1475
+ let resp = new DescribeInstanceJumboResponse();
1476
+ this.request("DescribeInstanceJumbo", req, resp, cb);
1471
1477
  }
1472
1478
 
1473
1479
  /**
@@ -2456,6 +2462,17 @@ If the IP is occupied, the resource type and ID associated with the are is retur
2456
2462
  this.request("DescribeBandwidthPackageQuota", req, resp, cb);
2457
2463
  }
2458
2464
 
2465
+ /**
2466
+ * This API is used to get a pair of VPN tunnel health check addresses.
2467
+ * @param {GenerateVpnConnectionDefaultHealthCheckIpRequest} req
2468
+ * @param {function(string, GenerateVpnConnectionDefaultHealthCheckIpResponse):void} cb
2469
+ * @public
2470
+ */
2471
+ GenerateVpnConnectionDefaultHealthCheckIp(req, cb) {
2472
+ let resp = new GenerateVpnConnectionDefaultHealthCheckIpResponse();
2473
+ this.request("GenerateVpnConnectionDefaultHealthCheckIp", req, resp, cb);
2474
+ }
2475
+
2459
2476
  /**
2460
2477
  * This API is used to batch create secondary CIDR blocks.
2461
2478
  * @param {CreateAssistantCidrRequest} req