@alicloud/vpc20160428 4.0.2 → 4.1.0

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 CHANGED
@@ -7536,6 +7536,7 @@ export declare class DescribeEipAddressesRequest extends $tea.Model {
7536
7536
  securityProtectionEnabled?: boolean;
7537
7537
  segmentInstanceId?: string;
7538
7538
  status?: string;
7539
+ tag?: DescribeEipAddressesRequestTag[];
7539
7540
  static names(): {
7540
7541
  [key: string]: string;
7541
7542
  };
@@ -15062,6 +15063,66 @@ export declare class ModifySslVpnServerResponse extends $tea.Model {
15062
15063
  [key: string]: any;
15063
15064
  });
15064
15065
  }
15066
+ export declare class ModifyTunnelAttributeRequest extends $tea.Model {
15067
+ clientToken?: string;
15068
+ ownerAccount?: string;
15069
+ ownerId?: number;
15070
+ regionId?: string;
15071
+ resourceOwnerAccount?: string;
15072
+ resourceOwnerId?: number;
15073
+ tunnelId?: string;
15074
+ tunnelOptionsSpecification?: ModifyTunnelAttributeRequestTunnelOptionsSpecification;
15075
+ vpnConnectionId?: string;
15076
+ static names(): {
15077
+ [key: string]: string;
15078
+ };
15079
+ static types(): {
15080
+ [key: string]: any;
15081
+ };
15082
+ constructor(map?: {
15083
+ [key: string]: any;
15084
+ });
15085
+ }
15086
+ export declare class ModifyTunnelAttributeResponseBody extends $tea.Model {
15087
+ customerGatewayId?: string;
15088
+ enableDpd?: boolean;
15089
+ enableNatTraversal?: boolean;
15090
+ internetIp?: string;
15091
+ remoteCaCertificate?: string;
15092
+ requestId?: string;
15093
+ role?: string;
15094
+ state?: string;
15095
+ tunnelBgpConfig?: ModifyTunnelAttributeResponseBodyTunnelBgpConfig;
15096
+ tunnelId?: string;
15097
+ tunnelIkeConfig?: ModifyTunnelAttributeResponseBodyTunnelIkeConfig;
15098
+ tunnelIpsecConfig?: ModifyTunnelAttributeResponseBodyTunnelIpsecConfig;
15099
+ zoneNo?: string;
15100
+ static names(): {
15101
+ [key: string]: string;
15102
+ };
15103
+ static types(): {
15104
+ [key: string]: any;
15105
+ };
15106
+ constructor(map?: {
15107
+ [key: string]: any;
15108
+ });
15109
+ }
15110
+ export declare class ModifyTunnelAttributeResponse extends $tea.Model {
15111
+ headers: {
15112
+ [key: string]: string;
15113
+ };
15114
+ statusCode: number;
15115
+ body: ModifyTunnelAttributeResponseBody;
15116
+ static names(): {
15117
+ [key: string]: string;
15118
+ };
15119
+ static types(): {
15120
+ [key: string]: any;
15121
+ };
15122
+ constructor(map?: {
15123
+ [key: string]: any;
15124
+ });
15125
+ }
15065
15126
  export declare class ModifyVRouterAttributeRequest extends $tea.Model {
15066
15127
  description?: string;
15067
15128
  ownerAccount?: string;
@@ -19198,6 +19259,19 @@ export declare class DescribeEipAddressesRequestFilter extends $tea.Model {
19198
19259
  [key: string]: any;
19199
19260
  });
19200
19261
  }
19262
+ export declare class DescribeEipAddressesRequestTag extends $tea.Model {
19263
+ key?: string;
19264
+ value?: string;
19265
+ static names(): {
19266
+ [key: string]: string;
19267
+ };
19268
+ static types(): {
19269
+ [key: string]: any;
19270
+ };
19271
+ constructor(map?: {
19272
+ [key: string]: any;
19273
+ });
19274
+ }
19201
19275
  export declare class DescribeEipAddressesResponseBodyEipAddressesEipAddressOperationLocksLockReason extends $tea.Model {
19202
19276
  lockReason?: string;
19203
19277
  static names(): {
@@ -19509,6 +19583,7 @@ export declare class DescribeForwardTableEntriesResponseBodyForwardTableEntriesF
19509
19583
  internalIp?: string;
19510
19584
  internalPort?: string;
19511
19585
  ipProtocol?: string;
19586
+ natGatewayId?: string;
19512
19587
  status?: string;
19513
19588
  static names(): {
19514
19589
  [key: string]: string;
@@ -21186,6 +21261,7 @@ export declare class DescribeServerRelatedGlobalAccelerationInstancesResponseBod
21186
21261
  });
21187
21262
  }
