@alicloud/vpc20160428 6.4.2 → 6.4.3
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 +28 -0
- package/dist/client.js +46 -3
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +54 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -21646,6 +21646,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
21646
21646
|
disasterRecoveryVSwitchId?: string;
|
|
21647
21647
|
enableBgp?: boolean;
|
|
21648
21648
|
endTime?: number;
|
|
21649
|
+
eniInstanceIds?: DescribeVpnGatewayResponseBodyEniInstanceIds;
|
|
21649
21650
|
internetIp?: string;
|
|
21650
21651
|
ipsecVpn?: string;
|
|
21651
21652
|
name?: string;
|
|
@@ -21675,6 +21676,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
21675
21676
|
disasterRecoveryVSwitchId: 'DisasterRecoveryVSwitchId',
|
|
21676
21677
|
enableBgp: 'EnableBgp',
|
|
21677
21678
|
endTime: 'EndTime',
|
|
21679
|
+
eniInstanceIds: 'EniInstanceIds',
|
|
21678
21680
|
internetIp: 'InternetIp',
|
|
21679
21681
|
ipsecVpn: 'IpsecVpn',
|
|
21680
21682
|
name: 'Name',
|
|
@@ -21707,6 +21709,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
21707
21709
|
disasterRecoveryVSwitchId: 'string',
|
|
21708
21710
|
enableBgp: 'boolean',
|
|
21709
21711
|
endTime: 'number',
|
|
21712
|
+
eniInstanceIds: DescribeVpnGatewayResponseBodyEniInstanceIds,
|
|
21710
21713
|
internetIp: 'string',
|
|
21711
21714
|
ipsecVpn: 'string',
|
|
21712
21715
|
name: 'string',
|
|
@@ -30400,6 +30403,7 @@ export class ModifyRouterInterfaceSpecResponse extends $tea.Model {
|
|
|
30400
30403
|
|
|
30401
30404
|
export class ModifySnatEntryRequest extends $tea.Model {
|
|
30402
30405
|
clientToken?: string;
|
|
30406
|
+
eipAffinity?: number;
|
|
30403
30407
|
ownerAccount?: string;
|
|
30404
30408
|
ownerId?: number;
|
|
30405
30409
|
regionId?: string;
|
|
@@ -30412,6 +30416,7 @@ export class ModifySnatEntryRequest extends $tea.Model {
|
|
|
30412
30416
|
static names(): { [key: string]: string } {
|
|
30413
30417
|
return {
|
|
30414
30418
|
clientToken: 'ClientToken',
|
|
30419
|
+
eipAffinity: 'EipAffinity',
|
|
30415
30420
|
ownerAccount: 'OwnerAccount',
|
|
30416
30421
|
ownerId: 'OwnerId',
|
|
30417
30422
|
regionId: 'RegionId',
|
|
@@ -30427,6 +30432,7 @@ export class ModifySnatEntryRequest extends $tea.Model {
|
|
|
30427
30432
|
static types(): { [key: string]: any } {
|
|
30428
30433
|
return {
|
|
30429
30434
|
clientToken: 'string',
|
|
30435
|
+
eipAffinity: 'number',
|
|
30430
30436
|
ownerAccount: 'string',
|
|
30431
30437
|
ownerId: 'number',
|
|
30432
30438
|
regionId: 'string',
|
|
@@ -43658,6 +43664,7 @@ export class DescribeServerRelatedGlobalAccelerationInstancesResponseBodyGlobalA
|
|
|
43658
43664
|
}
|
|
43659
43665
|
|
|
43660
43666
|
export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry extends $tea.Model {
|
|
43667
|
+
eipAffinity?: string;
|
|
43661
43668
|
natGatewayId?: string;
|
|
43662
43669
|
snatEntryId?: string;
|
|
43663
43670
|
snatEntryName?: string;
|
|
@@ -43668,6 +43675,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
|
|
|
43668
43675
|
status?: string;
|
|
43669
43676
|
static names(): { [key: string]: string } {
|
|
43670
43677
|
return {
|
|
43678
|
+
eipAffinity: 'EipAffinity',
|
|
43671
43679
|
natGatewayId: 'NatGatewayId',
|
|
43672
43680
|
snatEntryId: 'SnatEntryId',
|
|
43673
43681
|
snatEntryName: 'SnatEntryName',
|
|
@@ -43681,6 +43689,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
|
|
|
43681
43689
|
|
|
43682
43690
|
static types(): { [key: string]: any } {
|
|
43683
43691
|
return {
|
|
43692
|
+
eipAffinity: 'string',
|
|
43684
43693
|
natGatewayId: 'string',
|
|
43685
43694
|
snatEntryId: 'string',
|
|
43686
43695
|
snatEntryName: 'string',
|
|
@@ -46444,6 +46453,25 @@ export class DescribeVpnCrossAccountAuthorizationsResponseBodyCrossAccountAuthor
|
|
|
46444
46453
|
}
|
|
46445
46454
|
}
|
|
46446
46455
|
|
|
46456
|
+
export class DescribeVpnGatewayResponseBodyEniInstanceIds extends $tea.Model {
|
|
46457
|
+
eniInstanceId?: string[];
|
|
46458
|
+
static names(): { [key: string]: string } {
|
|
46459
|
+
return {
|
|
46460
|
+
eniInstanceId: 'EniInstanceId',
|
|
46461
|
+
};
|
|
46462
|
+
}
|
|
46463
|
+
|
|
46464
|
+
static types(): { [key: string]: any } {
|
|
46465
|
+
return {
|
|
46466
|
+
eniInstanceId: { 'type': 'array', 'itemType': 'string' },
|
|
46467
|
+
};
|
|
46468
|
+
}
|
|
46469
|
+
|
|
46470
|
+
constructor(map?: { [key: string]: any }) {
|
|
46471
|
+
super(map);
|
|
46472
|
+
}
|
|
46473
|
+
}
|
|
46474
|
+
|
|
46447
46475
|
export class DescribeVpnGatewayResponseBodyReservationData extends $tea.Model {
|
|
46448
46476
|
reservationEndTime?: string;
|
|
46449
46477
|
reservationIpsec?: string;
|
|
@@ -46566,6 +46594,25 @@ export class DescribeVpnGatewaysRequestTag extends $tea.Model {
|
|
|
46566
46594
|
}
|
|
46567
46595
|
}
|
|
46568
46596
|
|
|
46597
|
+
export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayEniInstanceIds extends $tea.Model {
|
|
46598
|
+
eniInstanceId?: string[];
|
|
46599
|
+
static names(): { [key: string]: string } {
|
|
46600
|
+
return {
|
|
46601
|
+
eniInstanceId: 'EniInstanceId',
|
|
46602
|
+
};
|
|
46603
|
+
}
|
|
46604
|
+
|
|
46605
|
+
static types(): { [key: string]: any } {
|
|
46606
|
+
return {
|
|
46607
|
+
eniInstanceId: { 'type': 'array', 'itemType': 'string' },
|
|
46608
|
+
};
|
|
46609
|
+
}
|
|
46610
|
+
|
|
46611
|
+
constructor(map?: { [key: string]: any }) {
|
|
46612
|
+
super(map);
|
|
46613
|
+
}
|
|
46614
|
+
}
|
|
46615
|
+
|
|
46569
46616
|
export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayReservationData extends $tea.Model {
|
|
46570
46617
|
reservationEndTime?: string;
|
|
46571
46618
|
reservationIpsec?: string;
|
|
@@ -46654,6 +46701,7 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
|
|
|
46654
46701
|
disasterRecoveryVSwitchId?: string;
|
|
46655
46702
|
enableBgp?: boolean;
|
|
46656
46703
|
endTime?: number;
|
|
46704
|
+
eniInstanceIds?: DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayEniInstanceIds;
|
|
46657
46705
|
internetIp?: string;
|
|
46658
46706
|
ipsecVpn?: string;
|
|
46659
46707
|
name?: string;
|
|
@@ -46682,6 +46730,7 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
|
|
|
46682
46730
|
disasterRecoveryVSwitchId: 'DisasterRecoveryVSwitchId',
|
|
46683
46731
|
enableBgp: 'EnableBgp',
|
|
46684
46732
|
endTime: 'EndTime',
|
|
46733
|
+
eniInstanceIds: 'EniInstanceIds',
|
|
46685
46734
|
internetIp: 'InternetIp',
|
|
46686
46735
|
ipsecVpn: 'IpsecVpn',
|
|
46687
46736
|
name: 'Name',
|
|
@@ -46713,6 +46762,7 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
|
|
|
46713
46762
|
disasterRecoveryVSwitchId: 'string',
|
|
46714
46763
|
enableBgp: 'boolean',
|
|
46715
46764
|
endTime: 'number',
|
|
46765
|
+
eniInstanceIds: DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayEniInstanceIds,
|
|
46716
46766
|
internetIp: 'string',
|
|
46717
46767
|
ipsecVpn: 'string',
|
|
46718
46768
|
name: 'string',
|
|
@@ -74306,6 +74356,10 @@ export default class Client extends OpenApi {
|
|
|
74306
74356
|
query["ClientToken"] = request.clientToken;
|
|
74307
74357
|
}
|
|
74308
74358
|
|
|
74359
|
+
if (!Util.isUnset(request.eipAffinity)) {
|
|
74360
|
+
query["EipAffinity"] = request.eipAffinity;
|
|
74361
|
+
}
|
|
74362
|
+
|
|
74309
74363
|
if (!Util.isUnset(request.ownerAccount)) {
|
|
74310
74364
|
query["OwnerAccount"] = request.ownerAccount;
|
|
74311
74365
|
}
|