@alicloud/vpc20160428 4.0.2 → 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 +196 -0
- package/dist/client.js +349 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +454 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -14063,6 +14063,7 @@ export class DescribeEipAddressesRequest extends $tea.Model {
|
|
|
14063
14063
|
securityProtectionEnabled?: boolean;
|
|
14064
14064
|
segmentInstanceId?: string;
|
|
14065
14065
|
status?: string;
|
|
14066
|
+
tag?: DescribeEipAddressesRequestTag[];
|
|
14066
14067
|
static names(): { [key: string]: string } {
|
|
14067
14068
|
return {
|
|
14068
14069
|
filter: 'Filter',
|
|
@@ -14088,6 +14089,7 @@ export class DescribeEipAddressesRequest extends $tea.Model {
|
|
|
14088
14089
|
securityProtectionEnabled: 'SecurityProtectionEnabled',
|
|
14089
14090
|
segmentInstanceId: 'SegmentInstanceId',
|
|
14090
14091
|
status: 'Status',
|
|
14092
|
+
tag: 'Tag',
|
|
14091
14093
|
};
|
|
14092
14094
|
}
|
|
14093
14095
|
|
|
@@ -14116,6 +14118,7 @@ export class DescribeEipAddressesRequest extends $tea.Model {
|
|
|
14116
14118
|
securityProtectionEnabled: 'boolean',
|
|
14117
14119
|
segmentInstanceId: 'string',
|
|
14118
14120
|
status: 'string',
|
|
14121
|
+
tag: { 'type': 'array', 'itemType': DescribeEipAddressesRequestTag },
|
|
14119
14122
|
};
|
|
14120
14123
|
}
|
|
14121
14124
|
|
|
@@ -28481,6 +28484,129 @@ export class ModifySslVpnServerResponse extends $tea.Model {
|
|
|
28481
28484
|
}
|
|
28482
28485
|
}
|
|
28483
28486
|
|
|
28487
|
+
export class ModifyTunnelAttributeRequest extends $tea.Model {
|
|
28488
|
+
clientToken?: string;
|
|
28489
|
+
ownerAccount?: string;
|
|
28490
|
+
ownerId?: number;
|
|
28491
|
+
regionId?: string;
|
|
28492
|
+
resourceOwnerAccount?: string;
|
|
28493
|
+
resourceOwnerId?: number;
|
|
28494
|
+
tunnelId?: string;
|
|
28495
|
+
tunnelOptionsSpecification?: ModifyTunnelAttributeRequestTunnelOptionsSpecification;
|
|
28496
|
+
vpnConnectionId?: string;
|
|
28497
|
+
static names(): { [key: string]: string } {
|
|
28498
|
+
return {
|
|
28499
|
+
clientToken: 'ClientToken',
|
|
28500
|
+
ownerAccount: 'OwnerAccount',
|
|
28501
|
+
ownerId: 'OwnerId',
|
|
28502
|
+
regionId: 'RegionId',
|
|
28503
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
28504
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
28505
|
+
tunnelId: 'TunnelId',
|
|
28506
|
+
tunnelOptionsSpecification: 'TunnelOptionsSpecification',
|
|
28507
|
+
vpnConnectionId: 'VpnConnectionId',
|
|
28508
|
+
};
|
|
28509
|
+
}
|
|
28510
|
+
|
|
28511
|
+
static types(): { [key: string]: any } {
|
|
28512
|
+
return {
|
|
28513
|
+
clientToken: 'string',
|
|
28514
|
+
ownerAccount: 'string',
|
|
28515
|
+
ownerId: 'number',
|
|
28516
|
+
regionId: 'string',
|
|
28517
|
+
resourceOwnerAccount: 'string',
|
|
28518
|
+
resourceOwnerId: 'number',
|
|
28519
|
+
tunnelId: 'string',
|
|
28520
|
+
tunnelOptionsSpecification: ModifyTunnelAttributeRequestTunnelOptionsSpecification,
|
|
28521
|
+
vpnConnectionId: 'string',
|
|
28522
|
+
};
|
|
28523
|
+
}
|
|
28524
|
+
|
|
28525
|
+
constructor(map?: { [key: string]: any }) {
|
|
28526
|
+
super(map);
|
|
28527
|
+
}
|
|
28528
|
+
}
|
|
28529
|
+
|
|
28530
|
+
export class ModifyTunnelAttributeResponseBody extends $tea.Model {
|
|
28531
|
+
customerGatewayId?: string;
|
|
28532
|
+
enableDpd?: boolean;
|
|
28533
|
+
enableNatTraversal?: boolean;
|
|
28534
|
+
internetIp?: string;
|
|
28535
|
+
remoteCaCertificate?: string;
|
|
28536
|
+
requestId?: string;
|
|
28537
|
+
role?: string;
|
|
28538
|
+
state?: string;
|
|
28539
|
+
tunnelBgpConfig?: ModifyTunnelAttributeResponseBodyTunnelBgpConfig;
|
|
28540
|
+
tunnelId?: string;
|
|
28541
|
+
tunnelIkeConfig?: ModifyTunnelAttributeResponseBodyTunnelIkeConfig;
|
|
28542
|
+
tunnelIpsecConfig?: ModifyTunnelAttributeResponseBodyTunnelIpsecConfig;
|
|
28543
|
+
zoneNo?: string;
|
|
28544
|
+
static names(): { [key: string]: string } {
|
|
28545
|
+
return {
|
|
28546
|
+
customerGatewayId: 'CustomerGatewayId',
|
|
28547
|
+
enableDpd: 'EnableDpd',
|
|
28548
|
+
enableNatTraversal: 'EnableNatTraversal',
|
|
28549
|
+
internetIp: 'InternetIp',
|
|
28550
|
+
remoteCaCertificate: 'RemoteCaCertificate',
|
|
28551
|
+
requestId: 'RequestId',
|
|
28552
|
+
role: 'Role',
|
|
28553
|
+
state: 'State',
|
|
28554
|
+
tunnelBgpConfig: 'TunnelBgpConfig',
|
|
28555
|
+
tunnelId: 'TunnelId',
|
|
28556
|
+
tunnelIkeConfig: 'TunnelIkeConfig',
|
|
28557
|
+
tunnelIpsecConfig: 'TunnelIpsecConfig',
|
|
28558
|
+
zoneNo: 'ZoneNo',
|
|
28559
|
+
};
|
|
28560
|
+
}
|
|
28561
|
+
|
|
28562
|
+
static types(): { [key: string]: any } {
|
|
28563
|
+
return {
|
|
28564
|
+
customerGatewayId: 'string',
|
|
28565
|
+
enableDpd: 'boolean',
|
|
28566
|
+
enableNatTraversal: 'boolean',
|
|
28567
|
+
internetIp: 'string',
|
|
28568
|
+
remoteCaCertificate: 'string',
|
|
28569
|
+
requestId: 'string',
|
|
28570
|
+
role: 'string',
|
|
28571
|
+
state: 'string',
|
|
28572
|
+
tunnelBgpConfig: ModifyTunnelAttributeResponseBodyTunnelBgpConfig,
|
|
28573
|
+
tunnelId: 'string',
|
|
28574
|
+
tunnelIkeConfig: ModifyTunnelAttributeResponseBodyTunnelIkeConfig,
|
|
28575
|
+
tunnelIpsecConfig: ModifyTunnelAttributeResponseBodyTunnelIpsecConfig,
|
|
28576
|
+
zoneNo: 'string',
|
|
28577
|
+
};
|
|
28578
|
+
}
|
|
28579
|
+
|
|
28580
|
+
constructor(map?: { [key: string]: any }) {
|
|
28581
|
+
super(map);
|
|
28582
|
+
}
|
|
28583
|
+
}
|
|
28584
|
+
|
|
28585
|
+
export class ModifyTunnelAttributeResponse extends $tea.Model {
|
|
28586
|
+
headers: { [key: string]: string };
|
|
28587
|
+
statusCode: number;
|
|
28588
|
+
body: ModifyTunnelAttributeResponseBody;
|
|
28589
|
+
static names(): { [key: string]: string } {
|
|
28590
|
+
return {
|
|
28591
|
+
headers: 'headers',
|
|
28592
|
+
statusCode: 'statusCode',
|
|
28593
|
+
body: 'body',
|
|
28594
|
+
};
|
|
28595
|
+
}
|
|
28596
|
+
|
|
28597
|
+
static types(): { [key: string]: any } {
|
|
28598
|
+
return {
|
|
28599
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
28600
|
+
statusCode: 'number',
|
|
28601
|
+
body: ModifyTunnelAttributeResponseBody,
|
|
28602
|
+
};
|
|
28603
|
+
}
|
|
28604
|
+
|
|
28605
|
+
constructor(map?: { [key: string]: any }) {
|
|
28606
|
+
super(map);
|
|
28607
|
+
}
|
|
28608
|
+
}
|
|
28609
|
+
|
|
28484
28610
|
export class ModifyVRouterAttributeRequest extends $tea.Model {
|
|
28485
28611
|
description?: string;
|
|
28486
28612
|
ownerAccount?: string;
|
|
@@ -36166,6 +36292,28 @@ export class DescribeEipAddressesRequestFilter extends $tea.Model {
|
|
|
36166
36292
|
}
|
|
36167
36293
|
}
|
|
36168
36294
|
|
|
36295
|
+
export class DescribeEipAddressesRequestTag extends $tea.Model {
|
|
36296
|
+
key?: string;
|
|
36297
|
+
value?: string;
|
|
36298
|
+
static names(): { [key: string]: string } {
|
|
36299
|
+
return {
|
|
36300
|
+
key: 'Key',
|
|
36301
|
+
value: 'Value',
|
|
36302
|
+
};
|
|
36303
|
+
}
|
|
36304
|
+
|
|
36305
|
+
static types(): { [key: string]: any } {
|
|
36306
|
+
return {
|
|
36307
|
+
key: 'string',
|
|
36308
|
+
value: 'string',
|
|
36309
|
+
};
|
|
36310
|
+
}
|
|
36311
|
+
|
|
36312
|
+
constructor(map?: { [key: string]: any }) {
|
|
36313
|
+
super(map);
|
|
36314
|
+
}
|
|
36315
|
+
}
|
|
36316
|
+
|
|
36169
36317
|
export class DescribeEipAddressesResponseBodyEipAddressesEipAddressOperationLocksLockReason extends $tea.Model {
|
|
36170
36318
|
lockReason?: string;
|
|
36171
36319
|
static names(): { [key: string]: string } {
|
|
@@ -36758,6 +36906,7 @@ export class DescribeForwardTableEntriesResponseBodyForwardTableEntriesForwardTa
|
|
|
36758
36906
|
internalIp?: string;
|
|
36759
36907
|
internalPort?: string;
|
|
36760
36908
|
ipProtocol?: string;
|
|
36909
|
+
natGatewayId?: string;
|
|
36761
36910
|
status?: string;
|
|
36762
36911
|
static names(): { [key: string]: string } {
|
|
36763
36912
|
return {
|
|
@@ -36769,6 +36918,7 @@ export class DescribeForwardTableEntriesResponseBodyForwardTableEntriesForwardTa
|
|
|
36769
36918
|
internalIp: 'InternalIp',
|
|
36770
36919
|
internalPort: 'InternalPort',
|
|
36771
36920
|
ipProtocol: 'IpProtocol',
|
|
36921
|
+
natGatewayId: 'NatGatewayId',
|
|
36772
36922
|
status: 'Status',
|
|
36773
36923
|
};
|
|
36774
36924
|
}
|
|
@@ -36783,6 +36933,7 @@ export class DescribeForwardTableEntriesResponseBodyForwardTableEntriesForwardTa
|
|
|
36783
36933
|
internalIp: 'string',
|
|
36784
36934
|
internalPort: 'string',
|
|
36785
36935
|
ipProtocol: 'string',
|
|
36936
|
+
natGatewayId: 'string',
|
|
36786
36937
|
status: 'string',
|
|
36787
36938
|
};
|
|
36788
36939
|
}
|
|
@@ -39935,6 +40086,7 @@ export class DescribeServerRelatedGlobalAccelerationInstancesResponseBodyGlobalA
|
|
|
39935
40086
|
}
|
|
39936
40087
|
|
|
39937
40088
|
export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry extends $tea.Model {
|
|
40089
|
+
natGatewayId?: string;
|
|
39938
40090
|
snatEntryId?: string;
|
|
39939
40091
|
snatEntryName?: string;
|
|
39940
40092
|
snatIp?: string;
|
|
@@ -39944,6 +40096,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
|
|
|
39944
40096
|
status?: string;
|
|
39945
40097
|
static names(): { [key: string]: string } {
|
|
39946
40098
|
return {
|
|
40099
|
+
natGatewayId: 'NatGatewayId',
|
|
39947
40100
|
snatEntryId: 'SnatEntryId',
|
|
39948
40101
|
snatEntryName: 'SnatEntryName',
|
|
39949
40102
|
snatIp: 'SnatIp',
|
|
@@ -39956,6 +40109,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
|
|
|
39956
40109
|
|
|
39957
40110
|
static types(): { [key: string]: any } {
|
|
39958
40111
|
return {
|
|
40112
|
+
natGatewayId: 'string',
|
|
39959
40113
|
snatEntryId: 'string',
|
|
39960
40114
|
snatEntryName: 'string',
|
|
39961
40115
|
snatIp: 'string',
|
|
@@ -45380,6 +45534,241 @@ export class ListVpnCertificateAssociationsResponseBodyVpnCertificateRelations e
|
|
|
45380
45534
|
}
|
|
45381
45535
|
}
|
|
45382
45536
|
|
|
45537
|
+
export class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
|
|
45538
|
+
localAsn?: number;
|
|
45539
|
+
localBgpIp?: string;
|
|
45540
|
+
tunnelCidr?: string;
|
|
45541
|
+
static names(): { [key: string]: string } {
|
|
45542
|
+
return {
|
|
45543
|
+
localAsn: 'LocalAsn',
|
|
45544
|
+
localBgpIp: 'LocalBgpIp',
|
|
45545
|
+
tunnelCidr: 'TunnelCidr',
|
|
45546
|
+
};
|
|
45547
|
+
}
|
|
45548
|
+
|
|
45549
|
+
static types(): { [key: string]: any } {
|
|
45550
|
+
return {
|
|
45551
|
+
localAsn: 'number',
|
|
45552
|
+
localBgpIp: 'string',
|
|
45553
|
+
tunnelCidr: 'string',
|
|
45554
|
+
};
|
|
45555
|
+
}
|
|
45556
|
+
|
|
45557
|
+
constructor(map?: { [key: string]: any }) {
|
|
45558
|
+
super(map);
|
|
45559
|
+
}
|
|
45560
|
+
}
|
|
45561
|
+
|
|
45562
|
+
export class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
|
|
45563
|
+
ikeAuthAlg?: string;
|
|
45564
|
+
ikeEncAlg?: string;
|
|
45565
|
+
ikeLifetime?: number;
|
|
45566
|
+
ikeMode?: string;
|
|
45567
|
+
ikePfs?: string;
|
|
45568
|
+
ikeVersion?: string;
|
|
45569
|
+
localId?: string;
|
|
45570
|
+
psk?: string;
|
|
45571
|
+
remoteId?: string;
|
|
45572
|
+
static names(): { [key: string]: string } {
|
|
45573
|
+
return {
|
|
45574
|
+
ikeAuthAlg: 'IkeAuthAlg',
|
|
45575
|
+
ikeEncAlg: 'IkeEncAlg',
|
|
45576
|
+
ikeLifetime: 'IkeLifetime',
|
|
45577
|
+
ikeMode: 'IkeMode',
|
|
45578
|
+
ikePfs: 'IkePfs',
|
|
45579
|
+
ikeVersion: 'IkeVersion',
|
|
45580
|
+
localId: 'LocalId',
|
|
45581
|
+
psk: 'Psk',
|
|
45582
|
+
remoteId: 'RemoteId',
|
|
45583
|
+
};
|
|
45584
|
+
}
|
|
45585
|
+
|
|
45586
|
+
static types(): { [key: string]: any } {
|
|
45587
|
+
return {
|
|
45588
|
+
ikeAuthAlg: 'string',
|
|
45589
|
+
ikeEncAlg: 'string',
|
|
45590
|
+
ikeLifetime: 'number',
|
|
45591
|
+
ikeMode: 'string',
|
|
45592
|
+
ikePfs: 'string',
|
|
45593
|
+
ikeVersion: 'string',
|
|
45594
|
+
localId: 'string',
|
|
45595
|
+
psk: 'string',
|
|
45596
|
+
remoteId: 'string',
|
|
45597
|
+
};
|
|
45598
|
+
}
|
|
45599
|
+
|
|
45600
|
+
constructor(map?: { [key: string]: any }) {
|
|
45601
|
+
super(map);
|
|
45602
|
+
}
|
|
45603
|
+
}
|
|
45604
|
+
|
|
45605
|
+
export class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
|
|
45606
|
+
ipsecAuthAlg?: string;
|
|
45607
|
+
ipsecEncAlg?: string;
|
|
45608
|
+
ipsecLifetime?: number;
|
|
45609
|
+
ipsecPfs?: string;
|
|
45610
|
+
static names(): { [key: string]: string } {
|
|
45611
|
+
return {
|
|
45612
|
+
ipsecAuthAlg: 'IpsecAuthAlg',
|
|
45613
|
+
ipsecEncAlg: 'IpsecEncAlg',
|
|
45614
|
+
ipsecLifetime: 'IpsecLifetime',
|
|
45615
|
+
ipsecPfs: 'IpsecPfs',
|
|
45616
|
+
};
|
|
45617
|
+
}
|
|
45618
|
+
|
|
45619
|
+
static types(): { [key: string]: any } {
|
|
45620
|
+
return {
|
|
45621
|
+
ipsecAuthAlg: 'string',
|
|
45622
|
+
ipsecEncAlg: 'string',
|
|
45623
|
+
ipsecLifetime: 'number',
|
|
45624
|
+
ipsecPfs: 'string',
|
|
45625
|
+
};
|
|
45626
|
+
}
|
|
45627
|
+
|
|
45628
|
+
constructor(map?: { [key: string]: any }) {
|
|
45629
|
+
super(map);
|
|
45630
|
+
}
|
|
45631
|
+
}
|
|
45632
|
+
|
|
45633
|
+
export class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea.Model {
|
|
45634
|
+
enableDpd?: boolean;
|
|
45635
|
+
enableNatTraversal?: boolean;
|
|
45636
|
+
remoteCaCertificate?: string;
|
|
45637
|
+
tunnelBgpConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
45638
|
+
tunnelIkeConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig;
|
|
45639
|
+
tunnelIpsecConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
45640
|
+
static names(): { [key: string]: string } {
|
|
45641
|
+
return {
|
|
45642
|
+
enableDpd: 'EnableDpd',
|
|
45643
|
+
enableNatTraversal: 'EnableNatTraversal',
|
|
45644
|
+
remoteCaCertificate: 'RemoteCaCertificate',
|
|
45645
|
+
tunnelBgpConfig: 'TunnelBgpConfig',
|
|
45646
|
+
tunnelIkeConfig: 'TunnelIkeConfig',
|
|
45647
|
+
tunnelIpsecConfig: 'TunnelIpsecConfig',
|
|
45648
|
+
};
|
|
45649
|
+
}
|
|
45650
|
+
|
|
45651
|
+
static types(): { [key: string]: any } {
|
|
45652
|
+
return {
|
|
45653
|
+
enableDpd: 'boolean',
|
|
45654
|
+
enableNatTraversal: 'boolean',
|
|
45655
|
+
remoteCaCertificate: 'string',
|
|
45656
|
+
tunnelBgpConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig,
|
|
45657
|
+
tunnelIkeConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig,
|
|
45658
|
+
tunnelIpsecConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig,
|
|
45659
|
+
};
|
|
45660
|
+
}
|
|
45661
|
+
|
|
45662
|
+
constructor(map?: { [key: string]: any }) {
|
|
45663
|
+
super(map);
|
|
45664
|
+
}
|
|
45665
|
+
}
|
|
45666
|
+
|
|
45667
|
+
export class ModifyTunnelAttributeResponseBodyTunnelBgpConfig extends $tea.Model {
|
|
45668
|
+
enableBgp?: boolean;
|
|
45669
|
+
localAsn?: number;
|
|
45670
|
+
localBgpIp?: string;
|
|
45671
|
+
peerAsn?: number;
|
|
45672
|
+
peerBgpIp?: string;
|
|
45673
|
+
tunnelCidr?: string;
|
|
45674
|
+
static names(): { [key: string]: string } {
|
|
45675
|
+
return {
|
|
45676
|
+
enableBgp: 'EnableBgp',
|
|
45677
|
+
localAsn: 'LocalAsn',
|
|
45678
|
+
localBgpIp: 'LocalBgpIp',
|
|
45679
|
+
peerAsn: 'PeerAsn',
|
|
45680
|
+
peerBgpIp: 'PeerBgpIp',
|
|
45681
|
+
tunnelCidr: 'TunnelCidr',
|
|
45682
|
+
};
|
|
45683
|
+
}
|
|
45684
|
+
|
|
45685
|
+
static types(): { [key: string]: any } {
|
|
45686
|
+
return {
|
|
45687
|
+
enableBgp: 'boolean',
|
|
45688
|
+
localAsn: 'number',
|
|
45689
|
+
localBgpIp: 'string',
|
|
45690
|
+
peerAsn: 'number',
|
|
45691
|
+
peerBgpIp: 'string',
|
|
45692
|
+
tunnelCidr: 'string',
|
|
45693
|
+
};
|
|
45694
|
+
}
|
|
45695
|
+
|
|
45696
|
+
constructor(map?: { [key: string]: any }) {
|
|
45697
|
+
super(map);
|
|
45698
|
+
}
|
|
45699
|
+
}
|
|
45700
|
+
|
|
45701
|
+
export class ModifyTunnelAttributeResponseBodyTunnelIkeConfig extends $tea.Model {
|
|
45702
|
+
ikeAuthAlg?: string;
|
|
45703
|
+
ikeEncAlg?: string;
|
|
45704
|
+
ikeLifetime?: number;
|
|
45705
|
+
ikeMode?: string;
|
|
45706
|
+
ikePfs?: string;
|
|
45707
|
+
ikeVersion?: string;
|
|
45708
|
+
localId?: string;
|
|
45709
|
+
psk?: string;
|
|
45710
|
+
remoteId?: string;
|
|
45711
|
+
static names(): { [key: string]: string } {
|
|
45712
|
+
return {
|
|
45713
|
+
ikeAuthAlg: 'IkeAuthAlg',
|
|
45714
|
+
ikeEncAlg: 'IkeEncAlg',
|
|
45715
|
+
ikeLifetime: 'IkeLifetime',
|
|
45716
|
+
ikeMode: 'IkeMode',
|
|
45717
|
+
ikePfs: 'IkePfs',
|
|
45718
|
+
ikeVersion: 'IkeVersion',
|
|
45719
|
+
localId: 'LocalId',
|
|
45720
|
+
psk: 'Psk',
|
|
45721
|
+
remoteId: 'RemoteId',
|
|
45722
|
+
};
|
|
45723
|
+
}
|
|
45724
|
+
|
|
45725
|
+
static types(): { [key: string]: any } {
|
|
45726
|
+
return {
|
|
45727
|
+
ikeAuthAlg: 'string',
|
|
45728
|
+
ikeEncAlg: 'string',
|
|
45729
|
+
ikeLifetime: 'number',
|
|
45730
|
+
ikeMode: 'string',
|
|
45731
|
+
ikePfs: 'string',
|
|
45732
|
+
ikeVersion: 'string',
|
|
45733
|
+
localId: 'string',
|
|
45734
|
+
psk: 'string',
|
|
45735
|
+
remoteId: 'string',
|
|
45736
|
+
};
|
|
45737
|
+
}
|
|
45738
|
+
|
|
45739
|
+
constructor(map?: { [key: string]: any }) {
|
|
45740
|
+
super(map);
|
|
45741
|
+
}
|
|
45742
|
+
}
|
|
45743
|
+
|
|
45744
|
+
export class ModifyTunnelAttributeResponseBodyTunnelIpsecConfig extends $tea.Model {
|
|
45745
|
+
ipsecAuthAlg?: string;
|
|
45746
|
+
ipsecEncAlg?: string;
|
|
45747
|
+
ipsecLifetime?: number;
|
|
45748
|
+
ipsecPfs?: string;
|
|
45749
|
+
static names(): { [key: string]: string } {
|
|
45750
|
+
return {
|
|
45751
|
+
ipsecAuthAlg: 'IpsecAuthAlg',
|
|
45752
|
+
ipsecEncAlg: 'IpsecEncAlg',
|
|
45753
|
+
ipsecLifetime: 'IpsecLifetime',
|
|
45754
|
+
ipsecPfs: 'IpsecPfs',
|
|
45755
|
+
};
|
|
45756
|
+
}
|
|
45757
|
+
|
|
45758
|
+
static types(): { [key: string]: any } {
|
|
45759
|
+
return {
|
|
45760
|
+
ipsecAuthAlg: 'string',
|
|
45761
|
+
ipsecEncAlg: 'string',
|
|
45762
|
+
ipsecLifetime: 'number',
|
|
45763
|
+
ipsecPfs: 'string',
|
|
45764
|
+
};
|
|
45765
|
+
}
|
|
45766
|
+
|
|
45767
|
+
constructor(map?: { [key: string]: any }) {
|
|
45768
|
+
super(map);
|
|
45769
|
+
}
|
|
45770
|
+
}
|
|
45771
|
+
|
|
45383
45772
|
export class ModifyVpcPrefixListRequestAddPrefixListEntry extends $tea.Model {
|
|
45384
45773
|
cidr?: string;
|
|
45385
45774
|
description?: string;
|
|
@@ -58540,6 +58929,10 @@ export default class Client extends OpenApi {
|
|
|
58540
58929
|
query["Status"] = request.status;
|
|
58541
58930
|
}
|
|
58542
58931
|
|
|
58932
|
+
if (!Util.isUnset(request.tag)) {
|
|
58933
|
+
query["Tag"] = request.tag;
|
|
58934
|
+
}
|
|
58935
|
+
|
|
58543
58936
|
if (!Util.isUnset(request.filter)) {
|
|
58544
58937
|
query["Filter"] = request.filter;
|
|
58545
58938
|
}
|
|
@@ -68511,6 +68904,67 @@ export default class Client extends OpenApi {
|
|
|
68511
68904
|
return await this.modifySslVpnServerWithOptions(request, runtime);
|
|
68512
68905
|
}
|
|
68513
68906
|
|
|
68907
|
+
async modifyTunnelAttributeWithOptions(request: ModifyTunnelAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTunnelAttributeResponse> {
|
|
68908
|
+
Util.validateModel(request);
|
|
68909
|
+
let query = { };
|
|
68910
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
68911
|
+
query["ClientToken"] = request.clientToken;
|
|
68912
|
+
}
|
|
68913
|
+
|
|
68914
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
68915
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
68916
|
+
}
|
|
68917
|
+
|
|
68918
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
68919
|
+
query["OwnerId"] = request.ownerId;
|
|
68920
|
+
}
|
|
68921
|
+
|
|
68922
|
+
if (!Util.isUnset(request.regionId)) {
|
|
68923
|
+
query["RegionId"] = request.regionId;
|
|
68924
|
+
}
|
|
68925
|
+
|
|
68926
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
68927
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
68928
|
+
}
|
|
68929
|
+
|
|
68930
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
68931
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
68932
|
+
}
|
|
68933
|
+
|
|
68934
|
+
if (!Util.isUnset(request.tunnelId)) {
|
|
68935
|
+
query["TunnelId"] = request.tunnelId;
|
|
68936
|
+
}
|
|
68937
|
+
|
|
68938
|
+
if (!Util.isUnset(request.tunnelOptionsSpecification)) {
|
|
68939
|
+
query["TunnelOptionsSpecification"] = request.tunnelOptionsSpecification;
|
|
68940
|
+
}
|
|
68941
|
+
|
|
68942
|
+
if (!Util.isUnset(request.vpnConnectionId)) {
|
|
68943
|
+
query["VpnConnectionId"] = request.vpnConnectionId;
|
|
68944
|
+
}
|
|
68945
|
+
|
|
68946
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
68947
|
+
query: OpenApiUtil.query(query),
|
|
68948
|
+
});
|
|
68949
|
+
let params = new $OpenApi.Params({
|
|
68950
|
+
action: "ModifyTunnelAttribute",
|
|
68951
|
+
version: "2016-04-28",
|
|
68952
|
+
protocol: "HTTPS",
|
|
68953
|
+
pathname: "/",
|
|
68954
|
+
method: "POST",
|
|
68955
|
+
authType: "AK",
|
|
68956
|
+
style: "RPC",
|
|
68957
|
+
reqBodyType: "formData",
|
|
68958
|
+
bodyType: "json",
|
|
68959
|
+
});
|
|
68960
|
+
return $tea.cast<ModifyTunnelAttributeResponse>(await this.callApi(params, req, runtime), new ModifyTunnelAttributeResponse({}));
|
|
68961
|
+
}
|
|
68962
|
+
|
|
68963
|
+
async modifyTunnelAttribute(request: ModifyTunnelAttributeRequest): Promise<ModifyTunnelAttributeResponse> {
|
|
68964
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
68965
|
+
return await this.modifyTunnelAttributeWithOptions(request, runtime);
|
|
68966
|
+
}
|
|
68967
|
+
|
|
68514
68968
|
/**
|
|
68515
68969
|
* You cannot repeatedly call the **ModifyVRouterAttribute** operation to modify the name and description of a vRouter within the specified period of time.
|
|
68516
68970
|
*
|