@alicloud/vpc20160428 4.0.1 → 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/src/client.ts CHANGED
@@ -6201,6 +6201,7 @@ export class CreatePhysicalConnectionSetupOrderResponse extends $tea.Model {
6201
6201
  }
6202
6202
 
6203
6203
  export class CreatePublicIpAddressPoolRequest extends $tea.Model {
6204
+ bizType?: string;
6204
6205
  clientToken?: string;
6205
6206
  description?: string;
6206
6207
  dryRun?: boolean;
@@ -6213,8 +6214,10 @@ export class CreatePublicIpAddressPoolRequest extends $tea.Model {
6213
6214
  resourceOwnerAccount?: string;
6214
6215
  resourceOwnerId?: number;
6215
6216
  tag?: CreatePublicIpAddressPoolRequestTag[];
6217
+ zones?: string[];
6216
6218
  static names(): { [key: string]: string } {
6217
6219
  return {
6220
+ bizType: 'BizType',
6218
6221
  clientToken: 'ClientToken',
6219
6222
  description: 'Description',
6220
6223
  dryRun: 'DryRun',
@@ -6227,11 +6230,13 @@ export class CreatePublicIpAddressPoolRequest extends $tea.Model {
6227
6230
  resourceOwnerAccount: 'ResourceOwnerAccount',
6228
6231
  resourceOwnerId: 'ResourceOwnerId',
6229
6232
  tag: 'Tag',
6233
+ zones: 'Zones',
6230
6234
  };
6231
6235
  }
6232
6236
 
6233
6237
  static types(): { [key: string]: any } {
6234
6238
  return {
6239
+ bizType: 'string',
6235
6240
  clientToken: 'string',
6236
6241
  description: 'string',
6237
6242
  dryRun: 'boolean',
@@ -6244,6 +6249,7 @@ export class CreatePublicIpAddressPoolRequest extends $tea.Model {
6244
6249
  resourceOwnerAccount: 'string',
6245
6250
  resourceOwnerId: 'number',
6246
6251
  tag: { 'type': 'array', 'itemType': CreatePublicIpAddressPoolRequestTag },
6252
+ zones: { 'type': 'array', 'itemType': 'string' },
6247
6253
  };
6248
6254
  }
6249
6255
 
@@ -14057,6 +14063,7 @@ export class DescribeEipAddressesRequest extends $tea.Model {
14057
14063
  securityProtectionEnabled?: boolean;
14058
14064
  segmentInstanceId?: string;
14059
14065
  status?: string;
14066
+ tag?: DescribeEipAddressesRequestTag[];
14060
14067
  static names(): { [key: string]: string } {
14061
14068
  return {
14062
14069
  filter: 'Filter',
@@ -14082,6 +14089,7 @@ export class DescribeEipAddressesRequest extends $tea.Model {
14082
14089
  securityProtectionEnabled: 'SecurityProtectionEnabled',
14083
14090
  segmentInstanceId: 'SegmentInstanceId',
14084
14091
  status: 'Status',
14092
+ tag: 'Tag',
14085
14093
  };
14086
14094
  }
14087
14095
 
@@ -14110,6 +14118,7 @@ export class DescribeEipAddressesRequest extends $tea.Model {
14110
14118
  securityProtectionEnabled: 'boolean',
14111
14119
  segmentInstanceId: 'string',
14112
14120
  status: 'string',
14121
+ tag: { 'type': 'array', 'itemType': DescribeEipAddressesRequestTag },
14113
14122
  };
14114
14123
  }
14115
14124
 
@@ -21270,6 +21279,7 @@ export class EnableNatGatewayEcsMetricResponse extends $tea.Model {
21270
21279
  }
21271
21280
 
21272
21281
  export class EnablePhysicalConnectionRequest extends $tea.Model {
21282
+ byPassSp?: boolean;
21273
21283
  clientToken?: string;
21274
21284
  ownerAccount?: string;
21275
21285
  ownerId?: number;
@@ -21279,6 +21289,7 @@ export class EnablePhysicalConnectionRequest extends $tea.Model {
21279
21289
  resourceOwnerId?: number;
21280
21290
  static names(): { [key: string]: string } {
21281
21291
  return {
21292
+ byPassSp: 'ByPassSp',
21282
21293
  clientToken: 'ClientToken',
21283
21294
  ownerAccount: 'OwnerAccount',
21284
21295
  ownerId: 'OwnerId',
@@ -21291,6 +21302,7 @@ export class EnablePhysicalConnectionRequest extends $tea.Model {
21291
21302
 
21292
21303
  static types(): { [key: string]: any } {
21293
21304
  return {
21305
+ byPassSp: 'boolean',
21294
21306
  clientToken: 'string',
21295
21307
  ownerAccount: 'string',
21296
21308
  ownerId: 'number',
@@ -28472,6 +28484,129 @@ export class ModifySslVpnServerResponse extends $tea.Model {
28472
28484
  }
28473
28485
  }
28474
28486
 
28487
+ export class ModifyTunnelAttributeRequest extends $tea.Model {
28488
+ clientToken?: string;
28489
+ ownerAccount?: string;
28490
+ ownerId?: number;
28491
+ regionId?: string;
28492
+ resourceOwnerAccount?: string;
28493
+ resourceOwnerId?: number;
28494
+ tunnelId?: string;
28495
+ tunnelOptionsSpecification?: ModifyTunnelAttributeRequestTunnelOptionsSpecification;
28496
+ vpnConnectionId?: string;
28497
+ static names(): { [key: string]: string } {
28498
+ return {
28499
+ clientToken: 'ClientToken',
28500
+ ownerAccount: 'OwnerAccount',
28501
+ ownerId: 'OwnerId',
28502
+ regionId: 'RegionId',
28503
+ resourceOwnerAccount: 'ResourceOwnerAccount',
28504
+ resourceOwnerId: 'ResourceOwnerId',
28505
+ tunnelId: 'TunnelId',
28506
+ tunnelOptionsSpecification: 'TunnelOptionsSpecification',
28507
+ vpnConnectionId: 'VpnConnectionId',
28508
+ };
28509
+ }
28510
+
28511
+ static types(): { [key: string]: any } {
28512
+ return {
28513
+ clientToken: 'string',
28514
+ ownerAccount: 'string',
28515
+ ownerId: 'number',
28516
+ regionId: 'string',
28517
+ resourceOwnerAccount: 'string',
28518
+ resourceOwnerId: 'number',
28519
+ tunnelId: 'string',
28520
+ tunnelOptionsSpecification: ModifyTunnelAttributeRequestTunnelOptionsSpecification,
28521
+ vpnConnectionId: 'string',
28522
+ };
28523
+ }
28524
+
28525
+ constructor(map?: { [key: string]: any }) {
28526
+ super(map);
28527
+ }
28528
+ }
28529
+
28530
+ export class ModifyTunnelAttributeResponseBody extends $tea.Model {
28531
+ customerGatewayId?: string;
28532
+ enableDpd?: boolean;
28533
+ enableNatTraversal?: boolean;
28534
+ internetIp?: string;
28535
+ remoteCaCertificate?: string;
28536
+ requestId?: string;
28537
+ role?: string;
28538
+ state?: string;
28539
+ tunnelBgpConfig?: ModifyTunnelAttributeResponseBodyTunnelBgpConfig;
28540
+ tunnelId?: string;
28541
+ tunnelIkeConfig?: ModifyTunnelAttributeResponseBodyTunnelIkeConfig;
28542
+ tunnelIpsecConfig?: ModifyTunnelAttributeResponseBodyTunnelIpsecConfig;
28543
+ zoneNo?: string;
28544
+ static names(): { [key: string]: string } {
28545
+ return {
28546
+ customerGatewayId: 'CustomerGatewayId',
28547
+ enableDpd: 'EnableDpd',
28548
+ enableNatTraversal: 'EnableNatTraversal',
28549
+ internetIp: 'InternetIp',
28550
+ remoteCaCertificate: 'RemoteCaCertificate',
28551
+ requestId: 'RequestId',
28552
+ role: 'Role',
28553
+ state: 'State',
28554
+ tunnelBgpConfig: 'TunnelBgpConfig',
28555
+ tunnelId: 'TunnelId',
28556
+ tunnelIkeConfig: 'TunnelIkeConfig',
28557
+ tunnelIpsecConfig: 'TunnelIpsecConfig',
28558
+ zoneNo: 'ZoneNo',
28559
+ };
28560
+ }
28561
+
28562
+ static types(): { [key: string]: any } {
28563
+ return {
28564
+ customerGatewayId: 'string',
28565
+ enableDpd: 'boolean',
28566
+ enableNatTraversal: 'boolean',
28567
+ internetIp: 'string',
28568
+ remoteCaCertificate: 'string',
28569
+ requestId: 'string',
28570
+ role: 'string',
28571
+ state: 'string',
28572
+ tunnelBgpConfig: ModifyTunnelAttributeResponseBodyTunnelBgpConfig,
28573
+ tunnelId: 'string',
28574
+ tunnelIkeConfig: ModifyTunnelAttributeResponseBodyTunnelIkeConfig,
28575
+ tunnelIpsecConfig: ModifyTunnelAttributeResponseBodyTunnelIpsecConfig,
28576
+ zoneNo: 'string',
28577
+ };
28578
+ }
28579
+
28580
+ constructor(map?: { [key: string]: any }) {
28581
+ super(map);
28582
+ }
28583
+ }
28584
+
28585
+ export class ModifyTunnelAttributeResponse extends $tea.Model {
28586
+ headers: { [key: string]: string };
28587
+ statusCode: number;
28588
+ body: ModifyTunnelAttributeResponseBody;
28589
+ static names(): { [key: string]: string } {
28590
+ return {
28591
+ headers: 'headers',
28592
+ statusCode: 'statusCode',
28593
+ body: 'body',
28594
+ };
28595
+ }
28596
+
28597
+ static types(): { [key: string]: any } {
28598
+ return {
28599
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
28600
+ statusCode: 'number',
28601
+ body: ModifyTunnelAttributeResponseBody,
28602
+ };
28603
+ }
28604
+
28605
+ constructor(map?: { [key: string]: any }) {
28606
+ super(map);
28607
+ }
28608
+ }
28609
+
28475
28610
  export class ModifyVRouterAttributeRequest extends $tea.Model {
28476
28611
  description?: string;
28477
28612
  ownerAccount?: string;
@@ -35813,6 +35948,7 @@ export class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesC
35813
35948
  export class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesCommonBandwidthPackage extends $tea.Model {
35814
35949
  bandwidth?: string;
35815
35950
  bandwidthPackageId?: string;
35951
+ bizType?: string;
35816
35952
  businessStatus?: string;
35817
35953
  creationTime?: string;
35818
35954
  deletionProtection?: boolean;
@@ -35835,10 +35971,12 @@ export class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesC
35835
35971
  serviceManaged?: number;
35836
35972
  status?: string;
35837
35973
  tags?: DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesCommonBandwidthPackageTags;
35974
+ zone?: string;
35838
35975
  static names(): { [key: string]: string } {
35839
35976
  return {
35840
35977
  bandwidth: 'Bandwidth',
35841
35978
  bandwidthPackageId: 'BandwidthPackageId',
35979
+ bizType: 'BizType',
35842
35980
  businessStatus: 'BusinessStatus',
35843
35981
  creationTime: 'CreationTime',
35844
35982
  deletionProtection: 'DeletionProtection',
@@ -35861,6 +35999,7 @@ export class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesC
35861
35999
  serviceManaged: 'ServiceManaged',
35862
36000
  status: 'Status',
35863
36001
  tags: 'Tags',
36002
+ zone: 'Zone',
35864
36003
  };
35865
36004
  }
35866
36005
 
@@ -35868,6 +36007,7 @@ export class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesC
35868
36007
  return {
35869
36008
  bandwidth: 'string',
35870
36009
  bandwidthPackageId: 'string',
36010
+ bizType: 'string',
35871
36011
  businessStatus: 'string',
35872
36012
  creationTime: 'string',
35873
36013
  deletionProtection: 'boolean',
@@ -35890,6 +36030,7 @@ export class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesC
35890
36030
  serviceManaged: 'number',
35891
36031
  status: 'string',
35892
36032
  tags: DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthPackagesCommonBandwidthPackageTags,
36033
+ zone: 'string',
35893
36034
  };
35894
36035
  }
35895
36036
 
@@ -36151,6 +36292,28 @@ export class DescribeEipAddressesRequestFilter extends $tea.Model {
36151
36292
  }
36152
36293
  }
36153
36294
 
36295
+ export class DescribeEipAddressesRequestTag extends $tea.Model {
36296
+ key?: string;
36297
+ value?: string;
36298
+ static names(): { [key: string]: string } {
36299
+ return {
36300
+ key: 'Key',
36301
+ value: 'Value',
36302
+ };
36303
+ }
36304
+
36305
+ static types(): { [key: string]: any } {
36306
+ return {
36307
+ key: 'string',
36308
+ value: 'string',
36309
+ };
36310
+ }
36311
+
36312
+ constructor(map?: { [key: string]: any }) {
36313
+ super(map);
36314
+ }
36315
+ }
36316
+
36154
36317
  export class DescribeEipAddressesResponseBodyEipAddressesEipAddressOperationLocksLockReason extends $tea.Model {
36155
36318
  lockReason?: string;
36156
36319
  static names(): { [key: string]: string } {
@@ -36256,6 +36419,7 @@ export class DescribeEipAddressesResponseBodyEipAddressesEipAddress extends $tea
36256
36419
  bandwidthPackageBandwidth?: string;
36257
36420
  bandwidthPackageId?: string;
36258
36421
  bandwidthPackageType?: string;
36422
+ bizType?: string;
36259
36423
  businessStatus?: string;
36260
36424
  chargeType?: string;
36261
36425
  deletionProtection?: boolean;
@@ -36296,6 +36460,7 @@ export class DescribeEipAddressesResponseBodyEipAddressesEipAddress extends $tea
36296
36460
  bandwidthPackageBandwidth: 'BandwidthPackageBandwidth',
36297
36461
  bandwidthPackageId: 'BandwidthPackageId',
36298
36462
  bandwidthPackageType: 'BandwidthPackageType',
36463
+ bizType: 'BizType',
36299
36464
  businessStatus: 'BusinessStatus',
36300
36465
  chargeType: 'ChargeType',
36301
36466
  deletionProtection: 'DeletionProtection',
@@ -36339,6 +36504,7 @@ export class DescribeEipAddressesResponseBodyEipAddressesEipAddress extends $tea
36339
36504
  bandwidthPackageBandwidth: 'string',
36340
36505
  bandwidthPackageId: 'string',
36341
36506
  bandwidthPackageType: 'string',
36507
+ bizType: 'string',
36342
36508
  businessStatus: 'string',
36343
36509
  chargeType: 'string',
36344
36510
  deletionProtection: 'boolean',
@@ -36740,6 +36906,7 @@ export class DescribeForwardTableEntriesResponseBodyForwardTableEntriesForwardTa
36740
36906
  internalIp?: string;
36741
36907
  internalPort?: string;
36742
36908
  ipProtocol?: string;
36909
+ natGatewayId?: string;
36743
36910
  status?: string;
36744
36911
  static names(): { [key: string]: string } {
36745
36912
  return {
@@ -36751,6 +36918,7 @@ export class DescribeForwardTableEntriesResponseBodyForwardTableEntriesForwardTa
36751
36918
  internalIp: 'InternalIp',
36752
36919
  internalPort: 'InternalPort',
36753
36920
  ipProtocol: 'IpProtocol',
36921
+ natGatewayId: 'NatGatewayId',
36754
36922
  status: 'Status',
36755
36923
  };
36756
36924
  }
@@ -36765,6 +36933,7 @@ export class DescribeForwardTableEntriesResponseBodyForwardTableEntriesForwardTa
36765
36933
  internalIp: 'string',
36766
36934
  internalPort: 'string',
36767
36935
  ipProtocol: 'string',
36936
+ natGatewayId: 'string',
36768
36937
  status: 'string',
36769
36938
  };
36770
36939
  }
@@ -38843,6 +39012,47 @@ export class DescribePhysicalConnectionsRequestTags extends $tea.Model {
38843
39012
  }
38844
39013
  }
38845
39014
 
39015
+ export class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTagsTags extends $tea.Model {
39016
+ key?: string;
39017
+ value?: string;
39018
+ static names(): { [key: string]: string } {
39019
+ return {
39020
+ key: 'Key',
39021
+ value: 'Value',
39022
+ };
39023
+ }
39024
+
39025
+ static types(): { [key: string]: any } {
39026
+ return {
39027
+ key: 'string',
39028
+ value: 'string',
39029
+ };
39030
+ }
39031
+
39032
+ constructor(map?: { [key: string]: any }) {
39033
+ super(map);
39034
+ }
39035
+ }
39036
+
39037
+ export class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTags extends $tea.Model {
39038
+ tags?: DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTagsTags[];
39039
+ static names(): { [key: string]: string } {
39040
+ return {
39041
+ tags: 'tags',
39042
+ };
39043
+ }
39044
+
39045
+ static types(): { [key: string]: any } {
39046
+ return {
39047
+ tags: { 'type': 'array', 'itemType': DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTagsTags },
39048
+ };
39049
+ }
39050
+
39051
+ constructor(map?: { [key: string]: any }) {
39052
+ super(map);
39053
+ }
39054
+ }
39055
+
38846
39056
  export class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionType extends $tea.Model {
38847
39057
  accessPointId?: string;
38848
39058
  accessPointType?: string;
@@ -38876,6 +39086,7 @@ export class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysica
38876
39086
  resourceGroupId?: string;
38877
39087
  spec?: string;
38878
39088
  status?: string;
39089
+ tags?: DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTags;
38879
39090
  type?: string;
38880
39091
  virtualPhysicalConnectionCount?: number;
38881
39092
  vlanId?: string;
@@ -38914,6 +39125,7 @@ export class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysica
38914
39125
  resourceGroupId: 'ResourceGroupId',
38915
39126
  spec: 'Spec',
38916
39127
  status: 'Status',
39128
+ tags: 'Tags',
38917
39129
  type: 'Type',
38918
39130
  virtualPhysicalConnectionCount: 'VirtualPhysicalConnectionCount',
38919
39131
  vlanId: 'VlanId',
@@ -38955,6 +39167,7 @@ export class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysica
38955
39167
  resourceGroupId: 'string',
38956
39168
  spec: 'string',
38957
39169
  status: 'string',
39170
+ tags: DescribePhysicalConnectionsResponseBodyPhysicalConnectionSetPhysicalConnectionTypeTags,
38958
39171
  type: 'string',
38959
39172
  virtualPhysicalConnectionCount: 'number',
38960
39173
  vlanId: 'string',
@@ -39873,6 +40086,7 @@ export class DescribeServerRelatedGlobalAccelerationInstancesResponseBodyGlobalA
39873
40086
  }
39874
40087
 
39875
40088
  export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry extends $tea.Model {
40089
+ natGatewayId?: string;
39876
40090
  snatEntryId?: string;
39877
40091
  snatEntryName?: string;
39878
40092
  snatIp?: string;
@@ -39882,6 +40096,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
39882
40096
  status?: string;
39883
40097
  static names(): { [key: string]: string } {
39884
40098
  return {
40099
+ natGatewayId: 'NatGatewayId',
39885
40100
  snatEntryId: 'SnatEntryId',
39886
40101
  snatEntryName: 'SnatEntryName',
39887
40102
  snatIp: 'SnatIp',
@@ -39894,6 +40109,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
39894
40109
 
39895
40110
  static types(): { [key: string]: any } {
39896
40111
  return {
40112
+ natGatewayId: 'string',
39897
40113
  snatEntryId: 'string',
39898
40114
  snatEntryName: 'string',
39899
40115
  snatIp: 'string',
@@ -44519,6 +44735,7 @@ export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolListTags ext
44519
44735
  }
44520
44736
 
44521
44737
  export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends $tea.Model {
44738
+ bizType?: string;
44522
44739
  creationTime?: string;
44523
44740
  description?: string;
44524
44741
  ipAddressRemaining?: boolean;
@@ -44534,8 +44751,10 @@ export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends
44534
44751
  totalIpNum?: number;
44535
44752
  usedIpNum?: number;
44536
44753
  userType?: boolean;
44754
+ zones?: string[];
44537
44755
  static names(): { [key: string]: string } {
44538
44756
  return {
44757
+ bizType: 'BizType',
44539
44758
  creationTime: 'CreationTime',
44540
44759
  description: 'Description',
44541
44760
  ipAddressRemaining: 'IpAddressRemaining',
@@ -44551,11 +44770,13 @@ export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends
44551
44770
  totalIpNum: 'TotalIpNum',
44552
44771
  usedIpNum: 'UsedIpNum',
44553
44772
  userType: 'UserType',
44773
+ zones: 'Zones',
44554
44774
  };
44555
44775
  }
44556
44776
 
44557
44777
  static types(): { [key: string]: any } {
44558
44778
  return {
44779
+ bizType: 'string',
44559
44780
  creationTime: 'string',
44560
44781
  description: 'string',
44561
44782
  ipAddressRemaining: 'boolean',
@@ -44571,6 +44792,7 @@ export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends
44571
44792
  totalIpNum: 'number',
44572
44793
  usedIpNum: 'number',
44573
44794
  userType: 'boolean',
44795
+ zones: { 'type': 'array', 'itemType': 'string' },
44574
44796
  };
44575
44797
  }
44576
44798
 
@@ -45026,6 +45248,28 @@ export class ListVirtualPhysicalConnectionsRequestTags extends $tea.Model {
45026
45248
  }
45027
45249
  }
45028
45250
 
45251
+ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnectionsTags extends $tea.Model {
45252
+ key?: string;
45253
+ value?: string;
45254
+ static names(): { [key: string]: string } {
45255
+ return {
45256
+ key: 'Key',
45257
+ value: 'Value',
45258
+ };
45259
+ }
45260
+
45261
+ static types(): { [key: string]: any } {
45262
+ return {
45263
+ key: 'string',
45264
+ value: 'string',
45265
+ };
45266
+ }
45267
+
45268
+ constructor(map?: { [key: string]: any }) {
45269
+ super(map);
45270
+ }
45271
+ }
45272
+
45029
45273
  export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnections extends $tea.Model {
45030
45274
  accessPointId?: string;
45031
45275
  adLocation?: string;
@@ -45054,6 +45298,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
45054
45298
  resourceGroupId?: string;
45055
45299
  spec?: string;
45056
45300
  status?: string;
45301
+ tags?: ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnectionsTags[];
45057
45302
  type?: string;
45058
45303
  virtualPhysicalConnectionStatus?: string;
45059
45304
  vlanId?: string;
@@ -45086,6 +45331,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
45086
45331
  resourceGroupId: 'ResourceGroupId',
45087
45332
  spec: 'Spec',
45088
45333
  status: 'Status',
45334
+ tags: 'Tags',
45089
45335
  type: 'Type',
45090
45336
  virtualPhysicalConnectionStatus: 'VirtualPhysicalConnectionStatus',
45091
45337
  vlanId: 'VlanId',
@@ -45121,6 +45367,7 @@ export class ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnection
45121
45367
  resourceGroupId: 'string',
45122
45368
  spec: 'string',
45123
45369
  status: 'string',
45370
+ tags: { 'type': 'array', 'itemType': ListVirtualPhysicalConnectionsResponseBodyVirtualPhysicalConnectionsTags },
45124
45371
  type: 'string',
45125
45372
  virtualPhysicalConnectionStatus: 'string',
45126
45373
  vlanId: 'string',
@@ -45287,6 +45534,241 @@ export class ListVpnCertificateAssociationsResponseBodyVpnCertificateRelations e
45287
45534
  }
45288
45535
  }
45289
45536
 
45537
+ export class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
45538
+ localAsn?: number;
45539
+ localBgpIp?: string;
45540
+ tunnelCidr?: string;
45541
+ static names(): { [key: string]: string } {
45542
+ return {
45543
+ localAsn: 'LocalAsn',
45544
+ localBgpIp: 'LocalBgpIp',
45545
+ tunnelCidr: 'TunnelCidr',
45546
+ };
45547
+ }
45548
+
45549
+ static types(): { [key: string]: any } {
45550
+ return {
45551
+ localAsn: 'number',
45552
+ localBgpIp: 'string',
45553
+ tunnelCidr: 'string',
45554
+ };
45555
+ }
45556
+
45557
+ constructor(map?: { [key: string]: any }) {
45558
+ super(map);
45559
+ }
45560
+ }
45561
+
45562
+ export class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
45563
+ ikeAuthAlg?: string;
45564
+ ikeEncAlg?: string;
45565
+ ikeLifetime?: number;
45566
+ ikeMode?: string;
45567
+ ikePfs?: string;
45568
+ ikeVersion?: string;
45569
+ localId?: string;
45570
+ psk?: string;
45571
+ remoteId?: string;
45572
+ static names(): { [key: string]: string } {
45573
+ return {
45574
+ ikeAuthAlg: 'IkeAuthAlg',
45575
+ ikeEncAlg: 'IkeEncAlg',
45576
+ ikeLifetime: 'IkeLifetime',
45577
+ ikeMode: 'IkeMode',
45578
+ ikePfs: 'IkePfs',
45579
+ ikeVersion: 'IkeVersion',
45580
+ localId: 'LocalId',
45581
+ psk: 'Psk',
45582
+ remoteId: 'RemoteId',
45583
+ };
45584
+ }
45585
+
45586
+ static types(): { [key: string]: any } {
45587
+ return {
45588
+ ikeAuthAlg: 'string',
45589
+ ikeEncAlg: 'string',
45590
+ ikeLifetime: 'number',
45591
+ ikeMode: 'string',
45592
+ ikePfs: 'string',
45593
+ ikeVersion: 'string',
45594
+ localId: 'string',
45595
+ psk: 'string',
45596
+ remoteId: 'string',
45597
+ };
45598
+ }
45599
+
45600
+ constructor(map?: { [key: string]: any }) {
45601
+ super(map);
45602
+ }
45603
+ }
45604
+
45605
+ export class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
45606
+ ipsecAuthAlg?: string;
45607
+ ipsecEncAlg?: string;
45608
+ ipsecLifetime?: number;
45609
+ ipsecPfs?: string;
45610
+ static names(): { [key: string]: string } {
45611
+ return {
45612
+ ipsecAuthAlg: 'IpsecAuthAlg',
45613
+ ipsecEncAlg: 'IpsecEncAlg',
45614
+ ipsecLifetime: 'IpsecLifetime',
45615
+ ipsecPfs: 'IpsecPfs',
45616
+ };
45617
+ }
45618
+
45619
+ static types(): { [key: string]: any } {
45620
+ return {
45621
+ ipsecAuthAlg: 'string',
45622
+ ipsecEncAlg: 'string',
45623
+ ipsecLifetime: 'number',
45624
+ ipsecPfs: 'string',
45625
+ };
45626
+ }
45627
+
45628
+ constructor(map?: { [key: string]: any }) {
45629
+ super(map);
45630
+ }
45631
+ }
45632
+
45633
+ export class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea.Model {
45634
+ enableDpd?: boolean;
45635
+ enableNatTraversal?: boolean;
45636
+ remoteCaCertificate?: string;
45637
+ tunnelBgpConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
45638
+ tunnelIkeConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig;
45639
+ tunnelIpsecConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
45640
+ static names(): { [key: string]: string } {
45641
+ return {
45642
+ enableDpd: 'EnableDpd',
45643
+ enableNatTraversal: 'EnableNatTraversal',
45644
+ remoteCaCertificate: 'RemoteCaCertificate',
45645
+ tunnelBgpConfig: 'TunnelBgpConfig',
45646
+ tunnelIkeConfig: 'TunnelIkeConfig',
45647
+ tunnelIpsecConfig: 'TunnelIpsecConfig',
45648
+ };
45649
+ }
45650
+
45651
+ static types(): { [key: string]: any } {
45652
+ return {
45653
+ enableDpd: 'boolean',
45654
+ enableNatTraversal: 'boolean',
45655
+ remoteCaCertificate: 'string',
45656
+ tunnelBgpConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig,
45657
+ tunnelIkeConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig,
45658
+ tunnelIpsecConfig: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig,
45659
+ };
45660
+ }
45661
+
45662
+ constructor(map?: { [key: string]: any }) {
45663
+ super(map);
45664
+ }
45665
+ }
45666
+
45667
+ export class ModifyTunnelAttributeResponseBodyTunnelBgpConfig extends $tea.Model {
45668
+ enableBgp?: boolean;
45669
+ localAsn?: number;
45670
+ localBgpIp?: string;
45671
+ peerAsn?: number;
45672
+ peerBgpIp?: string;
45673
+ tunnelCidr?: string;
45674
+ static names(): { [key: string]: string } {
45675
+ return {
45676
+ enableBgp: 'EnableBgp',
45677
+ localAsn: 'LocalAsn',
45678
+ localBgpIp: 'LocalBgpIp',
45679
+ peerAsn: 'PeerAsn',
45680
+ peerBgpIp: 'PeerBgpIp',
45681
+ tunnelCidr: 'TunnelCidr',
45682
+ };
45683
+ }
45684
+
45685
+ static types(): { [key: string]: any } {
45686
+ return {
45687
+ enableBgp: 'boolean',
45688
+ localAsn: 'number',
45689
+ localBgpIp: 'string',
45690
+ peerAsn: 'number',
45691
+ peerBgpIp: 'string',
45692
+ tunnelCidr: 'string',
45693
+ };
45694
+ }
45695
+
45696
+ constructor(map?: { [key: string]: any }) {
45697
+ super(map);
45698
+ }
45699
+ }
45700
+
45701
+ export class ModifyTunnelAttributeResponseBodyTunnelIkeConfig extends $tea.Model {
45702
+ ikeAuthAlg?: string;
45703
+ ikeEncAlg?: string;
45704
+ ikeLifetime?: number;
45705
+ ikeMode?: string;
45706
+ ikePfs?: string;
45707
+ ikeVersion?: string;
45708
+ localId?: string;
45709
+ psk?: string;
45710
+ remoteId?: string;
45711
+ static names(): { [key: string]: string } {
45712
+ return {
45713
+ ikeAuthAlg: 'IkeAuthAlg',
45714
+ ikeEncAlg: 'IkeEncAlg',
45715
+ ikeLifetime: 'IkeLifetime',
45716
+ ikeMode: 'IkeMode',
45717
+ ikePfs: 'IkePfs',
45718
+ ikeVersion: 'IkeVersion',
45719
+ localId: 'LocalId',
45720
+ psk: 'Psk',
45721
+ remoteId: 'RemoteId',
45722
+ };
45723
+ }
45724
+
45725
+ static types(): { [key: string]: any } {
45726
+ return {
45727
+ ikeAuthAlg: 'string',
45728
+ ikeEncAlg: 'string',
45729
+ ikeLifetime: 'number',
45730
+ ikeMode: 'string',
45731
+ ikePfs: 'string',
45732
+ ikeVersion: 'string',
45733
+ localId: 'string',
45734
+ psk: 'string',
45735
+ remoteId: 'string',
45736
+ };
45737
+ }
45738
+
45739
+ constructor(map?: { [key: string]: any }) {
45740
+ super(map);
45741
+ }
45742
+ }
45743
+
45744
+ export class ModifyTunnelAttributeResponseBodyTunnelIpsecConfig extends $tea.Model {
45745
+ ipsecAuthAlg?: string;
45746
+ ipsecEncAlg?: string;
45747
+ ipsecLifetime?: number;
45748
+ ipsecPfs?: string;
45749
+ static names(): { [key: string]: string } {
45750
+ return {
45751
+ ipsecAuthAlg: 'IpsecAuthAlg',
45752
+ ipsecEncAlg: 'IpsecEncAlg',
45753
+ ipsecLifetime: 'IpsecLifetime',
45754
+ ipsecPfs: 'IpsecPfs',
45755
+ };
45756
+ }
45757
+
45758
+ static types(): { [key: string]: any } {
45759
+ return {
45760
+ ipsecAuthAlg: 'string',
45761
+ ipsecEncAlg: 'string',
45762
+ ipsecLifetime: 'number',
45763
+ ipsecPfs: 'string',
45764
+ };
45765
+ }
45766
+
45767
+ constructor(map?: { [key: string]: any }) {
45768
+ super(map);
45769
+ }
45770
+ }
45771
+
45290
45772
  export class ModifyVpcPrefixListRequestAddPrefixListEntry extends $tea.Model {
45291
45773
  cidr?: string;
45292
45774
  description?: string;
@@ -51607,6 +52089,10 @@ export default class Client extends OpenApi {
51607
52089
  async createPublicIpAddressPoolWithOptions(request: CreatePublicIpAddressPoolRequest, runtime: $Util.RuntimeOptions): Promise<CreatePublicIpAddressPoolResponse> {
51608
52090
  Util.validateModel(request);
51609
52091
  let query = { };
52092
+ if (!Util.isUnset(request.bizType)) {
52093
+ query["BizType"] = request.bizType;
52094
+ }
52095
+
51610
52096
  if (!Util.isUnset(request.clientToken)) {
51611
52097
  query["ClientToken"] = request.clientToken;
51612
52098
  }
@@ -51655,6 +52141,10 @@ export default class Client extends OpenApi {
51655
52141
  query["Tag"] = request.tag;
51656
52142
  }
51657
52143
 
52144
+ if (!Util.isUnset(request.zones)) {
52145
+ query["Zones"] = request.zones;
52146
+ }
52147
+
51658
52148
  let req = new $OpenApi.OpenApiRequest({
51659
52149
  query: OpenApiUtil.query(query),
51660
52150
  });
@@ -58439,6 +58929,10 @@ export default class Client extends OpenApi {
58439
58929
  query["Status"] = request.status;
58440
58930
  }
58441
58931
 
58932
+ if (!Util.isUnset(request.tag)) {
58933
+ query["Tag"] = request.tag;
58934
+ }
58935
+
58442
58936
  if (!Util.isUnset(request.filter)) {
58443
58937
  query["Filter"] = request.filter;
58444
58938
  }
@@ -63078,6 +63572,10 @@ export default class Client extends OpenApi {
63078
63572
  async enablePhysicalConnectionWithOptions(request: EnablePhysicalConnectionRequest, runtime: $Util.RuntimeOptions): Promise<EnablePhysicalConnectionResponse> {
63079
63573
  Util.validateModel(request);
63080
63574
  let query = { };
63575
+ if (!Util.isUnset(request.byPassSp)) {
63576
+ query["ByPassSp"] = request.byPassSp;
63577
+ }
63578
+
63081
63579
  if (!Util.isUnset(request.clientToken)) {
63082
63580
  query["ClientToken"] = request.clientToken;
63083
63581
  }
@@ -68406,6 +68904,67 @@ export default class Client extends OpenApi {
68406
68904
  return await this.modifySslVpnServerWithOptions(request, runtime);
68407
68905
  }
68408
68906
 
68907
+ async modifyTunnelAttributeWithOptions(request: ModifyTunnelAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTunnelAttributeResponse> {
68908
+ Util.validateModel(request);
68909
+ let query = { };
68910
+ if (!Util.isUnset(request.clientToken)) {
68911
+ query["ClientToken"] = request.clientToken;
68912
+ }
68913
+
68914
+ if (!Util.isUnset(request.ownerAccount)) {
68915
+ query["OwnerAccount"] = request.ownerAccount;
68916
+ }
68917
+
68918
+ if (!Util.isUnset(request.ownerId)) {
68919
+ query["OwnerId"] = request.ownerId;
68920
+ }
68921
+
68922
+ if (!Util.isUnset(request.regionId)) {
68923
+ query["RegionId"] = request.regionId;
68924
+ }
68925
+
68926
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
68927
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
68928
+ }
68929
+
68930
+ if (!Util.isUnset(request.resourceOwnerId)) {
68931
+ query["ResourceOwnerId"] = request.resourceOwnerId;
68932
+ }
68933
+
68934
+ if (!Util.isUnset(request.tunnelId)) {
68935
+ query["TunnelId"] = request.tunnelId;
68936
+ }
68937
+
68938
+ if (!Util.isUnset(request.tunnelOptionsSpecification)) {
68939
+ query["TunnelOptionsSpecification"] = request.tunnelOptionsSpecification;
68940
+ }
68941
+
68942
+ if (!Util.isUnset(request.vpnConnectionId)) {
68943
+ query["VpnConnectionId"] = request.vpnConnectionId;
68944
+ }
68945
+
68946
+ let req = new $OpenApi.OpenApiRequest({
68947
+ query: OpenApiUtil.query(query),
68948
+ });
68949
+ let params = new $OpenApi.Params({
68950
+ action: "ModifyTunnelAttribute",
68951
+ version: "2016-04-28",
68952
+ protocol: "HTTPS",
68953
+ pathname: "/",
68954
+ method: "POST",
68955
+ authType: "AK",
68956
+ style: "RPC",
68957
+ reqBodyType: "formData",
68958
+ bodyType: "json",
68959
+ });
68960
+ return $tea.cast<ModifyTunnelAttributeResponse>(await this.callApi(params, req, runtime), new ModifyTunnelAttributeResponse({}));
68961
+ }
68962
+
68963
+ async modifyTunnelAttribute(request: ModifyTunnelAttributeRequest): Promise<ModifyTunnelAttributeResponse> {
68964
+ let runtime = new $Util.RuntimeOptions({ });
68965
+ return await this.modifyTunnelAttributeWithOptions(request, runtime);
68966
+ }
68967
+
68409
68968
  /**
68410
68969
  * You cannot repeatedly call the **ModifyVRouterAttribute** operation to modify the name and description of a vRouter within the specified period of time.
68411
68970
  *