@alicloud/vpc20160428 6.4.1 → 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 +30 -0
- package/dist/client.js +56 -3
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +68 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2284,6 +2284,7 @@ export class AssociateVpcCidrBlockRequest extends $tea.Model {
|
|
|
2284
2284
|
resourceOwnerAccount?: string;
|
|
2285
2285
|
resourceOwnerId?: number;
|
|
2286
2286
|
secondaryCidrBlock?: string;
|
|
2287
|
+
secondaryCidrMask?: number;
|
|
2287
2288
|
vpcId?: string;
|
|
2288
2289
|
static names(): { [key: string]: string } {
|
|
2289
2290
|
return {
|
|
@@ -2297,6 +2298,7 @@ export class AssociateVpcCidrBlockRequest extends $tea.Model {
|
|
|
2297
2298
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
2298
2299
|
resourceOwnerId: 'ResourceOwnerId',
|
|
2299
2300
|
secondaryCidrBlock: 'SecondaryCidrBlock',
|
|
2301
|
+
secondaryCidrMask: 'SecondaryCidrMask',
|
|
2300
2302
|
vpcId: 'VpcId',
|
|
2301
2303
|
};
|
|
2302
2304
|
}
|
|
@@ -2313,6 +2315,7 @@ export class AssociateVpcCidrBlockRequest extends $tea.Model {
|
|
|
2313
2315
|
resourceOwnerAccount: 'string',
|
|
2314
2316
|
resourceOwnerId: 'number',
|
|
2315
2317
|
secondaryCidrBlock: 'string',
|
|
2318
|
+
secondaryCidrMask: 'number',
|
|
2316
2319
|
vpcId: 'string',
|
|
2317
2320
|
};
|
|
2318
2321
|
}
|
|
@@ -8615,6 +8618,7 @@ export class CreateVpcRequest extends $tea.Model {
|
|
|
8615
8618
|
description?: string;
|
|
8616
8619
|
dryRun?: boolean;
|
|
8617
8620
|
enableIpv6?: boolean;
|
|
8621
|
+
ipv4CidrMask?: number;
|
|
8618
8622
|
ipv4IpamPoolId?: string;
|
|
8619
8623
|
ipv6CidrBlock?: string;
|
|
8620
8624
|
ipv6Isp?: string;
|
|
@@ -8634,6 +8638,7 @@ export class CreateVpcRequest extends $tea.Model {
|
|
|
8634
8638
|
description: 'Description',
|
|
8635
8639
|
dryRun: 'DryRun',
|
|
8636
8640
|
enableIpv6: 'EnableIpv6',
|
|
8641
|
+
ipv4CidrMask: 'Ipv4CidrMask',
|
|
8637
8642
|
ipv4IpamPoolId: 'Ipv4IpamPoolId',
|
|
8638
8643
|
ipv6CidrBlock: 'Ipv6CidrBlock',
|
|
8639
8644
|
ipv6Isp: 'Ipv6Isp',
|
|
@@ -8656,6 +8661,7 @@ export class CreateVpcRequest extends $tea.Model {
|
|
|
8656
8661
|
description: 'string',
|
|
8657
8662
|
dryRun: 'boolean',
|
|
8658
8663
|
enableIpv6: 'boolean',
|
|
8664
|
+
ipv4CidrMask: 'number',
|
|
8659
8665
|
ipv4IpamPoolId: 'string',
|
|
8660
8666
|
ipv6CidrBlock: 'string',
|
|
8661
8667
|
ipv6Isp: 'string',
|
|
@@ -21640,6 +21646,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
21640
21646
|
disasterRecoveryVSwitchId?: string;
|
|
21641
21647
|
enableBgp?: boolean;
|
|
21642
21648
|
endTime?: number;
|
|
21649
|
+
eniInstanceIds?: DescribeVpnGatewayResponseBodyEniInstanceIds;
|
|
21643
21650
|
internetIp?: string;
|
|
21644
21651
|
ipsecVpn?: string;
|
|
21645
21652
|
name?: string;
|
|
@@ -21669,6 +21676,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
21669
21676
|
disasterRecoveryVSwitchId: 'DisasterRecoveryVSwitchId',
|
|
21670
21677
|
enableBgp: 'EnableBgp',
|
|
21671
21678
|
endTime: 'EndTime',
|
|
21679
|
+
eniInstanceIds: 'EniInstanceIds',
|
|
21672
21680
|
internetIp: 'InternetIp',
|
|
21673
21681
|
ipsecVpn: 'IpsecVpn',
|
|
21674
21682
|
name: 'Name',
|
|
@@ -21701,6 +21709,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
21701
21709
|
disasterRecoveryVSwitchId: 'string',
|
|
21702
21710
|
enableBgp: 'boolean',
|
|
21703
21711
|
endTime: 'number',
|
|
21712
|
+
eniInstanceIds: DescribeVpnGatewayResponseBodyEniInstanceIds,
|
|
21704
21713
|
internetIp: 'string',
|
|
21705
21714
|
ipsecVpn: 'string',
|
|
21706
21715
|
name: 'string',
|
|
@@ -30394,6 +30403,7 @@ export class ModifyRouterInterfaceSpecResponse extends $tea.Model {
|
|
|
30394
30403
|
|
|
30395
30404
|
export class ModifySnatEntryRequest extends $tea.Model {
|
|
30396
30405
|
clientToken?: string;
|
|
30406
|
+
eipAffinity?: number;
|
|
30397
30407
|
ownerAccount?: string;
|
|
30398
30408
|
ownerId?: number;
|
|
30399
30409
|
regionId?: string;
|
|
@@ -30406,6 +30416,7 @@ export class ModifySnatEntryRequest extends $tea.Model {
|
|
|
30406
30416
|
static names(): { [key: string]: string } {
|
|
30407
30417
|
return {
|
|
30408
30418
|
clientToken: 'ClientToken',
|
|
30419
|
+
eipAffinity: 'EipAffinity',
|
|
30409
30420
|
ownerAccount: 'OwnerAccount',
|
|
30410
30421
|
ownerId: 'OwnerId',
|
|
30411
30422
|
regionId: 'RegionId',
|
|
@@ -30421,6 +30432,7 @@ export class ModifySnatEntryRequest extends $tea.Model {
|
|
|
30421
30432
|
static types(): { [key: string]: any } {
|
|
30422
30433
|
return {
|
|
30423
30434
|
clientToken: 'string',
|
|
30435
|
+
eipAffinity: 'number',
|
|
30424
30436
|
ownerAccount: 'string',
|
|
30425
30437
|
ownerId: 'number',
|
|
30426
30438
|
regionId: 'string',
|
|
@@ -43652,6 +43664,7 @@ export class DescribeServerRelatedGlobalAccelerationInstancesResponseBodyGlobalA
|
|
|
43652
43664
|
}
|
|
43653
43665
|
|
|
43654
43666
|
export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry extends $tea.Model {
|
|
43667
|
+
eipAffinity?: string;
|
|
43655
43668
|
natGatewayId?: string;
|
|
43656
43669
|
snatEntryId?: string;
|
|
43657
43670
|
snatEntryName?: string;
|
|
@@ -43662,6 +43675,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
|
|
|
43662
43675
|
status?: string;
|
|
43663
43676
|
static names(): { [key: string]: string } {
|
|
43664
43677
|
return {
|
|
43678
|
+
eipAffinity: 'EipAffinity',
|
|
43665
43679
|
natGatewayId: 'NatGatewayId',
|
|
43666
43680
|
snatEntryId: 'SnatEntryId',
|
|
43667
43681
|
snatEntryName: 'SnatEntryName',
|
|
@@ -43675,6 +43689,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
|
|
|
43675
43689
|
|
|
43676
43690
|
static types(): { [key: string]: any } {
|
|
43677
43691
|
return {
|
|
43692
|
+
eipAffinity: 'string',
|
|
43678
43693
|
natGatewayId: 'string',
|
|
43679
43694
|
snatEntryId: 'string',
|
|
43680
43695
|
snatEntryName: 'string',
|
|
@@ -46438,6 +46453,25 @@ export class DescribeVpnCrossAccountAuthorizationsResponseBodyCrossAccountAuthor
|
|
|
46438
46453
|
}
|
|
46439
46454
|
}
|
|
46440
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
|
+
|
|
46441
46475
|
export class DescribeVpnGatewayResponseBodyReservationData extends $tea.Model {
|
|
46442
46476
|
reservationEndTime?: string;
|
|
46443
46477
|
reservationIpsec?: string;
|
|
@@ -46560,6 +46594,25 @@ export class DescribeVpnGatewaysRequestTag extends $tea.Model {
|
|
|
46560
46594
|
}
|
|
46561
46595
|
}
|
|
46562
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
|
+
|
|
46563
46616
|
export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayReservationData extends $tea.Model {
|
|
46564
46617
|
reservationEndTime?: string;
|
|
46565
46618
|
reservationIpsec?: string;
|
|
@@ -46648,6 +46701,7 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
|
|
|
46648
46701
|
disasterRecoveryVSwitchId?: string;
|
|
46649
46702
|
enableBgp?: boolean;
|
|
46650
46703
|
endTime?: number;
|
|
46704
|
+
eniInstanceIds?: DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayEniInstanceIds;
|
|
46651
46705
|
internetIp?: string;
|
|
46652
46706
|
ipsecVpn?: string;
|
|
46653
46707
|
name?: string;
|
|
@@ -46676,6 +46730,7 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
|
|
|
46676
46730
|
disasterRecoveryVSwitchId: 'DisasterRecoveryVSwitchId',
|
|
46677
46731
|
enableBgp: 'EnableBgp',
|
|
46678
46732
|
endTime: 'EndTime',
|
|
46733
|
+
eniInstanceIds: 'EniInstanceIds',
|
|
46679
46734
|
internetIp: 'InternetIp',
|
|
46680
46735
|
ipsecVpn: 'IpsecVpn',
|
|
46681
46736
|
name: 'Name',
|
|
@@ -46707,6 +46762,7 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
|
|
|
46707
46762
|
disasterRecoveryVSwitchId: 'string',
|
|
46708
46763
|
enableBgp: 'boolean',
|
|
46709
46764
|
endTime: 'number',
|
|
46765
|
+
eniInstanceIds: DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayEniInstanceIds,
|
|
46710
46766
|
internetIp: 'string',
|
|
46711
46767
|
ipsecVpn: 'string',
|
|
46712
46768
|
name: 'string',
|
|
@@ -52623,6 +52679,10 @@ export default class Client extends OpenApi {
|
|
|
52623
52679
|
query["SecondaryCidrBlock"] = request.secondaryCidrBlock;
|
|
52624
52680
|
}
|
|
52625
52681
|
|
|
52682
|
+
if (!Util.isUnset(request.secondaryCidrMask)) {
|
|
52683
|
+
query["SecondaryCidrMask"] = request.secondaryCidrMask;
|
|
52684
|
+
}
|
|
52685
|
+
|
|
52626
52686
|
if (!Util.isUnset(request.vpcId)) {
|
|
52627
52687
|
query["VpcId"] = request.vpcId;
|
|
52628
52688
|
}
|
|
@@ -58246,6 +58306,10 @@ export default class Client extends OpenApi {
|
|
|
58246
58306
|
query["EnableIpv6"] = request.enableIpv6;
|
|
58247
58307
|
}
|
|
58248
58308
|
|
|
58309
|
+
if (!Util.isUnset(request.ipv4CidrMask)) {
|
|
58310
|
+
query["Ipv4CidrMask"] = request.ipv4CidrMask;
|
|
58311
|
+
}
|
|
58312
|
+
|
|
58249
58313
|
if (!Util.isUnset(request.ipv4IpamPoolId)) {
|
|
58250
58314
|
query["Ipv4IpamPoolId"] = request.ipv4IpamPoolId;
|
|
58251
58315
|
}
|
|
@@ -74292,6 +74356,10 @@ export default class Client extends OpenApi {
|
|
|
74292
74356
|
query["ClientToken"] = request.clientToken;
|
|
74293
74357
|
}
|
|
74294
74358
|
|
|
74359
|
+
if (!Util.isUnset(request.eipAffinity)) {
|
|
74360
|
+
query["EipAffinity"] = request.eipAffinity;
|
|
74361
|
+
}
|
|
74362
|
+
|
|
74295
74363
|
if (!Util.isUnset(request.ownerAccount)) {
|
|
74296
74364
|
query["OwnerAccount"] = request.ownerAccount;
|
|
74297
74365
|
}
|