@alicloud/vpc20160428 6.2.1 → 6.3.0
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/dist/client.d.ts +194 -24
- package/dist/client.js +389 -24
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +488 -24
package/dist/client.js
CHANGED
|
@@ -895,6 +895,88 @@ class AllocateEipSegmentAddressResponse extends $tea.Model {
|
|
|
895
895
|
}
|
|
896
896
|
}
|
|
897
897
|
exports.AllocateEipSegmentAddressResponse = AllocateEipSegmentAddressResponse;
|
|
898
|
+
class AllocateIpv6AddressRequest extends $tea.Model {
|
|
899
|
+
constructor(map) {
|
|
900
|
+
super(map);
|
|
901
|
+
}
|
|
902
|
+
static names() {
|
|
903
|
+
return {
|
|
904
|
+
clientToken: 'ClientToken',
|
|
905
|
+
dryRun: 'DryRun',
|
|
906
|
+
ipv6Address: 'Ipv6Address',
|
|
907
|
+
ipv6AddressDescription: 'Ipv6AddressDescription',
|
|
908
|
+
ipv6AddressName: 'Ipv6AddressName',
|
|
909
|
+
ownerAccount: 'OwnerAccount',
|
|
910
|
+
ownerId: 'OwnerId',
|
|
911
|
+
regionId: 'RegionId',
|
|
912
|
+
resourceGroupId: 'ResourceGroupId',
|
|
913
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
914
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
915
|
+
tag: 'Tag',
|
|
916
|
+
vSwitchId: 'VSwitchId',
|
|
917
|
+
};
|
|
918
|
+
}
|
|
919
|
+
static types() {
|
|
920
|
+
return {
|
|
921
|
+
clientToken: 'string',
|
|
922
|
+
dryRun: 'boolean',
|
|
923
|
+
ipv6Address: 'string',
|
|
924
|
+
ipv6AddressDescription: 'string',
|
|
925
|
+
ipv6AddressName: 'string',
|
|
926
|
+
ownerAccount: 'string',
|
|
927
|
+
ownerId: 'number',
|
|
928
|
+
regionId: 'string',
|
|
929
|
+
resourceGroupId: 'string',
|
|
930
|
+
resourceOwnerAccount: 'string',
|
|
931
|
+
resourceOwnerId: 'number',
|
|
932
|
+
tag: { 'type': 'array', 'itemType': AllocateIpv6AddressRequestTag },
|
|
933
|
+
vSwitchId: 'string',
|
|
934
|
+
};
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
exports.AllocateIpv6AddressRequest = AllocateIpv6AddressRequest;
|
|
938
|
+
class AllocateIpv6AddressResponseBody extends $tea.Model {
|
|
939
|
+
constructor(map) {
|
|
940
|
+
super(map);
|
|
941
|
+
}
|
|
942
|
+
static names() {
|
|
943
|
+
return {
|
|
944
|
+
ipv6Address: 'Ipv6Address',
|
|
945
|
+
ipv6AddressId: 'Ipv6AddressId',
|
|
946
|
+
requestId: 'RequestId',
|
|
947
|
+
resourceGroupId: 'ResourceGroupId',
|
|
948
|
+
};
|
|
949
|
+
}
|
|
950
|
+
static types() {
|
|
951
|
+
return {
|
|
952
|
+
ipv6Address: 'string',
|
|
953
|
+
ipv6AddressId: 'string',
|
|
954
|
+
requestId: 'string',
|
|
955
|
+
resourceGroupId: 'string',
|
|
956
|
+
};
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
exports.AllocateIpv6AddressResponseBody = AllocateIpv6AddressResponseBody;
|
|
960
|
+
class AllocateIpv6AddressResponse extends $tea.Model {
|
|
961
|
+
constructor(map) {
|
|
962
|
+
super(map);
|
|
963
|
+
}
|
|
964
|
+
static names() {
|
|
965
|
+
return {
|
|
966
|
+
headers: 'headers',
|
|
967
|
+
statusCode: 'statusCode',
|
|
968
|
+
body: 'body',
|
|
969
|
+
};
|
|
970
|
+
}
|
|
971
|
+
static types() {
|
|
972
|
+
return {
|
|
973
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
974
|
+
statusCode: 'number',
|
|
975
|
+
body: AllocateIpv6AddressResponseBody,
|
|
976
|
+
};
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
exports.AllocateIpv6AddressResponse = AllocateIpv6AddressResponse;
|
|
898
980
|
class AllocateIpv6InternetBandwidthRequest extends $tea.Model {
|
|
899
981
|
constructor(map) {
|
|
900
982
|
super(map);
|
|
@@ -15190,6 +15272,7 @@ class DescribeVpcAttributeResponseBody extends $tea.Model {
|
|
|
15190
15272
|
static names() {
|
|
15191
15273
|
return {
|
|
15192
15274
|
associatedCens: 'AssociatedCens',
|
|
15275
|
+
associatedPropagationSources: 'AssociatedPropagationSources',
|
|
15193
15276
|
cidrBlock: 'CidrBlock',
|
|
15194
15277
|
classicLinkEnabled: 'ClassicLinkEnabled',
|
|
15195
15278
|
cloudResources: 'CloudResources',
|
|
@@ -15219,6 +15302,7 @@ class DescribeVpcAttributeResponseBody extends $tea.Model {
|
|
|
15219
15302
|
static types() {
|
|
15220
15303
|
return {
|
|
15221
15304
|
associatedCens: DescribeVpcAttributeResponseBodyAssociatedCens,
|
|
15305
|
+
associatedPropagationSources: DescribeVpcAttributeResponseBodyAssociatedPropagationSources,
|
|
15222
15306
|
cidrBlock: 'string',
|
|
15223
15307
|
classicLinkEnabled: 'boolean',
|
|
15224
15308
|
cloudResources: DescribeVpcAttributeResponseBodyCloudResources,
|
|
@@ -18412,6 +18496,7 @@ class ListEnhanhcedNatGatewayAvailableZonesRequest extends $tea.Model {
|
|
|
18412
18496
|
static names() {
|
|
18413
18497
|
return {
|
|
18414
18498
|
acceptLanguage: 'AcceptLanguage',
|
|
18499
|
+
filter: 'Filter',
|
|
18415
18500
|
ownerAccount: 'OwnerAccount',
|
|
18416
18501
|
ownerId: 'OwnerId',
|
|
18417
18502
|
regionId: 'RegionId',
|
|
@@ -18422,6 +18507,7 @@ class ListEnhanhcedNatGatewayAvailableZonesRequest extends $tea.Model {
|
|
|
18422
18507
|
static types() {
|
|
18423
18508
|
return {
|
|
18424
18509
|
acceptLanguage: 'string',
|
|
18510
|
+
filter: { 'type': 'array', 'itemType': ListEnhanhcedNatGatewayAvailableZonesRequestFilter },
|
|
18425
18511
|
ownerAccount: 'string',
|
|
18426
18512
|
ownerId: 'number',
|
|
18427
18513
|
regionId: 'string',
|
|
@@ -23008,6 +23094,7 @@ class ModifyVirtualBorderRouterAttributeRequest extends $tea.Model {
|
|
|
23008
23094
|
regionId: 'RegionId',
|
|
23009
23095
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
23010
23096
|
resourceOwnerId: 'ResourceOwnerId',
|
|
23097
|
+
sitelinkEnable: 'SitelinkEnable',
|
|
23011
23098
|
vbrId: 'VbrId',
|
|
23012
23099
|
vlanId: 'VlanId',
|
|
23013
23100
|
};
|
|
@@ -23035,6 +23122,7 @@ class ModifyVirtualBorderRouterAttributeRequest extends $tea.Model {
|
|
|
23035
23122
|
regionId: 'string',
|
|
23036
23123
|
resourceOwnerAccount: 'string',
|
|
23037
23124
|
resourceOwnerId: 'number',
|
|
23125
|
+
sitelinkEnable: 'boolean',
|
|
23038
23126
|
vbrId: 'string',
|
|
23039
23127
|
vlanId: 'number',
|
|
23040
23128
|
};
|
|
@@ -24545,6 +24633,72 @@ class ReleaseEipSegmentAddressResponse extends $tea.Model {
|
|
|
24545
24633
|
}
|
|
24546
24634
|
}
|
|
24547
24635
|
exports.ReleaseEipSegmentAddressResponse = ReleaseEipSegmentAddressResponse;
|
|
24636
|
+
class ReleaseIpv6AddressRequest extends $tea.Model {
|
|
24637
|
+
constructor(map) {
|
|
24638
|
+
super(map);
|
|
24639
|
+
}
|
|
24640
|
+
static names() {
|
|
24641
|
+
return {
|
|
24642
|
+
clientToken: 'ClientToken',
|
|
24643
|
+
dryRun: 'DryRun',
|
|
24644
|
+
ipv6AddressId: 'Ipv6AddressId',
|
|
24645
|
+
ownerAccount: 'OwnerAccount',
|
|
24646
|
+
ownerId: 'OwnerId',
|
|
24647
|
+
regionId: 'RegionId',
|
|
24648
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
24649
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
24650
|
+
};
|
|
24651
|
+
}
|
|
24652
|
+
static types() {
|
|
24653
|
+
return {
|
|
24654
|
+
clientToken: 'string',
|
|
24655
|
+
dryRun: 'boolean',
|
|
24656
|
+
ipv6AddressId: 'string',
|
|
24657
|
+
ownerAccount: 'string',
|
|
24658
|
+
ownerId: 'number',
|
|
24659
|
+
regionId: 'string',
|
|
24660
|
+
resourceOwnerAccount: 'string',
|
|
24661
|
+
resourceOwnerId: 'number',
|
|
24662
|
+
};
|
|
24663
|
+
}
|
|
24664
|
+
}
|
|
24665
|
+
exports.ReleaseIpv6AddressRequest = ReleaseIpv6AddressRequest;
|
|
24666
|
+
class ReleaseIpv6AddressResponseBody extends $tea.Model {
|
|
24667
|
+
constructor(map) {
|
|
24668
|
+
super(map);
|
|
24669
|
+
}
|
|
24670
|
+
static names() {
|
|
24671
|
+
return {
|
|
24672
|
+
requestId: 'RequestId',
|
|
24673
|
+
};
|
|
24674
|
+
}
|
|
24675
|
+
static types() {
|
|
24676
|
+
return {
|
|
24677
|
+
requestId: 'string',
|
|
24678
|
+
};
|
|
24679
|
+
}
|
|
24680
|
+
}
|
|
24681
|
+
exports.ReleaseIpv6AddressResponseBody = ReleaseIpv6AddressResponseBody;
|
|
24682
|
+
class ReleaseIpv6AddressResponse extends $tea.Model {
|
|
24683
|
+
constructor(map) {
|
|
24684
|
+
super(map);
|
|
24685
|
+
}
|
|
24686
|
+
static names() {
|
|
24687
|
+
return {
|
|
24688
|
+
headers: 'headers',
|
|
24689
|
+
statusCode: 'statusCode',
|
|
24690
|
+
body: 'body',
|
|
24691
|
+
};
|
|
24692
|
+
}
|
|
24693
|
+
static types() {
|
|
24694
|
+
return {
|
|
24695
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
24696
|
+
statusCode: 'number',
|
|
24697
|
+
body: ReleaseIpv6AddressResponseBody,
|
|
24698
|
+
};
|
|
24699
|
+
}
|
|
24700
|
+
}
|
|
24701
|
+
exports.ReleaseIpv6AddressResponse = ReleaseIpv6AddressResponse;
|
|
24548
24702
|
class RemoveCommonBandwidthPackageIpRequest extends $tea.Model {
|
|
24549
24703
|
constructor(map) {
|
|
24550
24704
|
super(map);
|
|
@@ -27343,6 +27497,24 @@ class VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse extends $tea.Model {
|
|
|
27343
27497
|
}
|
|
27344
27498
|
}
|
|
27345
27499
|
exports.VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse = VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse;
|
|
27500
|
+
class AllocateIpv6AddressRequestTag extends $tea.Model {
|
|
27501
|
+
constructor(map) {
|
|
27502
|
+
super(map);
|
|
27503
|
+
}
|
|
27504
|
+
static names() {
|
|
27505
|
+
return {
|
|
27506
|
+
key: 'Key',
|
|
27507
|
+
value: 'Value',
|
|
27508
|
+
};
|
|
27509
|
+
}
|
|
27510
|
+
static types() {
|
|
27511
|
+
return {
|
|
27512
|
+
key: 'string',
|
|
27513
|
+
value: 'string',
|
|
27514
|
+
};
|
|
27515
|
+
}
|
|
27516
|
+
}
|
|
27517
|
+
exports.AllocateIpv6AddressRequestTag = AllocateIpv6AddressRequestTag;
|
|
27346
27518
|
class ApplyPhysicalConnectionLOARequestPMInfo extends $tea.Model {
|
|
27347
27519
|
constructor(map) {
|
|
27348
27520
|
super(map);
|
|
@@ -31714,6 +31886,7 @@ class DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry extends $tea.Model
|
|
|
31714
31886
|
gmtModified: 'GmtModified',
|
|
31715
31887
|
ipVersion: 'IpVersion',
|
|
31716
31888
|
nextHops: 'NextHops',
|
|
31889
|
+
origin: 'Origin',
|
|
31717
31890
|
routeEntryId: 'RouteEntryId',
|
|
31718
31891
|
routeEntryName: 'RouteEntryName',
|
|
31719
31892
|
routeTableId: 'RouteTableId',
|
|
@@ -31729,6 +31902,7 @@ class DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry extends $tea.Model
|
|
|
31729
31902
|
gmtModified: 'string',
|
|
31730
31903
|
ipVersion: 'string',
|
|
31731
31904
|
nextHops: DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHops,
|
|
31905
|
+
origin: 'string',
|
|
31732
31906
|
routeEntryId: 'string',
|
|
31733
31907
|
routeEntryName: 'string',
|
|
31734
31908
|
routeTableId: 'string',
|
|
@@ -31851,6 +32025,7 @@ class DescribeRouteTableListResponseBodyRouterTableListRouterTableListType exten
|
|
|
31851
32025
|
gatewayIds: 'GatewayIds',
|
|
31852
32026
|
ownerId: 'OwnerId',
|
|
31853
32027
|
resourceGroupId: 'ResourceGroupId',
|
|
32028
|
+
routePropagationEnable: 'RoutePropagationEnable',
|
|
31854
32029
|
routeTableId: 'RouteTableId',
|
|
31855
32030
|
routeTableName: 'RouteTableName',
|
|
31856
32031
|
routeTableType: 'RouteTableType',
|
|
@@ -31870,6 +32045,7 @@ class DescribeRouteTableListResponseBodyRouterTableListRouterTableListType exten
|
|
|
31870
32045
|
gatewayIds: DescribeRouteTableListResponseBodyRouterTableListRouterTableListTypeGatewayIds,
|
|
31871
32046
|
ownerId: 'number',
|
|
31872
32047
|
resourceGroupId: 'string',
|
|
32048
|
+
routePropagationEnable: 'boolean',
|
|
31873
32049
|
routeTableId: 'string',
|
|
31874
32050
|
routeTableName: 'string',
|
|
31875
32051
|
routeTableType: 'string',
|
|
@@ -33076,6 +33252,8 @@ class DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorde
|
|
|
33076
33252
|
description: 'Description',
|
|
33077
33253
|
detectMultiplier: 'DetectMultiplier',
|
|
33078
33254
|
eccId: 'EccId',
|
|
33255
|
+
ecrAttatchStatus: 'EcrAttatchStatus',
|
|
33256
|
+
ecrId: 'EcrId',
|
|
33079
33257
|
enableIpv6: 'EnableIpv6',
|
|
33080
33258
|
localGatewayIp: 'LocalGatewayIp',
|
|
33081
33259
|
localIpv6GatewayIp: 'LocalIpv6GatewayIp',
|
|
@@ -33095,6 +33273,7 @@ class DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorde
|
|
|
33095
33273
|
recoveryTime: 'RecoveryTime',
|
|
33096
33274
|
resourceGroupId: 'ResourceGroupId',
|
|
33097
33275
|
routeTableId: 'RouteTableId',
|
|
33276
|
+
sitelinkEnable: 'SitelinkEnable',
|
|
33098
33277
|
status: 'Status',
|
|
33099
33278
|
tags: 'Tags',
|
|
33100
33279
|
terminationTime: 'TerminationTime',
|
|
@@ -33117,6 +33296,8 @@ class DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorde
|
|
|
33117
33296
|
description: 'string',
|
|
33118
33297
|
detectMultiplier: 'number',
|
|
33119
33298
|
eccId: 'string',
|
|
33299
|
+
ecrAttatchStatus: 'string',
|
|
33300
|
+
ecrId: 'string',
|
|
33120
33301
|
enableIpv6: 'boolean',
|
|
33121
33302
|
localGatewayIp: 'string',
|
|
33122
33303
|
localIpv6GatewayIp: 'string',
|
|
@@ -33136,6 +33317,7 @@ class DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorde
|
|
|
33136
33317
|
recoveryTime: 'string',
|
|
33137
33318
|
resourceGroupId: 'string',
|
|
33138
33319
|
routeTableId: 'string',
|
|
33320
|
+
sitelinkEnable: 'boolean',
|
|
33139
33321
|
status: 'string',
|
|
33140
33322
|
tags: DescribeVirtualBorderRoutersResponseBodyVirtualBorderRouterSetVirtualBorderRouterTypeTags,
|
|
33141
33323
|
terminationTime: 'string',
|
|
@@ -33293,6 +33475,46 @@ class DescribeVpcAttributeResponseBodyAssociatedCens extends $tea.Model {
|
|
|
33293
33475
|
}
|
|
33294
33476
|
}
|
|
33295
33477
|
exports.DescribeVpcAttributeResponseBodyAssociatedCens = DescribeVpcAttributeResponseBodyAssociatedCens;
|
|
33478
|
+
class DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources extends $tea.Model {
|
|
33479
|
+
constructor(map) {
|
|
33480
|
+
super(map);
|
|
33481
|
+
}
|
|
33482
|
+
static names() {
|
|
33483
|
+
return {
|
|
33484
|
+
routePropagated: 'RoutePropagated',
|
|
33485
|
+
sourceInstanceId: 'SourceInstanceId',
|
|
33486
|
+
sourceOwnerId: 'SourceOwnerId',
|
|
33487
|
+
sourceType: 'SourceType',
|
|
33488
|
+
status: 'Status',
|
|
33489
|
+
};
|
|
33490
|
+
}
|
|
33491
|
+
static types() {
|
|
33492
|
+
return {
|
|
33493
|
+
routePropagated: 'boolean',
|
|
33494
|
+
sourceInstanceId: 'string',
|
|
33495
|
+
sourceOwnerId: 'number',
|
|
33496
|
+
sourceType: 'string',
|
|
33497
|
+
status: 'string',
|
|
33498
|
+
};
|
|
33499
|
+
}
|
|
33500
|
+
}
|
|
33501
|
+
exports.DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources = DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources;
|
|
33502
|
+
class DescribeVpcAttributeResponseBodyAssociatedPropagationSources extends $tea.Model {
|
|
33503
|
+
constructor(map) {
|
|
33504
|
+
super(map);
|
|
33505
|
+
}
|
|
33506
|
+
static names() {
|
|
33507
|
+
return {
|
|
33508
|
+
associatedPropagationSources: 'AssociatedPropagationSources',
|
|
33509
|
+
};
|
|
33510
|
+
}
|
|
33511
|
+
static types() {
|
|
33512
|
+
return {
|
|
33513
|
+
associatedPropagationSources: { 'type': 'array', 'itemType': DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources },
|
|
33514
|
+
};
|
|
33515
|
+
}
|
|
33516
|
+
}
|
|
33517
|
+
exports.DescribeVpcAttributeResponseBodyAssociatedPropagationSources = DescribeVpcAttributeResponseBodyAssociatedPropagationSources;
|
|
33296
33518
|
class DescribeVpcAttributeResponseBodyCloudResourcesCloudResourceSetType extends $tea.Model {
|
|
33297
33519
|
constructor(map) {
|
|
33298
33520
|
super(map);
|
|
@@ -35505,6 +35727,24 @@ class ListDhcpOptionsSetsResponseBodyDhcpOptionsSets extends $tea.Model {
|
|
|
35505
35727
|
}
|
|
35506
35728
|
}
|
|
35507
35729
|
exports.ListDhcpOptionsSetsResponseBodyDhcpOptionsSets = ListDhcpOptionsSetsResponseBodyDhcpOptionsSets;
|
|
35730
|
+
class ListEnhanhcedNatGatewayAvailableZonesRequestFilter extends $tea.Model {
|
|
35731
|
+
constructor(map) {
|
|
35732
|
+
super(map);
|
|
35733
|
+
}
|
|
35734
|
+
static names() {
|
|
35735
|
+
return {
|
|
35736
|
+
key: 'Key',
|
|
35737
|
+
value: 'Value',
|
|
35738
|
+
};
|
|
35739
|
+
}
|
|
35740
|
+
static types() {
|
|
35741
|
+
return {
|
|
35742
|
+
key: 'string',
|
|
35743
|
+
value: 'string',
|
|
35744
|
+
};
|
|
35745
|
+
}
|
|
35746
|
+
}
|
|
35747
|
+
exports.ListEnhanhcedNatGatewayAvailableZonesRequestFilter = ListEnhanhcedNatGatewayAvailableZonesRequestFilter;
|
|
35508
35748
|
class ListEnhanhcedNatGatewayAvailableZonesResponseBodyZones extends $tea.Model {
|
|
35509
35749
|
constructor(map) {
|
|
35510
35750
|
super(map);
|
|
@@ -38381,6 +38621,71 @@ class Client extends openapi_client_1.default {
|
|
|
38381
38621
|
let runtime = new $Util.RuntimeOptions({});
|
|
38382
38622
|
return await this.allocateEipSegmentAddressWithOptions(request, runtime);
|
|
38383
38623
|
}
|
|
38624
|
+
async allocateIpv6AddressWithOptions(request, runtime) {
|
|
38625
|
+
tea_util_1.default.validateModel(request);
|
|
38626
|
+
let query = {};
|
|
38627
|
+
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
38628
|
+
query["ClientToken"] = request.clientToken;
|
|
38629
|
+
}
|
|
38630
|
+
if (!tea_util_1.default.isUnset(request.dryRun)) {
|
|
38631
|
+
query["DryRun"] = request.dryRun;
|
|
38632
|
+
}
|
|
38633
|
+
if (!tea_util_1.default.isUnset(request.ipv6Address)) {
|
|
38634
|
+
query["Ipv6Address"] = request.ipv6Address;
|
|
38635
|
+
}
|
|
38636
|
+
if (!tea_util_1.default.isUnset(request.ipv6AddressDescription)) {
|
|
38637
|
+
query["Ipv6AddressDescription"] = request.ipv6AddressDescription;
|
|
38638
|
+
}
|
|
38639
|
+
if (!tea_util_1.default.isUnset(request.ipv6AddressName)) {
|
|
38640
|
+
query["Ipv6AddressName"] = request.ipv6AddressName;
|
|
38641
|
+
}
|
|
38642
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
38643
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
38644
|
+
}
|
|
38645
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
38646
|
+
query["OwnerId"] = request.ownerId;
|
|
38647
|
+
}
|
|
38648
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
38649
|
+
query["RegionId"] = request.regionId;
|
|
38650
|
+
}
|
|
38651
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
38652
|
+
query["RegionId"] = request.regionId;
|
|
38653
|
+
}
|
|
38654
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
38655
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
38656
|
+
}
|
|
38657
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
38658
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
38659
|
+
}
|
|
38660
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
38661
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
38662
|
+
}
|
|
38663
|
+
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
38664
|
+
query["Tag"] = request.tag;
|
|
38665
|
+
}
|
|
38666
|
+
if (!tea_util_1.default.isUnset(request.vSwitchId)) {
|
|
38667
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
38668
|
+
}
|
|
38669
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
38670
|
+
query: openapi_util_1.default.query(query),
|
|
38671
|
+
});
|
|
38672
|
+
let params = new $OpenApi.Params({
|
|
38673
|
+
action: "AllocateIpv6Address",
|
|
38674
|
+
version: "2016-04-28",
|
|
38675
|
+
protocol: "HTTPS",
|
|
38676
|
+
pathname: "/",
|
|
38677
|
+
method: "POST",
|
|
38678
|
+
authType: "AK",
|
|
38679
|
+
style: "RPC",
|
|
38680
|
+
reqBodyType: "formData",
|
|
38681
|
+
bodyType: "json",
|
|
38682
|
+
});
|
|
38683
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AllocateIpv6AddressResponse({}));
|
|
38684
|
+
}
|
|
38685
|
+
async allocateIpv6Address(request) {
|
|
38686
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
38687
|
+
return await this.allocateIpv6AddressWithOptions(request, runtime);
|
|
38688
|
+
}
|
|
38384
38689
|
/**
|
|
38385
38690
|
* You cannot repeatedly call the **AllocateIpv6InternetBandwidth** operation within a specific time period.
|
|
38386
38691
|
*
|
|
@@ -39923,10 +40228,11 @@ class Client extends openapi_client_1.default {
|
|
|
39923
40228
|
return await this.convertBandwidthPackageWithOptions(request, runtime);
|
|
39924
40229
|
}
|
|
39925
40230
|
/**
|
|
39926
|
-
*
|
|
40231
|
+
* ## [](#)Description
|
|
40232
|
+
* * **CopyNetworkAclEntries** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of the task.
|
|
39927
40233
|
* * If the network ACL is in the **Modifying** state, the rules of the network ACL are being copied.
|
|
39928
40234
|
* * If the network ACL is in the **Available** state, the rules of the network ACL are copied.
|
|
39929
|
-
* * You cannot repeatedly call the **CopyNetworkAclEntries** operation
|
|
40235
|
+
* * You cannot repeatedly call the **CopyNetworkAclEntries** operation within the specified period of time.
|
|
39930
40236
|
*
|
|
39931
40237
|
* @param request CopyNetworkAclEntriesRequest
|
|
39932
40238
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -39982,10 +40288,11 @@ class Client extends openapi_client_1.default {
|
|
|
39982
40288
|
return $tea.cast(await this.callApi(params, req, runtime), new CopyNetworkAclEntriesResponse({}));
|
|
39983
40289
|
}
|
|
39984
40290
|
/**
|
|
39985
|
-
*
|
|
40291
|
+
* ## [](#)Description
|
|
40292
|
+
* * **CopyNetworkAclEntries** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of the task.
|
|
39986
40293
|
* * If the network ACL is in the **Modifying** state, the rules of the network ACL are being copied.
|
|
39987
40294
|
* * If the network ACL is in the **Available** state, the rules of the network ACL are copied.
|
|
39988
|
-
* * You cannot repeatedly call the **CopyNetworkAclEntries** operation
|
|
40295
|
+
* * You cannot repeatedly call the **CopyNetworkAclEntries** operation within the specified period of time.
|
|
39989
40296
|
*
|
|
39990
40297
|
* @param request CopyNetworkAclEntriesRequest
|
|
39991
40298
|
* @return CopyNetworkAclEntriesResponse
|
|
@@ -40276,13 +40583,12 @@ class Client extends openapi_client_1.default {
|
|
|
40276
40583
|
return await this.createCustomerGatewayWithOptions(request, runtime);
|
|
40277
40584
|
}
|
|
40278
40585
|
/**
|
|
40279
|
-
*
|
|
40280
|
-
*
|
|
40281
|
-
* * The first IP address and last three IP addresses of a default vSwitch CIDR block are reserved. For example, if the CIDR block of a vSwitch is 192.168.1.0/24, the IP addresses 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255 are reserved.
|
|
40586
|
+
* When you call this operation, take note of the following limits:
|
|
40587
|
+
* * The first IP address and last three IP addresses of a vSwitch CIDR block are reserved. For example, if the CIDR block of a vSwitch is 192.168.1.0/24, the IP addresses 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255 are reserved.
|
|
40282
40588
|
* * The number of instances in the default vSwitch cannot exceed the remaining number of instances supported by the VPC (15,000 minus the number of existing instances).
|
|
40283
40589
|
* * Default vSwitches do not support multicasting or broadcasting.
|
|
40284
40590
|
* * After you create a default vSwitch, you cannot modify its CIDR block.
|
|
40285
|
-
* * **CreateDefaultVSwitch** is an asynchronous operation. After a request
|
|
40591
|
+
* * **CreateDefaultVSwitch** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](~~94567~~) operation to query the status of a default vSwitch:
|
|
40286
40592
|
* * If a default vSwitch is in the **Pending** state, it is being configured.
|
|
40287
40593
|
* * If a default vSwitch is in the **Available** state, it is available.
|
|
40288
40594
|
* * If a default vSwitch already exists in a region, you cannot call this operation to create a default vSwitch in this region.
|
|
@@ -40336,13 +40642,12 @@ class Client extends openapi_client_1.default {
|
|
|
40336
40642
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateDefaultVSwitchResponse({}));
|
|
40337
40643
|
}
|
|
40338
40644
|
/**
|
|
40339
|
-
*
|
|
40340
|
-
*
|
|
40341
|
-
* * The first IP address and last three IP addresses of a default vSwitch CIDR block are reserved. For example, if the CIDR block of a vSwitch is 192.168.1.0/24, the IP addresses 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255 are reserved.
|
|
40645
|
+
* When you call this operation, take note of the following limits:
|
|
40646
|
+
* * The first IP address and last three IP addresses of a vSwitch CIDR block are reserved. For example, if the CIDR block of a vSwitch is 192.168.1.0/24, the IP addresses 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255 are reserved.
|
|
40342
40647
|
* * The number of instances in the default vSwitch cannot exceed the remaining number of instances supported by the VPC (15,000 minus the number of existing instances).
|
|
40343
40648
|
* * Default vSwitches do not support multicasting or broadcasting.
|
|
40344
40649
|
* * After you create a default vSwitch, you cannot modify its CIDR block.
|
|
40345
|
-
* * **CreateDefaultVSwitch** is an asynchronous operation. After a request
|
|
40650
|
+
* * **CreateDefaultVSwitch** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](~~94567~~) operation to query the status of a default vSwitch:
|
|
40346
40651
|
* * If a default vSwitch is in the **Pending** state, it is being configured.
|
|
40347
40652
|
* * If a default vSwitch is in the **Available** state, it is available.
|
|
40348
40653
|
* * If a default vSwitch already exists in a region, you cannot call this operation to create a default vSwitch in this region.
|
|
@@ -40932,6 +41237,7 @@ class Client extends openapi_client_1.default {
|
|
|
40932
41237
|
return await this.createFullNatEntryWithOptions(request, runtime);
|
|
40933
41238
|
}
|
|
40934
41239
|
/**
|
|
41240
|
+
* @deprecated
|
|
40935
41241
|
* ## Usage notes
|
|
40936
41242
|
* You can call this operation to create only pay-as-you-go GA instances.
|
|
40937
41243
|
*
|
|
@@ -40939,6 +41245,7 @@ class Client extends openapi_client_1.default {
|
|
|
40939
41245
|
* @param runtime runtime options for this request RuntimeOptions
|
|
40940
41246
|
* @return CreateGlobalAccelerationInstanceResponse
|
|
40941
41247
|
*/
|
|
41248
|
+
// Deprecated
|
|
40942
41249
|
async createGlobalAccelerationInstanceWithOptions(request, runtime) {
|
|
40943
41250
|
tea_util_1.default.validateModel(request);
|
|
40944
41251
|
let query = {};
|
|
@@ -40992,12 +41299,14 @@ class Client extends openapi_client_1.default {
|
|
|
40992
41299
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateGlobalAccelerationInstanceResponse({}));
|
|
40993
41300
|
}
|
|
40994
41301
|
/**
|
|
41302
|
+
* @deprecated
|
|
40995
41303
|
* ## Usage notes
|
|
40996
41304
|
* You can call this operation to create only pay-as-you-go GA instances.
|
|
40997
41305
|
*
|
|
40998
41306
|
* @param request CreateGlobalAccelerationInstanceRequest
|
|
40999
41307
|
* @return CreateGlobalAccelerationInstanceResponse
|
|
41000
41308
|
*/
|
|
41309
|
+
// Deprecated
|
|
41001
41310
|
async createGlobalAccelerationInstance(request) {
|
|
41002
41311
|
let runtime = new $Util.RuntimeOptions({});
|
|
41003
41312
|
return await this.createGlobalAccelerationInstanceWithOptions(request, runtime);
|
|
@@ -43232,7 +43541,7 @@ class Client extends openapi_client_1.default {
|
|
|
43232
43541
|
* * Each instance can belong to only one vSwitch.
|
|
43233
43542
|
* * vSwitches do not support multicast or broadcast.
|
|
43234
43543
|
* * After you create a vSwitch, you cannot modify its CIDR block.
|
|
43235
|
-
* *
|
|
43544
|
+
* * **CreateVSwitch** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [DescribeVSwitchAttributes](~~94567~~) to query the status of the task.
|
|
43236
43545
|
* * If the vSwitch is in the **Pending** state, the vSwitch is being configured.
|
|
43237
43546
|
* * If the vSwitch is in the **Available** state, the vSwitch is available.
|
|
43238
43547
|
* * You cannot repeatedly call the **CreateVSwitch** operation to create a vSwitch in a VPC within the specified period of time.
|
|
@@ -43310,7 +43619,7 @@ class Client extends openapi_client_1.default {
|
|
|
43310
43619
|
* * Each instance can belong to only one vSwitch.
|
|
43311
43620
|
* * vSwitches do not support multicast or broadcast.
|
|
43312
43621
|
* * After you create a vSwitch, you cannot modify its CIDR block.
|
|
43313
|
-
* *
|
|
43622
|
+
* * **CreateVSwitch** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [DescribeVSwitchAttributes](~~94567~~) to query the status of the task.
|
|
43314
43623
|
* * If the vSwitch is in the **Pending** state, the vSwitch is being configured.
|
|
43315
43624
|
* * If the vSwitch is in the **Available** state, the vSwitch is available.
|
|
43316
43625
|
* * You cannot repeatedly call the **CreateVSwitch** operation to create a vSwitch in a VPC within the specified period of time.
|
|
@@ -46013,7 +46322,8 @@ class Client extends openapi_client_1.default {
|
|
|
46013
46322
|
return await this.deleteNatIpCidrWithOptions(request, runtime);
|
|
46014
46323
|
}
|
|
46015
46324
|
/**
|
|
46016
|
-
*
|
|
46325
|
+
* ## [](#)Description
|
|
46326
|
+
* You cannot repeatedly call the **DeleteNetworkAcl** operation within the specified period of time.
|
|
46017
46327
|
*
|
|
46018
46328
|
* @param request DeleteNetworkAclRequest
|
|
46019
46329
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -46066,7 +46376,8 @@ class Client extends openapi_client_1.default {
|
|
|
46066
46376
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteNetworkAclResponse({}));
|
|
46067
46377
|
}
|
|
46068
46378
|
/**
|
|
46069
|
-
*
|
|
46379
|
+
* ## [](#)Description
|
|
46380
|
+
* You cannot repeatedly call the **DeleteNetworkAcl** operation within the specified period of time.
|
|
46070
46381
|
*
|
|
46071
46382
|
* @param request DeleteNetworkAclRequest
|
|
46072
46383
|
* @return DeleteNetworkAclResponse
|
|
@@ -53300,6 +53611,9 @@ class Client extends openapi_client_1.default {
|
|
|
53300
53611
|
if (!tea_util_1.default.isUnset(request.acceptLanguage)) {
|
|
53301
53612
|
query["AcceptLanguage"] = request.acceptLanguage;
|
|
53302
53613
|
}
|
|
53614
|
+
if (!tea_util_1.default.isUnset(request.filter)) {
|
|
53615
|
+
query["Filter"] = request.filter;
|
|
53616
|
+
}
|
|
53303
53617
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
53304
53618
|
query["OwnerAccount"] = request.ownerAccount;
|
|
53305
53619
|
}
|
|
@@ -56416,7 +56730,6 @@ class Client extends openapi_client_1.default {
|
|
|
56416
56730
|
return await this.modifyRouteEntryWithOptions(request, runtime);
|
|
56417
56731
|
}
|
|
56418
56732
|
/**
|
|
56419
|
-
* ## [](#)References
|
|
56420
56733
|
* You cannot repeatedly call the **ModifyRouteTableAttributes** operation to modify the name and description of a route table within the specified period of time.
|
|
56421
56734
|
*
|
|
56422
56735
|
* @param request ModifyRouteTableAttributesRequest
|
|
@@ -56467,7 +56780,6 @@ class Client extends openapi_client_1.default {
|
|
|
56467
56780
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyRouteTableAttributesResponse({}));
|
|
56468
56781
|
}
|
|
56469
56782
|
/**
|
|
56470
|
-
* ## [](#)References
|
|
56471
56783
|
* You cannot repeatedly call the **ModifyRouteTableAttributes** operation to modify the name and description of a route table within the specified period of time.
|
|
56472
56784
|
*
|
|
56473
56785
|
* @param request ModifyRouteTableAttributesRequest
|
|
@@ -56941,9 +57253,9 @@ class Client extends openapi_client_1.default {
|
|
|
56941
57253
|
return await this.modifyVRouterAttributeWithOptions(request, runtime);
|
|
56942
57254
|
}
|
|
56943
57255
|
/**
|
|
56944
|
-
* *
|
|
56945
|
-
* * If the vSwitch is in the **Pending** state, the vSwitch
|
|
56946
|
-
* * If the vSwitch is in the **Available** state, the vSwitch
|
|
57256
|
+
* * **ModifyVSwitchAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](~~94567~~) operation to query the status of the task:
|
|
57257
|
+
* * If the vSwitch is in the **Pending** state, the name and description of the vSwitch are being modified.
|
|
57258
|
+
* * If the vSwitch is in the **Available** state, the name and description of the vSwitch are modified.
|
|
56947
57259
|
* * You cannot repeatedly call the **ModifyVSwitchAttribute** operation to modify the name and description of a vSwitch within the specified period of time.
|
|
56948
57260
|
*
|
|
56949
57261
|
* @param request ModifyVSwitchAttributeRequest
|
|
@@ -57003,9 +57315,9 @@ class Client extends openapi_client_1.default {
|
|
|
57003
57315
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyVSwitchAttributeResponse({}));
|
|
57004
57316
|
}
|
|
57005
57317
|
/**
|
|
57006
|
-
* *
|
|
57007
|
-
* * If the vSwitch is in the **Pending** state, the vSwitch
|
|
57008
|
-
* * If the vSwitch is in the **Available** state, the vSwitch
|
|
57318
|
+
* * **ModifyVSwitchAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](~~94567~~) operation to query the status of the task:
|
|
57319
|
+
* * If the vSwitch is in the **Pending** state, the name and description of the vSwitch are being modified.
|
|
57320
|
+
* * If the vSwitch is in the **Available** state, the name and description of the vSwitch are modified.
|
|
57009
57321
|
* * You cannot repeatedly call the **ModifyVSwitchAttribute** operation to modify the name and description of a vSwitch within the specified period of time.
|
|
57010
57322
|
*
|
|
57011
57323
|
* @param request ModifyVSwitchAttributeRequest
|
|
@@ -57231,6 +57543,9 @@ class Client extends openapi_client_1.default {
|
|
|
57231
57543
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
57232
57544
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
57233
57545
|
}
|
|
57546
|
+
if (!tea_util_1.default.isUnset(request.sitelinkEnable)) {
|
|
57547
|
+
query["SitelinkEnable"] = request.sitelinkEnable;
|
|
57548
|
+
}
|
|
57234
57549
|
if (!tea_util_1.default.isUnset(request.vbrId)) {
|
|
57235
57550
|
query["VbrId"] = request.vbrId;
|
|
57236
57551
|
}
|
|
@@ -58610,6 +58925,56 @@ class Client extends openapi_client_1.default {
|
|
|
58610
58925
|
let runtime = new $Util.RuntimeOptions({});
|
|
58611
58926
|
return await this.releaseEipSegmentAddressWithOptions(request, runtime);
|
|
58612
58927
|
}
|
|
58928
|
+
async releaseIpv6AddressWithOptions(request, runtime) {
|
|
58929
|
+
tea_util_1.default.validateModel(request);
|
|
58930
|
+
let query = {};
|
|
58931
|
+
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
58932
|
+
query["ClientToken"] = request.clientToken;
|
|
58933
|
+
}
|
|
58934
|
+
if (!tea_util_1.default.isUnset(request.dryRun)) {
|
|
58935
|
+
query["DryRun"] = request.dryRun;
|
|
58936
|
+
}
|
|
58937
|
+
if (!tea_util_1.default.isUnset(request.ipv6AddressId)) {
|
|
58938
|
+
query["Ipv6AddressId"] = request.ipv6AddressId;
|
|
58939
|
+
}
|
|
58940
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
58941
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
58942
|
+
}
|
|
58943
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
58944
|
+
query["OwnerId"] = request.ownerId;
|
|
58945
|
+
}
|
|
58946
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
58947
|
+
query["RegionId"] = request.regionId;
|
|
58948
|
+
}
|
|
58949
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
58950
|
+
query["RegionId"] = request.regionId;
|
|
58951
|
+
}
|
|
58952
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
58953
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
58954
|
+
}
|
|
58955
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
58956
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
58957
|
+
}
|
|
58958
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
58959
|
+
query: openapi_util_1.default.query(query),
|
|
58960
|
+
});
|
|
58961
|
+
let params = new $OpenApi.Params({
|
|
58962
|
+
action: "ReleaseIpv6Address",
|
|
58963
|
+
version: "2016-04-28",
|
|
58964
|
+
protocol: "HTTPS",
|
|
58965
|
+
pathname: "/",
|
|
58966
|
+
method: "POST",
|
|
58967
|
+
authType: "AK",
|
|
58968
|
+
style: "RPC",
|
|
58969
|
+
reqBodyType: "formData",
|
|
58970
|
+
bodyType: "json",
|
|
58971
|
+
});
|
|
58972
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ReleaseIpv6AddressResponse({}));
|
|
58973
|
+
}
|
|
58974
|
+
async releaseIpv6Address(request) {
|
|
58975
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
58976
|
+
return await this.releaseIpv6AddressWithOptions(request, runtime);
|
|
58977
|
+
}
|
|
58613
58978
|
async removeCommonBandwidthPackageIpWithOptions(request, runtime) {
|
|
58614
58979
|
tea_util_1.default.validateModel(request);
|
|
58615
58980
|
let query = {};
|