@alicloud/vpc20160428 4.0.1 → 4.1.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 +244 -0
- package/dist/client.js +430 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +559 -0
package/dist/client.js
CHANGED
|
@@ -4803,6 +4803,7 @@ class CreatePublicIpAddressPoolRequest extends $tea.Model {
|
|
|
4803
4803
|
}
|
|
4804
4804
|
static names() {
|
|
4805
4805
|
return {
|
|
4806
|
+
bizType: 'BizType',
|
|
4806
4807
|
clientToken: 'ClientToken',
|
|
4807
4808
|
description: 'Description',
|
|
4808
4809
|
dryRun: 'DryRun',
|
|
@@ -4815,10 +4816,12 @@ class CreatePublicIpAddressPoolRequest extends $tea.Model {
|
|
|
4815
4816
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4816
4817
|
resourceOwnerId: 'ResourceOwnerId',
|
|
4817
4818
|
tag: 'Tag',
|
|
4819
|
+
zones: 'Zones',
|
|
4818
4820
|
};
|
|
4819
4821
|
}
|
|
4820
4822
|
static types() {
|
|
4821
4823
|
return {
|
|
4824
|
+
bizType: 'string',
|
|
4822
4825
|
clientToken: 'string',
|
|
4823
4826
|
description: 'string',
|
|
4824
4827
|
dryRun: 'boolean',
|
|
@@ -4831,6 +4834,7 @@ class CreatePublicIpAddressPoolRequest extends $tea.Model {
|
|
|
4831
4834
|
resourceOwnerAccount: 'string',
|
|
4832
4835
|
resourceOwnerId: 'number',
|
|
4833
4836
|
tag: { 'type': 'array', 'itemType': CreatePublicIpAddressPoolRequestTag },
|
|
4837
|
+
zones: { 'type': 'array', 'itemType': 'string' },
|
|
4834
4838
|
};
|
|
4835
4839
|
}
|
|
4836
4840
|
}
|
|
@@ -10888,6 +10892,7 @@ class DescribeEipAddressesRequest extends $tea.Model {
|
|
|
10888
10892
|
securityProtectionEnabled: 'SecurityProtectionEnabled',
|
|
10889
10893
|
segmentInstanceId: 'SegmentInstanceId',
|
|
10890
10894
|
status: 'Status',
|
|
10895
|
+
tag: 'Tag',
|
|
10891
10896
|
};
|
|
10892
10897
|
}
|
|
10893
10898
|
static types() {
|
|
@@ -10915,6 +10920,7 @@ class DescribeEipAddressesRequest extends $tea.Model {
|
|
|
10915
10920
|
securityProtectionEnabled: 'boolean',
|
|
10916
10921
|
segmentInstanceId: 'string',
|
|
10917
10922
|
status: 'string',
|
|
10923
|
+
tag: { 'type': 'array', 'itemType': DescribeEipAddressesRequestTag },
|
|
10918
10924
|
};
|
|
10919
10925
|
}
|
|
10920
10926
|
}
|
|
@@ -16369,6 +16375,7 @@ class EnablePhysicalConnectionRequest extends $tea.Model {
|
|
|
16369
16375
|
}
|
|
16370
16376
|
static names() {
|
|
16371
16377
|
return {
|
|
16378
|
+
byPassSp: 'ByPassSp',
|
|
16372
16379
|
clientToken: 'ClientToken',
|
|
16373
16380
|
ownerAccount: 'OwnerAccount',
|
|
16374
16381
|
ownerId: 'OwnerId',
|
|
@@ -16380,6 +16387,7 @@ class EnablePhysicalConnectionRequest extends $tea.Model {
|
|
|
16380
16387
|
}
|
|
16381
16388
|
static types() {
|
|
16382
16389
|
return {
|
|
16390
|
+
byPassSp: 'boolean',
|
|
16383
16391
|
clientToken: 'string',
|
|
16384
16392
|
ownerAccount: 'string',
|
|
16385
16393
|
ownerId: 'number',
|
|
@@ -21925,6 +21933,98 @@ class ModifySslVpnServerResponse extends $tea.Model {
|
|
|
21925
21933
|
}
|
|
21926
21934
|
}
|
|
21927
21935
|
exports.ModifySslVpnServerResponse = ModifySslVpnServerResponse;
|
|
21936
|
+
class ModifyTunnelAttributeRequest extends $tea.Model {
|
|
21937
|
+
constructor(map) {
|
|
21938
|
+
super(map);
|
|
21939
|
+
}
|
|
21940
|
+
static names() {
|
|
21941
|
+
return {
|
|
21942
|
+
clientToken: 'ClientToken',
|
|
21943
|
+
ownerAccount: 'OwnerAccount',
|
|
21944
|
+
ownerId: 'OwnerId',
|
|
21945
|
+
regionId: 'RegionId',
|
|
21946
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
21947
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
21948
|
+
tunnelId: 'TunnelId',
|
|
21949
|
+
tunnelOptionsSpecification: 'TunnelOptionsSpecification',
|
|
21950
|
+
vpnConnectionId: 'VpnConnectionId',
|
|
21951
|
+
};
|
|
21952
|
+
}
|
|
21953
|
+
static types() {
|
|
21954
|
+
return {
|
|
21955
|
+
clientToken: 'string',
|
|
21956
|
+
ownerAccount: 'string',
|
|
21957
|
+
ownerId: 'number',
|
|
21958
|
+
regionId: 'string',
|
|
21959
|
+
resourceOwnerAccount: 'string',
|
|
21960
|
+
resourceOwnerId: 'number',
|
|
21961
|
+
tunnelId: 'string',
|
|
21962
|
+
tunnelOptionsSpecification: ModifyTunnelAttributeRequestTunnelOptionsSpecification,
|
|
21963
|
+
vpnConnectionId: 'string',
|
|
21964
|
+
};
|
|
21965
|
+
}
|
|
21966
|
+
}
|
|
21967
|
+
exports.ModifyTunnelAttributeRequest = ModifyTunnelAttributeRequest;
|
|
21968
|
+
class ModifyTunnelAttributeResponseBody extends $tea.Model {
|
|
21969
|
+
constructor(map) {
|
|
21970
|
+
super(map);
|
|
21971
|
+
}
|
|
21972
|
+
static names() {
|
|
21973
|
+
return {
|
|
21974
|
+
customerGatewayId: 'CustomerGatewayId',
|
|
21975
|
+
enableDpd: 'EnableDpd',
|
|
21976
|
+
enableNatTraversal: 'EnableNatTraversal',
|
|
21977
|
+
internetIp: 'InternetIp',
|
|
21978
|
+
remoteCaCertificate: 'RemoteCaCertificate',
|
|
21979
|
+
requestId: 'RequestId',
|
|
21980
|
+
role: 'Role',
|
|
21981
|
+
state: 'State',
|
|
21982
|
+
tunnelBgpConfig: 'TunnelBgpConfig',
|
|
21983
|
+
tunnelId: 'TunnelId',
|
|
21984
|
+
tunnelIkeConfig: 'TunnelIkeConfig',
|
|
21985
|
+
tunnelIpsecConfig: 'TunnelIpsecConfig',
|
|
21986
|
+
zoneNo: 'ZoneNo',
|
|
21987
|
+
};
|
|
21988
|
+
}
|
|
21989
|
+
static types() {
|
|
21990
|
+
return {
|
|
21991
|
+
customerGatewayId: 'string',
|
|
21992
|
+
enableDpd: 'boolean',
|
|
21993
|
+
enableNatTraversal: 'boolean',
|
|
21994
|
+
internetIp: 'string',
|
|
21995
|
+
remoteCaCertificate: 'string',
|
|
21996
|
+
requestId: 'string',
|
|
21997
|
+
role: 'string',
|
|
21998
|
+
state: 'string',
|
|
21999
|
+
tunnelBgpConfig: ModifyTunnelAttributeResponseBodyTunnelBgpConfig,
|
|
22000
|
+
tunnelId: 'string',
|
|
22001
|
+
tunnelIkeConfig: ModifyTunnelAttributeResponseBodyTunnelIkeConfig,
|
|
22002
|
+
tunnelIpsecConfig: ModifyTunnelAttributeResponseBodyTunnelIpsecConfig,
|
|
22003
|
+
zoneNo: 'string',
|
|
22004
|
+
};
|
|
22005
|
+
}
|
|
22006
|
+
}
|
|
22007
|
+
exports.ModifyTunnelAttributeResponseBody = ModifyTunnelAttributeResponseBody;
|
|
22008
|
+
class ModifyTunnelAttributeResponse extends $tea.Model {
|
|
22009
|
+
constructor(map) {
|
|
22010
|
+
super(map);
|
|
22011
|
+
}
|
|
22012
|
+
static names() {
|
|
22013
|
+
return {
|
|
22014
|
+
headers: 'headers',
|
|
22015
|
+
statusCode: 'statusCode',
|
|
22016
|
+
body: 'body',
|
|
22017
|
+
};
|
|
22018
|
+
}
|
|
22019
|
+
static types() {
|
|
22020
|
+
return {
|
|
22021
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
22022
|
+
statusCode: 'number',
|
|
22023
|
+
body: ModifyTunnelAttributeResponseBody,
|
|
22024
|
+
};
|
|
22025
|
+
}
|
|
22026
|
+
}
|
|
22027
|
+
exports.ModifyTunnelAttributeResponse = ModifyTunnelAttributeResponse;
|
|
21928
22028
|
class ModifyVRouterAttributeRequest extends $tea.Model {
|
|
21929
22029
|
constructor(map) {
|
|
21930
22030
|
super(map);
|
|
@@ -27645,6 +27745,7 @@ class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesCommonBa
|
|
|
27645
27745
|
return {
|
|
27646
27746
|
bandwidth: 'Bandwidth',
|
|
27647
27747
|
bandwidthPackageId: 'BandwidthPackageId',
|
|
27748
|
+
bizType: 'BizType',
|
|
27648
27749
|
businessStatus: 'BusinessStatus',
|
|
27649
27750
|
creationTime: 'CreationTime',
|
|
27650
27751
|
deletionProtection: 'DeletionProtection',
|
|
@@ -27667,12 +27768,14 @@ class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesCommonBa
|
|
|
27667
27768
|
serviceManaged: 'ServiceManaged',
|
|
27668
27769
|
status: 'Status',
|
|
27669
27770
|
tags: 'Tags',
|
|
27771
|
+
zone: 'Zone',
|
|
27670
27772
|
};
|
|
27671
27773
|
}
|
|
27672
27774
|
static types() {
|
|
27673
27775
|
return {
|
|
27674
27776
|
bandwidth: 'string',
|
|
27675
27777
|
bandwidthPackageId: 'string',
|
|
27778
|
+
bizType: 'string',
|
|
27676
27779
|
businessStatus: 'string',
|
|
27677
27780
|
creationTime: 'string',
|
|
27678
27781
|
deletionProtection: 'boolean',
|
|
@@ -27695,6 +27798,7 @@ class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesCommonBa
|
|
|
27695
27798
|
serviceManaged: 'number',
|
|
27696
27799
|
status: 'string',
|
|
27697
27800
|
tags: DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesCommonBandwidthPackageTags,
|
|
27801
|
+
zone: 'string',
|
|
27698
27802
|
};
|
|
27699
27803
|
}
|
|
27700
27804
|
}
|
|
@@ -27901,6 +28005,24 @@ class DescribeEipAddressesRequestFilter extends $tea.Model {
|
|
|
27901
28005
|
}
|
|
27902
28006
|
}
|
|
27903
28007
|
exports.DescribeEipAddressesRequestFilter = DescribeEipAddressesRequestFilter;
|
|
28008
|
+
class DescribeEipAddressesRequestTag extends $tea.Model {
|
|
28009
|
+
constructor(map) {
|
|
28010
|
+
super(map);
|
|
28011
|
+
}
|
|
28012
|
+
static names() {
|
|
28013
|
+
return {
|
|
28014
|
+
key: 'Key',
|
|
28015
|
+
value: 'Value',
|
|
28016
|
+
};
|
|
28017
|
+
}
|
|
28018
|
+
static types() {
|
|
28019
|
+
return {
|
|
28020
|
+
key: 'string',
|
|
28021
|
+
value: 'string',
|
|
28022
|
+
};
|
|
28023
|
+
}
|
|
28024
|
+
}
|
|
28025
|
+
exports.DescribeEipAddressesRequestTag = DescribeEipAddressesRequestTag;
|
|
27904
28026
|
class DescribeEipAddressesResponseBodyEipAddressesEipAddressOperationLocksLockReason extends $tea.Model {
|
|
27905
28027
|
constructor(map) {
|
|
27906
28028
|
super(map);
|
|
@@ -27995,6 +28117,7 @@ class DescribeEipAddressesResponseBodyEipAddressesEipAddress extends $tea.Model
|
|
|
27995
28117
|
bandwidthPackageBandwidth: 'BandwidthPackageBandwidth',
|
|
27996
28118
|
bandwidthPackageId: 'BandwidthPackageId',
|
|
27997
28119
|
bandwidthPackageType: 'BandwidthPackageType',
|
|
28120
|
+
bizType: 'BizType',
|
|
27998
28121
|
businessStatus: 'BusinessStatus',
|
|
27999
28122
|
chargeType: 'ChargeType',
|
|
28000
28123
|
deletionProtection: 'DeletionProtection',
|
|
@@ -28037,6 +28160,7 @@ class DescribeEipAddressesResponseBodyEipAddressesEipAddress extends $tea.Model
|
|
|
28037
28160
|
bandwidthPackageBandwidth: 'string',
|
|
28038
28161
|
bandwidthPackageId: 'string',
|
|
28039
28162
|
bandwidthPackageType: 'string',
|
|
28163
|
+
bizType: 'string',
|
|
28040
28164
|
businessStatus: 'string',
|
|
28041
28165
|
chargeType: 'string',
|
|
28042
28166
|
deletionProtection: 'boolean',
|
|
@@ -28365,6 +28489,7 @@ class DescribeForwardTableEntriesResponseBodyForwardTableEntriesForwardTableEntr
|
|
|
28365
28489
|
internalIp: 'InternalIp',
|
|
28366
28490
|
internalPort: 'InternalPort',
|
|
28367
28491
|
ipProtocol: 'IpProtocol',
|
|
28492
|
+
natGatewayId: 'NatGatewayId',
|
|
28368
28493
|
status: 'Status',
|
|
28369
28494
|
};
|
|
28370
28495
|
}
|
|
@@ -28378,6 +28503,7 @@ class DescribeForwardTableEntriesResponseBodyForwardTableEntriesForwardTableEntr
|
|
|
28378
28503
|
internalIp: 'string',
|
|
28379
28504
|
internalPort: 'string',
|
|
28380
28505
|
ipProtocol: 'string',
|
|
28506
|
+
natGatewayId: 'string',
|
|
28381
28507
|
status: 'string',
|
|
28382
28508
|
};
|
|
28383
28509
|
}
|
|
@@ -30009,6 +30135,40 @@ class DescribePhysicalConnectionsRequestTags extends $tea.Model {
|
|
|
30009
30135
|
}
|
|
30010
30136
|
}
|
|
30011
30137
|
exports.DescribePhysicalConnectionsRequestTags = DescribePhysicalConnectionsRequestTags;
|
|
30138
|
+
class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTagsTags extends $tea.Model {
|
|
30139
|
+
constructor(map) {
|
|
30140
|
+
super(map);
|
|
30141
|
+
}
|
|
30142
|
+
static names() {
|
|
30143
|
+
return {
|
|
30144
|
+
key: 'Key',
|
|
30145
|
+
value: 'Value',
|
|
30146
|
+
};
|
|
30147
|
+
}
|
|
30148
|
+
static types() {
|
|
30149
|
+
return {
|
|
30150
|
+
key: 'string',
|
|
30151
|
+
value: 'string',
|
|
30152
|
+
};
|
|
30153
|
+
}
|
|
30154
|
+
}
|
|
30155
|
+
exports.DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTagsTags = DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTagsTags;
|
|
30156
|
+
class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTags extends $tea.Model {
|
|
30157
|
+
constructor(map) {
|
|
30158
|
+
super(map);
|
|
30159
|
+
}
|
|
30160
|
+
static names() {
|
|
30161
|
+
return {
|
|
30162
|
+
tags: 'tags',
|
|
30163
|
+
};
|
|
30164
|
+
}
|
|
30165
|
+
static types() {
|
|
30166
|
+
return {
|
|
30167
|
+
tags: { 'type': 'array', 'itemType': DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTagsTags },
|
|
30168
|
+
};
|
|
30169
|
+
}
|
|
30170
|
+
}
|
|
30171
|
+
exports.DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTags = DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTags;
|
|
30012
30172
|
class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionType extends $tea.Model {
|
|
30013
30173
|
constructor(map) {
|
|
30014
30174
|
super(map);
|
|
@@ -30047,6 +30207,7 @@ class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnec
|
|
|
30047
30207
|
resourceGroupId: 'ResourceGroupId',
|
|
30048
30208
|
spec: 'Spec',
|
|
30049
30209
|
status: 'Status',
|
|
30210
|
+
tags: 'Tags',
|
|
30050
30211
|
type: 'Type',
|
|
30051
30212
|
virtualPhysicalConnectionCount: 'VirtualPhysicalConnectionCount',
|
|
30052
30213
|
vlanId: 'VlanId',
|
|
@@ -30087,6 +30248,7 @@ class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnec
|
|
|
30087
30248
|
resourceGroupId: 'string',
|
|
30088
30249
|
spec: 'string',
|
|
30089
30250
|
status: 'string',
|
|
30251
|
+
tags: DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTags,
|
|
30090
30252
|
type: 'string',
|
|
30091
30253
|
virtualPhysicalConnectionCount: 'number',
|
|
30092
30254
|
vlanId: 'string',
|
|
@@ -30809,6 +30971,7 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry extends
|
|
|
30809
30971
|
}
|
|
30810
30972
|
static names() {
|
|
30811
30973
|
return {
|
|
30974
|
+
natGatewayId: 'NatGatewayId',
|
|
30812
30975
|
snatEntryId: 'SnatEntryId',
|
|
30813
30976
|
snatEntryName: 'SnatEntryName',
|
|
30814
30977
|
snatIp: 'SnatIp',
|
|
@@ -30820,6 +30983,7 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry extends
|
|
|
30820
30983
|
}
|
|
30821
30984
|
static types() {
|
|
30822
30985
|
return {
|
|
30986
|
+
natGatewayId: 'string',
|
|
30823
30987
|
snatEntryId: 'string',
|
|
30824
30988
|
snatEntryName: 'string',
|
|
30825
30989
|
snatIp: 'string',
|
|
@@ -34423,6 +34587,7 @@ class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends $tea.M
|
|
|
34423
34587
|
}
|
|
34424
34588
|
static names() {
|
|
34425
34589
|
return {
|
|
34590
|
+
bizType: 'BizType',
|
|
34426
34591
|
creationTime: 'CreationTime',
|
|
34427
34592
|
description: 'Description',
|
|
34428
34593
|
ipAddressRemaining: 'IpAddressRemaining',
|
|
@@ -34438,10 +34603,12 @@ class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends $tea.M
|
|
|
34438
34603
|
totalIpNum: 'TotalIpNum',
|
|
34439
34604
|
usedIpNum: 'UsedIpNum',
|
|
34440
34605
|
userType: 'UserType',
|
|
34606
|
+
zones: 'Zones',
|
|
34441
34607
|
};
|
|
34442
34608
|
}
|
|
34443
34609
|
static types() {
|
|
34444
34610
|
return {
|
|
34611
|
+
bizType: 'string',
|
|
34445
34612
|
creationTime: 'string',
|
|
34446
34613
|
description: 'string',
|
|
34447
34614
|
ipAddressRemaining: 'boolean',
|
|
@@ -34457,6 +34624,7 @@ class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends $tea.M
|
|
|
34457
34624
|
totalIpNum: 'number',
|
|
34458
34625
|
usedIpNum: 'number',
|
|
34459
34626
|
userType: 'boolean',
|
|
34627
|
+
zones: { 'type': 'array', 'itemType': 'string' },
|
|
34460
34628
|
};
|
|
34461
34629
|
}
|
|
34462
34630
|
}
|
|
@@ -34809,6 +34977,24 @@ class ListVirtualPhysicalConnectionsRequestTags extends $tea.Model {
|
|
|
34809
34977
|
}
|
|
34810
34978
|
}
|
|
34811
34979
|
exports.ListVirtualPhysicalConnectionsRequestTags = ListVirtualPhysicalConnectionsRequestTags;
|
|
34980
|
+
class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnectionsTags extends $tea.Model {
|
|
34981
|
+
constructor(map) {
|
|
34982
|
+
super(map);
|
|
34983
|
+
}
|
|
34984
|
+
static names() {
|
|
34985
|
+
return {
|
|
34986
|
+
key: 'Key',
|
|
34987
|
+
value: 'Value',
|
|
34988
|
+
};
|
|
34989
|
+
}
|
|
34990
|
+
static types() {
|
|
34991
|
+
return {
|
|
34992
|
+
key: 'string',
|
|
34993
|
+
value: 'string',
|
|
34994
|
+
};
|
|
34995
|
+
}
|
|
34996
|
+
}
|
|
34997
|
+
exports.ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnectionsTags = ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnectionsTags;
|
|
34812
34998
|
class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnections extends $tea.Model {
|
|
34813
34999
|
constructor(map) {
|
|
34814
35000
|
super(map);
|
|
@@ -34842,6 +35028,7 @@ class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnections exten
|
|
|
34842
35028
|
resourceGroupId: 'ResourceGroupId',
|
|
34843
35029
|
spec: 'Spec',
|
|
34844
35030
|
status: 'Status',
|
|
35031
|
+
tags: 'Tags',
|
|
34845
35032
|
type: 'Type',
|
|
34846
35033
|
virtualPhysicalConnectionStatus: 'VirtualPhysicalConnectionStatus',
|
|
34847
35034
|
vlanId: 'VlanId',
|
|
@@ -34876,6 +35063,7 @@ class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnections exten
|
|
|
34876
35063
|
resourceGroupId: 'string',
|
|
34877
35064
|
spec: 'string',
|
|
34878
35065
|
status: 'string',
|
|
35066
|
+
tags: { 'type': 'array', 'itemType': ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnectionsTags },
|
|
34879
35067
|
type: 'string',
|
|
34880
35068
|
virtualPhysicalConnectionStatus: 'string',
|
|
34881
35069
|
vlanId: 'string',
|
|
@@ -35003,6 +35191,186 @@ class ListVpnCertificateAssociationsResponseBodyVpnCertificateRelations extends
|
|
|
35003
35191
|
}
|
|
35004
35192
|
}
|
|
35005
35193
|
exports.ListVpnCertificateAssociationsResponseBodyVpnCertificateRelations = ListVpnCertificateAssociationsResponseBodyVpnCertificateRelations;
|
|
35194
|
+
class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
|
|
35195
|
+
constructor(map) {
|
|
35196
|
+
super(map);
|
|
35197
|
+
}
|
|
35198
|
+
static names() {
|
|
35199
|
+
return {
|
|
35200
|
+
localAsn: 'LocalAsn',
|
|
35201
|
+
localBgpIp: 'LocalBgpIp',
|
|
35202
|
+
tunnelCidr: 'TunnelCidr',
|
|
35203
|
+
};
|
|
35204
|
+
}
|
|
35205
|
+
static types() {
|
|
35206
|
+
return {
|
|
35207
|
+
localAsn: 'number',
|
|
35208
|
+
localBgpIp: 'string',
|
|
35209
|
+
tunnelCidr: 'string',
|
|
35210
|
+
};
|
|
35211
|
+
}
|
|
35212
|
+
}
|
|
35213
|
+
exports.ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig = ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
35214
|
+
class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
|
|
35215
|
+
constructor(map) {
|
|
35216
|
+
super(map);
|
|
35217
|
+
}
|
|
35218
|
+
static names() {
|
|
35219
|
+
return {
|
|
35220
|
+
ikeAuthAlg: 'IkeAuthAlg',
|
|
35221
|
+
ikeEncAlg: 'IkeEncAlg',
|
|
35222
|
+
ikeLifetime: 'IkeLifetime',
|
|
35223
|
+
ikeMode: 'IkeMode',
|
|
35224
|
+
ikePfs: 'IkePfs',
|
|
35225
|
+
ikeVersion: 'IkeVersion',
|
|
35226
|
+
localId: 'LocalId',
|
|
35227
|
+
psk: 'Psk',
|
|
35228
|
+
remoteId: 'RemoteId',
|
|
35229
|
+
};
|
|
35230
|
+
}
|
|
35231
|
+
static types() {
|
|
35232
|
+
return {
|
|
35233
|
+
ikeAuthAlg: 'string',
|
|
35234
|
+
ikeEncAlg: 'string',
|
|
35235
|
+
ikeLifetime: 'number',
|
|
35236
|
+
ikeMode: 'string',
|
|
35237
|
+
ikePfs: 'string',
|
|
35238
|
+
ikeVersion: 'string',
|
|
35239
|
+
localId: 'string',
|
|
35240
|
+
psk: 'string',
|
|
35241
|
+
remoteId: 'string',
|
|
35242
|
+
};
|
|
35243
|
+
}
|
|
35244
|
+
}
|
|
35245
|
+
exports.ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig = ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig;
|
|
35246
|
+
class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
|
|
35247
|
+
constructor(map) {
|
|
35248
|
+
super(map);
|
|
35249
|
+
}
|
|
35250
|
+
static names() {
|
|
35251
|
+
return {
|
|
35252
|
+
ipsecAuthAlg: 'IpsecAuthAlg',
|
|
35253
|
+
ipsecEncAlg: 'IpsecEncAlg',
|
|
35254
|
+
ipsecLifetime: 'IpsecLifetime',
|
|
35255
|
+
ipsecPfs: 'IpsecPfs',
|
|
35256
|
+
};
|
|
35257
|
+
}
|
|
35258
|
+
static types() {
|
|
35259
|
+
return {
|
|
35260
|
+
ipsecAuthAlg: 'string',
|
|
35261
|
+
ipsecEncAlg: 'string',
|
|
35262
|
+
ipsecLifetime: 'number',
|
|
35263
|
+
ipsecPfs: 'string',
|
|
35264
|
+
};
|
|
35265
|
+
}
|
|
35266
|
+
}
|
|
35267
|
+
exports.ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig = ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
35268
|
+
class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea.Model {
|
|
35269
|
+
constructor(map) {
|
|
35270
|
+
super(map);
|
|
35271
|
+
}
|
|
35272
|
+
static names() {
|
|
35273
|
+
return {
|
|
35274
|
+
enableDpd: 'EnableDpd',
|
|
35275
|
+
enableNatTraversal: 'EnableNatTraversal',
|
|
35276
|
+
remoteCaCertificate: 'RemoteCaCertificate',
|
|
35277
|
+
tunnelBgpConfig: 'TunnelBgpConfig',
|
|
35278
|
+
tunnelIkeConfig: 'TunnelIkeConfig',
|
|
35279
|
+
tunnelIpsecConfig: 'TunnelIpsecConfig',
|
|
35280
|
+
};
|
|
35281
|
+
}
|
|
35282
|
+
static types() {
|
|
35283
|
+
return {
|
|
35284
|
+
enableDpd: 'boolean',
|
|
35285
|
+
enableNatTraversal: 'boolean',
|
|
35286
|
+
remoteCaCertificate: 'string',
|
|
35287
|
+
tunnelBgpConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig,
|
|
35288
|
+
tunnelIkeConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig,
|
|
35289
|
+
tunnelIpsecConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig,
|
|
35290
|
+
};
|
|
35291
|
+
}
|
|
35292
|
+
}
|
|
35293
|
+
exports.ModifyTunnelAttributeRequestTunnelOptionsSpecification = ModifyTunnelAttributeRequestTunnelOptionsSpecification;
|
|
35294
|
+
class ModifyTunnelAttributeResponseBodyTunnelBgpConfig extends $tea.Model {
|
|
35295
|
+
constructor(map) {
|
|
35296
|
+
super(map);
|
|
35297
|
+
}
|
|
35298
|
+
static names() {
|
|
35299
|
+
return {
|
|
35300
|
+
enableBgp: 'EnableBgp',
|
|
35301
|
+
localAsn: 'LocalAsn',
|
|
35302
|
+
localBgpIp: 'LocalBgpIp',
|
|
35303
|
+
peerAsn: 'PeerAsn',
|
|
35304
|
+
peerBgpIp: 'PeerBgpIp',
|
|
35305
|
+
tunnelCidr: 'TunnelCidr',
|
|
35306
|
+
};
|
|
35307
|
+
}
|
|
35308
|
+
static types() {
|
|
35309
|
+
return {
|
|
35310
|
+
enableBgp: 'boolean',
|
|
35311
|
+
localAsn: 'number',
|
|
35312
|
+
localBgpIp: 'string',
|
|
35313
|
+
peerAsn: 'number',
|
|
35314
|
+
peerBgpIp: 'string',
|
|
35315
|
+
tunnelCidr: 'string',
|
|
35316
|
+
};
|
|
35317
|
+
}
|
|
35318
|
+
}
|
|
35319
|
+
exports.ModifyTunnelAttributeResponseBodyTunnelBgpConfig = ModifyTunnelAttributeResponseBodyTunnelBgpConfig;
|
|
35320
|
+
class ModifyTunnelAttributeResponseBodyTunnelIkeConfig extends $tea.Model {
|
|
35321
|
+
constructor(map) {
|
|
35322
|
+
super(map);
|
|
35323
|
+
}
|
|
35324
|
+
static names() {
|
|
35325
|
+
return {
|
|
35326
|
+
ikeAuthAlg: 'IkeAuthAlg',
|
|
35327
|
+
ikeEncAlg: 'IkeEncAlg',
|
|
35328
|
+
ikeLifetime: 'IkeLifetime',
|
|
35329
|
+
ikeMode: 'IkeMode',
|
|
35330
|
+
ikePfs: 'IkePfs',
|
|
35331
|
+
ikeVersion: 'IkeVersion',
|
|
35332
|
+
localId: 'LocalId',
|
|
35333
|
+
psk: 'Psk',
|
|
35334
|
+
remoteId: 'RemoteId',
|
|
35335
|
+
};
|
|
35336
|
+
}
|
|
35337
|
+
static types() {
|
|
35338
|
+
return {
|
|
35339
|
+
ikeAuthAlg: 'string',
|
|
35340
|
+
ikeEncAlg: 'string',
|
|
35341
|
+
ikeLifetime: 'number',
|
|
35342
|
+
ikeMode: 'string',
|
|
35343
|
+
ikePfs: 'string',
|
|
35344
|
+
ikeVersion: 'string',
|
|
35345
|
+
localId: 'string',
|
|
35346
|
+
psk: 'string',
|
|
35347
|
+
remoteId: 'string',
|
|
35348
|
+
};
|
|
35349
|
+
}
|
|
35350
|
+
}
|
|
35351
|
+
exports.ModifyTunnelAttributeResponseBodyTunnelIkeConfig = ModifyTunnelAttributeResponseBodyTunnelIkeConfig;
|
|
35352
|
+
class ModifyTunnelAttributeResponseBodyTunnelIpsecConfig extends $tea.Model {
|
|
35353
|
+
constructor(map) {
|
|
35354
|
+
super(map);
|
|
35355
|
+
}
|
|
35356
|
+
static names() {
|
|
35357
|
+
return {
|
|
35358
|
+
ipsecAuthAlg: 'IpsecAuthAlg',
|
|
35359
|
+
ipsecEncAlg: 'IpsecEncAlg',
|
|
35360
|
+
ipsecLifetime: 'IpsecLifetime',
|
|
35361
|
+
ipsecPfs: 'IpsecPfs',
|
|
35362
|
+
};
|
|
35363
|
+
}
|
|
35364
|
+
static types() {
|
|
35365
|
+
return {
|
|
35366
|
+
ipsecAuthAlg: 'string',
|
|
35367
|
+
ipsecEncAlg: 'string',
|
|
35368
|
+
ipsecLifetime: 'number',
|
|
35369
|
+
ipsecPfs: 'string',
|
|
35370
|
+
};
|
|
35371
|
+
}
|
|
35372
|
+
}
|
|
35373
|
+
exports.ModifyTunnelAttributeResponseBodyTunnelIpsecConfig = ModifyTunnelAttributeResponseBodyTunnelIpsecConfig;
|
|
35006
35374
|
class ModifyVpcPrefixListRequestAddPrefixListEntry extends $tea.Model {
|
|
35007
35375
|
constructor(map) {
|
|
35008
35376
|
super(map);
|
|
@@ -40289,6 +40657,9 @@ class Client extends openapi_client_1.default {
|
|
|
40289
40657
|
async createPublicIpAddressPoolWithOptions(request, runtime) {
|
|
40290
40658
|
tea_util_1.default.validateModel(request);
|
|
40291
40659
|
let query = {};
|
|
40660
|
+
if (!tea_util_1.default.isUnset(request.bizType)) {
|
|
40661
|
+
query["BizType"] = request.bizType;
|
|
40662
|
+
}
|
|
40292
40663
|
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
40293
40664
|
query["ClientToken"] = request.clientToken;
|
|
40294
40665
|
}
|
|
@@ -40325,6 +40696,9 @@ class Client extends openapi_client_1.default {
|
|
|
40325
40696
|
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
40326
40697
|
query["Tag"] = request.tag;
|
|
40327
40698
|
}
|
|
40699
|
+
if (!tea_util_1.default.isUnset(request.zones)) {
|
|
40700
|
+
query["Zones"] = request.zones;
|
|
40701
|
+
}
|
|
40328
40702
|
let req = new $OpenApi.OpenApiRequest({
|
|
40329
40703
|
query: openapi_util_1.default.query(query),
|
|
40330
40704
|
});
|
|
@@ -46104,6 +46478,9 @@ class Client extends openapi_client_1.default {
|
|
|
46104
46478
|
if (!tea_util_1.default.isUnset(request.status)) {
|
|
46105
46479
|
query["Status"] = request.status;
|
|
46106
46480
|
}
|
|
46481
|
+
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
46482
|
+
query["Tag"] = request.tag;
|
|
46483
|
+
}
|
|
46107
46484
|
if (!tea_util_1.default.isUnset(request.filter)) {
|
|
46108
46485
|
query["Filter"] = request.filter;
|
|
46109
46486
|
}
|
|
@@ -49928,6 +50305,9 @@ class Client extends openapi_client_1.default {
|
|
|
49928
50305
|
async enablePhysicalConnectionWithOptions(request, runtime) {
|
|
49929
50306
|
tea_util_1.default.validateModel(request);
|
|
49930
50307
|
let query = {};
|
|
50308
|
+
if (!tea_util_1.default.isUnset(request.byPassSp)) {
|
|
50309
|
+
query["ByPassSp"] = request.byPassSp;
|
|
50310
|
+
}
|
|
49931
50311
|
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
49932
50312
|
query["ClientToken"] = request.clientToken;
|
|
49933
50313
|
}
|
|
@@ -54381,6 +54761,56 @@ class Client extends openapi_client_1.default {
|
|
|
54381
54761
|
let runtime = new $Util.RuntimeOptions({});
|
|
54382
54762
|
return await this.modifySslVpnServerWithOptions(request, runtime);
|
|
54383
54763
|
}
|
|
54764
|
+
async modifyTunnelAttributeWithOptions(request, runtime) {
|
|
54765
|
+
tea_util_1.default.validateModel(request);
|
|
54766
|
+
let query = {};
|
|
54767
|
+
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
54768
|
+
query["ClientToken"] = request.clientToken;
|
|
54769
|
+
}
|
|
54770
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
54771
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
54772
|
+
}
|
|
54773
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
54774
|
+
query["OwnerId"] = request.ownerId;
|
|
54775
|
+
}
|
|
54776
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
54777
|
+
query["RegionId"] = request.regionId;
|
|
54778
|
+
}
|
|
54779
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
54780
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
54781
|
+
}
|
|
54782
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
54783
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
54784
|
+
}
|
|
54785
|
+
if (!tea_util_1.default.isUnset(request.tunnelId)) {
|
|
54786
|
+
query["TunnelId"] = request.tunnelId;
|
|
54787
|
+
}
|
|
54788
|
+
if (!tea_util_1.default.isUnset(request.tunnelOptionsSpecification)) {
|
|
54789
|
+
query["TunnelOptionsSpecification"] = request.tunnelOptionsSpecification;
|
|
54790
|
+
}
|
|
54791
|
+
if (!tea_util_1.default.isUnset(request.vpnConnectionId)) {
|
|
54792
|
+
query["VpnConnectionId"] = request.vpnConnectionId;
|
|
54793
|
+
}
|
|
54794
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
54795
|
+
query: openapi_util_1.default.query(query),
|
|
54796
|
+
});
|
|
54797
|
+
let params = new $OpenApi.Params({
|
|
54798
|
+
action: "ModifyTunnelAttribute",
|
|
54799
|
+
version: "2016-04-28",
|
|
54800
|
+
protocol: "HTTPS",
|
|
54801
|
+
pathname: "/",
|
|
54802
|
+
method: "POST",
|
|
54803
|
+
authType: "AK",
|
|
54804
|
+
style: "RPC",
|
|
54805
|
+
reqBodyType: "formData",
|
|
54806
|
+
bodyType: "json",
|
|
54807
|
+
});
|
|
54808
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyTunnelAttributeResponse({}));
|
|
54809
|
+
}
|
|
54810
|
+
async modifyTunnelAttribute(request) {
|
|
54811
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
54812
|
+
return await this.modifyTunnelAttributeWithOptions(request, runtime);
|
|
54813
|
+
}
|
|
54384
54814
|
/**
|
|
54385
54815
|
* You cannot repeatedly call the **ModifyVRouterAttribute** operation to modify the name and description of a vRouter within the specified period of time.
|
|
54386
54816
|
*
|