@alicloud/vpc20160428 6.1.2 → 6.2.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
@@ -10875,6 +10875,54 @@ export declare class DescribeVpnGatewayResponse extends $tea.Model {
10875
10875
  [key: string]: any;
10876
10876
  });
10877
10877
  }
10878
+ export declare class DescribeVpnGatewayAvailableZonesRequest extends $tea.Model {
10879
+ acceptLanguage?: string;
10880
+ ownerAccount?: string;
10881
+ ownerId?: number;
10882
+ regionId?: string;
10883
+ resourceOwnerAccount?: string;
10884
+ resourceOwnerId?: number;
10885
+ spec?: string;
10886
+ static names(): {
10887
+ [key: string]: string;
10888
+ };
10889
+ static types(): {
10890
+ [key: string]: any;
10891
+ };
10892
+ constructor(map?: {
10893
+ [key: string]: any;
10894
+ });
10895
+ }
10896
+ export declare class DescribeVpnGatewayAvailableZonesResponseBody extends $tea.Model {
10897
+ availableZoneIdList?: DescribeVpnGatewayAvailableZonesResponseBodyAvailableZoneIdList[];
10898
+ regionId?: string;
10899
+ requestId?: string;
10900
+ static names(): {
10901
+ [key: string]: string;
10902
+ };
10903
+ static types(): {
10904
+ [key: string]: any;
10905
+ };
10906
+ constructor(map?: {
10907
+ [key: string]: any;
10908
+ });
10909
+ }
10910
+ export declare class DescribeVpnGatewayAvailableZonesResponse extends $tea.Model {
10911
+ headers: {
10912
+ [key: string]: string;
10913
+ };
10914
+ statusCode: number;
10915
+ body: DescribeVpnGatewayAvailableZonesResponseBody;
10916
+ static names(): {
10917
+ [key: string]: string;
10918
+ };
10919
+ static types(): {
10920
+ [key: string]: any;
10921
+ };
10922
+ constructor(map?: {
10923
+ [key: string]: any;
10924
+ });
10925
+ }
10878
10926
  export declare class DescribeVpnGatewaysRequest extends $tea.Model {
10879
10927
  businessStatus?: string;
10880
10928
  includeReservationData?: boolean;
@@ -11186,6 +11234,56 @@ export declare class DetachDhcpOptionsSetFromVpcResponse extends $tea.Model {
11186
11234
  [key: string]: any;
11187
11235
  });
11188
11236
  }
11237
+ export declare class DiagnoseVpnConnectionsRequest extends $tea.Model {
11238
+ pageNumber?: number;
11239
+ pageSize?: number;
11240
+ regionId?: string;
11241
+ resourceOwnerId?: number;
11242
+ tunnelIds?: string[];
11243
+ vpnConnectionIds?: string[];
11244
+ vpnGatewayId?: string;
11245
+ static names(): {
11246
+ [key: string]: string;
11247
+ };
11248
+ static types(): {
11249
+ [key: string]: any;
11250
+ };
11251
+ constructor(map?: {
11252
+ [key: string]: any;
11253
+ });
11254
+ }
11255
+ export declare class DiagnoseVpnConnectionsResponseBody extends $tea.Model {
11256
+ pageNumber?: number;
11257
+ pageSize?: number;
11258
+ requestId?: string;
11259
+ totalCount?: number;
11260
+ vpnConnections?: DiagnoseVpnConnectionsResponseBodyVpnConnections[];
11261
+ static names(): {
11262
+ [key: string]: string;
11263
+ };
11264
+ static types(): {
11265
+ [key: string]: any;
11266
+ };
11267
+ constructor(map?: {
11268
+ [key: string]: any;
11269
+ });
11270
+ }
11271
+ export declare class DiagnoseVpnConnectionsResponse extends $tea.Model {
11272
+ headers: {
11273
+ [key: string]: string;
11274
+ };
11275
+ statusCode: number;
11276
+ body: DiagnoseVpnConnectionsResponseBody;
11277
+ static names(): {
11278
+ [key: string]: string;
11279
+ };
11280
+ static types(): {
11281
+ [key: string]: any;
11282
+ };
11283
+ constructor(map?: {
11284
+ [key: string]: any;
11285
+ });
11286
+ }
11189
11287
  export declare class DiagnoseVpnGatewayRequest extends $tea.Model {
11190
11288
  clientToken?: string;
11191
11289
  IPsecExtendInfo?: string;
@@ -20047,9 +20145,11 @@ export declare class DescribeEipAddressesResponseBodyEipAddressesEipAddress exte
20047
20145
  instanceType?: string;
20048
20146
  internetChargeType?: string;
20049
20147
  ipAddress?: string;
20148
+ mode?: string;
20050
20149
  name?: string;
20051
20150
  netmode?: string;
20052
20151
  operationLocks?: DescribeEipAddressesResponseBodyEipAddressesEipAddressOperationLocks;
20152
+ privateIpAddress?: string;
20053
20153
  publicIpAddressPoolId?: string;
20054
20154
  regionId?: string;
20055
20155
  reservationActiveTime?: string;
@@ -23526,6 +23626,19 @@ export declare class DescribeVpnGatewayResponseBodyTags extends $tea.Model {
23526
23626
  [key: string]: any;
23527
23627
  });
