tencentcloud-sdk-nodejs-intl-en 3.0.607 → 3.0.609

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.
@@ -35,6 +35,7 @@ const SourceIpTranslationNatRule = models.SourceIpTranslationNatRule;
35
35
  const DescribeCustomerGatewaysRequest = models.DescribeCustomerGatewaysRequest;
36
36
  const ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse = models.ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse;
37
37
  const ModifyNatGatewaySourceIpTranslationNatRuleRequest = models.ModifyNatGatewaySourceIpTranslationNatRuleRequest;
38
+ const SetVpnGatewaysRenewFlagRequest = models.SetVpnGatewaysRenewFlagRequest;
38
39
  const ModifyCcnRegionBandwidthLimitsTypeResponse = models.ModifyCcnRegionBandwidthLimitsTypeResponse;
39
40
  const DescribeVpnGatewaysResponse = models.DescribeVpnGatewaysResponse;
40
41
  const ModifyNetworkAclQuintupleEntriesRequest = models.ModifyNetworkAclQuintupleEntriesRequest;
@@ -131,6 +132,7 @@ const AssignPrivateIpAddressesResponse = models.AssignPrivateIpAddressesResponse
131
132
  const DescribeSecurityGroupsRequest = models.DescribeSecurityGroupsRequest;
132
133
  const RefreshDirectConnectGatewayRouteToNatGatewayRequest = models.RefreshDirectConnectGatewayRouteToNatGatewayRequest;
133
134
  const DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest = models.DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest;
135
+ const ReturnNormalAddressesRequest = models.ReturnNormalAddressesRequest;
134
136
  const ModifyNetworkAclAttributeResponse = models.ModifyNetworkAclAttributeResponse;
135
137
  const AddBandwidthPackageResourcesResponse = models.AddBandwidthPackageResourcesResponse;
136
138
  const DisassociateNetworkAclSubnetsResponse = models.DisassociateNetworkAclSubnetsResponse;
@@ -166,6 +168,7 @@ const DescribeAssistantCidrResponse = models.DescribeAssistantCidrResponse;
166
168
  const InstanceStatistic = models.InstanceStatistic;
167
169
  const CreateVpnConnectionRequest = models.CreateVpnConnectionRequest;
168
170
  const CcnRoute = models.CcnRoute;
171
+ const DescribeTrafficPackagesRequest = models.DescribeTrafficPackagesRequest;
169
172
  const DeleteSecurityGroupPoliciesRequest = models.DeleteSecurityGroupPoliciesRequest;
170
173
  const VpnConnection = models.VpnConnection;
171
174
  const DescribeCcnsRequest = models.DescribeCcnsRequest;
@@ -201,6 +204,7 @@ const ModifySecurityGroupPoliciesRequest = models.ModifySecurityGroupPoliciesReq
201
204
  const NatGateway = models.NatGateway;
202
205
  const ReplaceRoutesRequest = models.ReplaceRoutesRequest;
203
206
  const CreateCustomerGatewayResponse = models.CreateCustomerGatewayResponse;
207
+ const TrafficPackage = models.TrafficPackage;
204
208
  const WithdrawNotifyRoutesRequest = models.WithdrawNotifyRoutesRequest;
205
209
  const DeleteServiceTemplateGroupResponse = models.DeleteServiceTemplateGroupResponse;
206
210
  const DisassociateAddressRequest = models.DisassociateAddressRequest;
@@ -274,6 +278,7 @@ const EndPoint = models.EndPoint;
274
278
  const DirectConnectGateway = models.DirectConnectGateway;
275
279
  const Price = models.Price;
276
280
  const HaVipDisassociateAddressIpRequest = models.HaVipDisassociateAddressIpRequest;
281
+ const ReturnNormalAddressesResponse = models.ReturnNormalAddressesResponse;
277
282
  const DisableFlowLogsResponse = models.DisableFlowLogsResponse;
278
283
  const DescribeBandwidthPackageResourcesResponse = models.DescribeBandwidthPackageResourcesResponse;
279
284
  const DescribeCrossBorderComplianceResponse = models.DescribeCrossBorderComplianceResponse;
@@ -373,6 +378,7 @@ const CreateFlowLogRequest = models.CreateFlowLogRequest;
373
378
  const InquirePriceCreateDirectConnectGatewayRequest = models.InquirePriceCreateDirectConnectGatewayRequest;
374
379
  const AttachNetworkInterfaceResponse = models.AttachNetworkInterfaceResponse;
375
380
  const DisassociateNatGatewayAddressRequest = models.DisassociateNatGatewayAddressRequest;
381
+ const DescribeTrafficPackagesResponse = models.DescribeTrafficPackagesResponse;
376
382
  const DescribeServiceTemplatesResponse = models.DescribeServiceTemplatesResponse;