21188
21263
  export declare class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry extends $tea.Model {
21264
+ natGatewayId?: string;
21189
21265
  snatEntryId?: string;
21190
21266
  snatEntryName?: string;
21191
21267
  snatIp?: string;
@@ -24009,6 +24085,124 @@ export declare class ListVpnCertificateAssociationsResponseBodyVpnCertificateRel
24009
24085
  [key: string]: any;
24010
24086
  });
24011
24087
  }
24088
+ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
24089
+ localAsn?: number;
24090
+ localBgpIp?: string;
24091
+ tunnelCidr?: string;
24092
+ static names(): {
24093
+ [key: string]: string;
24094
+ };
24095
+ static types(): {
24096
+ [key: string]: any;
24097
+ };
24098
+ constructor(map?: {
24099
+ [key: string]: any;
24100
+ });
24101
+ }
24102
+ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
24103
+ ikeAuthAlg?: string;
24104
+ ikeEncAlg?: string;
24105
+ ikeLifetime?: number;
24106
+ ikeMode?: string;
24107
+ ikePfs?: string;
24108
+ ikeVersion?: string;
24109
+ localId?: string;
24110
+ psk?: string;
24111
+ remoteId?: string;
24112
+ static names(): {
24113
+ [key: string]: string;
24114
+ };
24115
+ static types(): {
24116
+ [key: string]: any;
24117
+ };
24118
+ constructor(map?: {
24119
+ [key: string]: any;
24120
+ });
24121
+ }
24122
+ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
24123
+ ipsecAuthAlg?: string;
24124
+ ipsecEncAlg?: string;
24125
+ ipsecLifetime?: number;
24126
+ ipsecPfs?: string;
24127
+ static names(): {
24128
+ [key: string]: string;
24129
+ };
24130
+ static types(): {
24131
+ [key: string]: any;
24132
+ };
24133
+ constructor(map?: {
24134
+ [key: string]: any;
24135
+ });
24136
+ }
24137
+ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea.Model {
24138
+ enableDpd?: boolean;
24139
+ enableNatTraversal?: boolean;
24140
+ remoteCaCertificate?: string;
24141
+ tunnelBgpConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
24142
+ tunnelIkeConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig;
24143
+ tunnelIpsecConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
24144
+ static names(): {
24145
+ [key: string]: string;
24146
+ };
24147
+ static types(): {
24148
+ [key: string]: any;
24149
+ };
24150
+ constructor(map?: {
24151
+ [key: string]: any;
24152
+ });
24153
+ }
24154
+ export declare class ModifyTunnelAttributeResponseBodyTunnelBgpConfig extends $tea.Model {
24155
+ enableBgp?: boolean;
24156
+ localAsn?: number;
24157
+ localBgpIp?: string;
24158
+ peerAsn?: number;
24159
+ peerBgpIp?: string;
24160
+ tunnelCidr?: string;
24161
+ static names(): {
24162
+ [key: string]: string;
24163
+ };
24164
+ static types(): {
24165
+ [key: string]: any;
24166
+ };
24167
+ constructor(map?: {
24168
+ [key: string]: any;
24169
+ });
24170
+ }
24171
+ export declare class ModifyTunnelAttributeResponseBodyTunnelIkeConfig extends $tea.Model {
24172
+ ikeAuthAlg?: string;
24173
+ ikeEncAlg?: string;
24174
+ ikeLifetime?: number;
24175
+ ikeMode?: string;
24176
+ ikePfs?: string;
24177
+ ikeVersion?: string;
24178
+ localId?: string;
24179
+ psk?: string;
24180
+ remoteId?: string;
24181
+ static names(): {
24182
+ [key: string]: string;
24183
+ };
24184
+ static types(): {
24185
+ [key: string]: any;
24186
+ };
24187
+ constructor(map?: {
24188
+ [key: string]: any;
24189
+ });
24190
+ }
24191
+ export declare class ModifyTunnelAttributeResponseBodyTunnelIpsecConfig extends $tea.Model {
24192
+ ipsecAuthAlg?: string;
24193
+ ipsecEncAlg?: string;
24194
+ ipsecLifetime?: number;
24195
+ ipsecPfs?: string;
24196
+ static names(): {
24197
+ [key: string]: string;
24198
+ };
24199
+ static types(): {
24200
+ [key: string]: any;
24201
+ };
24202
+ constructor(map?: {
24203
+ [key: string]: any;
24204
+ });
24205
+ }
24012
24206
  export declare class ModifyVpcPrefixListRequestAddPrefixListEntry extends $tea.Model {
24013
24207
  cidr?: string;
24014
24208
  description?: string;
@@ -28065,6 +28259,8 @@ export default class Client extends OpenApi {
28065
28259
  * @return ModifySslVpnServerResponse
28066
28260
  */
28067
28261
  modifySslVpnServer(request: ModifySslVpnServerRequest): Promise<ModifySslVpnServerResponse>;
28262
+ modifyTunnelAttributeWithOptions(request: ModifyTunnelAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTunnelAttributeResponse>;
28263
+ modifyTunnelAttribute(request: ModifyTunnelAttributeRequest): Promise<ModifyTunnelAttributeResponse>;
28068
28264
  /**
28069
28265
  * You cannot repeatedly call the **ModifyVRouterAttribute** operation to modify the name and description of a vRouter within the specified period of time.
28070
28266
  *
package/dist/client.js CHANGED
@@ -10892,6 +10892,7 @@ class DescribeEipAddressesRequest extends $tea.Model {
10892
10892
  securityProtectionEnabled: 'SecurityProtectionEnabled',
10893
10893
  segmentInstanceId: 'SegmentInstanceId',
10894
10894
  status: 'Status',
10895
+ tag: 'Tag',
10895
10896
  };
10896
10897
  }
10897
10898
  static types() {
@@ -10919,6 +10920,7 @@ class DescribeEipAddressesRequest extends $tea.Model {
10919
10920
  securityProtectionEnabled: 'boolean',
10920
10921
  segmentInstanceId: 'string',
10921
10922
  status: 'string',
10923
+ tag: { 'type': 'array', 'itemType': DescribeEipAddressesRequestTag },
10922
10924
  };
10923
10925
  }
10924
10926
  }
@@ -21931,6 +21933,98 @@ class ModifySslVpnServerResponse extends $tea.Model {
21931
21933
  }
21932
21934
  }
21933
21935
  exports.ModifySslVpnServerResponse = ModifySslVpnServerResponse;
21936
+ class ModifyTunnelAttributeRequest extends $tea.Model {
21937
+ constructor(map) {
21938
+ super(map);
21939
+ }
21940
+ static names() {
21941
+ return {
21942
+ clientToken: 'ClientToken',
21943
+ ownerAccount: 'OwnerAccount',
21944
+ ownerId: 'OwnerId',
21945
+ regionId: 'RegionId',
21946
+ resourceOwnerAccount: 'ResourceOwnerAccount',
21947
+ resourceOwnerId: 'ResourceOwnerId',
21948
+ tunnelId: 'TunnelId',
21949
+ tunnelOptionsSpecification: 'TunnelOptionsSpecification',
21950
+ vpnConnectionId: 'VpnConnectionId',
21951
+ };
21952
+ }
21953
+ static types() {
21954
+ return {
21955
+ clientToken: 'string',
21956
+ ownerAccount: 'string',
21957
+ ownerId: 'number',
21958
+ regionId: 'string',
21959
+ resourceOwnerAccount: 'string',
21960
+ resourceOwnerId: 'number',
21961
+ tunnelId: 'string',
21962
+ tunnelOptionsSpecification: ModifyTunnelAttributeRequestTunnelOptionsSpecification,
21963
+ vpnConnectionId: 'string',
21964
+ };
21965
+ }
21966
+ }
21967
+ exports.ModifyTunnelAttributeRequest = ModifyTunnelAttributeRequest;
21968
+ class ModifyTunnelAttributeResponseBody extends $tea.Model {
21969
+ constructor(map) {
21970
+ super(map);
21971
+ }
21972
+ static names() {
21973
+ return {
21974
+ customerGatewayId: 'CustomerGatewayId',
21975
+ enableDpd: 'EnableDpd',
21976
+ enableNatTraversal: 'EnableNatTraversal',
21977
+ internetIp: 'InternetIp',
21978
+ remoteCaCertificate: 'RemoteCaCertificate',
21979
+ requestId: 'RequestId',
21980
+ role: 'Role',
21981
+ state: 'State',
21982
+ tunnelBgpConfig: 'TunnelBgpConfig',
21983
+ tunnelId: 'TunnelId',
21984
+ tunnelIkeConfig: 'TunnelIkeConfig',
21985
+ tunnelIpsecConfig: 'TunnelIpsecConfig',
21986
+ zoneNo: 'ZoneNo',
21987
+ };
21988
+ }
21989
+ static types() {
21990
+ return {
21991
+ customerGatewayId: 'string',
21992
+ enableDpd: 'boolean',
21993
+ enableNatTraversal: 'boolean',
21994
+ internetIp: 'string',
21995
+ remoteCaCertificate: 'string',
21996
+ requestId: 'string',
21997
+ role: 'string',
21998
+ state: 'string',
21999
+ tunnelBgpConfig: ModifyTunnelAttributeResponseBodyTunnelBgpConfig,
22000
+ tunnelId: 'string',
22001
+ tunnelIkeConfig: ModifyTunnelAttributeResponseBodyTunnelIkeConfig,
22002
+ tunnelIpsecConfig: ModifyTunnelAttributeResponseBodyTunnelIpsecConfig,
22003
+ zoneNo: 'string',
22004
+ };
22005
+ }
22006
+ }
22007
+ exports.ModifyTunnelAttributeResponseBody = ModifyTunnelAttributeResponseBody;
22008
+ class ModifyTunnelAttributeResponse extends $tea.Model {
22009
+ constructor(map) {
22010
+ super(map);
22011
+ }
22012
+ static names() {
22013
+ return {
22014
+ headers: 'headers',
22015
+ statusCode: 'statusCode',
22016
+ body: 'body',
22017
+ };
22018
+ }
22019
+ static types() {
22020
+ return {
22021
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
22022
+ statusCode: 'number',
22023
+ body: ModifyTunnelAttributeResponseBody,
22024
+ };
22025
+ }
22026
+ }
22027
+ exports.ModifyTunnelAttributeResponse = ModifyTunnelAttributeResponse;
21934
22028
  class ModifyVRouterAttributeRequest extends $tea.Model {
21935
22029
  constructor(map) {
21936
22030
  super(map);
@@ -27911,6 +28005,24 @@ class DescribeEipAddressesRequestFilter extends $tea.Model {
27911
28005
  }
27912
28006
  }
27913
28007
  exports.DescribeEipAddressesRequestFilter = DescribeEipAddressesRequestFilter;
28008
+ class DescribeEipAddressesRequestTag extends $tea.Model {
28009
+ constructor(map) {
28010
+ super(map);
28011
+ }
28012
+ static names() {
28013
+ return {
28014
+ key: 'Key',
28015
+ value: 'Value',
28016
+ };
28017
+ }
28018
+ static types() {
28019
+ return {
28020
+ key: 'string',
28021
+ value: 'string',
28022
+ };
28023
+ }
28024
+ }
28025
+ exports.DescribeEipAddressesRequestTag = DescribeEipAddressesRequestTag;
27914
28026
  class DescribeEipAddressesResponseBodyEipAddressesEipAddressOperationLocksLockReason extends $tea.Model {
27915
28027
  constructor(map) {
27916
28028
  super(map);
@@ -28377,6 +28489,7 @@ class DescribeForwardTableEntriesResponseBodyForwardTableEntriesForwardTableEntr
28377
28489
  internalIp: 'InternalIp',
28378
28490
  internalPort: 'InternalPort',
28379
28491
  ipProtocol: 'IpProtocol',
28492
+ natGatewayId: 'NatGatewayId',
28380
28493
  status: 'Status',
28381
28494
  };
28382
28495
  }
@@ -28390,6 +28503,7 @@ class DescribeForwardTableEntriesResponseBodyForwardTableEntriesForwardTableEntr
28390
28503
  internalIp: 'string',
28391
28504
  internalPort: 'string',
28392
28505
  ipProtocol: 'string',
28506
+ natGatewayId: 'string',
28393
28507
  status: 'string',
28394
28508
  };
28395
28509
  }
@@ -30857,6 +30971,7 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry extends
30857
30971
  }
30858
30972
  static names() {
30859
30973
  return {
30974
+ natGatewayId: 'NatGatewayId',
30860
30975
  snatEntryId: 'SnatEntryId',
30861
30976
  snatEntryName: 'SnatEntryName',
30862
30977
  snatIp: 'SnatIp',
@@ -30868,6 +30983,7 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry extends
30868
30983
  }
30869
30984
  static types() {
30870
30985
  return {
30986
+ natGatewayId: 'string',
30871
30987
  snatEntryId: 'string',
30872
30988
  snatEntryName: 'string',
30873
30989
  snatIp: 'string',
@@ -35075,6 +35191,186 @@ class ListVpnCertificateAssociationsResponseBodyVpnCertificateRelations extends
35075
35191
  }
35076
35192
  }
35077
35193
  exports.ListVpnCertificateAssociationsResponseBodyVpnCertificateRelations = ListVpnCertificateAssociationsResponseBodyVpnCertificateRelations;
35194
+ class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
35195
+ constructor(map) {
35196
+ super(map);
35197
+ }
35198
+ static names() {
35199
+ return {
35200
+ localAsn: 'LocalAsn',
35201
+ localBgpIp: 'LocalBgpIp',
35202
+ tunnelCidr: 'TunnelCidr',
35203
+ };
35204
+ }
35205
+ static types() {
35206
+ return {
35207
+ localAsn: 'number',
35208
+ localBgpIp: 'string',
35209
+ tunnelCidr: 'string',
35210
+ };
35211
+ }
35212
+ }
35213
+ exports.ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig = ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
35214
+ class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
35215
+ constructor(map) {
35216
+ super(map);
35217
+ }
35218
+ static names() {
35219
+ return {
35220
+ ikeAuthAlg: 'IkeAuthAlg',
35221
+ ikeEncAlg: 'IkeEncAlg',
35222
+ ikeLifetime: 'IkeLifetime',
35223
+ ikeMode: 'IkeMode',
35224
+ ikePfs: 'IkePfs',
35225
+ ikeVersion: 'IkeVersion',
35226
+ localId: 'LocalId',
35227
+ psk: 'Psk',
35228
+ remoteId: 'RemoteId',
35229
+ };
35230
+ }
35231
+ static types() {
35232
+ return {
35233
+ ikeAuthAlg: 'string',
35234
+ ikeEncAlg: 'string',
35235
+ ikeLifetime: 'number',
35236
+ ikeMode: 'string',
35237
+ ikePfs: 'string',
35238
+ ikeVersion: 'string',
35239
+ localId: 'string',
35240
+ psk: 'string',
35241
+ remoteId: 'string',
35242
+ };
35243
+ }
35244
+ }
35245
+ exports.ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig = ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig;
35246
+ class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
35247
+ constructor(map) {
35248
+ super(map);
35249
+ }
35250
+ static names() {
35251
+ return {
35252
+ ipsecAuthAlg: 'IpsecAuthAlg',
35253
+ ipsecEncAlg: 'IpsecEncAlg',
35254
+ ipsecLifetime: 'IpsecLifetime',
35255
+ ipsecPfs: 'IpsecPfs',
35256
+ };
35257
+ }
35258
+ static types() {
35259
+ return {
35260
+ ipsecAuthAlg: 'string',
35261
+ ipsecEncAlg: 'string',
35262
+ ipsecLifetime: 'number',
35263
+ ipsecPfs: 'string',
35264
+ };
35265
+ }
35266
+ }
35267
+ exports.ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig = ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
35268
+ class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea.Model {
35269
+ constructor(map) {
35270
+ super(map);
35271
+ }
35272
+ static names() {
35273
+ return {
35274
+ enableDpd: 'EnableDpd',
35275
+ enableNatTraversal: 'EnableNatTraversal',
35276
+ remoteCaCertificate: 'RemoteCaCertificate',
35277
+ tunnelBgpConfig: 'TunnelBgpConfig',
35278
+ tunnelIkeConfig: 'TunnelIkeConfig',
35279
+ tunnelIpsecConfig: 'TunnelIpsecConfig',
35280
+ };
35281
+ }
35282
+ static types() {
35283
+ return {
35284
+ enableDpd: 'boolean',
35285
+ enableNatTraversal: 'boolean',
35286
+ remoteCaCertificate: 'string',
35287
+ tunnelBgpConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig,
35288
+ tunnelIkeConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig,
35289
+ tunnelIpsecConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig,
35290
+ };
35291
+ }
35292
+ }
35293
+ exports.ModifyTunnelAttributeRequestTunnelOptionsSpecification = ModifyTunnelAttributeRequestTunnelOptionsSpecification;
35294
+ class ModifyTunnelAttributeResponseBodyTunnelBgpConfig extends $tea.Model {
35295
+ constructor(map) {
35296
+ super(map);
35297
+ }
35298
+ static names() {
35299
+ return {
35300
+ enableBgp: 'EnableBgp',
35301
+ localAsn: 'LocalAsn',
35302
+ localBgpIp: 'LocalBgpIp',
35303
+ peerAsn: 'PeerAsn',
35304
+ peerBgpIp: 'PeerBgpIp',
35305
+ tunnelCidr: 'TunnelCidr',
35306
+ };
35307
+ }
35308
+ static types() {
35309
+ return {
35310
+ enableBgp: 'boolean',
35311
+ localAsn: 'number',
35312
+ localBgpIp: 'string',
35313
+ peerAsn: 'number',
35314
+ peerBgpIp: 'string',
35315
+ tunnelCidr: 'string',
35316
+ };
35317
+ }
35318
+ }
35319
+ exports.ModifyTunnelAttributeResponseBodyTunnelBgpConfig = ModifyTunnelAttributeResponseBodyTunnelBgpConfig;
35320
+ class ModifyTunnelAttributeResponseBodyTunnelIkeConfig extends $tea.Model {
35321
+ constructor(map) {
35322
+ super(map);
35323
+ }
35324
+ static names() {
35325
+ return {
35326
+ ikeAuthAlg: 'IkeAuthAlg',
35327
+ ikeEncAlg: 'IkeEncAlg',
35328
+ ikeLifetime: 'IkeLifetime',
35329
+ ikeMode: 'IkeMode',
35330
+ ikePfs: 'IkePfs',
35331
+ ikeVersion: 'IkeVersion',
35332
+ localId: 'LocalId',
35333
+ psk: 'Psk',
35334
+ remoteId: 'RemoteId',
35335
+ };
35336
+ }
35337
+ static types() {
35338
+ return {
35339
+ ikeAuthAlg: 'string',
35340
+ ikeEncAlg: 'string',
35341
+ ikeLifetime: 'number',
35342
+ ikeMode: 'string',
35343
+ ikePfs: 'string',
35344
+ ikeVersion: 'string',
35345
+ localId: 'string',
35346
+ psk: 'string',
35347
+ remoteId: 'string',
35348
+ };
35349
+ }
35350
+ }
35351
+ exports.ModifyTunnelAttributeResponseBodyTunnelIkeConfig = ModifyTunnelAttributeResponseBodyTunnelIkeConfig;
35352
+ class ModifyTunnelAttributeResponseBodyTunnelIpsecConfig extends $tea.Model {
35353
+ constructor(map) {
35354
+ super(map);
35355
+ }
35356
+ static names() {
35357
+ return {
35358
+ ipsecAuthAlg: 'IpsecAuthAlg',
35359
+ ipsecEncAlg: 'IpsecEncAlg',
35360
+ ipsecLifetime: 'IpsecLifetime',
35361
+ ipsecPfs: 'IpsecPfs',
35362
+ };
35363
+ }
35364
+ static types() {
35365
+ return {
35366
+ ipsecAuthAlg: 'string',
35367
+ ipsecEncAlg: 'string',
35368
+ ipsecLifetime: 'number',
35369
+ ipsecPfs: 'string',
35370
+ };
35371
+ }
35372
+ }
35373
+ exports.ModifyTunnelAttributeResponseBodyTunnelIpsecConfig = ModifyTunnelAttributeResponseBodyTunnelIpsecConfig;
35078
35374
  class ModifyVpcPrefixListRequestAddPrefixListEntry extends $tea.Model {
35079
35375
  constructor(map) {
35080
35376
  super(map);
@@ -46182,6 +46478,9 @@ class Client extends openapi_client_1.default {
46182
46478
  if (!tea_util_1.default.isUnset(request.status)) {
46183
46479
  query["Status"] = request.status;
46184
46480
  }
46481
+ if (!tea_util_1.default.isUnset(request.tag)) {
46482
+ query["Tag"] = request.tag;
46483
+ }
46185
46484
  if (!tea_util_1.default.isUnset(request.filter)) {
46186
46485
  query["Filter"] = request.filter;
46187
46486
  }
@@ -54462,6 +54761,56 @@ class Client extends openapi_client_1.default {
54462
54761
  let runtime = new $Util.RuntimeOptions({});
54463
54762
  return await this.modifySslVpnServerWithOptions(request, runtime);
54464
54763
  }
54764
+ async modifyTunnelAttributeWithOptions(request, runtime) {
54765
+ tea_util_1.default.validateModel(request);
54766
+ let query = {};
54767
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
54768
+ query["ClientToken"] = request.clientToken;
54769
+ }
54770
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
54771
+ query["OwnerAccount"] = request.ownerAccount;
54772
+ }
54773
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
54774
+ query["OwnerId"] = request.ownerId;
54775
+ }
54776
+ if (!tea_util_1.default.isUnset(request.regionId)) {
54777
+ query["RegionId"] = request.regionId;
54778
+ }
54779
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
54780
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
54781
+ }
54782
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
54783
+ query["ResourceOwnerId"] = request.resourceOwnerId;
54784
+ }
54785
+ if (!tea_util_1.default.isUnset(request.tunnelId)) {
54786
+ query["TunnelId"] = request.tunnelId;
54787
+ }
54788
+ if (!tea_util_1.default.isUnset(request.tunnelOptionsSpecification)) {
54789
+ query["TunnelOptionsSpecification"] = request.tunnelOptionsSpecification;
54790
+ }
54791
+ if (!tea_util_1.default.isUnset(request.vpnConnectionId)) {
54792
+ query["VpnConnectionId"] = request.vpnConnectionId;
54793
+ }
54794
+ let req = new $OpenApi.OpenApiRequest({
54795
+ query: openapi_util_1.default.query(query),
54796
+ });
54797
+ let params = new $OpenApi.Params({
54798
+ action: "ModifyTunnelAttribute",
54799
+ version: "2016-04-28",
54800
+ protocol: "HTTPS",
54801
+ pathname: "/",
54802
+ method: "POST",
54803
+ authType: "AK",
54804
+ style: "RPC",
54805
+ reqBodyType: "formData",
54806
+ bodyType: "json",
54807
+ });
54808
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyTunnelAttributeResponse({}));
54809
+ }
54810
+ async modifyTunnelAttribute(request) {
54811
+ let runtime = new $Util.RuntimeOptions({});
54812
+ return await this.modifyTunnelAttributeWithOptions(request, runtime);
54813
+ }
54465
54814
  /**
54466
54815
  * You cannot repeatedly call the **ModifyVRouterAttribute** operation to modify the name and description of a vRouter within the specified period of time.
54467
54816
  *