23528
23628
  }
23629
+ export declare class DescribeVpnGatewayAvailableZonesResponseBodyAvailableZoneIdList extends $tea.Model {
23630
+ zoneId?: string;
23631
+ zoneName?: string;
23632
+ static names(): {
23633
+ [key: string]: string;
23634
+ };
23635
+ static types(): {
23636
+ [key: string]: any;
23637
+ };
23638
+ constructor(map?: {
23639
+ [key: string]: any;
23640
+ });
23641
+ }
23529
23642
  export declare class DescribeVpnGatewaysRequestTag extends $tea.Model {
23530
23643
  key?: string;
23531
23644
  value?: string;
@@ -23735,6 +23848,26 @@ export declare class DescribeZonesResponseBodyZones extends $tea.Model {
23735
23848
  [key: string]: any;
23736
23849
  });
23737
23850
  }
23851
+ export declare class DiagnoseVpnConnectionsResponseBodyVpnConnections extends $tea.Model {
23852
+ failedReason?: string;
23853
+ failedReasonCode?: string;
23854
+ failedTime?: number;
23855
+ mismatchLocalParam?: string;
23856
+ mismatchRemoteParam?: string;
23857
+ severity?: string;
23858
+ sourceLog?: string;
23859
+ tunnelId?: string;
23860
+ vpnConnectionId?: string;
23861
+ static names(): {
23862
+ [key: string]: string;
23863
+ };
23864
+ static types(): {
23865
+ [key: string]: any;
23866
+ };
23867
+ constructor(map?: {
23868
+ [key: string]: any;
23869
+ });
23870
+ }
23738
23871
  export declare class DownloadVpnConnectionConfigResponseBodyVpnConnectionConfigIkeConfig extends $tea.Model {
23739
23872
  ikeAuthAlg?: string;
23740
23873
  ikeEncAlg?: string;
@@ -24438,6 +24571,7 @@ export declare class ListPrefixListsResponseBodyPrefixLists extends $tea.Model {
24438
24571
  prefixListId?: string;
24439
24572
  prefixListName?: string;
24440
24573
  prefixListStatus?: string;
24574
+ prefixListType?: string;
24441
24575
  regionId?: string;
24442
24576
  resourceGroupId?: string;
24443
24577
  shareType?: string;
@@ -24675,6 +24809,7 @@ export declare class ListTrafficMirrorFiltersResponseBodyTrafficMirrorFiltersTag
24675
24809
  });
24676
24810
  }
24677
24811
  export declare class ListTrafficMirrorFiltersResponseBodyTrafficMirrorFilters extends $tea.Model {
24812
+ creationTime?: string;
24678
24813
  egressRules?: ListTrafficMirrorFiltersResponseBodyTrafficMirrorFiltersEgressRules[];
24679
24814
  ingressRules?: ListTrafficMirrorFiltersResponseBodyTrafficMirrorFiltersIngressRules[];
24680
24815
  resourceGroupId?: string;
@@ -24720,6 +24855,7 @@ export declare class ListTrafficMirrorSessionsResponseBodyTrafficMirrorSessionsT
24720
24855
  });
24721
24856
  }
