@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/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -14050,6 +14050,7 @@ export class CreateSnatEntryRequest extends $tea.Model {
|
|
|
14050
14050
|
* 1
|
|
14051
14051
|
*/
|
|
14052
14052
|
eipAffinity?: number;
|
|
14053
|
+
networkInterfaceId?: string;
|
|
14053
14054
|
ownerAccount?: string;
|
|
14054
14055
|
ownerId?: number;
|
|
14055
14056
|
/**
|
|
@@ -14100,8 +14101,6 @@ export class CreateSnatEntryRequest extends $tea.Model {
|
|
|
14100
14101
|
*
|
|
14101
14102
|
* * 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 (,).
|
|
14102
14103
|
*
|
|
14103
|
-
* This parameter is required.
|
|
14104
|
-
*
|
|
14105
14104
|
* @example
|
|
14106
14105
|
* 47.98.XX.XX
|
|
14107
14106
|
*/
|
|
@@ -14152,6 +14151,7 @@ export class CreateSnatEntryRequest extends $tea.Model {
|
|
|
14152
14151
|
return {
|
|
14153
14152
|
clientToken: 'ClientToken',
|
|
14154
14153
|
eipAffinity: 'EipAffinity',
|
|
14154
|
+
networkInterfaceId: 'NetworkInterfaceId',
|
|
14155
14155
|
ownerAccount: 'OwnerAccount',
|
|
14156
14156
|
ownerId: 'OwnerId',
|
|
14157
14157
|
regionId: 'RegionId',
|
|
@@ -14169,6 +14169,7 @@ export class CreateSnatEntryRequest extends $tea.Model {
|
|
|
14169
14169
|
return {
|
|
14170
14170
|
clientToken: 'string',
|
|
14171
14171
|
eipAffinity: 'number',
|
|
14172
|
+
networkInterfaceId: 'string',
|
|
14172
14173
|
ownerAccount: 'string',
|
|
14173
14174
|
ownerId: 'number',
|
|
14174
14175
|
regionId: 'string',
|
|
@@ -35745,6 +35746,7 @@ export class DescribeSnatTableEntriesRequest extends $tea.Model {
|
|
|
35745
35746
|
* ngw-bp1uewa15k4iy5770****
|
|
35746
35747
|
*/
|
|
35747
35748
|
natGatewayId?: string;
|
|
35749
|
+
networkInterfaceIds?: string[];
|
|
35748
35750
|
ownerAccount?: string;
|
|
35749
35751
|
ownerId?: number;
|
|
35750
35752
|
/**
|
|
@@ -35836,6 +35838,7 @@ export class DescribeSnatTableEntriesRequest extends $tea.Model {
|
|
|
35836
35838
|
static names(): { [key: string]: string } {
|
|
35837
35839
|
return {
|
|
35838
35840
|
natGatewayId: 'NatGatewayId',
|
|
35841
|
+
networkInterfaceIds: 'NetworkInterfaceIds',
|
|
35839
35842
|
ownerAccount: 'OwnerAccount',
|
|
35840
35843
|
ownerId: 'OwnerId',
|
|
35841
35844
|
pageNumber: 'PageNumber',
|
|
@@ -35855,6 +35858,7 @@ export class DescribeSnatTableEntriesRequest extends $tea.Model {
|
|
|
35855
35858
|
static types(): { [key: string]: any } {
|
|
35856
35859
|
return {
|
|
35857
35860
|
natGatewayId: 'string',
|
|
35861
|
+
networkInterfaceIds: { 'type': 'array', 'itemType': 'string' },
|
|
35858
35862
|
ownerAccount: 'string',
|
|
35859
35863
|
ownerId: 'number',
|
|
35860
35864
|
pageNumber: 'number',
|
|
@@ -56845,6 +56849,7 @@ export class ModifySnatEntryRequest extends $tea.Model {
|
|
|
56845
56849
|
*/
|
|
56846
56850
|
clientToken?: string;
|
|
56847
56851
|
eipAffinity?: number;
|
|
56852
|
+
networkInterfaceId?: string;
|
|
56848
56853
|
ownerAccount?: string;
|
|
56849
56854
|
ownerId?: number;
|
|
56850
56855
|
/**
|
|
@@ -56907,6 +56912,7 @@ export class ModifySnatEntryRequest extends $tea.Model {
|
|
|
56907
56912
|
return {
|
|
56908
56913
|
clientToken: 'ClientToken',
|
|
56909
56914
|
eipAffinity: 'EipAffinity',
|
|
56915
|
+
networkInterfaceId: 'NetworkInterfaceId',
|
|
56910
56916
|
ownerAccount: 'OwnerAccount',
|
|
56911
56917
|
ownerId: 'OwnerId',
|
|
56912
56918
|
regionId: 'RegionId',
|
|
@@ -56923,6 +56929,7 @@ export class ModifySnatEntryRequest extends $tea.Model {
|
|
|
56923
56929
|
return {
|
|
56924
56930
|
clientToken: 'string',
|
|
56925
56931
|
eipAffinity: 'number',
|
|
56932
|
+
networkInterfaceId: 'string',
|
|
56926
56933
|
ownerAccount: 'string',
|
|
56927
56934
|
ownerId: 'number',
|
|
56928
56935
|
regionId: 'string',
|
|
@@ -83100,6 +83107,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
|
|
|
83100
83107
|
* ngw-bp1uewa15k4iy5770****
|
|
83101
83108
|
*/
|
|
83102
83109
|
natGatewayId?: string;
|
|
83110
|
+
networkInterfaceId?: string;
|
|
83103
83111
|
/**
|
|
83104
83112
|
* @remarks
|
|
83105
83113
|
* The ID of the SNAT entry.
|
|
@@ -83166,6 +83174,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
|
|
|
83166
83174
|
return {
|
|
83167
83175
|
eipAffinity: 'EipAffinity',
|
|
83168
83176
|
natGatewayId: 'NatGatewayId',
|
|
83177
|
+
networkInterfaceId: 'NetworkInterfaceId',
|
|
83169
83178
|
snatEntryId: 'SnatEntryId',
|
|
83170
83179
|
snatEntryName: 'SnatEntryName',
|
|
83171
83180
|
snatIp: 'SnatIp',
|
|
@@ -83180,6 +83189,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
|
|
|
83180
83189
|
return {
|
|
83181
83190
|
eipAffinity: 'string',
|
|
83182
83191
|
natGatewayId: 'string',
|
|
83192
|
+
networkInterfaceId: 'string',
|
|
83183
83193
|
snatEntryId: 'string',
|
|
83184
83194
|
snatEntryName: 'string',
|
|
83185
83195
|
snatIp: 'string',
|
|
@@ -105638,6 +105648,10 @@ export default class Client extends OpenApi {
|
|
|
105638
105648
|
query["EipAffinity"] = request.eipAffinity;
|
|
105639
105649
|
}
|
|
105640
105650
|
|
|
105651
|
+
if (!Util.isUnset(request.networkInterfaceId)) {
|
|
105652
|
+
query["NetworkInterfaceId"] = request.networkInterfaceId;
|
|
105653
|
+
}
|
|
105654
|
+
|
|
105641
105655
|
if (!Util.isUnset(request.ownerAccount)) {
|
|
105642
105656
|
query["OwnerAccount"] = request.ownerAccount;
|
|
105643
105657
|
}
|
|
@@ -116166,6 +116180,10 @@ export default class Client extends OpenApi {
|
|
|
116166
116180
|
query["NatGatewayId"] = request.natGatewayId;
|
|
116167
116181
|
}
|
|
116168
116182
|
|
|
116183
|
+
if (!Util.isUnset(request.networkInterfaceIds)) {
|
|
116184
|
+
query["NetworkInterfaceIds"] = request.networkInterfaceIds;
|
|
116185
|
+
}
|
|
116186
|
+
|
|
116169
116187
|
if (!Util.isUnset(request.ownerAccount)) {
|
|
116170
116188
|
query["OwnerAccount"] = request.ownerAccount;
|
|
116171
116189
|
}
|
|
@@ -125362,6 +125380,10 @@ export default class Client extends OpenApi {
|
|
|
125362
125380
|
query["EipAffinity"] = request.eipAffinity;
|
|
125363
125381
|
}
|
|
125364
125382
|
|
|
125383
|
+
if (!Util.isUnset(request.networkInterfaceId)) {
|
|
125384
|
+
query["NetworkInterfaceId"] = request.networkInterfaceId;
|
|
125385
|
+
}
|
|
125386
|
+
|
|
125365
125387
|
if (!Util.isUnset(request.ownerAccount)) {
|
|
125366
125388
|
query["OwnerAccount"] = request.ownerAccount;
|
|
125367
125389
|
}
|