@alicloud/vpc20160428 4.0.2 → 4.1.1
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 +215 -4
- package/dist/client.js +377 -9
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +477 -4
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
|
}
|
|
@@ -39239,13 +39390,19 @@ export class DescribeRouteEntryListResponseBodyRouteEntrys extends $tea.Model {
|
|
|
39239
39390
|
}
|
|
39240
39391
|
|
|
39241
39392
|
export class DescribeRouteTableListRequestTag extends $tea.Model {
|
|
39393
|
+
key?: string;
|
|
39394
|
+
value?: string;
|
|
39242
39395
|
static names(): { [key: string]: string } {
|
|
39243
39396
|
return {
|
|
39397
|
+
key: 'Key',
|
|
39398
|
+
value: 'Value',
|
|
39244
39399
|
};
|
|
39245
39400
|
}
|
|
39246
39401
|
|
|
39247
39402
|
static types(): { [key: string]: any } {
|
|
39248
39403
|
return {
|
|
39404
|
+
key: 'string',
|
|
39405
|
+
value: 'string',
|
|
39249
39406
|
};
|
|
39250
39407
|
}
|
|
39251
39408
|
|
|
@@ -39935,6 +40092,7 @@ export class DescribeServerRelatedGlobalAccelerationInstancesResponseBodyGlobalA
|
|
|
39935
40092
|
}
|
|
39936
40093
|
|
|
39937
40094
|
export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry extends $tea.Model {
|
|
40095
|
+
natGatewayId?: string;
|
|
39938
40096
|
snatEntryId?: string;
|
|
39939
40097
|
snatEntryName?: string;
|
|
39940
40098
|
snatIp?: string;
|
|
@@ -39944,6 +40102,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
|
|
|
39944
40102
|
status?: string;
|
|
39945
40103
|
static names(): { [key: string]: string } {
|
|
39946
40104
|
return {
|
|
40105
|
+
natGatewayId: 'NatGatewayId',
|
|
39947
40106
|
snatEntryId: 'SnatEntryId',
|
|
39948
40107
|
snatEntryName: 'SnatEntryName',
|
|
39949
40108
|
snatIp: 'SnatIp',
|
|
@@ -39956,6 +40115,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
|
|
|
39956
40115
|
|
|
39957
40116
|
static types(): { [key: string]: any } {
|
|
39958
40117
|
return {
|
|
40118
|
+
natGatewayId: 'string',
|
|
39959
40119
|
snatEntryId: 'string',
|
|
39960
40120
|
snatEntryName: 'string',
|
|
39961
40121
|
snatIp: 'string',
|
|
@@ -45380,6 +45540,241 @@ export class ListVpnCertificateAssociationsResponseBodyVpnCertificateRelations e
|
|
|
45380
45540
|
}
|
|
45381
45541
|
}
|
|
45382
45542
|
|
|
45543
|
+
export class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
|
|
45544
|
+
localAsn?: number;
|
|
45545
|
+
localBgpIp?: string;
|
|
45546
|
+
tunnelCidr?: string;
|
|
45547
|
+
static names(): { [key: string]: string } {
|
|
45548
|
+
return {
|
|
45549
|
+
localAsn: 'LocalAsn',
|
|
45550
|
+
localBgpIp: 'LocalBgpIp',
|
|
45551
|
+
tunnelCidr: 'TunnelCidr',
|
|
45552
|
+
};
|
|
45553
|
+
}
|
|
45554
|
+
|
|
45555
|
+
static types(): { [key: string]: any } {
|
|
45556
|
+
return {
|
|
45557
|
+
localAsn: 'number',
|
|
45558
|
+
localBgpIp: 'string',
|
|
45559
|
+
tunnelCidr: 'string',
|
|
45560
|
+
};
|
|
45561
|
+
}
|
|
45562
|
+
|
|
45563
|
+
constructor(map?: { [key: string]: any }) {
|
|
45564
|
+
super(map);
|
|
45565
|
+
}
|
|
45566
|
+
}
|
|
45567
|
+
|
|
45568
|
+
export class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
|
|
45569
|
+
ikeAuthAlg?: string;
|
|
45570
|
+
ikeEncAlg?: string;
|
|
45571
|
+
ikeLifetime?: number;
|
|
45572
|
+
ikeMode?: string;
|
|
45573
|
+
ikePfs?: string;
|
|
45574
|
+
ikeVersion?: string;
|
|
45575
|
+
localId?: string;
|
|
45576
|
+
psk?: string;
|
|
45577
|
+
remoteId?: string;
|
|
45578
|
+
static names(): { [key: string]: string } {
|
|
45579
|
+
return {
|
|
45580
|
+
ikeAuthAlg: 'IkeAuthAlg',
|
|
45581
|
+
ikeEncAlg: 'IkeEncAlg',
|
|
45582
|
+
ikeLifetime: 'IkeLifetime',
|
|
45583
|
+
ikeMode: 'IkeMode',
|
|
45584
|
+
ikePfs: 'IkePfs',
|
|
45585
|
+
ikeVersion: 'IkeVersion',
|
|
45586
|
+
localId: 'LocalId',
|
|
45587
|
+
psk: 'Psk',
|
|
45588
|
+
remoteId: 'RemoteId',
|
|
45589
|
+
};
|
|
45590
|
+
}
|
|
45591
|
+
|
|
45592
|
+
static types(): { [key: string]: any } {
|
|
45593
|
+
return {
|
|
45594
|
+
ikeAuthAlg: 'string',
|
|
45595
|
+
ikeEncAlg: 'string',
|
|
45596
|
+
ikeLifetime: 'number',
|
|
45597
|
+
ikeMode: 'string',
|
|
45598
|
+
ikePfs: 'string',
|
|
45599
|
+
ikeVersion: 'string',
|
|
45600
|
+
localId: 'string',
|
|
45601
|
+
psk: 'string',
|
|
45602
|
+
remoteId: 'string',
|
|
45603
|
+
};
|
|
45604
|
+
}
|
|
45605
|
+
|
|
45606
|
+
constructor(map?: { [key: string]: any }) {
|
|
45607
|
+
super(map);
|
|
45608
|
+
}
|
|
45609
|
+
}
|
|
45610
|
+
|
|
45611
|
+
export class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
|
|
45612
|
+
ipsecAuthAlg?: string;
|
|
45613
|
+
ipsecEncAlg?: string;
|
|
45614
|
+
ipsecLifetime?: number;
|
|
45615
|
+
ipsecPfs?: string;
|
|
45616
|
+
static names(): { [key: string]: string } {
|
|
45617
|
+
return {
|
|
45618
|
+
ipsecAuthAlg: 'IpsecAuthAlg',
|
|
45619
|
+
ipsecEncAlg: 'IpsecEncAlg',
|
|
45620
|
+
ipsecLifetime: 'IpsecLifetime',
|
|
45621
|
+
ipsecPfs: 'IpsecPfs',
|
|
45622
|
+
};
|
|
45623
|
+
}
|
|
45624
|
+
|
|
45625
|
+
static types(): { [key: string]: any } {
|
|
45626
|
+
return {
|
|
45627
|
+
ipsecAuthAlg: 'string',
|
|
45628
|
+
ipsecEncAlg: 'string',
|
|
45629
|
+
ipsecLifetime: 'number',
|
|
45630
|
+
ipsecPfs: 'string',
|
|
45631
|
+
};
|
|
45632
|
+
}
|
|
45633
|
+
|
|
45634
|
+
constructor(map?: { [key: string]: any }) {
|
|
45635
|
+
super(map);
|
|
45636
|
+
}
|
|
45637
|
+
}
|
|
45638
|
+
|
|
45639
|
+
export class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea.Model {
|
|
45640
|
+
enableDpd?: boolean;
|
|
45641
|
+
enableNatTraversal?: boolean;
|
|
45642
|
+
remoteCaCertificate?: string;
|
|
45643
|
+
tunnelBgpConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
45644
|
+
tunnelIkeConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig;
|
|
45645
|
+
tunnelIpsecConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
45646
|
+
static names(): { [key: string]: string } {
|
|
45647
|
+
return {
|
|
45648
|
+
enableDpd: 'EnableDpd',
|
|
45649
|
+
enableNatTraversal: 'EnableNatTraversal',
|
|
45650
|
+
remoteCaCertificate: 'RemoteCaCertificate',
|
|
45651
|
+
tunnelBgpConfig: 'TunnelBgpConfig',
|
|
45652
|
+
tunnelIkeConfig: 'TunnelIkeConfig',
|
|
45653
|
+
tunnelIpsecConfig: 'TunnelIpsecConfig',
|
|
45654
|
+
};
|
|
45655
|
+
}
|
|
45656
|
+
|
|
45657
|
+
static types(): { [key: string]: any } {
|
|
45658
|
+
return {
|
|
45659
|
+
enableDpd: 'boolean',
|
|
45660
|
+
enableNatTraversal: 'boolean',
|
|
45661
|
+
remoteCaCertificate: 'string',
|
|
45662
|
+
tunnelBgpConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig,
|
|
45663
|
+
tunnelIkeConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig,
|
|
45664
|
+
tunnelIpsecConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig,
|
|
45665
|
+
};
|
|
45666
|
+
}
|
|
45667
|
+
|
|
45668
|
+
constructor(map?: { [key: string]: any }) {
|
|
45669
|
+
super(map);
|
|
45670
|
+
}
|
|
45671
|
+
}
|
|
45672
|
+
|
|
45673
|
+
export class ModifyTunnelAttributeResponseBodyTunnelBgpConfig extends $tea.Model {
|
|
45674
|
+
enableBgp?: boolean;
|
|
45675
|
+
localAsn?: number;
|
|
45676
|
+
localBgpIp?: string;
|
|
45677
|
+
peerAsn?: number;
|
|
45678
|
+
peerBgpIp?: string;
|
|
45679
|
+
tunnelCidr?: string;
|
|
45680
|
+
static names(): { [key: string]: string } {
|
|
45681
|
+
return {
|
|
45682
|
+
enableBgp: 'EnableBgp',
|
|
45683
|
+
localAsn: 'LocalAsn',
|
|
45684
|
+
localBgpIp: 'LocalBgpIp',
|
|
45685
|
+
peerAsn: 'PeerAsn',
|
|
45686
|
+
peerBgpIp: 'PeerBgpIp',
|
|
45687
|
+
tunnelCidr: 'TunnelCidr',
|
|
45688
|
+
};
|
|
45689
|
+
}
|
|
45690
|
+
|
|
45691
|
+
static types(): { [key: string]: any } {
|
|
45692
|
+
return {
|
|
45693
|
+
enableBgp: 'boolean',
|
|
45694
|
+
localAsn: 'number',
|
|
45695
|
+
localBgpIp: 'string',
|
|
45696
|
+
peerAsn: 'number',
|
|
45697
|
+
peerBgpIp: 'string',
|
|
45698
|
+
tunnelCidr: 'string',
|
|
45699
|
+
};
|
|
45700
|
+
}
|
|
45701
|
+
|
|
45702
|
+
constructor(map?: { [key: string]: any }) {
|
|
45703
|
+
super(map);
|
|
45704
|
+
}
|
|
45705
|
+
}
|
|
45706
|
+
|
|
45707
|
+
export class ModifyTunnelAttributeResponseBodyTunnelIkeConfig extends $tea.Model {
|
|
45708
|
+
ikeAuthAlg?: string;
|
|
45709
|
+
ikeEncAlg?: string;
|
|
45710
|
+
ikeLifetime?: number;
|
|
45711
|
+
ikeMode?: string;
|
|
45712
|
+
ikePfs?: string;
|
|
45713
|
+
ikeVersion?: string;
|
|
45714
|
+
localId?: string;
|
|
45715
|
+
psk?: string;
|
|
45716
|
+
remoteId?: string;
|
|
45717
|
+
static names(): { [key: string]: string } {
|
|
45718
|
+
return {
|
|
45719
|
+
ikeAuthAlg: 'IkeAuthAlg',
|
|
45720
|
+
ikeEncAlg: 'IkeEncAlg',
|
|
45721
|
+
ikeLifetime: 'IkeLifetime',
|
|
45722
|
+
ikeMode: 'IkeMode',
|
|
45723
|
+
ikePfs: 'IkePfs',
|
|
45724
|
+
ikeVersion: 'IkeVersion',
|
|
45725
|
+
localId: 'LocalId',
|
|
45726
|
+
psk: 'Psk',
|
|
45727
|
+
remoteId: 'RemoteId',
|
|
45728
|
+
};
|
|
45729
|
+
}
|
|
45730
|
+
|
|
45731
|
+
static types(): { [key: string]: any } {
|
|
45732
|
+
return {
|
|
45733
|
+
ikeAuthAlg: 'string',
|
|
45734
|
+
ikeEncAlg: 'string',
|
|
45735
|
+
ikeLifetime: 'number',
|
|
45736
|
+
ikeMode: 'string',
|
|
45737
|
+
ikePfs: 'string',
|
|
45738
|
+
ikeVersion: 'string',
|
|
45739
|
+
localId: 'string',
|
|
45740
|
+
psk: 'string',
|
|
45741
|
+
remoteId: 'string',
|
|
45742
|
+
};
|
|
45743
|
+
}
|
|
45744
|
+
|
|
45745
|
+
constructor(map?: { [key: string]: any }) {
|
|
45746
|
+
super(map);
|
|
45747
|
+
}
|
|
45748
|
+
}
|
|
45749
|
+
|
|
45750
|
+
export class ModifyTunnelAttributeResponseBodyTunnelIpsecConfig extends $tea.Model {
|
|
45751
|
+
ipsecAuthAlg?: string;
|
|
45752
|
+
ipsecEncAlg?: string;
|
|
45753
|
+
ipsecLifetime?: number;
|
|
45754
|
+
ipsecPfs?: string;
|
|
45755
|
+
static names(): { [key: string]: string } {
|
|
45756
|
+
return {
|
|
45757
|
+
ipsecAuthAlg: 'IpsecAuthAlg',
|
|
45758
|
+
ipsecEncAlg: 'IpsecEncAlg',
|
|
45759
|
+
ipsecLifetime: 'IpsecLifetime',
|
|
45760
|
+
ipsecPfs: 'IpsecPfs',
|
|
45761
|
+
};
|
|
45762
|
+
}
|
|
45763
|
+
|
|
45764
|
+
static types(): { [key: string]: any } {
|
|
45765
|
+
return {
|
|
45766
|
+
ipsecAuthAlg: 'string',
|
|
45767
|
+
ipsecEncAlg: 'string',
|
|
45768
|
+
ipsecLifetime: 'number',
|
|
45769
|
+
ipsecPfs: 'string',
|
|
45770
|
+
};
|
|
45771
|
+
}
|
|
45772
|
+
|
|
45773
|
+
constructor(map?: { [key: string]: any }) {
|
|
45774
|
+
super(map);
|
|
45775
|
+
}
|
|
45776
|
+
}
|
|
45777
|
+
|
|
45383
45778
|
export class ModifyVpcPrefixListRequestAddPrefixListEntry extends $tea.Model {
|
|
45384
45779
|
cidr?: string;
|
|
45385
45780
|
description?: string;
|
|
@@ -53985,7 +54380,6 @@ export default class Client extends OpenApi {
|
|
|
53985
54380
|
}
|
|
53986
54381
|
|
|
53987
54382
|
/**
|
|
53988
|
-
* ## Usage notes
|
|
53989
54383
|
* * Before you create a VPN gateway, we recommend that you understand its limits. For more information, see [Limits on VPN gateways](~~65290~~).
|
|
53990
54384
|
* * The **CreateVpnGateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call [DescribeVpnGateway](~~73720~~) to query the status of a VPN gateway.
|
|
53991
54385
|
* * If the VPN gateway is in the **provisioning** state, the VPN gateway is being created.
|
|
@@ -54092,7 +54486,6 @@ export default class Client extends OpenApi {
|
|
|
54092
54486
|
}
|
|
54093
54487
|
|
|
54094
54488
|
/**
|
|
54095
|
-
* ## Usage notes
|
|
54096
54489
|
* * Before you create a VPN gateway, we recommend that you understand its limits. For more information, see [Limits on VPN gateways](~~65290~~).
|
|
54097
54490
|
* * The **CreateVpnGateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call [DescribeVpnGateway](~~73720~~) to query the status of a VPN gateway.
|
|
54098
54491
|
* * If the VPN gateway is in the **provisioning** state, the VPN gateway is being created.
|
|
@@ -55567,7 +55960,8 @@ export default class Client extends OpenApi {
|
|
|
55567
55960
|
}
|
|
55568
55961
|
|
|
55569
55962
|
/**
|
|
55570
|
-
* - The **DeleteIpv6Gateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeIpv6GatewayAttribute](/help/en/virtual-private-cloud/latest/describeipv6gatewayattribute) operation to query the status of an IPv6 gateway:
|
|
55963
|
+
* - The **DeleteIpv6Gateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeIpv6GatewayAttribute](/help/en/virtual-private-cloud/latest/describeipv6gatewayattribute) operation to query the status of an IPv6 gateway:
|
|
55964
|
+
* - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
|
|
55571
55965
|
* - If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
|
|
55572
55966
|
* - After you call the **DeleteIpv6Gateway** operation to delete an IPv6 gateway, you cannot call the operation again to delete the IPv6 gateway until the deletion task is complete.
|
|
55573
55967
|
* ## Prerequisites
|
|
@@ -55626,7 +56020,8 @@ export default class Client extends OpenApi {
|
|
|
55626
56020
|
}
|
|
55627
56021
|
|
|
55628
56022
|
/**
|
|
55629
|
-
* - The **DeleteIpv6Gateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeIpv6GatewayAttribute](/help/en/virtual-private-cloud/latest/describeipv6gatewayattribute) operation to query the status of an IPv6 gateway:
|
|
56023
|
+
* - The **DeleteIpv6Gateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeIpv6GatewayAttribute](/help/en/virtual-private-cloud/latest/describeipv6gatewayattribute) operation to query the status of an IPv6 gateway:
|
|
56024
|
+
* - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
|
|
55630
56025
|
* - If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
|
|
55631
56026
|
* - After you call the **DeleteIpv6Gateway** operation to delete an IPv6 gateway, you cannot call the operation again to delete the IPv6 gateway until the deletion task is complete.
|
|
55632
56027
|
* ## Prerequisites
|
|
@@ -58540,6 +58935,10 @@ export default class Client extends OpenApi {
|
|
|
58540
58935
|
query["Status"] = request.status;
|
|
58541
58936
|
}
|
|
58542
58937
|
|
|
58938
|
+
if (!Util.isUnset(request.tag)) {
|
|
58939
|
+
query["Tag"] = request.tag;
|
|
58940
|
+
}
|
|
58941
|
+
|
|
58543
58942
|
if (!Util.isUnset(request.filter)) {
|
|
58544
58943
|
query["Filter"] = request.filter;
|
|
58545
58944
|
}
|
|
@@ -61037,6 +61436,13 @@ export default class Client extends OpenApi {
|
|
|
61037
61436
|
return await this.describeSslVpnClientCertsWithOptions(request, runtime);
|
|
61038
61437
|
}
|
|
61039
61438
|
|
|
61439
|
+
/**
|
|
61440
|
+
* If your VPN gateway was created before December 10, 2022, you must upgrade your VPN gateway to the latest version before you can view connection information about SSL clients. For more information, see Upgrade a VPN gateway. If your VPN gateway was created after December 10, 2022, you can view connection information about SSL clients by default.
|
|
61441
|
+
*
|
|
61442
|
+
* @param request DescribeSslVpnClientsRequest
|
|
61443
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
61444
|
+
* @return DescribeSslVpnClientsResponse
|
|
61445
|
+
*/
|
|
61040
61446
|
async describeSslVpnClientsWithOptions(request: DescribeSslVpnClientsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSslVpnClientsResponse> {
|
|
61041
61447
|
Util.validateModel(request);
|
|
61042
61448
|
let query = { };
|
|
@@ -61089,6 +61495,12 @@ export default class Client extends OpenApi {
|
|
|
61089
61495
|
return $tea.cast<DescribeSslVpnClientsResponse>(await this.callApi(params, req, runtime), new DescribeSslVpnClientsResponse({}));
|
|
61090
61496
|
}
|
|
61091
61497
|
|
|
61498
|
+
/**
|
|
61499
|
+
* If your VPN gateway was created before December 10, 2022, you must upgrade your VPN gateway to the latest version before you can view connection information about SSL clients. For more information, see Upgrade a VPN gateway. If your VPN gateway was created after December 10, 2022, you can view connection information about SSL clients by default.
|
|
61500
|
+
*
|
|
61501
|
+
* @param request DescribeSslVpnClientsRequest
|
|
61502
|
+
* @return DescribeSslVpnClientsResponse
|
|
61503
|
+
*/
|
|
61092
61504
|
async describeSslVpnClients(request: DescribeSslVpnClientsRequest): Promise<DescribeSslVpnClientsResponse> {
|
|
61093
61505
|
let runtime = new $Util.RuntimeOptions({ });
|
|
61094
61506
|
return await this.describeSslVpnClientsWithOptions(request, runtime);
|
|
@@ -68511,6 +68923,67 @@ export default class Client extends OpenApi {
|
|
|
68511
68923
|
return await this.modifySslVpnServerWithOptions(request, runtime);
|
|
68512
68924
|
}
|
|
68513
68925
|
|
|
68926
|
+
async modifyTunnelAttributeWithOptions(request: ModifyTunnelAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTunnelAttributeResponse> {
|
|
68927
|
+
Util.validateModel(request);
|
|
68928
|
+
let query = { };
|
|
68929
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
68930
|
+
query["ClientToken"] = request.clientToken;
|
|
68931
|
+
}
|
|
68932
|
+
|
|
68933
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
68934
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
68935
|
+
}
|
|
68936
|
+
|
|
68937
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
68938
|
+
query["OwnerId"] = request.ownerId;
|
|
68939
|
+
}
|
|
68940
|
+
|
|
68941
|
+
if (!Util.isUnset(request.regionId)) {
|
|
68942
|
+
query["RegionId"] = request.regionId;
|
|
68943
|
+
}
|
|
68944
|
+
|
|
68945
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
68946
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
68947
|
+
}
|
|
68948
|
+
|
|
68949
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
68950
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
68951
|
+
}
|
|
68952
|
+
|
|
68953
|
+
if (!Util.isUnset(request.tunnelId)) {
|
|
68954
|
+
query["TunnelId"] = request.tunnelId;
|
|
68955
|
+
}
|
|
68956
|
+
|
|
68957
|
+
if (!Util.isUnset(request.tunnelOptionsSpecification)) {
|
|
68958
|
+
query["TunnelOptionsSpecification"] = request.tunnelOptionsSpecification;
|
|
68959
|
+
}
|
|
68960
|
+
|
|
68961
|
+
if (!Util.isUnset(request.vpnConnectionId)) {
|
|
68962
|
+
query["VpnConnectionId"] = request.vpnConnectionId;
|
|
68963
|
+
}
|
|
68964
|
+
|
|
68965
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
68966
|
+
query: OpenApiUtil.query(query),
|
|
68967
|
+
});
|
|
68968
|
+
let params = new $OpenApi.Params({
|
|
68969
|
+
action: "ModifyTunnelAttribute",
|
|
68970
|
+
version: "2016-04-28",
|
|
68971
|
+
protocol: "HTTPS",
|
|
68972
|
+
pathname: "/",
|
|
68973
|
+
method: "POST",
|
|
68974
|
+
authType: "AK",
|
|
68975
|
+
style: "RPC",
|
|
68976
|
+
reqBodyType: "formData",
|
|
68977
|
+
bodyType: "json",
|
|
68978
|
+
});
|
|
68979
|
+
return $tea.cast<ModifyTunnelAttributeResponse>(await this.callApi(params, req, runtime), new ModifyTunnelAttributeResponse({}));
|
|
68980
|
+
}
|
|
68981
|
+
|
|
68982
|
+
async modifyTunnelAttribute(request: ModifyTunnelAttributeRequest): Promise<ModifyTunnelAttributeResponse> {
|
|
68983
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
68984
|
+
return await this.modifyTunnelAttributeWithOptions(request, runtime);
|
|
68985
|
+
}
|
|
68986
|
+
|
|
68514
68987
|
/**
|
|
68515
68988
|
* You cannot repeatedly call the **ModifyVRouterAttribute** operation to modify the name and description of a vRouter within the specified period of time.
|
|
68516
68989
|
*
|