tencentcloud-sdk-nodejs-intl-en 3.0.442 → 3.0.445
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.445";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -782,94 +782,6 @@ class DescribeVpcIpv6AddressesRequest extends AbstractModel {
|
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
784
|
|
|
785
|
-
/**
|
|
786
|
-
* SNAT rule of a NAT Gateway
|
|
787
|
-
* @class
|
|
788
|
-
*/
|
|
789
|
-
class SourceIpTranslationNatRule extends AbstractModel {
|
|
790
|
-
constructor(){
|
|
791
|
-
super();
|
|
792
|
-
|
|
793
|
-
/**
|
|
794
|
-
* Resource ID
|
|
795
|
-
* @type {string || null}
|
|
796
|
-
*/
|
|
797
|
-
this.ResourceId = null;
|
|
798
|
-
|
|
799
|
-
/**
|
|
800
|
-
* Resource type. Valid values: SUBNET, NETWORKINTERFACE
|
|
801
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
802
|
-
* @type {string || null}
|
|
803
|
-
*/
|
|
804
|
-
this.ResourceType = null;
|
|
805
|
-
|
|
806
|
-
/**
|
|
807
|
-
* Source IP/IP range
|
|
808
|
-
* @type {string || null}
|
|
809
|
-
*/
|
|
810
|
-
this.PrivateIpAddress = null;
|
|
811
|
-
|
|
812
|
-
/**
|
|
813
|
-
* Elastic IP address pool
|
|
814
|
-
* @type {Array.<string> || null}
|
|
815
|
-
*/
|
|
816
|
-
this.PublicIpAddresses = null;
|
|
817
|
-
|
|
818
|
-
/**
|
|
819
|
-
* Description
|
|
820
|
-
* @type {string || null}
|
|
821
|
-
*/
|
|
822
|
-
this.Description = null;
|
|
823
|
-
|
|
824
|
-
/**
|
|
825
|
-
* SNAT rule ID
|
|
826
|
-
* @type {string || null}
|
|
827
|
-
*/
|
|
828
|
-
this.NatGatewaySnatId = null;
|
|
829
|
-
|
|
830
|
-
/**
|
|
831
|
-
* NAT Gateway ID
|
|
832
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
833
|
-
* @type {string || null}
|
|
834
|
-
*/
|
|
835
|
-
this.NatGatewayId = null;
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* VPC ID
|
|
839
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
840
|
-
* @type {string || null}
|
|
841
|
-
*/
|
|
842
|
-
this.VpcId = null;
|
|
843
|
-
|
|
844
|
-
/**
|
|
845
|
-
* Creation time of a SNAT rule for a NAT Gateway
|
|
846
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
847
|
-
* @type {string || null}
|
|
848
|
-
*/
|
|
849
|
-
this.CreatedTime = null;
|
|
850
|
-
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* @private
|
|
855
|
-
*/
|
|
856
|
-
deserialize(params) {
|
|
857
|
-
if (!params) {
|
|
858
|
-
return;
|
|
859
|
-
}
|
|
860
|
-
this.ResourceId = 'ResourceId' in params ? params.ResourceId : null;
|
|
861
|
-
this.ResourceType = 'ResourceType' in params ? params.ResourceType : null;
|
|
862
|
-
this.PrivateIpAddress = 'PrivateIpAddress' in params ? params.PrivateIpAddress : null;
|
|
863
|
-
this.PublicIpAddresses = 'PublicIpAddresses' in params ? params.PublicIpAddresses : null;
|
|
864
|
-
this.Description = 'Description' in params ? params.Description : null;
|
|
865
|
-
this.NatGatewaySnatId = 'NatGatewaySnatId' in params ? params.NatGatewaySnatId : null;
|
|
866
|
-
this.NatGatewayId = 'NatGatewayId' in params ? params.NatGatewayId : null;
|
|
867
|
-
this.VpcId = 'VpcId' in params ? params.VpcId : null;
|
|
868
|
-
this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
|
|
869
|
-
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
|
|
873
785
|
/**
|
|
874
786
|
* DescribeCustomerGateways request structure.
|
|
875
787
|
* @class
|
|
@@ -1428,7 +1340,7 @@ class FlowLog extends AbstractModel {
|
|
|
1428
1340
|
this.FlowLogName = null;
|
|
1429
1341
|
|
|
1430
1342
|
/**
|
|
1431
|
-
* The type of resource associated with the flow log. Valid values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, and `
|
|
1343
|
+
* The type of resource associated with the flow log. Valid values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, `CCN`, `NAT`, and `DCG`.
|
|
1432
1344
|
* @type {string || null}
|
|
1433
1345
|
*/
|
|
1434
1346
|
this.ResourceType = null;
|
|
@@ -2521,64 +2433,6 @@ class DisassociateNetworkInterfaceSecurityGroupsRequest extends AbstractModel {
|
|
|
2521
2433
|
}
|
|
2522
2434
|
}
|
|
2523
2435
|
|
|
2524
|
-
/**
|
|
2525
|
-
* Security group policy set
|
|
2526
|
-
* @class
|
|
2527
|
-
*/
|
|
2528
|
-
class SecurityGroupPolicySet extends AbstractModel {
|
|
2529
|
-
constructor(){
|
|
2530
|
-
super();
|
|
2531
|
-
|
|
2532
|
-
/**
|
|
2533
|
-
* The version of the security group policy. The version number is automatically increased by one each time users update the security policy, to prevent the expiration of updated routing policies. Conflict is ignored if it is left empty.
|
|
2534
|
-
* @type {string || null}
|
|
2535
|
-
*/
|
|
2536
|
-
this.Version = null;
|
|
2537
|
-
|
|
2538
|
-
/**
|
|
2539
|
-
* Outbound policy.
|
|
2540
|
-
* @type {Array.<SecurityGroupPolicy> || null}
|
|
2541
|
-
*/
|
|
2542
|
-
this.Egress = null;
|
|
2543
|
-
|
|
2544
|
-
/**
|
|
2545
|
-
* Inbound policy.
|
|
2546
|
-
* @type {Array.<SecurityGroupPolicy> || null}
|
|
2547
|
-
*/
|
|
2548
|
-
this.Ingress = null;
|
|
2549
|
-
|
|
2550
|
-
}
|
|
2551
|
-
|
|
2552
|
-
/**
|
|
2553
|
-
* @private
|
|
2554
|
-
*/
|
|
2555
|
-
deserialize(params) {
|
|
2556
|
-
if (!params) {
|
|
2557
|
-
return;
|
|
2558
|
-
}
|
|
2559
|
-
this.Version = 'Version' in params ? params.Version : null;
|
|
2560
|
-
|
|
2561
|
-
if (params.Egress) {
|
|
2562
|
-
this.Egress = new Array();
|
|
2563
|
-
for (let z in params.Egress) {
|
|
2564
|
-
let obj = new SecurityGroupPolicy();
|
|
2565
|
-
obj.deserialize(params.Egress[z]);
|
|
2566
|
-
this.Egress.push(obj);
|
|
2567
|
-
}
|
|
2568
|
-
}
|
|
2569
|
-
|
|
2570
|
-
if (params.Ingress) {
|
|
2571
|
-
this.Ingress = new Array();
|
|
2572
|
-
for (let z in params.Ingress) {
|
|
2573
|
-
let obj = new SecurityGroupPolicy();
|
|
2574
|
-
obj.deserialize(params.Ingress[z]);
|
|
2575
|
-
this.Ingress.push(obj);
|
|
2576
|
-
}
|
|
2577
|
-
}
|
|
2578
|
-
|
|
2579
|
-
}
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2582
2436
|
/**
|
|
2583
2437
|
* ModifyFlowLogAttribute request structure.
|
|
2584
2438
|
* @class
|
|
@@ -4949,49 +4803,6 @@ class DeleteAddressTemplateRequest extends AbstractModel {
|
|
|
4949
4803
|
}
|
|
4950
4804
|
}
|
|
4951
4805
|
|
|
4952
|
-
/**
|
|
4953
|
-
* CreateNatGatewaySourceIpTranslationNatRule request structure.
|
|
4954
|
-
* @class
|
|
4955
|
-
*/
|
|
4956
|
-
class CreateNatGatewaySourceIpTranslationNatRuleRequest extends AbstractModel {
|
|
4957
|
-
constructor(){
|
|
4958
|
-
super();
|
|
4959
|
-
|
|
4960
|
-
/**
|
|
4961
|
-
* The ID of the NAT Gateway, such as `nat-df45454`
|
|
4962
|
-
* @type {string || null}
|
|
4963
|
-
*/
|
|
4964
|
-
this.NatGatewayId = null;
|
|
4965
|
-
|
|
4966
|
-
/**
|
|
4967
|
-
* The SNAT forwarding rule of the NAT Gateway
|
|
4968
|
-
* @type {Array.<SourceIpTranslationNatRule> || null}
|
|
4969
|
-
*/
|
|
4970
|
-
this.SourceIpTranslationNatRules = null;
|
|
4971
|
-
|
|
4972
|
-
}
|
|
4973
|
-
|
|
4974
|
-
/**
|
|
4975
|
-
* @private
|
|
4976
|
-
*/
|
|
4977
|
-
deserialize(params) {
|
|
4978
|
-
if (!params) {
|
|
4979
|
-
return;
|
|
4980
|
-
}
|
|
4981
|
-
this.NatGatewayId = 'NatGatewayId' in params ? params.NatGatewayId : null;
|
|
4982
|
-
|
|
4983
|
-
if (params.SourceIpTranslationNatRules) {
|
|
4984
|
-
this.SourceIpTranslationNatRules = new Array();
|
|
4985
|
-
for (let z in params.SourceIpTranslationNatRules) {
|
|
4986
|
-
let obj = new SourceIpTranslationNatRule();
|
|
4987
|
-
obj.deserialize(params.SourceIpTranslationNatRules[z]);
|
|
4988
|
-
this.SourceIpTranslationNatRules.push(obj);
|
|
4989
|
-
}
|
|
4990
|
-
}
|
|
4991
|
-
|
|
4992
|
-
}
|
|
4993
|
-
}
|
|
4994
|
-
|
|
4995
4806
|
/**
|
|
4996
4807
|
* ENI
|
|
4997
4808
|
* @class
|
|
@@ -9468,10 +9279,10 @@ class CreateAddressTemplateResponse extends AbstractModel {
|
|
|
9468
9279
|
}
|
|
9469
9280
|
|
|
9470
9281
|
/**
|
|
9471
|
-
*
|
|
9282
|
+
* DeleteDirectConnectGateway response structure.
|
|
9472
9283
|
* @class
|
|
9473
9284
|
*/
|
|
9474
|
-
class
|
|
9285
|
+
class DeleteDirectConnectGatewayResponse extends AbstractModel {
|
|
9475
9286
|
constructor(){
|
|
9476
9287
|
super();
|
|
9477
9288
|
|
|
@@ -10684,34 +10495,6 @@ class RenewVpnGatewayResponse extends AbstractModel {
|
|
|
10684
10495
|
}
|
|
10685
10496
|
}
|
|
10686
10497
|
|
|
10687
|
-
/**
|
|
10688
|
-
* DeleteDirectConnectGateway response structure.
|
|
10689
|
-
* @class
|
|
10690
|
-
*/
|
|
10691
|
-
class DeleteDirectConnectGatewayResponse extends AbstractModel {
|
|
10692
|
-
constructor(){
|
|
10693
|
-
super();
|
|
10694
|
-
|
|
10695
|
-
/**
|
|
10696
|
-
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
10697
|
-
* @type {string || null}
|
|
10698
|
-
*/
|
|
10699
|
-
this.RequestId = null;
|
|
10700
|
-
|
|
10701
|
-
}
|
|
10702
|
-
|
|
10703
|
-
/**
|
|
10704
|
-
* @private
|
|
10705
|
-
*/
|
|
10706
|
-
deserialize(params) {
|
|
10707
|
-
if (!params) {
|
|
10708
|
-
return;
|
|
10709
|
-
}
|
|
10710
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10711
|
-
|
|
10712
|
-
}
|
|
10713
|
-
}
|
|
10714
|
-
|
|
10715
10498
|
/**
|
|
10716
10499
|
* ModifyAddressesBandwidth request structure.
|
|
10717
10500
|
* @class
|
|
@@ -11183,6 +10966,34 @@ class HaVipDisassociateAddressIpRequest extends AbstractModel {
|
|
|
11183
10966
|
}
|
|
11184
10967
|
}
|
|
11185
10968
|
|
|
10969
|
+
/**
|
|
10970
|
+
* DisableFlowLogs response structure.
|
|
10971
|
+
* @class
|
|
10972
|
+
*/
|
|
10973
|
+
class DisableFlowLogsResponse extends AbstractModel {
|
|
10974
|
+
constructor(){
|
|
10975
|
+
super();
|
|
10976
|
+
|
|
10977
|
+
/**
|
|
10978
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
10979
|
+
* @type {string || null}
|
|
10980
|
+
*/
|
|
10981
|
+
this.RequestId = null;
|
|
10982
|
+
|
|
10983
|
+
}
|
|
10984
|
+
|
|
10985
|
+
/**
|
|
10986
|
+
* @private
|
|
10987
|
+
*/
|
|
10988
|
+
deserialize(params) {
|
|
10989
|
+
if (!params) {
|
|
10990
|
+
return;
|
|
10991
|
+
}
|
|
10992
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10993
|
+
|
|
10994
|
+
}
|
|
10995
|
+
}
|
|
10996
|
+
|
|
11186
10997
|
/**
|
|
11187
10998
|
* DescribeBandwidthPackageResources response structure.
|
|
11188
10999
|
* @class
|
|
@@ -11773,34 +11584,6 @@ class GetCcnRegionBandwidthLimitsRequest extends AbstractModel {
|
|
|
11773
11584
|
}
|
|
11774
11585
|
}
|
|
11775
11586
|
|
|
11776
|
-
/**
|
|
11777
|
-
* CreateNatGatewaySourceIpTranslationNatRule response structure.
|
|
11778
|
-
* @class
|
|
11779
|
-
*/
|
|
11780
|
-
class CreateNatGatewaySourceIpTranslationNatRuleResponse extends AbstractModel {
|
|
11781
|
-
constructor(){
|
|
11782
|
-
super();
|
|
11783
|
-
|
|
11784
|
-
/**
|
|
11785
|
-
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
11786
|
-
* @type {string || null}
|
|
11787
|
-
*/
|
|
11788
|
-
this.RequestId = null;
|
|
11789
|
-
|
|
11790
|
-
}
|
|
11791
|
-
|
|
11792
|
-
/**
|
|
11793
|
-
* @private
|
|
11794
|
-
*/
|
|
11795
|
-
deserialize(params) {
|
|
11796
|
-
if (!params) {
|
|
11797
|
-
return;
|
|
11798
|
-
}
|
|
11799
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
11800
|
-
|
|
11801
|
-
}
|
|
11802
|
-
}
|
|
11803
|
-
|
|
11804
11587
|
/**
|
|
11805
11588
|
* The instance object associated with a CCN
|
|
11806
11589
|
* @class
|
|
@@ -15041,24 +14824,18 @@ class DeleteDirectConnectGatewayCcnRoutesRequest extends AbstractModel {
|
|
|
15041
14824
|
}
|
|
15042
14825
|
|
|
15043
14826
|
/**
|
|
15044
|
-
*
|
|
14827
|
+
* RemoveBandwidthPackageResources response structure.
|
|
15045
14828
|
* @class
|
|
15046
14829
|
*/
|
|
15047
|
-
class
|
|
14830
|
+
class RemoveBandwidthPackageResourcesResponse extends AbstractModel {
|
|
15048
14831
|
constructor(){
|
|
15049
14832
|
super();
|
|
15050
14833
|
|
|
15051
14834
|
/**
|
|
15052
|
-
* The ID
|
|
14835
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
15053
14836
|
* @type {string || null}
|
|
15054
14837
|
*/
|
|
15055
|
-
this.
|
|
15056
|
-
|
|
15057
|
-
/**
|
|
15058
|
-
* The port forwarding rules of the NAT gateway.
|
|
15059
|
-
* @type {Array.<DestinationIpPortTranslationNatRule> || null}
|
|
15060
|
-
*/
|
|
15061
|
-
this.DestinationIpPortTranslationNatRules = null;
|
|
14838
|
+
this.RequestId = null;
|
|
15062
14839
|
|
|
15063
14840
|
}
|
|
15064
14841
|
|
|
@@ -15069,16 +14846,7 @@ class CreateNatGatewayDestinationIpPortTranslationNatRuleRequest extends Abstra
|
|
|
15069
14846
|
if (!params) {
|
|
15070
14847
|
return;
|
|
15071
14848
|
}
|
|
15072
|
-
this.
|
|
15073
|
-
|
|
15074
|
-
if (params.DestinationIpPortTranslationNatRules) {
|
|
15075
|
-
this.DestinationIpPortTranslationNatRules = new Array();
|
|
15076
|
-
for (let z in params.DestinationIpPortTranslationNatRules) {
|
|
15077
|
-
let obj = new DestinationIpPortTranslationNatRule();
|
|
15078
|
-
obj.deserialize(params.DestinationIpPortTranslationNatRules[z]);
|
|
15079
|
-
this.DestinationIpPortTranslationNatRules.push(obj);
|
|
15080
|
-
}
|
|
15081
|
-
}
|
|
14849
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
15082
14850
|
|
|
15083
14851
|
}
|
|
15084
14852
|
}
|
|
@@ -15098,7 +14866,7 @@ class CreateFlowLogRequest extends AbstractModel {
|
|
|
15098
14866
|
this.FlowLogName = null;
|
|
15099
14867
|
|
|
15100
14868
|
/**
|
|
15101
|
-
* The type of resource associated with the flow log. Valid values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, and `
|
|
14869
|
+
* The type of resource associated with the flow log. Valid values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, `CCN`, `NAT`, and `DCG`.
|
|
15102
14870
|
* @type {string || null}
|
|
15103
14871
|
*/
|
|
15104
14872
|
this.ResourceType = null;
|
|
@@ -16089,6 +15857,34 @@ class DisassociateVpcEndPointSecurityGroupsRequest extends AbstractModel {
|
|
|
16089
15857
|
}
|
|
16090
15858
|
}
|
|
16091
15859
|
|
|
15860
|
+
/**
|
|
15861
|
+
* EnableFlowLogs request structure.
|
|
15862
|
+
* @class
|
|
15863
|
+
*/
|
|
15864
|
+
class EnableFlowLogsRequest extends AbstractModel {
|
|
15865
|
+
constructor(){
|
|
15866
|
+
super();
|
|
15867
|
+
|
|
15868
|
+
/**
|
|
15869
|
+
* Flow log ID.
|
|
15870
|
+
* @type {Array.<string> || null}
|
|
15871
|
+
*/
|
|
15872
|
+
this.FlowLogIds = null;
|
|
15873
|
+
|
|
15874
|
+
}
|
|
15875
|
+
|
|
15876
|
+
/**
|
|
15877
|
+
* @private
|
|
15878
|
+
*/
|
|
15879
|
+
deserialize(params) {
|
|
15880
|
+
if (!params) {
|
|
15881
|
+
return;
|
|
15882
|
+
}
|
|
15883
|
+
this.FlowLogIds = 'FlowLogIds' in params ? params.FlowLogIds : null;
|
|
15884
|
+
|
|
15885
|
+
}
|
|
15886
|
+
}
|
|
15887
|
+
|
|
16092
15888
|
/**
|
|
16093
15889
|
* ModifyVpnGatewayAttribute request structure.
|
|
16094
15890
|
* @class
|
|
@@ -17975,69 +17771,6 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
17975
17771
|
}
|
|
17976
17772
|
}
|
|
17977
17773
|
|
|
17978
|
-
/**
|
|
17979
|
-
* The port forwarding rules of the NAT gateway
|
|
17980
|
-
* @class
|
|
17981
|
-
*/
|
|
17982
|
-
class DestinationIpPortTranslationNatRule extends AbstractModel {
|
|
17983
|
-
constructor(){
|
|
17984
|
-
super();
|
|
17985
|
-
|
|
17986
|
-
/**
|
|
17987
|
-
* Network protocol. Available choices: `TCP`, `UDP`.
|
|
17988
|
-
* @type {string || null}
|
|
17989
|
-
*/
|
|
17990
|
-
this.IpProtocol = null;
|
|
17991
|
-
|
|
17992
|
-
/**
|
|
17993
|
-
* EIP.
|
|
17994
|
-
* @type {string || null}
|
|
17995
|
-
*/
|
|
17996
|
-
this.PublicIpAddress = null;
|
|
17997
|
-
|
|
17998
|
-
/**
|
|
17999
|
-
* Public port.
|
|
18000
|
-
* @type {number || null}
|
|
18001
|
-
*/
|
|
18002
|
-
this.PublicPort = null;
|
|
18003
|
-
|
|
18004
|
-
/**
|
|
18005
|
-
* Private network address.
|
|
18006
|
-
* @type {string || null}
|
|
18007
|
-
*/
|
|
18008
|
-
this.PrivateIpAddress = null;
|
|
18009
|
-
|
|
18010
|
-
/**
|
|
18011
|
-
* Private network port.
|
|
18012
|
-
* @type {number || null}
|
|
18013
|
-
*/
|
|
18014
|
-
this.PrivatePort = null;
|
|
18015
|
-
|
|
18016
|
-
/**
|
|
18017
|
-
* NAT gateway forwarding rule description.
|
|
18018
|
-
* @type {string || null}
|
|
18019
|
-
*/
|
|
18020
|
-
this.Description = null;
|
|
18021
|
-
|
|
18022
|
-
}
|
|
18023
|
-
|
|
18024
|
-
/**
|
|
18025
|
-
* @private
|
|
18026
|
-
*/
|
|
18027
|
-
deserialize(params) {
|
|
18028
|
-
if (!params) {
|
|
18029
|
-
return;
|
|
18030
|
-
}
|
|
18031
|
-
this.IpProtocol = 'IpProtocol' in params ? params.IpProtocol : null;
|
|
18032
|
-
this.PublicIpAddress = 'PublicIpAddress' in params ? params.PublicIpAddress : null;
|
|
18033
|
-
this.PublicPort = 'PublicPort' in params ? params.PublicPort : null;
|
|
18034
|
-
this.PrivateIpAddress = 'PrivateIpAddress' in params ? params.PrivateIpAddress : null;
|
|
18035
|
-
this.PrivatePort = 'PrivatePort' in params ? params.PrivatePort : null;
|
|
18036
|
-
this.Description = 'Description' in params ? params.Description : null;
|
|
18037
|
-
|
|
18038
|
-
}
|
|
18039
|
-
}
|
|
18040
|
-
|
|
18041
17774
|
/**
|
|
18042
17775
|
* CreateDefaultVpc request structure.
|
|
18043
17776
|
* @class
|
|
@@ -19804,18 +19537,30 @@ class DescribeAddressQuotaRequest extends AbstractModel {
|
|
|
19804
19537
|
}
|
|
19805
19538
|
|
|
19806
19539
|
/**
|
|
19807
|
-
*
|
|
19540
|
+
* Security group policy set
|
|
19808
19541
|
* @class
|
|
19809
19542
|
*/
|
|
19810
|
-
class
|
|
19543
|
+
class SecurityGroupPolicySet extends AbstractModel {
|
|
19811
19544
|
constructor(){
|
|
19812
19545
|
super();
|
|
19813
19546
|
|
|
19814
19547
|
/**
|
|
19815
|
-
* The
|
|
19548
|
+
* The version of the security group policy. The version number is automatically increased by one each time users update the security policy, to prevent the expiration of updated routing policies. Conflict is ignored if it is left empty.
|
|
19816
19549
|
* @type {string || null}
|
|
19817
19550
|
*/
|
|
19818
|
-
this.
|
|
19551
|
+
this.Version = null;
|
|
19552
|
+
|
|
19553
|
+
/**
|
|
19554
|
+
* Outbound policy.
|
|
19555
|
+
* @type {Array.<SecurityGroupPolicy> || null}
|
|
19556
|
+
*/
|
|
19557
|
+
this.Egress = null;
|
|
19558
|
+
|
|
19559
|
+
/**
|
|
19560
|
+
* Inbound policy.
|
|
19561
|
+
* @type {Array.<SecurityGroupPolicy> || null}
|
|
19562
|
+
*/
|
|
19563
|
+
this.Ingress = null;
|
|
19819
19564
|
|
|
19820
19565
|
}
|
|
19821
19566
|
|
|
@@ -19826,7 +19571,25 @@ class RemoveBandwidthPackageResourcesResponse extends AbstractModel {
|
|
|
19826
19571
|
if (!params) {
|
|
19827
19572
|
return;
|
|
19828
19573
|
}
|
|
19829
|
-
this.
|
|
19574
|
+
this.Version = 'Version' in params ? params.Version : null;
|
|
19575
|
+
|
|
19576
|
+
if (params.Egress) {
|
|
19577
|
+
this.Egress = new Array();
|
|
19578
|
+
for (let z in params.Egress) {
|
|
19579
|
+
let obj = new SecurityGroupPolicy();
|
|
19580
|
+
obj.deserialize(params.Egress[z]);
|
|
19581
|
+
this.Egress.push(obj);
|
|
19582
|
+
}
|
|
19583
|
+
}
|
|
19584
|
+
|
|
19585
|
+
if (params.Ingress) {
|
|
19586
|
+
this.Ingress = new Array();
|
|
19587
|
+
for (let z in params.Ingress) {
|
|
19588
|
+
let obj = new SecurityGroupPolicy();
|
|
19589
|
+
obj.deserialize(params.Ingress[z]);
|
|
19590
|
+
this.Ingress.push(obj);
|
|
19591
|
+
}
|
|
19592
|
+
}
|
|
19830
19593
|
|
|
19831
19594
|
}
|
|
19832
19595
|
}
|
|
@@ -21471,6 +21234,34 @@ class Ipv6SubnetCidrBlock extends AbstractModel {
|
|
|
21471
21234
|
}
|
|
21472
21235
|
}
|
|
21473
21236
|
|
|
21237
|
+
/**
|
|
21238
|
+
* EnableFlowLogs response structure.
|
|
21239
|
+
* @class
|
|
21240
|
+
*/
|
|
21241
|
+
class EnableFlowLogsResponse extends AbstractModel {
|
|
21242
|
+
constructor(){
|
|
21243
|
+
super();
|
|
21244
|
+
|
|
21245
|
+
/**
|
|
21246
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
21247
|
+
* @type {string || null}
|
|
21248
|
+
*/
|
|
21249
|
+
this.RequestId = null;
|
|
21250
|
+
|
|
21251
|
+
}
|
|
21252
|
+
|
|
21253
|
+
/**
|
|
21254
|
+
* @private
|
|
21255
|
+
*/
|
|
21256
|
+
deserialize(params) {
|
|
21257
|
+
if (!params) {
|
|
21258
|
+
return;
|
|
21259
|
+
}
|
|
21260
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
21261
|
+
|
|
21262
|
+
}
|
|
21263
|
+
}
|
|
21264
|
+
|
|
21474
21265
|
/**
|
|
21475
21266
|
* DescribeAddressQuota response structure.
|
|
21476
21267
|
* @class
|
|
@@ -22893,6 +22684,34 @@ class CreateVpcRequest extends AbstractModel {
|
|
|
22893
22684
|
}
|
|
22894
22685
|
}
|
|
22895
22686
|
|
|
22687
|
+
/**
|
|
22688
|
+
* DisableFlowLogs request structure.
|
|
22689
|
+
* @class
|
|
22690
|
+
*/
|
|
22691
|
+
class DisableFlowLogsRequest extends AbstractModel {
|
|
22692
|
+
constructor(){
|
|
22693
|
+
super();
|
|
22694
|
+
|
|
22695
|
+
/**
|
|
22696
|
+
* Flow log ID.
|
|
22697
|
+
* @type {Array.<string> || null}
|
|
22698
|
+
*/
|
|
22699
|
+
this.FlowLogIds = null;
|
|
22700
|
+
|
|
22701
|
+
}
|
|
22702
|
+
|
|
22703
|
+
/**
|
|
22704
|
+
* @private
|
|
22705
|
+
*/
|
|
22706
|
+
deserialize(params) {
|
|
22707
|
+
if (!params) {
|
|
22708
|
+
return;
|
|
22709
|
+
}
|
|
22710
|
+
this.FlowLogIds = 'FlowLogIds' in params ? params.FlowLogIds : null;
|
|
22711
|
+
|
|
22712
|
+
}
|
|
22713
|
+
}
|
|
22714
|
+
|
|
22896
22715
|
/**
|
|
22897
22716
|
* DeleteServiceTemplate request structure.
|
|
22898
22717
|
* @class
|
|
@@ -23382,7 +23201,6 @@ module.exports = {
|
|
|
23382
23201
|
DescribeVpnConnectionsRequest: DescribeVpnConnectionsRequest,
|
|
23383
23202
|
DescribeNetworkInterfacesRequest: DescribeNetworkInterfacesRequest,
|
|
23384
23203
|
DescribeVpcIpv6AddressesRequest: DescribeVpcIpv6AddressesRequest,
|
|
23385
|
-
SourceIpTranslationNatRule: SourceIpTranslationNatRule,
|
|
23386
23204
|
DescribeCustomerGatewaysRequest: DescribeCustomerGatewaysRequest,
|
|
23387
23205
|
ModifyCcnRegionBandwidthLimitsTypeResponse: ModifyCcnRegionBandwidthLimitsTypeResponse,
|
|
23388
23206
|
DescribeVpnGatewaysResponse: DescribeVpnGatewaysResponse,
|
|
@@ -23414,7 +23232,6 @@ module.exports = {
|
|
|
23414
23232
|
ModifyBandwidthPackageAttributeRequest: ModifyBandwidthPackageAttributeRequest,
|
|
23415
23233
|
TransformAddressResponse: TransformAddressResponse,
|
|
23416
23234
|
DisassociateNetworkInterfaceSecurityGroupsRequest: DisassociateNetworkInterfaceSecurityGroupsRequest,
|
|
23417
|
-
SecurityGroupPolicySet: SecurityGroupPolicySet,
|
|
23418
23235
|
ModifyFlowLogAttributeRequest: ModifyFlowLogAttributeRequest,
|
|
23419
23236
|
UnassignIpv6SubnetCidrBlockResponse: UnassignIpv6SubnetCidrBlockResponse,
|
|
23420
23237
|
ModifyVpcEndPointServiceAttributeRequest: ModifyVpcEndPointServiceAttributeRequest,
|
|
@@ -23469,7 +23286,6 @@ module.exports = {
|
|
|
23469
23286
|
DeleteAddressTemplateResponse: DeleteAddressTemplateResponse,
|
|
23470
23287
|
ModifySubnetAttributeResponse: ModifySubnetAttributeResponse,
|
|
23471
23288
|
DeleteAddressTemplateRequest: DeleteAddressTemplateRequest,
|
|
23472
|
-
CreateNatGatewaySourceIpTranslationNatRuleRequest: CreateNatGatewaySourceIpTranslationNatRuleRequest,
|
|
23473
23289
|
NetworkInterface: NetworkInterface,
|
|
23474
23290
|
TransformAddressRequest: TransformAddressRequest,
|
|
23475
23291
|
ReplaceDirectConnectGatewayCcnRoutesRequest: ReplaceDirectConnectGatewayCcnRoutesRequest,
|
|
@@ -23551,7 +23367,7 @@ module.exports = {
|
|
|
23551
23367
|
CreateVpnGatewayRoutesResponse: CreateVpnGatewayRoutesResponse,
|
|
23552
23368
|
CreateNetDetectRequest: CreateNetDetectRequest,
|
|
23553
23369
|
CreateAddressTemplateResponse: CreateAddressTemplateResponse,
|
|
23554
|
-
|
|
23370
|
+
DeleteDirectConnectGatewayResponse: DeleteDirectConnectGatewayResponse,
|
|
23555
23371
|
DeleteAddressTemplateGroupRequest: DeleteAddressTemplateGroupRequest,
|
|
23556
23372
|
DescribeNetworkInterfaceLimitRequest: DescribeNetworkInterfaceLimitRequest,
|
|
23557
23373
|
CreateBandwidthPackageRequest: CreateBandwidthPackageRequest,
|
|
@@ -23578,13 +23394,13 @@ module.exports = {
|
|
|
23578
23394
|
NetworkAclEntry: NetworkAclEntry,
|
|
23579
23395
|
DescribeAssistantCidrRequest: DescribeAssistantCidrRequest,
|
|
23580
23396
|
RenewVpnGatewayResponse: RenewVpnGatewayResponse,
|
|
23581
|
-
DeleteDirectConnectGatewayResponse: DeleteDirectConnectGatewayResponse,
|
|
23582
23397
|
ModifyAddressesBandwidthRequest: ModifyAddressesBandwidthRequest,
|
|
23583
23398
|
ResetVpnGatewayInternetMaxBandwidthRequest: ResetVpnGatewayInternetMaxBandwidthRequest,
|
|
23584
23399
|
EndPoint: EndPoint,
|
|
23585
23400
|
DirectConnectGateway: DirectConnectGateway,
|
|
23586
23401
|
Price: Price,
|
|
23587
23402
|
HaVipDisassociateAddressIpRequest: HaVipDisassociateAddressIpRequest,
|
|
23403
|
+
DisableFlowLogsResponse: DisableFlowLogsResponse,
|
|
23588
23404
|
DescribeBandwidthPackageResourcesResponse: DescribeBandwidthPackageResourcesResponse,
|
|
23589
23405
|
DescribeCrossBorderComplianceResponse: DescribeCrossBorderComplianceResponse,
|
|
23590
23406
|
ModifyVpnGatewayAttributeResponse: ModifyVpnGatewayAttributeResponse,
|
|
@@ -23599,7 +23415,6 @@ module.exports = {
|
|
|
23599
23415
|
ModifyVpcEndPointServiceWhiteListRequest: ModifyVpcEndPointServiceWhiteListRequest,
|
|
23600
23416
|
CreateFlowLogResponse: CreateFlowLogResponse,
|
|
23601
23417
|
GetCcnRegionBandwidthLimitsRequest: GetCcnRegionBandwidthLimitsRequest,
|
|
23602
|
-
CreateNatGatewaySourceIpTranslationNatRuleResponse: CreateNatGatewaySourceIpTranslationNatRuleResponse,
|
|
23603
23418
|
CcnAttachedInstance: CcnAttachedInstance,
|
|
23604
23419
|
SecurityPolicyDatabase: SecurityPolicyDatabase,
|
|
23605
23420
|
ResetVpnConnectionResponse: ResetVpnConnectionResponse,
|
|
@@ -23666,7 +23481,7 @@ module.exports = {
|
|
|
23666
23481
|
DescribeVpcInstancesResponse: DescribeVpcInstancesResponse,
|
|
23667
23482
|
AccountAttribute: AccountAttribute,
|
|
23668
23483
|
DeleteDirectConnectGatewayCcnRoutesRequest: DeleteDirectConnectGatewayCcnRoutesRequest,
|
|
23669
|
-
|
|
23484
|
+
RemoveBandwidthPackageResourcesResponse: RemoveBandwidthPackageResourcesResponse,
|
|
23670
23485
|
CreateFlowLogRequest: CreateFlowLogRequest,
|
|
23671
23486
|
InquirePriceCreateDirectConnectGatewayRequest: InquirePriceCreateDirectConnectGatewayRequest,
|
|
23672
23487
|
AttachNetworkInterfaceResponse: AttachNetworkInterfaceResponse,
|
|
@@ -23691,6 +23506,7 @@ module.exports = {
|
|
|
23691
23506
|
CreateNetDetectResponse: CreateNetDetectResponse,
|
|
23692
23507
|
DeleteCcnRequest: DeleteCcnRequest,
|
|
23693
23508
|
DisassociateVpcEndPointSecurityGroupsRequest: DisassociateVpcEndPointSecurityGroupsRequest,
|
|
23509
|
+
EnableFlowLogsRequest: EnableFlowLogsRequest,
|
|
23694
23510
|
ModifyVpnGatewayAttributeRequest: ModifyVpnGatewayAttributeRequest,
|
|
23695
23511
|
DeleteNetDetectRequest: DeleteNetDetectRequest,
|
|
23696
23512
|
IPSECOptionsSpecification: IPSECOptionsSpecification,
|
|
@@ -23728,7 +23544,6 @@ module.exports = {
|
|
|
23728
23544
|
UnassignIpv6CidrBlockRequest: UnassignIpv6CidrBlockRequest,
|
|
23729
23545
|
CCN: CCN,
|
|
23730
23546
|
InquirePriceCreateDirectConnectGatewayResponse: InquirePriceCreateDirectConnectGatewayResponse,
|
|
23731
|
-
DestinationIpPortTranslationNatRule: DestinationIpPortTranslationNatRule,
|
|
23732
23547
|
CreateDefaultVpcRequest: CreateDefaultVpcRequest,
|
|
23733
23548
|
DescribeSubnetsResponse: DescribeSubnetsResponse,
|
|
23734
23549
|
DescribeCustomerGatewaysResponse: DescribeCustomerGatewaysResponse,
|
|
@@ -23771,7 +23586,7 @@ module.exports = {
|
|
|
23771
23586
|
DeleteSecurityGroupResponse: DeleteSecurityGroupResponse,
|
|
23772
23587
|
CreateNetworkInterfaceResponse: CreateNetworkInterfaceResponse,
|
|
23773
23588
|
DescribeAddressQuotaRequest: DescribeAddressQuotaRequest,
|
|
23774
|
-
|
|
23589
|
+
SecurityGroupPolicySet: SecurityGroupPolicySet,
|
|
23775
23590
|
AssignIpv6AddressesResponse: AssignIpv6AddressesResponse,
|
|
23776
23591
|
CreateRoutesResponse: CreateRoutesResponse,
|
|
23777
23592
|
DescribeSecurityGroupsResponse: DescribeSecurityGroupsResponse,
|
|
@@ -23809,6 +23624,7 @@ module.exports = {
|
|
|
23809
23624
|
ModifyNetDetectResponse: ModifyNetDetectResponse,
|
|
23810
23625
|
CreateHaVipRequest: CreateHaVipRequest,
|
|
23811
23626
|
Ipv6SubnetCidrBlock: Ipv6SubnetCidrBlock,
|
|
23627
|
+
EnableFlowLogsResponse: EnableFlowLogsResponse,
|
|
23812
23628
|
DescribeAddressQuotaResponse: DescribeAddressQuotaResponse,
|
|
23813
23629
|
CreateCustomerGatewayRequest: CreateCustomerGatewayRequest,
|
|
23814
23630
|
DeleteSecurityGroupRequest: DeleteSecurityGroupRequest,
|
|
@@ -23839,6 +23655,7 @@ module.exports = {
|
|
|
23839
23655
|
DescribeServiceTemplateGroupsRequest: DescribeServiceTemplateGroupsRequest,
|
|
23840
23656
|
CreateSecurityGroupWithPoliciesRequest: CreateSecurityGroupWithPoliciesRequest,
|
|
23841
23657
|
CreateVpcRequest: CreateVpcRequest,
|
|
23658
|
+
DisableFlowLogsRequest: DisableFlowLogsRequest,
|
|
23842
23659
|
DeleteServiceTemplateRequest: DeleteServiceTemplateRequest,
|
|
23843
23660
|
DescribeSecurityGroupAssociationStatisticsRequest: DescribeSecurityGroupAssociationStatisticsRequest,
|
|
23844
23661
|
Route: Route,
|
|
@@ -29,7 +29,6 @@ const CreateCcnResponse = models.CreateCcnResponse;
|
|
|
29
29
|
const DescribeVpnConnectionsRequest = models.DescribeVpnConnectionsRequest;
|
|
30
30
|
const DescribeNetworkInterfacesRequest = models.DescribeNetworkInterfacesRequest;
|
|
31
31
|
const DescribeVpcIpv6AddressesRequest = models.DescribeVpcIpv6AddressesRequest;
|
|
32
|
-
const SourceIpTranslationNatRule = models.SourceIpTranslationNatRule;
|
|
33
32
|
const DescribeCustomerGatewaysRequest = models.DescribeCustomerGatewaysRequest;
|
|
34
33
|
const ModifyCcnRegionBandwidthLimitsTypeResponse = models.ModifyCcnRegionBandwidthLimitsTypeResponse;
|
|
35
34
|
const DescribeVpnGatewaysResponse = models.DescribeVpnGatewaysResponse;
|
|
@@ -61,7 +60,6 @@ const CreateVpcEndPointRequest = models.CreateVpcEndPointRequest;
|
|
|
61
60
|
const ModifyBandwidthPackageAttributeRequest = models.ModifyBandwidthPackageAttributeRequest;
|
|
62
61
|
const TransformAddressResponse = models.TransformAddressResponse;
|
|
63
62
|
const DisassociateNetworkInterfaceSecurityGroupsRequest = models.DisassociateNetworkInterfaceSecurityGroupsRequest;
|
|
64
|
-
const SecurityGroupPolicySet = models.SecurityGroupPolicySet;
|
|
65
63
|
const ModifyFlowLogAttributeRequest = models.ModifyFlowLogAttributeRequest;
|
|
66
64
|
const UnassignIpv6SubnetCidrBlockResponse = models.UnassignIpv6SubnetCidrBlockResponse;
|
|
67
65
|
const ModifyVpcEndPointServiceAttributeRequest = models.ModifyVpcEndPointServiceAttributeRequest;
|
|
@@ -116,7 +114,6 @@ const CreateSecurityGroupWithPoliciesResponse = models.CreateSecurityGroupWithPo
|
|
|
116
114
|
const DeleteAddressTemplateResponse = models.DeleteAddressTemplateResponse;
|
|
117
115
|
const ModifySubnetAttributeResponse = models.ModifySubnetAttributeResponse;
|
|
118
116
|
const DeleteAddressTemplateRequest = models.DeleteAddressTemplateRequest;
|
|
119
|
-
const CreateNatGatewaySourceIpTranslationNatRuleRequest = models.CreateNatGatewaySourceIpTranslationNatRuleRequest;
|
|
120
117
|
const NetworkInterface = models.NetworkInterface;
|
|
121
118
|
const TransformAddressRequest = models.TransformAddressRequest;
|
|
122
119
|
const ReplaceDirectConnectGatewayCcnRoutesRequest = models.ReplaceDirectConnectGatewayCcnRoutesRequest;
|
|
@@ -198,7 +195,7 @@ const DeleteCustomerGatewayResponse = models.DeleteCustomerGatewayResponse;
|
|
|
198
195
|
const CreateVpnGatewayRoutesResponse = models.CreateVpnGatewayRoutesResponse;
|
|
199
196
|
const CreateNetDetectRequest = models.CreateNetDetectRequest;
|
|
200
197
|
const CreateAddressTemplateResponse = models.CreateAddressTemplateResponse;
|
|
201
|
-
const
|
|
198
|
+
const DeleteDirectConnectGatewayResponse = models.DeleteDirectConnectGatewayResponse;
|
|
202
199
|
const DeleteAddressTemplateGroupRequest = models.DeleteAddressTemplateGroupRequest;
|
|
203
200
|
const DescribeNetworkInterfaceLimitRequest = models.DescribeNetworkInterfaceLimitRequest;
|
|
204
201
|
const CreateBandwidthPackageRequest = models.CreateBandwidthPackageRequest;
|
|
@@ -225,13 +222,13 @@ const EnableVpcEndPointConnectResponse = models.EnableVpcEndPointConnectResponse
|
|
|
225
222
|
const NetworkAclEntry = models.NetworkAclEntry;
|
|
226
223
|
const DescribeAssistantCidrRequest = models.DescribeAssistantCidrRequest;
|
|
227
224
|
const RenewVpnGatewayResponse = models.RenewVpnGatewayResponse;
|
|
228
|
-
const DeleteDirectConnectGatewayResponse = models.DeleteDirectConnectGatewayResponse;
|
|
229
225
|
const ModifyAddressesBandwidthRequest = models.ModifyAddressesBandwidthRequest;
|
|
230
226
|
const ResetVpnGatewayInternetMaxBandwidthRequest = models.ResetVpnGatewayInternetMaxBandwidthRequest;
|
|
231
227
|
const EndPoint = models.EndPoint;
|
|
232
228
|
const DirectConnectGateway = models.DirectConnectGateway;
|
|
233
229
|
const Price = models.Price;
|
|
234
230
|
const HaVipDisassociateAddressIpRequest = models.HaVipDisassociateAddressIpRequest;
|
|
231
|
+
const DisableFlowLogsResponse = models.DisableFlowLogsResponse;
|
|
235
232
|
const DescribeBandwidthPackageResourcesResponse = models.DescribeBandwidthPackageResourcesResponse;
|
|
236
233
|
const DescribeCrossBorderComplianceResponse = models.DescribeCrossBorderComplianceResponse;
|
|
237
234
|
const ModifyVpnGatewayAttributeResponse = models.ModifyVpnGatewayAttributeResponse;
|
|
@@ -246,7 +243,6 @@ const DetachCcnInstancesRequest = models.DetachCcnInstancesRequest;
|
|
|
246
243
|
const ModifyVpcEndPointServiceWhiteListRequest = models.ModifyVpcEndPointServiceWhiteListRequest;
|
|
247
244
|
const CreateFlowLogResponse = models.CreateFlowLogResponse;
|
|
248
245
|
const GetCcnRegionBandwidthLimitsRequest = models.GetCcnRegionBandwidthLimitsRequest;
|
|
249
|
-
const CreateNatGatewaySourceIpTranslationNatRuleResponse = models.CreateNatGatewaySourceIpTranslationNatRuleResponse;
|
|
250
246
|
const CcnAttachedInstance = models.CcnAttachedInstance;
|
|
251
247
|
const SecurityPolicyDatabase = models.SecurityPolicyDatabase;
|
|
252
248
|
const ResetVpnConnectionResponse = models.ResetVpnConnectionResponse;
|
|
@@ -313,7 +309,7 @@ const DeleteRouteTableResponse = models.DeleteRouteTableResponse;
|
|
|
313
309
|
const DescribeVpcInstancesResponse = models.DescribeVpcInstancesResponse;
|
|
314
310
|
const AccountAttribute = models.AccountAttribute;
|
|
315
311
|
const DeleteDirectConnectGatewayCcnRoutesRequest = models.DeleteDirectConnectGatewayCcnRoutesRequest;
|
|
316
|
-
const
|
|
312
|
+
const RemoveBandwidthPackageResourcesResponse = models.RemoveBandwidthPackageResourcesResponse;
|
|
317
313
|
const CreateFlowLogRequest = models.CreateFlowLogRequest;
|
|
318
314
|
const InquirePriceCreateDirectConnectGatewayRequest = models.InquirePriceCreateDirectConnectGatewayRequest;
|
|
319
315
|
const AttachNetworkInterfaceResponse = models.AttachNetworkInterfaceResponse;
|
|
@@ -338,6 +334,7 @@ const DeleteVpnConnectionRequest = models.DeleteVpnConnectionRequest;
|
|
|
338
334
|
const CreateNetDetectResponse = models.CreateNetDetectResponse;
|
|
339
335
|
const DeleteCcnRequest = models.DeleteCcnRequest;
|
|
340
336
|
const DisassociateVpcEndPointSecurityGroupsRequest = models.DisassociateVpcEndPointSecurityGroupsRequest;
|
|
337
|
+
const EnableFlowLogsRequest = models.EnableFlowLogsRequest;
|
|
341
338
|
const ModifyVpnGatewayAttributeRequest = models.ModifyVpnGatewayAttributeRequest;
|
|
342
339
|
const DeleteNetDetectRequest = models.DeleteNetDetectRequest;
|
|
343
340
|
const IPSECOptionsSpecification = models.IPSECOptionsSpecification;
|
|
@@ -375,7 +372,6 @@ const DeleteVpcEndPointRequest = models.DeleteVpcEndPointRequest;
|
|
|
375
372
|
const UnassignIpv6CidrBlockRequest = models.UnassignIpv6CidrBlockRequest;
|
|
376
373
|
const CCN = models.CCN;
|
|
377
374
|
const InquirePriceCreateDirectConnectGatewayResponse = models.InquirePriceCreateDirectConnectGatewayResponse;
|
|
378
|
-
const DestinationIpPortTranslationNatRule = models.DestinationIpPortTranslationNatRule;
|
|
379
375
|
const CreateDefaultVpcRequest = models.CreateDefaultVpcRequest;
|
|
380
376
|
const DescribeSubnetsResponse = models.DescribeSubnetsResponse;
|
|
381
377
|
const DescribeCustomerGatewaysResponse = models.DescribeCustomerGatewaysResponse;
|
|
@@ -418,7 +414,7 @@ const CcnBandwidthInfo = models.CcnBandwidthInfo;
|
|
|
418
414
|
const DeleteSecurityGroupResponse = models.DeleteSecurityGroupResponse;
|
|
419
415
|
const CreateNetworkInterfaceResponse = models.CreateNetworkInterfaceResponse;
|
|
420
416
|
const DescribeAddressQuotaRequest = models.DescribeAddressQuotaRequest;
|
|
421
|
-
const
|
|
417
|
+
const SecurityGroupPolicySet = models.SecurityGroupPolicySet;
|
|
422
418
|
const AssignIpv6AddressesResponse = models.AssignIpv6AddressesResponse;
|
|
423
419
|
const CreateRoutesResponse = models.CreateRoutesResponse;
|
|
424
420
|
const DescribeSecurityGroupsResponse = models.DescribeSecurityGroupsResponse;
|
|
@@ -456,6 +452,7 @@ const Filter = models.Filter;
|
|
|
456
452
|
const ModifyNetDetectResponse = models.ModifyNetDetectResponse;
|
|
457
453
|
const CreateHaVipRequest = models.CreateHaVipRequest;
|
|
458
454
|
const Ipv6SubnetCidrBlock = models.Ipv6SubnetCidrBlock;
|
|
455
|
+
const EnableFlowLogsResponse = models.EnableFlowLogsResponse;
|
|
459
456
|
const DescribeAddressQuotaResponse = models.DescribeAddressQuotaResponse;
|
|
460
457
|
const CreateCustomerGatewayRequest = models.CreateCustomerGatewayRequest;
|
|
461
458
|
const DeleteSecurityGroupRequest = models.DeleteSecurityGroupRequest;
|
|
@@ -486,6 +483,7 @@ const AssignPrivateIpAddressesRequest = models.AssignPrivateIpAddressesRequest;
|
|
|
486
483
|
const DescribeServiceTemplateGroupsRequest = models.DescribeServiceTemplateGroupsRequest;
|
|
487
484
|
const CreateSecurityGroupWithPoliciesRequest = models.CreateSecurityGroupWithPoliciesRequest;
|
|
488
485
|
const CreateVpcRequest = models.CreateVpcRequest;
|
|
486
|
+
const DisableFlowLogsRequest = models.DisableFlowLogsRequest;
|
|
489
487
|
const DeleteServiceTemplateRequest = models.DeleteServiceTemplateRequest;
|
|
490
488
|
const DescribeSecurityGroupAssociationStatisticsRequest = models.DescribeSecurityGroupAssociationStatisticsRequest;
|
|
491
489
|
const Route = models.Route;
|
|
@@ -1150,14 +1148,14 @@ This API is completed asynchronously. If you need to query the execution result
|
|
|
1150
1148
|
}
|
|
1151
1149
|
|
|
1152
1150
|
/**
|
|
1153
|
-
*
|
|
1154
|
-
* @param {
|
|
1155
|
-
* @param {function(string,
|
|
1151
|
+
* This API (DescribeVpnConnections) is used to query the VPN tunnel list.
|
|
1152
|
+
* @param {DescribeVpnConnectionsRequest} req
|
|
1153
|
+
* @param {function(string, DescribeVpnConnectionsResponse):void} cb
|
|
1156
1154
|
* @public
|
|
1157
1155
|
*/
|
|
1158
|
-
|
|
1159
|
-
let resp = new
|
|
1160
|
-
this.request("
|
|
1156
|
+
DescribeVpnConnections(req, cb) {
|
|
1157
|
+
let resp = new DescribeVpnConnectionsResponse();
|
|
1158
|
+
this.request("DescribeVpnConnections", req, resp, cb);
|
|
1161
1159
|
}
|
|
1162
1160
|
|
|
1163
1161
|
/**
|
|
@@ -1436,6 +1434,21 @@ Before deleting a subnet, you need to remove all resources in the subnet, includ
|
|
|
1436
1434
|
this.request("DescribeLocalGateway", req, resp, cb);
|
|
1437
1435
|
}
|
|
1438
1436
|
|
|
1437
|
+
/**
|
|
1438
|
+
* This API is used to migrate the private IPs between ENIs.
|
|
1439
|
+
* This API is used to migrate a private IP from one ENI to another. Primary IPs cannot be migrated.
|
|
1440
|
+
* The source and destination ENIs must be in the same subnet.
|
|
1441
|
+
|
|
1442
|
+
This API is completed asynchronously. If you need to query the execution result of an async task, please use the `RequestId` returned by this API to poll the `DescribeVpcTaskResult` API.
|
|
1443
|
+
* @param {MigratePrivateIpAddressRequest} req
|
|
1444
|
+
* @param {function(string, MigratePrivateIpAddressResponse):void} cb
|
|
1445
|
+
* @public
|
|
1446
|
+
*/
|
|
1447
|
+
MigratePrivateIpAddress(req, cb) {
|
|
1448
|
+
let resp = new MigratePrivateIpAddressResponse();
|
|
1449
|
+
this.request("MigratePrivateIpAddress", req, resp, cb);
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1439
1452
|
/**
|
|
1440
1453
|
* This API is used to query all the flow logs of the current account.
|
|
1441
1454
|
* @param {DescribeFlowLogsRequest} req
|
|
@@ -1654,17 +1667,6 @@ This API is completed asynchronously. If you need to query the execution result
|
|
|
1654
1667
|
this.request("ModifyLocalGateway", req, resp, cb);
|
|
1655
1668
|
}
|
|
1656
1669
|
|
|
1657
|
-
/**
|
|
1658
|
-
* This API (DescribeVpnConnections) is used to query the VPN tunnel list.
|
|
1659
|
-
* @param {DescribeVpnConnectionsRequest} req
|
|
1660
|
-
* @param {function(string, DescribeVpnConnectionsResponse):void} cb
|
|
1661
|
-
* @public
|
|
1662
|
-
*/
|
|
1663
|
-
DescribeVpnConnections(req, cb) {
|
|
1664
|
-
let resp = new DescribeVpnConnectionsResponse();
|
|
1665
|
-
this.request("DescribeVpnConnections", req, resp, cb);
|
|
1666
|
-
}
|
|
1667
|
-
|
|
1668
1670
|
/**
|
|
1669
1671
|
* This API is used to query the information of a flow log.
|
|
1670
1672
|
* @param {DescribeFlowLogRequest} req
|
|
@@ -1815,8 +1817,9 @@ You can also use the Force parameter to forcibly return a default VPC.
|
|
|
1815
1817
|
|
|
1816
1818
|
/**
|
|
1817
1819
|
* This API is used to bind an ENI to a CVM.
|
|
1818
|
-
*
|
|
1819
|
-
*
|
|
1820
|
+
* An ENI must be bound with one security group at least. To bind it, see <a href="https://intl.cloud.tencent.com/document/product/215/43132?from_cn_redirect=1">AssociateNetworkInterfaceSecurityGroups</a>.
|
|
1821
|
+
* One CVM can be bound with multiple ENIs, but only one can be the primary ENI. For more information about the limits, see <a href="https://intl.cloud.tencent.com/document/product/576/18527?from_cn_redirect=1">ENI Use Limits</a>.
|
|
1822
|
+
* An ENI can only be bound to one CVM.
|
|
1820
1823
|
* Only the running or shutdown CVMs can be bound with ENIs. For more information about the CVM status, see <a href="https://intl.cloud.tencent.com/document/api/213/9452?from_cn_redirect=1#InstanceStatus">InstanceStatus</a> in the Data Types.
|
|
1821
1824
|
* An ENI can only be bound to a VPC-based CVM under the same availability zone as the ENI subnet.
|
|
1822
1825
|
|
|
@@ -1967,14 +1970,14 @@ This API is completed asynchronously. If you need to query the execution result
|
|
|
1967
1970
|
}
|
|
1968
1971
|
|
|
1969
1972
|
/**
|
|
1970
|
-
* This API
|
|
1971
|
-
* @param {
|
|
1972
|
-
* @param {function(string,
|
|
1973
|
+
* This API is used to disable flow log.
|
|
1974
|
+
* @param {DisableFlowLogsRequest} req
|
|
1975
|
+
* @param {function(string, DisableFlowLogsResponse):void} cb
|
|
1973
1976
|
* @public
|
|
1974
1977
|
*/
|
|
1975
|
-
|
|
1976
|
-
let resp = new
|
|
1977
|
-
this.request("
|
|
1978
|
+
DisableFlowLogs(req, cb) {
|
|
1979
|
+
let resp = new DisableFlowLogsResponse();
|
|
1980
|
+
this.request("DisableFlowLogs", req, resp, cb);
|
|
1978
1981
|
}
|
|
1979
1982
|
|
|
1980
1983
|
/**
|
|
@@ -2115,6 +2118,17 @@ A service provider can query all review requests created by any `APPID` under it
|
|
|
2115
2118
|
this.request("DescribeVpnGateways", req, resp, cb);
|
|
2116
2119
|
}
|
|
2117
2120
|
|
|
2121
|
+
/**
|
|
2122
|
+
* This API (ModifySubnetAttribute) is used to modify subnet attributes.
|
|
2123
|
+
* @param {ModifySubnetAttributeRequest} req
|
|
2124
|
+
* @param {function(string, ModifySubnetAttributeResponse):void} cb
|
|
2125
|
+
* @public
|
|
2126
|
+
*/
|
|
2127
|
+
ModifySubnetAttribute(req, cb) {
|
|
2128
|
+
let resp = new ModifySubnetAttributeResponse();
|
|
2129
|
+
this.request("ModifySubnetAttribute", req, resp, cb);
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2118
2132
|
/**
|
|
2119
2133
|
* This API (DescribeVpcInstances) is used to query a list of VCM instances on VPC.
|
|
2120
2134
|
* @param {DescribeVpcInstancesRequest} req
|
|
@@ -2199,18 +2213,14 @@ This API is completed asynchronously. If you need to query the execution result
|
|
|
2199
2213
|
}
|
|
2200
2214
|
|
|
2201
2215
|
/**
|
|
2202
|
-
*
|
|
2203
|
-
*
|
|
2204
|
-
*
|
|
2205
|
-
|
|
2206
|
-
This API is completed asynchronously. If you need to query the execution result of an async task, please use the `RequestId` returned by this API to poll the `DescribeVpcTaskResult` API.
|
|
2207
|
-
* @param {MigratePrivateIpAddressRequest} req
|
|
2208
|
-
* @param {function(string, MigratePrivateIpAddressResponse):void} cb
|
|
2216
|
+
* This API is used to enable flow log.
|
|
2217
|
+
* @param {EnableFlowLogsRequest} req
|
|
2218
|
+
* @param {function(string, EnableFlowLogsResponse):void} cb
|
|
2209
2219
|
* @public
|
|
2210
2220
|
*/
|
|
2211
|
-
|
|
2212
|
-
let resp = new
|
|
2213
|
-
this.request("
|
|
2221
|
+
EnableFlowLogs(req, cb) {
|
|
2222
|
+
let resp = new EnableFlowLogsResponse();
|
|
2223
|
+
this.request("EnableFlowLogs", req, resp, cb);
|
|
2214
2224
|
}
|
|
2215
2225
|
|
|
2216
2226
|
/**
|
|
@@ -2271,17 +2281,6 @@ This API is completed asynchronously. If you need to query the execution result
|
|
|
2271
2281
|
this.request("HaVipAssociateAddressIp", req, resp, cb);
|
|
2272
2282
|
}
|
|
2273
2283
|
|
|
2274
|
-
/**
|
|
2275
|
-
* This API is used to create a SNAT rule for the NAT Gateway.
|
|
2276
|
-
* @param {CreateNatGatewaySourceIpTranslationNatRuleRequest} req
|
|
2277
|
-
* @param {function(string, CreateNatGatewaySourceIpTranslationNatRuleResponse):void} cb
|
|
2278
|
-
* @public
|
|
2279
|
-
*/
|
|
2280
|
-
CreateNatGatewaySourceIpTranslationNatRule(req, cb) {
|
|
2281
|
-
let resp = new CreateNatGatewaySourceIpTranslationNatRuleResponse();
|
|
2282
|
-
this.request("CreateNatGatewaySourceIpTranslationNatRule", req, resp, cb);
|
|
2283
|
-
}
|
|
2284
|
-
|
|
2285
2284
|
/**
|
|
2286
2285
|
* This API (DescribeHaVips) is used to query the list of highly available virtual IPs (HAVIP).
|
|
2287
2286
|
* @param {DescribeHaVipsRequest} req
|