@alicloud/adb20211201 3.4.0 → 3.6.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
@@ -860,6 +860,75 @@ export declare class AllocateClusterPublicConnectionResponse extends $tea.Model
860
860
  [key: string]: any;
861
861
  });
862
862
  }
863
+ export declare class ApplyAdviceByIdRequest extends $tea.Model {
864
+ /**
865
+ * @example
866
+ * 20221101
867
+ */
868
+ adviceDate?: number;
869
+ /**
870
+ * @example
871
+ * 0baf1f52-53df-487f-8292-99a03716****
872
+ */
873
+ adviceId?: string;
874
+ /**
875
+ * @remarks
876
+ * This parameter is required.
877
+ *
878
+ * @example
879
+ * am-uf6g8w25jacm7****
880
+ */
881
+ DBClusterId?: string;
882
+ /**
883
+ * @remarks
884
+ * This parameter is required.
885
+ *
886
+ * @example
887
+ * cn-hangzhou
888
+ */
889
+ regionId?: string;
890
+ static names(): {
891
+ [key: string]: string;
892
+ };
893
+ static types(): {
894
+ [key: string]: any;
895
+ };
896
+ constructor(map?: {
897
+ [key: string]: any;
898
+ });
899
+ }
900
+ export declare class ApplyAdviceByIdResponseBody extends $tea.Model {
901
+ /**
902
+ * @example
903
+ * 5DC10091-348D-12B1-906D-AB49D658012E
904
+ */
905
+ requestId?: string;
906
+ static names(): {
907
+ [key: string]: string;
908
+ };
909
+ static types(): {
910
+ [key: string]: any;
911
+ };
912
+ constructor(map?: {
913
+ [key: string]: any;
914
+ });
915
+ }
916
+ export declare class ApplyAdviceByIdResponse extends $tea.Model {
917
+ headers?: {
918
+ [key: string]: string;
919
+ };
920
+ statusCode?: number;
921
+ body?: ApplyAdviceByIdResponseBody;
922
+ static names(): {
923
+ [key: string]: string;
924
+ };
925
+ static types(): {
926
+ [key: string]: any;
927
+ };
928
+ constructor(map?: {
929
+ [key: string]: any;
930
+ });
931
+ }
863
932
  export declare class AttachUserENIRequest extends $tea.Model {
864
933
  /**
865
934
  * @remarks
@@ -918,6 +987,75 @@ export declare class AttachUserENIResponse extends $tea.Model {
918
987
  [key: string]: any;
919
988
  });
920
989
  }
990
+ export declare class BatchApplyAdviceByIdListRequest extends $tea.Model {
991
+ /**
992
+ * @example
993
+ * 20221115
994
+ */
995
+ adviceDate?: number;
996
+ /**
997
+ * @example
998
+ * c2589ff3-e86c-4f19-80c8-2aeb7dd9****,53414470-ebf4-4a53-a312-8a1ad8fd****,6e8dce84-fec8-4b0b-9c04-b0cea12c****,b3b9703d-55ca-47e0-96dd-6a4a9dbf****
999
+ */
1000
+ adviceIdList?: string;
1001
+ /**
1002
+ * @remarks
1003
+ * This parameter is required.
1004
+ *
1005
+ * @example
1006
+ * am-uf6g8w25jacm7****
1007
+ */
1008
+ DBClusterId?: string;
1009
+ /**
1010
+ * @remarks
1011
+ * This parameter is required.
1012
+ *
1013
+ * @example
1014
+ * cn-hangzhou
1015
+ */
1016
+ regionId?: string;
1017
+ static names(): {
1018
+ [key: string]: string;
1019
+ };
1020
+ static types(): {
1021
+ [key: string]: any;
1022
+ };
1023
+ constructor(map?: {
1024
+ [key: string]: any;
1025
+ });
1026
+ }
1027
+ export declare class BatchApplyAdviceByIdListResponseBody extends $tea.Model {
1028
+ /**
1029
+ * @example
1030
+ * 86F92D26-B774-5FA1-8E53-82CBEEEBB012
1031
+ */
1032
+ requestId?: string;
1033
+ static names(): {
1034
+ [key: string]: string;
1035
+ };
1036
+ static types(): {
1037
+ [key: string]: any;
1038
+ };
1039
+ constructor(map?: {
1040
+ [key: string]: any;
1041
+ });
1042
+ }
1043
+ export declare class BatchApplyAdviceByIdListResponse extends $tea.Model {
1044
+ headers?: {
1045
+ [key: string]: string;
1046
+ };
1047
+ statusCode?: number;
1048
+ body?: BatchApplyAdviceByIdListResponseBody;
1049
+ static names(): {
1050
+ [key: string]: string;
1051
+ };
1052
+ static types(): {
1053
+ [key: string]: any;
1054
+ };
1055
+ constructor(map?: {
1056
+ [key: string]: any;
1057
+ });
1058
+ }
921
1059
  export declare class BindAccountRequest extends $tea.Model {
922
1060
  /**
923
1061
  * @remarks
@@ -1273,6 +1411,149 @@ export declare class CheckSampleDataSetResponse extends $tea.Model {
1273
1411
  [key: string]: any;
1274
1412
  });
1275
1413
  }
1414
+ export declare class CreateAPSJobRequest extends $tea.Model {
1415
+ /**
1416
+ * @remarks
1417
+ * This parameter is required.
1418
+ *
1419
+ * @example
1420
+ * aps-xxxxx
1421
+ */
1422
+ apsJobName?: string;
1423
+ /**
1424
+ * @remarks
1425
+ * This parameter is required.
1426
+ *
1427
+ * @example
1428
+ * {"EntireInstance":true}
1429
+ */
1430
+ dbList?: string;
1431
+ /**
1432
+ * @remarks
1433
+ * This parameter is required.
1434
+ *
1435
+ * @example
1436
+ * amv-xxxxx
1437
+ */
1438
+ destinationEndpointInstanceID?: string;
1439
+ /**
1440
+ * @example
1441
+ * ******
1442
+ */
1443
+ destinationEndpointPassword?: string;
1444
+ /**
1445
+ * @example
1446
+ * ******
1447
+ */
1448
+ destinationEndpointUserName?: string;
1449
+ /**
1450
+ * @example
1451
+ * {}
1452
+ */
1453
+ partitionList?: string;
1454
+ /**
1455
+ * @remarks
1456
+ * This parameter is required.
1457
+ *
1458
+ * @example
1459
+ * cn-shanghai
1460
+ */
1461
+ regionId?: string;
1462
+ /**
1463
+ * @remarks
1464
+ * This parameter is required.
1465
+ *
1466
+ * @example
1467
+ * pc-xxxxx
1468
+ */
1469
+ sourceEndpointInstanceID?: string;
1470
+ /**
1471
+ * @example
1472
+ * ******
1473
+ */
1474
+ sourceEndpointPassword?: string;
1475
+ /**
1476
+ * @example
1477
+ * cn-beijing
1478
+ */
1479
+ sourceEndpointRegion?: string;
1480
+ /**
1481
+ * @example
1482
+ * xxxx
1483
+ */
1484
+ sourceEndpointUserName?: string;
1485
+ /**
1486
+ * @example
1487
+ * 1
1488
+ */
1489
+ targetTableMode?: string;
1490
+ static names(): {
1491
+ [key: string]: string;
1492
+ };
1493
+ static types(): {
1494
+ [key: string]: any;
1495
+ };
1496
+ constructor(map?: {
1497
+ [key: string]: any;
1498
+ });
1499
+ }
1500
+ export declare class CreateAPSJobResponseBody extends $tea.Model {
1501
+ /**
1502
+ * @example
1503
+ * aps-bj1xxxxxx
1504
+ */
1505
+ apsJobId?: string;
1506
+ /**
1507
+ * @example
1508
+ * InvalidInput
1509
+ */
1510
+ code?: string;
1511
+ /**
1512
+ * @example
1513
+ * 200
1514
+ */
1515
+ httpStatusCode?: number;
1516
+ /**
1517
+ * @example
1518
+ * OK
1519
+ */
1520
+ message?: string;
1521
+ /**
1522
+ * @example
1523
+ * D1B8ED33-5E9B-512D-B188-1579ED6xxx
1524
+ */
1525
+ requestId?: string;
1526
+ /**
1527
+ * @example
1528
+ * True
1529
+ */
1530
+ success?: boolean;
1531
+ static names(): {
1532
+ [key: string]: string;
1533
+ };
1534
+ static types(): {
1535
+ [key: string]: any;
1536
+ };
1537
+ constructor(map?: {
1538
+ [key: string]: any;
1539
+ });
1540
+ }
1541
+ export declare class CreateAPSJobResponse extends $tea.Model {
1542
+ headers?: {
1543
+ [key: string]: string;
1544
+ };
1545
+ statusCode?: number;
1546
+ body?: CreateAPSJobResponseBody;
1547
+ static names(): {
1548
+ [key: string]: string;
1549
+ };
1550
+ static types(): {
1551
+ [key: string]: any;
1552
+ };
1553
+ constructor(map?: {
1554
+ [key: string]: any;
1555
+ });
1556
+ }
1276
1557
  export declare class CreateAccountRequest extends $tea.Model {
1277
1558
  /**
1278
1559
  * @remarks
@@ -4148,6 +4429,75 @@ export declare class DescribeAdbMySqlTablesResponse extends $tea.Model {
4148
4429
  [key: string]: any;
4149
4430
  });
4150
4431
  }
4432
+ export declare class DescribeAdviceServiceEnabledRequest extends $tea.Model {
4433
+ /**
4434
+ * @remarks
4435
+ * This parameter is required.
4436
+ *
4437
+ * @example
4438
+ * amv-2ze0vp0j6t3to****
4439
+ */
4440
+ DBClusterId?: string;
4441
+ /**
4442
+ * @remarks
4443
+ * This parameter is required.
4444
+ *
4445
+ * @example
4446
+ * cn-hangzhou
4447
+ */
4448
+ regionId?: string;
4449
+ static names(): {
4450
+ [key: string]: string;
4451
+ };
4452
+ static types(): {
4453
+ [key: string]: any;
4454
+ };
4455
+ constructor(map?: {
4456
+ [key: string]: any;
4457
+ });
4458
+ }
4459
+ export declare class DescribeAdviceServiceEnabledResponseBody extends $tea.Model {
4460
+ /**
4461
+ * @example
4462
+ * Success
4463
+ */
4464
+ message?: string;
4465
+ /**
4466
+ * @example
4467
+ * E031AABF-BD56-5966-A063-4283EF18DB45
4468
+ */
4469
+ requestId?: string;
4470
+ /**
4471
+ * @example
4472
+ * False
4473
+ */
4474
+ result?: boolean;
4475
+ static names(): {
4476
+ [key: string]: string;
4477
+ };
4478
+ static types(): {
4479
+ [key: string]: any;
4480
+ };
4481
+ constructor(map?: {
4482
+ [key: string]: any;
4483
+ });
4484
+ }
4485
+ export declare class DescribeAdviceServiceEnabledResponse extends $tea.Model {
4486
+ headers?: {
4487
+ [key: string]: string;
4488
+ };
4489
+ statusCode?: number;
4490
+ body?: DescribeAdviceServiceEnabledResponseBody;
4491
+ static names(): {
4492
+ [key: string]: string;
4493
+ };
4494
+ static types(): {
4495
+ [key: string]: any;
4496
+ };
4497
+ constructor(map?: {
4498
+ [key: string]: any;
4499
+ });
4500
+ }
4151
4501
  export declare class DescribeAllDataSourceRequest extends $tea.Model {
4152
4502
  /**
4153
4503
  * @remarks
@@ -15337,6 +15687,94 @@ export declare class ModifyPerformanceViewResponse extends $tea.Model {
15337
15687
  [key: string]: any;
15338
15688
  });
15339
15689
  }
15690
+ export declare class ModifyUserEniVswitchOptionsRequest extends $tea.Model {
15691
+ /**
15692
+ * @remarks
15693
+ * This parameter is required.
15694
+ *
15695
+ * @example
15696
+ * amv-bp11q28kvl688****
15697
+ */
15698
+ dbClusterId?: string;
15699
+ ownerAccount?: string;
15700
+ ownerId?: number;
15701
+ /**
15702
+ * @example
15703
+ * cn-hangzhou
15704
+ */
15705
+ regionId?: string;
15706
+ resourceOwnerAccount?: string;
15707
+ resourceOwnerId?: number;
15708
+ /**
15709
+ * @remarks
15710
+ * This parameter is required.
15711
+ *
15712
+ * @example
15713
+ * vsw-rj9ixufmywqq98z******,vsw-rj95ij6wcz656v7******
15714
+ */
15715
+ vSwitchOptions?: string;
15716
+ static names(): {
15717
+ [key: string]: string;
15718
+ };
15719
+ static types(): {
15720
+ [key: string]: any;
15721
+ };
15722
+ constructor(map?: {
15723
+ [key: string]: any;
15724
+ });
15725
+ }
15726
+ export declare class ModifyUserEniVswitchOptionsResponseBody extends $tea.Model {
15727
+ /**
15728
+ * @example
15729
+ * 200
15730
+ */
15731
+ code?: string;
15732
+ /**
15733
+ * @example
15734
+ * 200
15735
+ */
15736
+ httpStatusCode?: number;
15737
+ /**
15738
+ * @example
15739
+ * SUCCESS
15740
+ */
15741
+ message?: string;
15742
+ /**
15743
+ * @example
15744
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
15745
+ */
15746
+ requestId?: string;
15747
+ /**
15748
+ * @example
15749
+ * true
15750
+ */
15751
+ success?: boolean;
15752
+ static names(): {
15753
+ [key: string]: string;
15754
+ };
15755
+ static types(): {
15756
+ [key: string]: any;
15757
+ };
15758
+ constructor(map?: {
15759
+ [key: string]: any;
15760
+ });
15761
+ }
15762
+ export declare class ModifyUserEniVswitchOptionsResponse extends $tea.Model {
15763
+ headers?: {
15764
+ [key: string]: string;
15765
+ };
15766
+ statusCode?: number;
15767
+ body?: ModifyUserEniVswitchOptionsResponseBody;
15768
+ static names(): {
15769
+ [key: string]: string;
15770
+ };
15771
+ static types(): {
15772
+ [key: string]: any;
15773
+ };
15774
+ constructor(map?: {
15775
+ [key: string]: any;
15776
+ });
15777
+ }
15340
15778
  export declare class PreloadSparkAppMetricsRequest extends $tea.Model {
15341
15779
  /**
15342
15780
  * @remarks
@@ -18588,6 +19026,9 @@ export declare class DescribeDBClusterAttributeResponseBodyItemsDBCluster extend
18588
19026
  * false
18589
19027
  */
18590
19028
  userENIStatus?: boolean;
19029
+ userENIVSwitchOptions?: string;
19030
+ userENIVpcId?: string;
19031
+ userENIZoneOptions?: string;
18591
19032
  /**
18592
19033
  * @remarks
18593
19034
  * The virtual private cloud (VPC) ID of the cluster.
@@ -23359,6 +23800,21 @@ export default class Client extends OpenApi {
23359
23800
  * @returns AllocateClusterPublicConnectionResponse
23360
23801
  */
23361
23802
  allocateClusterPublicConnection(request: AllocateClusterPublicConnectionRequest): Promise<AllocateClusterPublicConnectionResponse>;
23803
+ /**
23804
+ * 应用单条优化建议
23805
+ *
23806
+ * @param request - ApplyAdviceByIdRequest
23807
+ * @param runtime - runtime options for this request RuntimeOptions
23808
+ * @returns ApplyAdviceByIdResponse
23809
+ */
23810
+ applyAdviceByIdWithOptions(request: ApplyAdviceByIdRequest, runtime: $Util.RuntimeOptions): Promise<ApplyAdviceByIdResponse>;
23811
+ /**
23812
+ * 应用单条优化建议
23813
+ *
23814
+ * @param request - ApplyAdviceByIdRequest
23815
+ * @returns ApplyAdviceByIdResponse
23816
+ */
23817
+ applyAdviceById(request: ApplyAdviceByIdRequest): Promise<ApplyAdviceByIdResponse>;
23362
23818
  /**
23363
23819
  * Attaches an elastic network interface (ENI) to an AnalyticDB for MySQL Data Lakehouse Edition cluster.
23364
23820
  *
@@ -23380,6 +23836,21 @@ export default class Client extends OpenApi {
23380
23836
  * @returns AttachUserENIResponse
23381
23837
  */
23382
23838
  attachUserENI(request: AttachUserENIRequest): Promise<AttachUserENIResponse>;
23839
+ /**
23840
+ * 批量应用优化建议
23841
+ *
23842
+ * @param request - BatchApplyAdviceByIdListRequest
23843
+ * @param runtime - runtime options for this request RuntimeOptions
23844
+ * @returns BatchApplyAdviceByIdListResponse
23845
+ */
23846
+ batchApplyAdviceByIdListWithOptions(request: BatchApplyAdviceByIdListRequest, runtime: $Util.RuntimeOptions): Promise<BatchApplyAdviceByIdListResponse>;
23847
+ /**
23848
+ * 批量应用优化建议
23849
+ *
23850
+ * @param request - BatchApplyAdviceByIdListRequest
23851
+ * @returns BatchApplyAdviceByIdListResponse
23852
+ */
23853
+ batchApplyAdviceByIdList(request: BatchApplyAdviceByIdListRequest): Promise<BatchApplyAdviceByIdListResponse>;
23383
23854
  /**
23384
23855
  * Associates a standard account of an AnalyticDB for MySQL cluster with a Resource Access Management (RAM) user.
23385
23856
  *
@@ -23475,6 +23946,21 @@ export default class Client extends OpenApi {
23475
23946
  * @returns CheckSampleDataSetResponse
23476
23947
  */
23477
23948
  checkSampleDataSet(request: CheckSampleDataSetRequest): Promise<CheckSampleDataSetResponse>;
23949
+ /**
23950
+ * 创建一站式链路
23951
+ *
23952
+ * @param request - CreateAPSJobRequest
23953
+ * @param runtime - runtime options for this request RuntimeOptions
23954
+ * @returns CreateAPSJobResponse
23955
+ */
23956
+ createAPSJobWithOptions(request: CreateAPSJobRequest, runtime: $Util.RuntimeOptions): Promise<CreateAPSJobResponse>;
23957
+ /**
23958
+ * 创建一站式链路
23959
+ *
23960
+ * @param request - CreateAPSJobRequest
23961
+ * @returns CreateAPSJobResponse
23962
+ */
23963
+ createAPSJob(request: CreateAPSJobRequest): Promise<CreateAPSJobResponse>;
23478
23964
  /**
23479
23965
  * Creates a database account for an AnalyticDB for MySQL cluster.
23480
23966
  *
@@ -23970,6 +24456,21 @@ export default class Client extends OpenApi {
23970
24456
  * @returns DescribeAdbMySqlTablesResponse
23971
24457
  */
23972
24458
  describeAdbMySqlTables(request: DescribeAdbMySqlTablesRequest): Promise<DescribeAdbMySqlTablesResponse>;
24459
+ /**
24460
+ * 查询建议服务是否开启
24461
+ *
24462
+ * @param request - DescribeAdviceServiceEnabledRequest
24463
+ * @param runtime - runtime options for this request RuntimeOptions
24464
+ * @returns DescribeAdviceServiceEnabledResponse
24465
+ */
24466
+ describeAdviceServiceEnabledWithOptions(request: DescribeAdviceServiceEnabledRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAdviceServiceEnabledResponse>;
24467
+ /**
24468
+ * 查询建议服务是否开启
24469
+ *
24470
+ * @param request - DescribeAdviceServiceEnabledRequest
24471
+ * @returns DescribeAdviceServiceEnabledResponse
24472
+ */
24473
+ describeAdviceServiceEnabled(request: DescribeAdviceServiceEnabledRequest): Promise<DescribeAdviceServiceEnabledResponse>;
23973
24474
  /**
23974
24475
  * Queries a list of databases, tables, and columns in an AnalyticDB for MySQL cluster.
23975
24476
  *
@@ -24065,6 +24566,8 @@ export default class Client extends OpenApi {
24065
24566
  */
24066
24567
  describeAuditLogRecords(request: DescribeAuditLogRecordsRequest): Promise<DescribeAuditLogRecordsResponse>;
24067
24568
  /**
24569
+ * 查看集群备份设置
24570
+ *
24068
24571
  * @remarks
24069
24572
  * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
24070
24573
  *
@@ -24074,6 +24577,8 @@ export default class Client extends OpenApi {
24074
24577
  */
24075
24578
  describeBackupPolicyWithOptions(request: DescribeBackupPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeBackupPolicyResponse>;
24076
24579
  /**
24580
+ * 查看集群备份设置
24581
+ *
24077
24582
  * @remarks
24078
24583
  * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
24079
24584
  *
@@ -24980,6 +25485,8 @@ export default class Client extends OpenApi {
24980
25485
  */
24981
25486
  describeUserQuota(request: DescribeUserQuotaRequest): Promise<DescribeUserQuotaResponse>;
24982
25487
  /**
25488
+ * 解绑用户弹性网卡
25489
+ *
24983
25490
  * @remarks
24984
25491
  * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
24985
25492
  *
@@ -24989,6 +25496,8 @@ export default class Client extends OpenApi {
24989
25496
  */
24990
25497
  detachUserENIWithOptions(request: DetachUserENIRequest, runtime: $Util.RuntimeOptions): Promise<DetachUserENIResponse>;
24991
25498
  /**
25499
+ * 解绑用户弹性网卡
25500
+ *
24992
25501
  * @remarks
24993
25502
  * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
24994
25503
  *
@@ -26130,6 +26639,21 @@ export default class Client extends OpenApi {
26130
26639
  * @returns ModifyPerformanceViewResponse
26131
26640
  */
26132
26641
  modifyPerformanceView(request: ModifyPerformanceViewRequest): Promise<ModifyPerformanceViewResponse>;
26642
+ /**
26643
+ * 修改用户eni交换机
26644
+ *
26645
+ * @param request - ModifyUserEniVswitchOptionsRequest
26646
+ * @param runtime - runtime options for this request RuntimeOptions
26647
+ * @returns ModifyUserEniVswitchOptionsResponse
26648
+ */
26649
+ modifyUserEniVswitchOptionsWithOptions(request: ModifyUserEniVswitchOptionsRequest, runtime: $Util.RuntimeOptions): Promise<ModifyUserEniVswitchOptionsResponse>;
26650
+ /**
26651
+ * 修改用户eni交换机
26652
+ *
26653
+ * @param request - ModifyUserEniVswitchOptionsRequest
26654
+ * @returns ModifyUserEniVswitchOptionsResponse
26655
+ */
26656
+ modifyUserEniVswitchOptions(request: ModifyUserEniVswitchOptionsRequest): Promise<ModifyUserEniVswitchOptionsResponse>;
26133
26657
  /**
26134
26658
  * Preloads metrics for a Spark application.
26135
26659
  *