@alicloud/vpc20160428 6.5.3 → 6.5.4
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 +4 -2
- package/dist/client.js +17 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +24 -2
package/dist/client.d.ts
CHANGED
|
@@ -10585,6 +10585,7 @@ export declare class CreateSnatEntryRequest extends $tea.Model {
|
|
|
10585
10585
|
* 1
|
|
10586
10586
|
*/
|
|
10587
10587
|
eipAffinity?: number;
|
|
10588
|
+
networkInterfaceId?: string;
|
|
10588
10589
|
ownerAccount?: string;
|
|
10589
10590
|
ownerId?: number;
|
|
10590
10591
|
/**
|
|
@@ -10635,8 +10636,6 @@ export declare class CreateSnatEntryRequest extends $tea.Model {
|
|
|
10635
10636
|
*
|
|
10636
10637
|
* * When you add SNAT entries for a VPC NAT gateway, this parameter specifies the NAT IP addresses in the SNAT entry. Separate multiple NAT IP addresses with commas (,).
|
|
10637
10638
|
*
|
|
10638
|
-
* This parameter is required.
|
|
10639
|
-
*
|
|
10640
10639
|
* @example
|
|
10641
10640
|
* 47.98.XX.XX
|
|
10642
10641
|
*/
|
|
@@ -26696,6 +26695,7 @@ export declare class DescribeSnatTableEntriesRequest extends $tea.Model {
|
|
|
26696
26695
|
* ngw-bp1uewa15k4iy5770****
|
|
26697
26696
|
*/
|
|
26698
26697
|
natGatewayId?: string;
|
|
26698
|
+
networkInterfaceIds?: string[];
|
|
26699
26699
|
ownerAccount?: string;
|
|
26700
26700
|
ownerId?: number;
|
|
26701
26701
|
/**
|
|
@@ -42391,6 +42391,7 @@ export declare class ModifySnatEntryRequest extends $tea.Model {
|
|
|
42391
42391
|
*/
|
|
42392
42392
|
clientToken?: string;
|
|
42393
42393
|
eipAffinity?: number;
|
|
42394
|
+
networkInterfaceId?: string;
|
|
42394
42395
|
ownerAccount?: string;
|
|
42395
42396
|
ownerId?: number;
|
|
42396
42397
|
/**
|
|
@@ -62383,6 +62384,7 @@ export declare class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTab
|
|
|
62383
62384
|
* ngw-bp1uewa15k4iy5770****
|
|
62384
62385
|
*/
|
|
62385
62386
|
natGatewayId?: string;
|
|
62387
|
+
networkInterfaceId?: string;
|
|
62386
62388
|
/**
|
|
62387
62389
|
* @remarks
|
|
62388
62390
|
* The ID of the SNAT entry.
|
package/dist/client.js
CHANGED
|
@@ -5708,6 +5708,7 @@ class CreateSnatEntryRequest extends $tea.Model {
|
|
|
5708
5708
|
return {
|
|
5709
5709
|
clientToken: 'ClientToken',
|
|
5710
5710
|
eipAffinity: 'EipAffinity',
|
|
5711
|
+
networkInterfaceId: 'NetworkInterfaceId',
|
|
5711
5712
|
ownerAccount: 'OwnerAccount',
|
|
5712
5713
|
ownerId: 'OwnerId',
|
|
5713
5714
|
regionId: 'RegionId',
|
|
@@ -5724,6 +5725,7 @@ class CreateSnatEntryRequest extends $tea.Model {
|
|
|
5724
5725
|
return {
|
|
5725
5726
|
clientToken: 'string',
|
|
5726
5727
|
eipAffinity: 'number',
|
|
5728
|
+
networkInterfaceId: 'string',
|
|
5727
5729
|
ownerAccount: 'string',
|
|
5728
5730
|
ownerId: 'number',
|
|
5729
5731
|
regionId: 'string',
|
|
@@ -14829,6 +14831,7 @@ class DescribeSnatTableEntriesRequest extends $tea.Model {
|
|
|
14829
14831
|
static names() {
|
|
14830
14832
|
return {
|
|
14831
14833
|
natGatewayId: 'NatGatewayId',
|
|
14834
|
+
networkInterfaceIds: 'NetworkInterfaceIds',
|
|
14832
14835
|
ownerAccount: 'OwnerAccount',
|
|
14833
14836
|
ownerId: 'OwnerId',
|
|
14834
14837
|
pageNumber: 'PageNumber',
|
|
@@ -14847,6 +14850,7 @@ class DescribeSnatTableEntriesRequest extends $tea.Model {
|
|
|
14847
14850
|
static types() {
|
|
14848
14851
|
return {
|
|
14849
14852
|
natGatewayId: 'string',
|
|
14853
|
+
networkInterfaceIds: { 'type': 'array', 'itemType': 'string' },
|
|
14850
14854
|
ownerAccount: 'string',
|
|
14851
14855
|
ownerId: 'number',
|
|
14852
14856
|
pageNumber: 'number',
|
|
@@ -23608,6 +23612,7 @@ class ModifySnatEntryRequest extends $tea.Model {
|
|
|
23608
23612
|
return {
|
|
23609
23613
|
clientToken: 'ClientToken',
|
|
23610
23614
|
eipAffinity: 'EipAffinity',
|
|
23615
|
+
networkInterfaceId: 'NetworkInterfaceId',
|
|
23611
23616
|
ownerAccount: 'OwnerAccount',
|
|
23612
23617
|
ownerId: 'OwnerId',
|
|
23613
23618
|
regionId: 'RegionId',
|
|
@@ -23623,6 +23628,7 @@ class ModifySnatEntryRequest extends $tea.Model {
|
|
|
23623
23628
|
return {
|
|
23624
23629
|
clientToken: 'string',
|
|
23625
23630
|
eipAffinity: 'number',
|
|
23631
|
+
networkInterfaceId: 'string',
|
|
23626
23632
|
ownerAccount: 'string',
|
|
23627
23633
|
ownerId: 'number',
|
|
23628
23634
|
regionId: 'string',
|
|
@@ -33998,6 +34004,7 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry extends
|
|
|
33998
34004
|
return {
|
|
33999
34005
|
eipAffinity: 'EipAffinity',
|
|
34000
34006
|
natGatewayId: 'NatGatewayId',
|
|
34007
|
+
networkInterfaceId: 'NetworkInterfaceId',
|
|
34001
34008
|
snatEntryId: 'SnatEntryId',
|
|
34002
34009
|
snatEntryName: 'SnatEntryName',
|
|
34003
34010
|
snatIp: 'SnatIp',
|
|
@@ -34011,6 +34018,7 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry extends
|
|
|
34011
34018
|
return {
|
|
34012
34019
|
eipAffinity: 'string',
|
|
34013
34020
|
natGatewayId: 'string',
|
|
34021
|
+
networkInterfaceId: 'string',
|
|
34014
34022
|
snatEntryId: 'string',
|
|
34015
34023
|
snatEntryName: 'string',
|
|
34016
34024
|
snatIp: 'string',
|
|
@@ -45519,6 +45527,9 @@ class Client extends openapi_client_1.default {
|
|
|
45519
45527
|
if (!tea_util_1.default.isUnset(request.eipAffinity)) {
|
|
45520
45528
|
query["EipAffinity"] = request.eipAffinity;
|
|
45521
45529
|
}
|
|
45530
|
+
if (!tea_util_1.default.isUnset(request.networkInterfaceId)) {
|
|
45531
|
+
query["NetworkInterfaceId"] = request.networkInterfaceId;
|
|
45532
|
+
}
|
|
45522
45533
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
45523
45534
|
query["OwnerAccount"] = request.ownerAccount;
|
|
45524
45535
|
}
|
|
@@ -54552,6 +54563,9 @@ class Client extends openapi_client_1.default {
|
|
|
54552
54563
|
if (!tea_util_1.default.isUnset(request.natGatewayId)) {
|
|
54553
54564
|
query["NatGatewayId"] = request.natGatewayId;
|
|
54554
54565
|
}
|
|
54566
|
+
if (!tea_util_1.default.isUnset(request.networkInterfaceIds)) {
|
|
54567
|
+
query["NetworkInterfaceIds"] = request.networkInterfaceIds;
|
|
54568
|
+
}
|
|
54555
54569
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
54556
54570
|
query["OwnerAccount"] = request.ownerAccount;
|
|
54557
54571
|
}
|
|
@@ -62407,6 +62421,9 @@ class Client extends openapi_client_1.default {
|
|
|
62407
62421
|
if (!tea_util_1.default.isUnset(request.eipAffinity)) {
|
|
62408
62422
|
query["EipAffinity"] = request.eipAffinity;
|
|
62409
62423
|
}
|
|
62424
|
+
if (!tea_util_1.default.isUnset(request.networkInterfaceId)) {
|
|
62425
|
+
query["NetworkInterfaceId"] = request.networkInterfaceId;
|
|
62426
|
+
}
|
|
62410
62427
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
62411
62428
|
query["OwnerAccount"] = request.ownerAccount;
|
|
62412
62429
|
}
|