377
383
  const DescribeRouteTablesRequest = models.DescribeRouteTablesRequest;
378
384
  const ResetAttachCcnInstancesRequest = models.ResetAttachCcnInstancesRequest;
@@ -407,6 +413,7 @@ const ModifyCcnAttributeRequest = models.ModifyCcnAttributeRequest;
407
413
  const DeleteSecurityGroupPoliciesResponse = models.DeleteSecurityGroupPoliciesResponse;
408
414
  const CreateVpcEndPointServiceResponse = models.CreateVpcEndPointServiceResponse;
409
415
  const ModifyNetworkAclAttributeRequest = models.ModifyNetworkAclAttributeRequest;
416
+ const SetVpnGatewaysRenewFlagResponse = models.SetVpnGatewaysRenewFlagResponse;
410
417
  const DeleteVpnGatewayResponse = models.DeleteVpnGatewayResponse;
411
418
  const DescribeHaVipsRequest = models.DescribeHaVipsRequest;
412
419
  const UnassignPrivateIpAddressesResponse = models.UnassignPrivateIpAddressesResponse;
@@ -1449,8 +1456,8 @@ This API is completed asynchronously. If you need to query the execution result
1449
1456
 
1450
1457
  /**
1451
1458
  * This API is used to create a VPC instance.
1452
- * The subnet mask of the smallest IP address range that can be created is 28 (16 IP addresses), and that of the largest IP address range is 16 (65,536 IP addresses). For more information on how to plan VPC IP ranges, see [Network Planning](https://intl.cloud.tencent.com/document/product/215/30313?from_cn_redirect=1).
1453
- * The number of VPC instances that can be created in a region is limited. For more information, see <a href="https://intl.cloud.tencent.com/doc/product/215/537?from_cn_redirect=1" title="VPC Use Limits">VPC Use Limits</a>. To request more resources, please [submit a ticket](https://console.cloud.tencent.com/workorder/category).
1459
+ * The subnet mask of the smallest IP address range that can be created is 28 (16 IP addresses), that of the largest IP address ranges 10.0.0.0/12 and 172.16.0.0/12 is 12 (1,048,576 IP addresses), and that of the largest IP address range 192.168.0.0/16 is 16 (65,536 IP addresses). For more information on how to plan VPC IP ranges, see [Network Planning](https://intl.cloud.tencent.com/document/product/215/30313?from_cn_redirect=1).
1460
+ * The number of VPC instances that can be created in a region is limited. For more information, see <a href="https://intl.cloud.tencent.com/doc/product/215/537?from_cn_redirect=1" title="VPC Use Limits">VPC Use Limits</a>. To request more resources, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
1454
1461
  * You can bind tags when creating a VPC instance. The tag list in the response indicates the tags that have been successfully added.
1455
1462
  * @param {CreateVpcRequest} req
1456
1463
  * @param {function(string, CreateVpcResponse):void} cb
@@ -1511,10 +1518,10 @@ This API is completed asynchronously. If you need to query the execution result
1511
1518
  }
1512
1519
 
1513
1520
  /**
1514
- * This API (CheckAssistantCidr) is used to check overlapping of a secondary CIDR block with inventory routing, peering connection (opposite VPC CIDR block), and any other resources. If an overlap is present, the overlapped resources are returned. (To use this API that is in Beta, please submit a ticket.)
1515
- * Check whether the secondary CIDR block overlaps with a primary or secondary CIDR block of the current VPC.
1521
+ * This API is used to check whether the secondary CIDR block conflicts with existing routes, peering connections (peer VPC CIDR blocks), and other resources.
1522
+ * Check whether the secondary CIDR block overlaps with the primary/secondary CIDR block of the current VPC.
1516
1523
  * Check whether the secondary CIDR block overlaps with the routing destination of the current VPC.
1517
- * Check whether the secondary CIDR block is peer-connected to the current VPC, and whether it overlaps with a main or secondary CIDR block of the opposite VPC.
1524
+ * If the current VPC is used in a peering connection, check whether the secondary CIDR block overlaps with the primary/secondary CIDR block of the peer VPC.
1518
1525
  * @param {CheckAssistantCidrRequest} req
1519
1526
  * @param {function(string, CheckAssistantCidrResponse):void} cb
1520
1527
  * @public
@@ -1558,6 +1565,17 @@ This API is used to query only the information of `IPv6` addresses that are alre
1558
1565
  this.request("RenewVpnGateway", req, resp, cb);
1559
1566
  }
1560
1567
 
1568
+ /**
1569
+ * This API is used to specify whether to enable auto-renewal for the VPN gateway.
1570
+ * @param {SetVpnGatewaysRenewFlagRequest} req
1571
+ * @param {function(string, SetVpnGatewaysRenewFlagResponse):void} cb
1572
+ * @public
1573
+ */
1574
+ SetVpnGatewaysRenewFlag(req, cb) {
1575
+ let resp = new SetVpnGatewaysRenewFlagResponse();
1576
+ this.request("SetVpnGatewaysRenewFlag", req, resp, cb);
1577
+ }
1578
+
1561
1579
  /**
1562
1580
  * This API (AttachCcnInstances) is used to load a network instance to a CCN instance. Network instances include VPCs and Direct Connect gateways.<br />
1563
1581
  The number of network instances that each CCN can be associated with is limited. For more information, see the product documentation. If you need to associate more instances, please contact online customer service.
@@ -1821,7 +1839,7 @@ This API is completed asynchronously. If you need to query the execution result
1821
1839
  }
1822
1840
 
1823
1841
  /**
1824
- * This API is used to delete secondary CIDR blocks. This API is in beta test. To use it, please submit a ticket.
1842
+ * This API is used to delete a secondary CIDR block.
1825
1843
  * @param {DeleteAssistantCidrRequest} req
1826
1844
  * @param {function(string, DeleteAssistantCidrResponse):void} cb
1827
1845
  * @public
@@ -2065,7 +2083,7 @@ This API is completed asynchronously. If you need to query the execution result
2065
2083
  }
2066
2084
 
2067
2085
  /**
2068
- * This API is used to batch create secondary CIDR blocks. This API is in beta test. To use it, please submit a ticket.
2086
+ * This API is used to batch create secondary CIDR blocks.
2069
2087
  * @param {CreateAssistantCidrRequest} req
2070
2088
  * @param {function(string, CreateAssistantCidrResponse):void} cb
2071
2089
  * @public
@@ -2474,6 +2492,18 @@ A service provider can query all review requests created by any `APPID` under it
2474
2492
  this.request("DeleteRouteTable", req, resp, cb);
2475
2493
  }
2476
2494
 
2495
+ /**
2496
+ * This API is used to unbind and release public IPs.
2497
+ Note: Starting from Dec 15, 2022, CAM authorization is required for a sub-account to call this API. For more details, see [Authorization Guide](https://intl.cloud.tencent.com/document/product/598/34545?from_cn_redirect=1).
2498
+ * @param {ReturnNormalAddressesRequest} req
2499
+ * @param {function(string, ReturnNormalAddressesResponse):void} cb
2500
+ * @public
2501
+ */
2502
+ ReturnNormalAddresses(req, cb) {
2503
+ let resp = new ReturnNormalAddressesResponse();
2504
+ this.request("ReturnNormalAddresses", req, resp, cb);
2505
+ }
2506
+
2477
2507
  /**
2478
2508
  * This API is used to query the routes between a NAT gateway and Direct Connect.
2479
2509
  * @param {DescribeNatGatewayDirectConnectGatewayRouteRequest} req
@@ -2761,9 +2791,9 @@ This API is completed asynchronously. If you need to query the execution result
2761
2791
  }
2762
2792
 
2763
2793
  /**
2764
- * This API is used to create a Cloud Connect Network (CCN).<br />
2765
- * You can bind a tag when creating a CCN instance. The tag list in the response indicates the tags that have been successfully added.
2766
- Each account can only create a limited number of CCN instances. For more information, see product documentation. To create more instances, contact the online customer service.
2794
+ * This API is used to create a CCN instance.
2795
+ * You can add tags to a CCN instance upon the creation. The tags are added successfully if they are listed in the response.
2796
+ * There is a quota of CCN instances for each account. For more information, see product documentation. To increase the quota, please submit a ticket.
2767
2797
  * @param {CreateCcnRequest} req
2768
2798
  * @param {function(string, CreateCcnResponse):void} cb
2769
2799
  * @public
@@ -2828,6 +2858,17 @@ Each account can only create a limited number of CCN instances. For more informa
2828
2858
  this.request("CreateVpnGateway", req, resp, cb);
2829
2859
  }
2830
2860
 
2861
+ /**
2862
+ * This API is used to query the details of shared traffic packages.
2863
+ * @param {DescribeTrafficPackagesRequest} req
2864
+ * @param {function(string, DescribeTrafficPackagesResponse):void} cb
2865
+ * @public
2866
+ */
2867
+ DescribeTrafficPackages(req, cb) {
2868
+ let resp = new DescribeTrafficPackagesResponse();
2869
+ this.request("DescribeTrafficPackages", req, resp, cb);
2870
+ }
2871
+
2831
2872
  /**
2832
2873
  * This API (DescribeSecurityGroupPolicies) is used to query security group policies.
2833
2874
  * @param {DescribeSecurityGroupPoliciesRequest} req
@@ -2840,7 +2881,7 @@ Each account can only create a limited number of CCN instances. For more informa
2840
2881
  }
2841
2882
 
2842
2883
  /**
2843
- * This API (DescribeAssistantCidr) is used to query a list of secondary CIDR blocks. (To use this API that is in Beta, please submit a ticket.)
2884
+ * This API is used to query the list of secondary CIDR blocks.
2844
2885
  * @param {DescribeAssistantCidrRequest} req
2845
2886
  * @param {function(string, DescribeAssistantCidrResponse):void} cb
2846
2887
  * @public
@@ -2999,7 +3040,7 @@ This API is used to verify whether there will be conflict with an existing route
2999
3040
  }
3000
3041
 
3001
3042
  /**
3002
- * This API is used to modify (add or delete) secondary CIDR blocks in batch. This API is in beta test. To use it, please submit a ticket.
3043
+ * This API is used to batch modify (add or delete) secondary CIDR blocks.
3003
3044
  * @param {ModifyAssistantCidrRequest} req
3004
3045
  * @param {function(string, ModifyAssistantCidrResponse):void} cb
3005
3046
  * @public
@@ -3286,19 +3327,19 @@ Description:
3286
3327
  }
3287
3328
 
3288
3329
  /**
3289
- * This API is used to create security group policies.
3330
+ * This API is used to create security group policies (`SecurityGroupPolicy`).
3290
3331
 
3291
- For parameters of SecurityGroupPolicySet,
3332
+ For parameters of `SecurityGroupPolicySet`,
3292
3333
  <ul>
3293
3334
  <li>`Version`: The version number of a security group policy, which automatically increases by one each time you update the security policy, to prevent expiration of the updated routing policies. If it is left empty, any conflicts will be ignored.</li>
3294
3335
  <li>When creating the `Egress` and `Ingress` polices,<ul>
3295
- <li>`Protocol`: `TCP`, `UDP`, `ICMP`, `ICMPV6`, `GRE`, or `ALL`.</li>
3296
- <li>`CidrBlock`: A CIDR block in the correct format. </li>For
3297
- <li>`Ipv6CidrBlock`: An IPv6 CIDR block in the correct format. In a classic network, if an `Ipv6CidrBlock` contains private IPv6 addresses on Tencent Cloud for devices under your account other than CVMs, it does not mean this policy allows you to access these devices. The network isolation policies between tenants take priority over the private network policies in security groups.</li>
3298
- <li>`SecurityGroupId`: ID of the security group. It can be the ID of security group to be modified, or the ID of other security group in the same project. All private IPs of all CVMs under the security group will be covered. If this field is used, the policy will automatically change according to the CVM associated with the group ID while being used to match network messages. You don’t need to change it manually.</li>
3299
- <li>`Port`: A single port number such as 80, or a port range in the format of "8000-8010". This parameter is only available when the `Protocol` is `TCP` or `UDP`. Otherwise, `Protocol` and `Port` are mutually exclusive.</li>
3336
+ <li>`Protocol`: Allows `TCP`, `UDP`, `ICMP`, `ICMPV6`, `GRE` and `ALL`.</li>
3337
+ <li>`CidrBlock`: For the classic network, the `CidrBlock` can contain private IPs of Tencent Cloud resources that are not under your account. It does not mean that you can access these devices. The network isolation policies between tenants take priority over the private network policies in security groups.</li>
3338
+ <li>`Ipv6CidrBlock`: For the classic network, `Ipv6CidrBlock` can contain private IPv6 addresses of Tencent Cloud resources that are not under your account. It does not mean that you can access these devices. The network isolation policies between tenants take priority over the private network policies in security groups.</li>
3339
+ <li>`SecurityGroupId`: ID of the security group to create policies. </li>
3340
+ <li>`Port`: A single port (“80”) or a port range ("8000-8010"). This parameter is only available when `Protocol` is `TCP` or `UDP`.</li>
3300
3341
  <li>`Action`: `ACCEPT` or `DROP`.</li>
3301
- <li>`CidrBlock`, `Ipv6CidrBlock`, `SecurityGroupId`, and `AddressTemplate` are mutually exclusive. `Protocol` + `Port` and `ServiceTemplate` are mutually exclusive.</li>
3342
+ <li><code>CidrBlock</code>, <code>Ipv6CidrBlock</code>, <code>SecurityGroupId</code>, and <code>AddressTemplate</code> are mutually exclusive. <code>Protocol</code> + <code>Port</code> and <code>ServiceTemplate</code> are mutually exclusive. <code>IPv6CidrBlock</code> and <code>ICMP</code> are mutually exclusive; to use them, enter <code>ICMPV6</code>.</li>
3302
3343
  <li>You can only create policies in one direction in each request. To specify the `PolicyIndex` parameter, use the same index number in policies. If you want to insert a rule before the first rule, enter 0; if you want to add a rule after the last rule, leave it empty.</li>
3303
3344
  </ul></li></ul>
3304
3345
  * @param {CreateSecurityGroupPoliciesRequest} req