24722
24857
  export declare class ListTrafficMirrorSessionsResponseBodyTrafficMirrorSessions extends $tea.Model {
24858
+ creationTime?: string;
24723
24859
  enabled?: boolean;
24724
24860
  packetLength?: number;
24725
24861
  priority?: number;
@@ -26735,10 +26871,10 @@ export default class Client extends OpenApi {
26735
26871
  */
26736
26872
  createRouterInterface(request: CreateRouterInterfaceRequest): Promise<CreateRouterInterfaceResponse>;
26737
26873
  /**
26738
- * You can call this operation to add SNAT entries to Internet NAT gateways and Virtual Private Cloud (VPC) NAT gateways. In this topic, a **NAT gateway** refers to both gateway types.
26874
+ * You can call this operation to add SNAT entries to Internet NAT gateways and Virtual Private Cloud (VPC) NAT gateways. In this topic, a **NAT** gateway refers to both gateway types.
26739
26875
  * Before you call this operation, take note of the following limits:
26740
26876
  * * **CreateSnatEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeSnatTableEntries](~~42677~~) operation to query the status of the task.
26741
- * * If the SNAT entry is in the **Pending** state, the system is adding the SNAT entry. You can only query the status of the SNAT entry, but cannot perform other operations.
26877
+ * * If the SNAT entry is in the **Pending** state, the system is adding the SNAT entry. You can only query the status of the SNAT entry, and cannot perform other operations.
26742
26878
  * * If the SNAT entry is in the **Available** state, the SNAT entry is added.
26743
26879
  * * You cannot repeatedly call the **CreateSnatEntry** operation to add an SNAT entry to an SNAT table within the specified period of time.
26744
26880
  * * The vSwitch and Elastic Compute Service (ECS) instance specified in an SNAT entry must be created in the VPC where the NAT gateway is deployed.
@@ -26751,10 +26887,10 @@ export default class Client extends OpenApi {
26751
26887
  */
26752
26888
  createSnatEntryWithOptions(request: CreateSnatEntryRequest, runtime: $Util.RuntimeOptions): Promise<CreateSnatEntryResponse>;
26753
26889
  /**
26754
- * You can call this operation to add SNAT entries to Internet NAT gateways and Virtual Private Cloud (VPC) NAT gateways. In this topic, a **NAT gateway** refers to both gateway types.
26890
+ * You can call this operation to add SNAT entries to Internet NAT gateways and Virtual Private Cloud (VPC) NAT gateways. In this topic, a **NAT** gateway refers to both gateway types.
26755
26891
  * Before you call this operation, take note of the following limits:
26756
26892
  * * **CreateSnatEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeSnatTableEntries](~~42677~~) operation to query the status of the task.
26757
- * * If the SNAT entry is in the **Pending** state, the system is adding the SNAT entry. You can only query the status of the SNAT entry, but cannot perform other operations.
26893
+ * * If the SNAT entry is in the **Pending** state, the system is adding the SNAT entry. You can only query the status of the SNAT entry, and cannot perform other operations.
26758
26894
  * * If the SNAT entry is in the **Available** state, the SNAT entry is added.
26759
26895
  * * You cannot repeatedly call the **CreateSnatEntry** operation to add an SNAT entry to an SNAT table within the specified period of time.
26760
26896
  * * The vSwitch and Elastic Compute Service (ECS) instance specified in an SNAT entry must be created in the VPC where the NAT gateway is deployed.
@@ -28423,6 +28559,8 @@ export default class Client extends OpenApi {
28423
28559
  describeVpnCrossAccountAuthorizations(request: DescribeVpnCrossAccountAuthorizationsRequest): Promise<DescribeVpnCrossAccountAuthorizationsResponse>;
28424
28560
  describeVpnGatewayWithOptions(request: DescribeVpnGatewayRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVpnGatewayResponse>;
28425
28561
  describeVpnGateway(request: DescribeVpnGatewayRequest): Promise<DescribeVpnGatewayResponse>;
28562
+ describeVpnGatewayAvailableZonesWithOptions(request: DescribeVpnGatewayAvailableZonesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVpnGatewayAvailableZonesResponse>;
28563
+ describeVpnGatewayAvailableZones(request: DescribeVpnGatewayAvailableZonesRequest): Promise<DescribeVpnGatewayAvailableZonesResponse>;
28426
28564
  describeVpnGatewaysWithOptions(request: DescribeVpnGatewaysRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVpnGatewaysResponse>;
28427
28565
  describeVpnGateways(request: DescribeVpnGatewaysRequest): Promise<DescribeVpnGatewaysResponse>;
28428
28566
  describeVpnPbrRouteEntriesWithOptions(request: DescribeVpnPbrRouteEntriesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVpnPbrRouteEntriesResponse>;
@@ -28456,6 +28594,8 @@ export default class Client extends OpenApi {
28456
28594
  * @return DetachDhcpOptionsSetFromVpcResponse
28457
28595
  */
28458
28596
  detachDhcpOptionsSetFromVpc(request: DetachDhcpOptionsSetFromVpcRequest): Promise<DetachDhcpOptionsSetFromVpcResponse>;
28597
+ diagnoseVpnConnectionsWithOptions(request: DiagnoseVpnConnectionsRequest, runtime: $Util.RuntimeOptions): Promise<DiagnoseVpnConnectionsResponse>;
28598
+ diagnoseVpnConnections(request: DiagnoseVpnConnectionsRequest): Promise<DiagnoseVpnConnectionsResponse>;
28459
28599
  /**
28460
28600
  * Only VPN gateways in specific regions support the quick diagnostics feature. For more information about the supported regions, see [Supported regions](~~430697~~).
28461
28601
  *
package/dist/client.js CHANGED
@@ -15909,6 +15909,74 @@ class DescribeVpnGatewayResponse extends $tea.Model {
15909
15909
  }
15910
15910
  }
15911
15911
  exports.DescribeVpnGatewayResponse = DescribeVpnGatewayResponse;
15912
+ class DescribeVpnGatewayAvailableZonesRequest extends $tea.Model {
15913
+ constructor(map) {
15914
+ super(map);
15915
+ }
15916
+ static names() {
15917
+ return {
15918
+ acceptLanguage: 'AcceptLanguage',
15919
+ ownerAccount: 'OwnerAccount',
15920
+ ownerId: 'OwnerId',
15921
+ regionId: 'RegionId',
15922
+ resourceOwnerAccount: 'ResourceOwnerAccount',
15923
+ resourceOwnerId: 'ResourceOwnerId',
15924
+ spec: 'Spec',
15925
+ };
15926
+ }
15927
+ static types() {
15928
+ return {
15929
+ acceptLanguage: 'string',
15930
+ ownerAccount: 'string',
15931
+ ownerId: 'number',
15932
+ regionId: 'string',
15933
+ resourceOwnerAccount: 'string',
15934
+ resourceOwnerId: 'number',
15935
+ spec: 'string',
15936
+ };
15937
+ }
15938
+ }
15939
+ exports.DescribeVpnGatewayAvailableZonesRequest = DescribeVpnGatewayAvailableZonesRequest;
15940
+ class DescribeVpnGatewayAvailableZonesResponseBody extends $tea.Model {
15941
+ constructor(map) {
15942
+ super(map);
15943
+ }
15944
+ static names() {
15945
+ return {
15946
+ availableZoneIdList: 'AvailableZoneIdList',
15947
+ regionId: 'RegionId',
15948
+ requestId: 'RequestId',
15949
+ };
15950
+ }
15951
+ static types() {
15952
+ return {
15953
+ availableZoneIdList: { 'type': 'array', 'itemType': DescribeVpnGatewayAvailableZonesResponseBodyAvailableZoneIdList },
15954
+ regionId: 'string',
15955
+ requestId: 'string',
15956
+ };
15957
+ }
15958
+ }
15959
+ exports.DescribeVpnGatewayAvailableZonesResponseBody = DescribeVpnGatewayAvailableZonesResponseBody;
15960
+ class DescribeVpnGatewayAvailableZonesResponse extends $tea.Model {
15961
+ constructor(map) {
15962
+ super(map);
15963
+ }
15964
+ static names() {
15965
+ return {
15966
+ headers: 'headers',
15967
+ statusCode: 'statusCode',
15968
+ body: 'body',
15969
+ };
15970
+ }
15971
+ static types() {
15972
+ return {
15973
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
15974
+ statusCode: 'number',
15975
+ body: DescribeVpnGatewayAvailableZonesResponseBody,
15976
+ };
15977
+ }
15978
+ }
15979
+ exports.DescribeVpnGatewayAvailableZonesResponse = DescribeVpnGatewayAvailableZonesResponse;
15912
15980
  class DescribeVpnGatewaysRequest extends $tea.Model {
15913
15981
  constructor(map) {
15914
15982
  super(map);
@@ -16363,6 +16431,78 @@ class DetachDhcpOptionsSetFromVpcResponse extends $tea.Model {
16363
16431
  }
16364
16432
  }
16365
16433
  exports.DetachDhcpOptionsSetFromVpcResponse = DetachDhcpOptionsSetFromVpcResponse;
16434
+ class DiagnoseVpnConnectionsRequest extends $tea.Model {
16435
+ constructor(map) {
16436
+ super(map);
16437
+ }
16438
+ static names() {
16439
+ return {
16440
+ pageNumber: 'PageNumber',
16441
+ pageSize: 'PageSize',
16442
+ regionId: 'RegionId',
16443
+ resourceOwnerId: 'ResourceOwnerId',
16444
+ tunnelIds: 'TunnelIds',
16445
+ vpnConnectionIds: 'VpnConnectionIds',
16446
+ vpnGatewayId: 'VpnGatewayId',
16447
+ };
16448
+ }
16449
+ static types() {
16450
+ return {
16451
+ pageNumber: 'number',
16452
+ pageSize: 'number',
16453
+ regionId: 'string',
16454
+ resourceOwnerId: 'number',
16455
+ tunnelIds: { 'type': 'array', 'itemType': 'string' },
16456
+ vpnConnectionIds: { 'type': 'array', 'itemType': 'string' },
16457
+ vpnGatewayId: 'string',
16458
+ };
16459
+ }
16460
+ }
16461
+ exports.DiagnoseVpnConnectionsRequest = DiagnoseVpnConnectionsRequest;
16462
+ class DiagnoseVpnConnectionsResponseBody extends $tea.Model {
16463
+ constructor(map) {
16464
+ super(map);
16465
+ }
16466
+ static names() {
16467
+ return {
16468
+ pageNumber: 'PageNumber',
16469
+ pageSize: 'PageSize',
16470
+ requestId: 'RequestId',
16471
+ totalCount: 'TotalCount',
16472
+ vpnConnections: 'VpnConnections',
16473
+ };
16474
+ }
16475
+ static types() {
16476
+ return {
16477
+ pageNumber: 'number',
16478
+ pageSize: 'number',
16479
+ requestId: 'string',
16480
+ totalCount: 'number',
16481
+ vpnConnections: { 'type': 'array', 'itemType': DiagnoseVpnConnectionsResponseBodyVpnConnections },
16482
+ };
16483
+ }
16484
+ }
16485
+ exports.DiagnoseVpnConnectionsResponseBody = DiagnoseVpnConnectionsResponseBody;
16486
+ class DiagnoseVpnConnectionsResponse extends $tea.Model {
16487
+ constructor(map) {
16488
+ super(map);
16489
+ }
16490
+ static names() {
16491
+ return {
16492
+ headers: 'headers',
16493
+ statusCode: 'statusCode',
16494
+ body: 'body',
16495
+ };
16496
+ }
16497
+ static types() {
16498
+ return {
16499
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16500
+ statusCode: 'number',
16501
+ body: DiagnoseVpnConnectionsResponseBody,
16502
+ };
16503
+ }
16504
+ }
16505
+ exports.DiagnoseVpnConnectionsResponse = DiagnoseVpnConnectionsResponse;
16366
16506
  class DiagnoseVpnGatewayRequest extends $tea.Model {
16367
16507
  constructor(map) {
16368
16508
  super(map);
@@ -29152,9 +29292,11 @@ class DescribeEipAddressesResponseBodyEipAddressesEipAddress extends $tea.Model
29152
29292
  instanceType: 'InstanceType',
29153
29293
  internetChargeType: 'InternetChargeType',
29154
29294
  ipAddress: 'IpAddress',
29295
+ mode: 'Mode',
29155
29296
  name: 'Name',
29156
29297
  netmode: 'Netmode',
29157
29298
  operationLocks: 'OperationLocks',
29299
+ privateIpAddress: 'PrivateIpAddress',
29158
29300
  publicIpAddressPoolId: 'PublicIpAddressPoolId',
29159
29301
  regionId: 'RegionId',
29160
29302
  reservationActiveTime: 'ReservationActiveTime',
@@ -29195,9 +29337,11 @@ class DescribeEipAddressesResponseBodyEipAddressesEipAddress extends $tea.Model
29195
29337
  instanceType: 'string',
29196
29338
  internetChargeType: 'string',
29197
29339
  ipAddress: 'string',
29340
+ mode: 'string',
29198
29341
  name: 'string',
29199
29342
  netmode: 'string',
29200
29343
  operationLocks: DescribeEipAddressesResponseBodyEipAddressesEipAddressOperationLocks,
29344
+ privateIpAddress: 'string',
29201
29345
  publicIpAddressPoolId: 'string',
29202
29346
  regionId: 'string',
29203
29347
  reservationActiveTime: 'string',
@@ -34335,6 +34479,24 @@ class DescribeVpnGatewayResponseBodyTags extends $tea.Model {
34335
34479
  }
34336
34480
  }
34337
34481
  exports.DescribeVpnGatewayResponseBodyTags = DescribeVpnGatewayResponseBodyTags;
34482
+ class DescribeVpnGatewayAvailableZonesResponseBodyAvailableZoneIdList extends $tea.Model {
34483
+ constructor(map) {
34484
+ super(map);
34485
+ }
34486
+ static names() {
34487
+ return {
34488
+ zoneId: 'ZoneId',
34489
+ zoneName: 'ZoneName',
34490
+ };
34491
+ }
34492
+ static types() {
34493
+ return {
34494
+ zoneId: 'string',
34495
+ zoneName: 'string',
34496
+ };
34497
+ }
34498
+ }
34499
+ exports.DescribeVpnGatewayAvailableZonesResponseBodyAvailableZoneIdList = DescribeVpnGatewayAvailableZonesResponseBodyAvailableZoneIdList;
34338
34500
  class DescribeVpnGatewaysRequestTag extends $tea.Model {
34339
34501
  constructor(map) {
34340
34502
  super(map);
@@ -34649,6 +34811,38 @@ class DescribeZonesResponseBodyZones extends $tea.Model {
34649
34811
  }
34650
34812
  }
34651
34813
  exports.DescribeZonesResponseBodyZones = DescribeZonesResponseBodyZones;
34814
+ class DiagnoseVpnConnectionsResponseBodyVpnConnections extends $tea.Model {
34815
+ constructor(map) {
34816
+ super(map);
34817
+ }
34818
+ static names() {
34819
+ return {
34820
+ failedReason: 'FailedReason',
34821
+ failedReasonCode: 'FailedReasonCode',
34822
+ failedTime: 'FailedTime',
34823
+ mismatchLocalParam: 'MismatchLocalParam',
34824
+ mismatchRemoteParam: 'MismatchRemoteParam',
34825
+ severity: 'Severity',
34826
+ sourceLog: 'SourceLog',
34827
+ tunnelId: 'TunnelId',
34828
+ vpnConnectionId: 'VpnConnectionId',
34829
+ };
34830
+ }
34831
+ static types() {
34832
+ return {
34833
+ failedReason: 'string',
34834
+ failedReasonCode: 'string',
34835
+ failedTime: 'number',
34836
+ mismatchLocalParam: 'string',
34837
+ mismatchRemoteParam: 'string',
34838
+ severity: 'string',
34839
+ sourceLog: 'string',
34840
+ tunnelId: 'string',
34841
+ vpnConnectionId: 'string',
34842
+ };
34843
+ }
34844
+ }
34845
+ exports.DiagnoseVpnConnectionsResponseBodyVpnConnections = DiagnoseVpnConnectionsResponseBodyVpnConnections;
34652
34846
  class DownloadVpnConnectionConfigResponseBodyVpnConnectionConfigIkeConfig extends $tea.Model {
34653
34847
  constructor(map) {
34654
34848
  super(map);
@@ -35698,6 +35892,7 @@ class ListPrefixListsResponseBodyPrefixLists extends $tea.Model {
35698
35892
  prefixListId: 'PrefixListId',
35699
35893
  prefixListName: 'PrefixListName',
35700
35894
  prefixListStatus: 'PrefixListStatus',
35895
+ prefixListType: 'PrefixListType',
35701
35896
  regionId: 'RegionId',
35702
35897
  resourceGroupId: 'ResourceGroupId',
35703
35898
  shareType: 'ShareType',
@@ -35716,6 +35911,7 @@ class ListPrefixListsResponseBodyPrefixLists extends $tea.Model {
35716
35911
  prefixListId: 'string',
35717
35912
  prefixListName: 'string',
35718
35913
  prefixListStatus: 'string',
35914
+ prefixListType: 'string',
35719
35915
  regionId: 'string',
35720
35916
  resourceGroupId: 'string',
35721
35917
  shareType: 'string',
@@ -36061,6 +36257,7 @@ class ListTrafficMirrorFiltersResponseBodyTrafficMirrorFilters extends $tea.Mode
36061
36257
  }
36062
36258
  static names() {
36063
36259
  return {
36260
+ creationTime: 'CreationTime',
36064
36261
  egressRules: 'EgressRules',
36065
36262
  ingressRules: 'IngressRules',
36066
36263
  resourceGroupId: 'ResourceGroupId',
@@ -36073,6 +36270,7 @@ class ListTrafficMirrorFiltersResponseBodyTrafficMirrorFilters extends $tea.Mode
36073
36270
  }
36074
36271
  static types() {
36075
36272
  return {
36273
+ creationTime: 'string',
36076
36274
  egressRules: { 'type': 'array', 'itemType': ListTrafficMirrorFiltersResponseBodyTrafficMirrorFiltersEgressRules },
36077
36275
  ingressRules: { 'type': 'array', 'itemType': ListTrafficMirrorFiltersResponseBodyTrafficMirrorFiltersIngressRules },
36078
36276
  resourceGroupId: 'string',
@@ -36127,6 +36325,7 @@ class ListTrafficMirrorSessionsResponseBodyTrafficMirrorSessions extends $tea.Mo
36127
36325
  }
36128
36326
  static names() {
36129
36327
  return {
36328
+ creationTime: 'CreationTime',
36130
36329
  enabled: 'Enabled',
36131
36330
  packetLength: 'PacketLength',
36132
36331
  priority: 'Priority',
@@ -36146,6 +36345,7 @@ class ListTrafficMirrorSessionsResponseBodyTrafficMirrorSessions extends $tea.Mo
36146
36345
  }
36147
36346
  static types() {
36148
36347
  return {
36348
+ creationTime: 'string',
36149
36349
  enabled: 'boolean',
36150
36350
  packetLength: 'number',
36151
36351
  priority: 'number',
@@ -42545,10 +42745,10 @@ class Client extends openapi_client_1.default {
42545
42745
  return await this.createRouterInterfaceWithOptions(request, runtime);
42546
42746
  }
42547
42747
  /**
42548
- * You can call this operation to add SNAT entries to Internet NAT gateways and Virtual Private Cloud (VPC) NAT gateways. In this topic, a **NAT gateway** refers to both gateway types.
42748
+ * You can call this operation to add SNAT entries to Internet NAT gateways and Virtual Private Cloud (VPC) NAT gateways. In this topic, a **NAT** gateway refers to both gateway types.
42549
42749
  * Before you call this operation, take note of the following limits:
42550
42750
  * * **CreateSnatEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeSnatTableEntries](~~42677~~) operation to query the status of the task.
42551
- * * If the SNAT entry is in the **Pending** state, the system is adding the SNAT entry. You can only query the status of the SNAT entry, but cannot perform other operations.
42751
+ * * If the SNAT entry is in the **Pending** state, the system is adding the SNAT entry. You can only query the status of the SNAT entry, and cannot perform other operations.
42552
42752
  * * If the SNAT entry is in the **Available** state, the SNAT entry is added.
42553
42753
  * * You cannot repeatedly call the **CreateSnatEntry** operation to add an SNAT entry to an SNAT table within the specified period of time.
42554
42754
  * * The vSwitch and Elastic Compute Service (ECS) instance specified in an SNAT entry must be created in the VPC where the NAT gateway is deployed.
@@ -42615,10 +42815,10 @@ class Client extends openapi_client_1.default {
42615
42815
  return $tea.cast(await this.callApi(params, req, runtime), new CreateSnatEntryResponse({}));
42616
42816
  }
42617
42817
  /**
42618
- * You can call this operation to add SNAT entries to Internet NAT gateways and Virtual Private Cloud (VPC) NAT gateways. In this topic, a **NAT gateway** refers to both gateway types.
42818
+ * You can call this operation to add SNAT entries to Internet NAT gateways and Virtual Private Cloud (VPC) NAT gateways. In this topic, a **NAT** gateway refers to both gateway types.
42619
42819
  * Before you call this operation, take note of the following limits:
42620
42820
  * * **CreateSnatEntry** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeSnatTableEntries](~~42677~~) operation to query the status of the task.
42621
- * * If the SNAT entry is in the **Pending** state, the system is adding the SNAT entry. You can only query the status of the SNAT entry, but cannot perform other operations.
42821
+ * * If the SNAT entry is in the **Pending** state, the system is adding the SNAT entry. You can only query the status of the SNAT entry, and cannot perform other operations.
42622
42822
  * * If the SNAT entry is in the **Available** state, the SNAT entry is added.
42623
42823
  * * You cannot repeatedly call the **CreateSnatEntry** operation to add an SNAT entry to an SNAT table within the specified period of time.
42624
42824
  * * The vSwitch and Elastic Compute Service (ECS) instance specified in an SNAT entry must be created in the VPC where the NAT gateway is deployed.
@@ -51342,6 +51542,29 @@ class Client extends openapi_client_1.default {
51342
51542
  let runtime = new $Util.RuntimeOptions({});
51343
51543
  return await this.describeVpnGatewayWithOptions(request, runtime);
51344
51544
  }
51545
+ async describeVpnGatewayAvailableZonesWithOptions(request, runtime) {
51546
+ tea_util_1.default.validateModel(request);
51547
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
51548
+ let req = new $OpenApi.OpenApiRequest({
51549
+ query: openapi_util_1.default.query(query),
51550
+ });
51551
+ let params = new $OpenApi.Params({
51552
+ action: "DescribeVpnGatewayAvailableZones",
51553
+ version: "2016-04-28",
51554
+ protocol: "HTTPS",
51555
+ pathname: "/",
51556
+ method: "GET",
51557
+ authType: "AK",
51558
+ style: "RPC",
51559
+ reqBodyType: "formData",
51560
+ bodyType: "json",
51561
+ });
51562
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeVpnGatewayAvailableZonesResponse({}));
51563
+ }
51564
+ async describeVpnGatewayAvailableZones(request) {
51565
+ let runtime = new $Util.RuntimeOptions({});
51566
+ return await this.describeVpnGatewayAvailableZonesWithOptions(request, runtime);
51567
+ }
51345
51568
  async describeVpnGatewaysWithOptions(request, runtime) {
51346
51569
  tea_util_1.default.validateModel(request);
51347
51570
  let query = {};
@@ -51678,6 +51901,50 @@ class Client extends openapi_client_1.default {
51678
51901
  let runtime = new $Util.RuntimeOptions({});
51679
51902
  return await this.detachDhcpOptionsSetFromVpcWithOptions(request, runtime);
51680
51903
  }
51904
+ async diagnoseVpnConnectionsWithOptions(request, runtime) {
51905
+ tea_util_1.default.validateModel(request);
51906
+ let query = {};
51907
+ if (!tea_util_1.default.isUnset(request.pageNumber)) {
51908
+ query["PageNumber"] = request.pageNumber;
51909
+ }
51910
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
51911
+ query["PageSize"] = request.pageSize;
51912
+ }
51913
+ if (!tea_util_1.default.isUnset(request.regionId)) {
51914
+ query["RegionId"] = request.regionId;
51915
+ }
51916
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
51917
+ query["ResourceOwnerId"] = request.resourceOwnerId;
51918
+ }
51919
+ if (!tea_util_1.default.isUnset(request.tunnelIds)) {
51920
+ query["TunnelIds"] = request.tunnelIds;
51921
+ }
51922
+ if (!tea_util_1.default.isUnset(request.vpnConnectionIds)) {
51923
+ query["VpnConnectionIds"] = request.vpnConnectionIds;
51924
+ }
51925
+ if (!tea_util_1.default.isUnset(request.vpnGatewayId)) {
51926
+ query["VpnGatewayId"] = request.vpnGatewayId;
51927
+ }
51928
+ let req = new $OpenApi.OpenApiRequest({
51929
+ query: openapi_util_1.default.query(query),
51930
+ });
51931
+ let params = new $OpenApi.Params({
51932
+ action: "DiagnoseVpnConnections",
51933
+ version: "2016-04-28",
51934
+ protocol: "HTTPS",
51935
+ pathname: "/",
51936
+ method: "POST",
51937
+ authType: "AK",
51938
+ style: "RPC",
51939
+ reqBodyType: "formData",
51940
+ bodyType: "json",
51941
+ });
51942
+ return $tea.cast(await this.callApi(params, req, runtime), new DiagnoseVpnConnectionsResponse({}));
51943
+ }
51944
+ async diagnoseVpnConnections(request) {
51945
+ let runtime = new $Util.RuntimeOptions({});
51946
+ return await this.diagnoseVpnConnectionsWithOptions(request, runtime);
51947
+ }
51681
51948
  /**
51682
51949
  * Only VPN gateways in specific regions support the quick diagnostics feature. For more information about the supported regions, see [Supported regions](~~430697~~).
51683
51950
  *