@alicloud/adb20211201 1.0.0 → 1.1.1

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
@@ -580,6 +580,7 @@ export declare class CreateAccountResponse extends $tea.Model {
580
580
  });
581
581
  }
582
582
  export declare class CreateDBClusterRequest extends $tea.Model {
583
+ backupSetId?: string;
583
584
  computeResource?: string;
584
585
  DBClusterDescription?: string;
585
586
  DBClusterNetworkType?: string;
@@ -589,6 +590,9 @@ export declare class CreateDBClusterRequest extends $tea.Model {
589
590
  period?: string;
590
591
  regionId?: string;
591
592
  resourceGroupId?: string;
593
+ restoreToTime?: string;
594
+ restoreType?: string;
595
+ sourceDbClusterId?: string;
592
596
  storageResource?: string;
593
597
  tag?: CreateDBClusterRequestTag[];
594
598
  usedTime?: string;
@@ -1443,6 +1447,52 @@ export declare class DescribeAdbMySqlTablesResponse extends $tea.Model {
1443
1447
  [key: string]: any;
1444
1448
  });
1445
1449
  }
1450
+ export declare class DescribeAllDataSourceRequest extends $tea.Model {
1451
+ DBClusterId?: string;
1452
+ regionId?: string;
1453
+ schemaName?: string;
1454
+ tableName?: string;
1455
+ static names(): {
1456
+ [key: string]: string;
1457
+ };
1458
+ static types(): {
1459
+ [key: string]: any;
1460
+ };
1461
+ constructor(map?: {
1462
+ [key: string]: any;
1463
+ });
1464
+ }
1465
+ export declare class DescribeAllDataSourceResponseBody extends $tea.Model {
1466
+ columns?: DescribeAllDataSourceResponseBodyColumns;
1467
+ requestId?: string;
1468
+ schemas?: DescribeAllDataSourceResponseBodySchemas;
1469
+ tables?: DescribeAllDataSourceResponseBodyTables;
1470
+ static names(): {
1471
+ [key: string]: string;
1472
+ };
1473
+ static types(): {
1474
+ [key: string]: any;
1475
+ };
1476
+ constructor(map?: {
1477
+ [key: string]: any;
1478
+ });
1479
+ }
1480
+ export declare class DescribeAllDataSourceResponse extends $tea.Model {
1481
+ headers: {
1482
+ [key: string]: string;
1483
+ };
1484
+ statusCode: number;
1485
+ body: DescribeAllDataSourceResponseBody;
1486
+ static names(): {
1487
+ [key: string]: string;
1488
+ };
1489
+ static types(): {
1490
+ [key: string]: any;
1491
+ };
1492
+ constructor(map?: {
1493
+ [key: string]: any;
1494
+ });
1495
+ }
1446
1496
  export declare class DescribeApsActionLogsRequest extends $tea.Model {
1447
1497
  DBClusterId?: string;
1448
1498
  endTime?: string;
@@ -1693,6 +1743,50 @@ export declare class DescribeClusterNetInfoResponse extends $tea.Model {
1693
1743
  [key: string]: any;
1694
1744
  });
1695
1745
  }
1746
+ export declare class DescribeColumnsRequest extends $tea.Model {
1747
+ DBClusterId?: string;
1748
+ regionId?: string;
1749
+ schemaName?: string;
1750
+ tableName?: string;
1751
+ static names(): {
1752
+ [key: string]: string;
1753
+ };
1754
+ static types(): {
1755
+ [key: string]: any;
1756
+ };
1757
+ constructor(map?: {
1758
+ [key: string]: any;
1759
+ });
1760
+ }
1761
+ export declare class DescribeColumnsResponseBody extends $tea.Model {
1762
+ items?: DescribeColumnsResponseBodyItems;
1763
+ requestId?: string;
1764
+ static names(): {
1765
+ [key: string]: string;
1766
+ };
1767
+ static types(): {
1768
+ [key: string]: any;
1769
+ };
1770
+ constructor(map?: {
1771
+ [key: string]: any;
1772
+ });
1773
+ }
1774
+ export declare class DescribeColumnsResponse extends $tea.Model {
1775
+ headers: {
1776
+ [key: string]: string;
1777
+ };
1778
+ statusCode: number;
1779
+ body: DescribeColumnsResponseBody;
1780
+ static names(): {
1781
+ [key: string]: string;
1782
+ };
1783
+ static types(): {
1784
+ [key: string]: any;
1785
+ };
1786
+ constructor(map?: {
1787
+ [key: string]: any;
1788
+ });
1789
+ }
1696
1790
  export declare class DescribeDBClusterAttributeRequest extends $tea.Model {
1697
1791
  DBClusterId?: string;
1698
1792
  static names(): {
@@ -2499,6 +2593,48 @@ export declare class DescribeSQLPatternsResponse extends $tea.Model {
2499
2593
  [key: string]: any;
2500
2594
  });
2501
2595
  }
2596
+ export declare class DescribeSchemasRequest extends $tea.Model {
2597
+ DBClusterId?: string;
2598
+ regionId?: string;
2599
+ static names(): {
2600
+ [key: string]: string;
2601
+ };
2602
+ static types(): {
2603
+ [key: string]: any;
2604
+ };
2605
+ constructor(map?: {
2606
+ [key: string]: any;
2607
+ });
2608
+ }
2609
+ export declare class DescribeSchemasResponseBody extends $tea.Model {
2610
+ items?: DescribeSchemasResponseBodyItems;
2611
+ requestId?: string;
2612
+ static names(): {
2613
+ [key: string]: string;
2614
+ };
2615
+ static types(): {
2616
+ [key: string]: any;
2617
+ };
2618
+ constructor(map?: {
2619
+ [key: string]: any;
2620
+ });
2621
+ }
2622
+ export declare class DescribeSchemasResponse extends $tea.Model {
2623
+ headers: {
2624
+ [key: string]: string;
2625
+ };
2626
+ statusCode: number;
2627
+ body: DescribeSchemasResponseBody;
2628
+ static names(): {
2629
+ [key: string]: string;
2630
+ };
2631
+ static types(): {
2632
+ [key: string]: any;
2633
+ };
2634
+ constructor(map?: {
2635
+ [key: string]: any;
2636
+ });
2637
+ }
2502
2638
  export declare class DescribeSparkCodeLogRequest extends $tea.Model {
2503
2639
  DBClusterId?: string;
2504
2640
  jobId?: number;
@@ -2735,6 +2871,49 @@ export declare class DescribeTableAccessCountResponse extends $tea.Model {
2735
2871
  [key: string]: any;
2736
2872
  });
2737
2873
  }
2874
+ export declare class DescribeTablesRequest extends $tea.Model {
2875
+ DBClusterId?: string;
2876
+ regionId?: string;
2877
+ schemaName?: string;
2878
+ static names(): {
2879
+ [key: string]: string;
2880
+ };
2881
+ static types(): {
2882
+ [key: string]: any;
2883
+ };
2884
+ constructor(map?: {
2885
+ [key: string]: any;
2886
+ });
2887
+ }
2888
+ export declare class DescribeTablesResponseBody extends $tea.Model {
2889
+ items?: DescribeTablesResponseBodyItems;
2890
+ requestId?: string;
2891
+ static names(): {
2892
+ [key: string]: string;
2893
+ };
2894
+ static types(): {
2895
+ [key: string]: any;
2896
+ };
2897
+ constructor(map?: {
2898
+ [key: string]: any;
2899
+ });
2900
+ }
2901
+ export declare class DescribeTablesResponse extends $tea.Model {
2902
+ headers: {
2903
+ [key: string]: string;
2904
+ };
2905
+ statusCode: number;
2906
+ body: DescribeTablesResponseBody;
2907
+ static names(): {
2908
+ [key: string]: string;
2909
+ };
2910
+ static types(): {
2911
+ [key: string]: any;
2912
+ };
2913
+ constructor(map?: {
2914
+ [key: string]: any;
2915
+ });
2916
+ }
2738
2917
  export declare class DisableElasticPlanRequest extends $tea.Model {
2739
2918
  DBClusterId?: string;
2740
2919
  elasticPlanName?: string;
@@ -5123,6 +5302,87 @@ export declare class DescribeAdbMySqlColumnsResponseBodyColumns extends $tea.Mod
5123
5302
  [key: string]: any;
5124
5303
  });
5125
5304
  }
5305
+ export declare class DescribeAllDataSourceResponseBodyColumnsColumn extends $tea.Model {
5306
+ autoIncrementColumn?: boolean;
5307
+ columnName?: string;
5308
+ DBClusterId?: string;
5309
+ primaryKey?: boolean;
5310
+ schemaName?: string;
5311
+ tableName?: string;
5312
+ type?: string;
5313
+ static names(): {
5314
+ [key: string]: string;
5315
+ };
5316
+ static types(): {
5317
+ [key: string]: any;
5318
+ };
5319
+ constructor(map?: {
5320
+ [key: string]: any;
5321
+ });
5322
+ }
5323
+ export declare class DescribeAllDataSourceResponseBodyColumns extends $tea.Model {
5324
+ column?: DescribeAllDataSourceResponseBodyColumnsColumn[];
5325
+ static names(): {
5326
+ [key: string]: string;
5327
+ };
5328
+ static types(): {
5329
+ [key: string]: any;
5330
+ };
5331
+ constructor(map?: {
5332
+ [key: string]: any;
5333
+ });
5334
+ }
5335
+ export declare class DescribeAllDataSourceResponseBodySchemasSchema extends $tea.Model {
5336
+ DBClusterId?: string;
5337
+ schemaName?: string;
5338
+ static names(): {
5339
+ [key: string]: string;
5340
+ };
5341
+ static types(): {
5342
+ [key: string]: any;
5343
+ };
5344
+ constructor(map?: {
5345
+ [key: string]: any;
5346
+ });
5347
+ }
5348
+ export declare class DescribeAllDataSourceResponseBodySchemas extends $tea.Model {
5349
+ schema?: DescribeAllDataSourceResponseBodySchemasSchema[];
5350
+ static names(): {
5351
+ [key: string]: string;
5352
+ };
5353
+ static types(): {
5354
+ [key: string]: any;
5355
+ };
5356
+ constructor(map?: {
5357
+ [key: string]: any;
5358
+ });
5359
+ }
5360
+ export declare class DescribeAllDataSourceResponseBodyTablesTable extends $tea.Model {
5361
+ DBClusterId?: string;
5362
+ schemaName?: string;
5363
+ tableName?: string;
5364
+ static names(): {
5365
+ [key: string]: string;
5366
+ };
5367
+ static types(): {
5368
+ [key: string]: any;
5369
+ };
5370
+ constructor(map?: {
5371
+ [key: string]: any;
5372
+ });
5373
+ }
5374
+ export declare class DescribeAllDataSourceResponseBodyTables extends $tea.Model {
5375
+ table?: DescribeAllDataSourceResponseBodyTablesTable[];
5376
+ static names(): {
5377
+ [key: string]: string;
5378
+ };
5379
+ static types(): {
5380
+ [key: string]: any;
5381
+ };
5382
+ constructor(map?: {
5383
+ [key: string]: any;
5384
+ });
5385
+ }
5126
5386
  export declare class DescribeApsActionLogsResponseBodyActionLogs extends $tea.Model {
5127
5387
  context?: string;
5128
5388
  stage?: string;
@@ -5246,6 +5506,36 @@ export declare class DescribeClusterNetInfoResponseBodyItems extends $tea.Model
5246
5506
  [key: string]: any;
5247
5507
  });
5248
5508
  }
5509
+ export declare class DescribeColumnsResponseBodyItemsColumn extends $tea.Model {
5510
+ autoIncrementColumn?: boolean;
5511
+ columnName?: string;
5512
+ DBClusterId?: string;
5513
+ primaryKey?: boolean;
5514
+ schemaName?: string;
5515
+ tableName?: string;
5516
+ type?: string;
5517
+ static names(): {
5518
+ [key: string]: string;
5519
+ };
5520
+ static types(): {
5521
+ [key: string]: any;
5522
+ };
5523
+ constructor(map?: {
5524
+ [key: string]: any;
5525
+ });
5526
+ }
5527
+ export declare class DescribeColumnsResponseBodyItems extends $tea.Model {
5528
+ column?: DescribeColumnsResponseBodyItemsColumn[];
5529
+ static names(): {
5530
+ [key: string]: string;
5531
+ };
5532
+ static types(): {
5533
+ [key: string]: any;
5534
+ };
5535
+ constructor(map?: {
5536
+ [key: string]: any;
5537
+ });
5538
+ }
5249
5539
  export declare class DescribeDBClusterAttributeResponseBodyItemsDBClusterTagsTag extends $tea.Model {
5250
5540
  key?: string;
5251
5541
  value?: string;
@@ -5773,6 +6063,31 @@ export declare class DescribeSQLPatternsResponseBodyPatternDetails extends $tea.
5773
6063
  [key: string]: any;
5774
6064
  });
5775
6065
  }
6066
+ export declare class DescribeSchemasResponseBodyItemsSchema extends $tea.Model {
6067
+ DBClusterId?: string;
6068
+ schemaName?: string;
6069
+ static names(): {
6070
+ [key: string]: string;
6071
+ };
6072
+ static types(): {
6073
+ [key: string]: any;
6074
+ };
6075
+ constructor(map?: {
6076
+ [key: string]: any;
6077
+ });
6078
+ }
6079
+ export declare class DescribeSchemasResponseBodyItems extends $tea.Model {
6080
+ schema?: DescribeSchemasResponseBodyItemsSchema[];
6081
+ static names(): {
6082
+ [key: string]: string;
6083
+ };
6084
+ static types(): {
6085
+ [key: string]: any;
6086
+ };
6087
+ constructor(map?: {
6088
+ [key: string]: any;
6089
+ });
6090
+ }
5776
6091
  export declare class DescribeSqlPatternResponseBodyItems extends $tea.Model {
5777
6092
  accessIP?: string;
5778
6093
  avgCpuTime?: string;
@@ -5816,6 +6131,32 @@ export declare class DescribeTableAccessCountResponseBodyItems extends $tea.Mode
5816
6131
  [key: string]: any;
5817
6132
  });
5818
6133
  }
6134
+ export declare class DescribeTablesResponseBodyItemsTable extends $tea.Model {
6135
+ DBClusterId?: string;
6136
+ schemaName?: string;
6137
+ tableName?: string;
6138
+ static names(): {
6139
+ [key: string]: string;
6140
+ };
6141
+ static types(): {
6142
+ [key: string]: any;
6143
+ };
6144
+ constructor(map?: {
6145
+ [key: string]: any;
6146
+ });
6147
+ }
6148
+ export declare class DescribeTablesResponseBodyItems extends $tea.Model {
6149
+ table?: DescribeTablesResponseBodyItemsTable[];
6150
+ static names(): {
6151
+ [key: string]: string;
6152
+ };
6153
+ static types(): {
6154
+ [key: string]: any;
6155
+ };
6156
+ constructor(map?: {
6157
+ [key: string]: any;
6158
+ });
6159
+ }
5819
6160
  export declare class GetDatabaseObjectsResponseBodyData extends $tea.Model {
5820
6161
  databaseSummaryModels?: DatabaseSummaryModel[];
5821
6162
  pageNumber?: number;
@@ -6256,6 +6597,8 @@ export default class Client extends OpenApi {
6256
6597
  describeAdbMySqlSchemas(request: DescribeAdbMySqlSchemasRequest): Promise<DescribeAdbMySqlSchemasResponse>;
6257
6598
  describeAdbMySqlTablesWithOptions(request: DescribeAdbMySqlTablesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAdbMySqlTablesResponse>;
6258
6599
  describeAdbMySqlTables(request: DescribeAdbMySqlTablesRequest): Promise<DescribeAdbMySqlTablesResponse>;
6600
+ describeAllDataSourceWithOptions(request: DescribeAllDataSourceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAllDataSourceResponse>;
6601
+ describeAllDataSource(request: DescribeAllDataSourceRequest): Promise<DescribeAllDataSourceResponse>;
6259
6602
  describeApsActionLogsWithOptions(request: DescribeApsActionLogsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApsActionLogsResponse>;
6260
6603
  describeApsActionLogs(request: DescribeApsActionLogsRequest): Promise<DescribeApsActionLogsResponse>;
6261
6604
  describeApsResourceGroupsWithOptions(request: DescribeApsResourceGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApsResourceGroupsResponse>;
@@ -6266,6 +6609,8 @@ export default class Client extends OpenApi {
6266
6609
  describeClusterAccessWhiteList(request: DescribeClusterAccessWhiteListRequest): Promise<DescribeClusterAccessWhiteListResponse>;
6267
6610
  describeClusterNetInfoWithOptions(request: DescribeClusterNetInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNetInfoResponse>;
6268
6611
  describeClusterNetInfo(request: DescribeClusterNetInfoRequest): Promise<DescribeClusterNetInfoResponse>;
6612
+ describeColumnsWithOptions(request: DescribeColumnsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeColumnsResponse>;
6613
+ describeColumns(request: DescribeColumnsRequest): Promise<DescribeColumnsResponse>;
6269
6614
  describeDBClusterAttributeWithOptions(request: DescribeDBClusterAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterAttributeResponse>;
6270
6615
  describeDBClusterAttribute(request: DescribeDBClusterAttributeRequest): Promise<DescribeDBClusterAttributeResponse>;
6271
6616
  describeDBClusterHealthStatusWithOptions(request: DescribeDBClusterHealthStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterHealthStatusResponse>;
@@ -6300,6 +6645,8 @@ export default class Client extends OpenApi {
6300
6645
  describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse>;
6301
6646
  describeSQLPatternsWithOptions(request: DescribeSQLPatternsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSQLPatternsResponse>;
6302
6647
  describeSQLPatterns(request: DescribeSQLPatternsRequest): Promise<DescribeSQLPatternsResponse>;
6648
+ describeSchemasWithOptions(request: DescribeSchemasRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSchemasResponse>;
6649
+ describeSchemas(request: DescribeSchemasRequest): Promise<DescribeSchemasResponse>;
6303
6650
  describeSparkCodeLogWithOptions(request: DescribeSparkCodeLogRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSparkCodeLogResponse>;
6304
6651
  describeSparkCodeLog(request: DescribeSparkCodeLogRequest): Promise<DescribeSparkCodeLogResponse>;
6305
6652
  describeSparkCodeOutputWithOptions(request: DescribeSparkCodeOutputRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSparkCodeOutputResponse>;
@@ -6310,6 +6657,8 @@ export default class Client extends OpenApi {
6310
6657
  describeSqlPattern(request: DescribeSqlPatternRequest): Promise<DescribeSqlPatternResponse>;
6311
6658
  describeTableAccessCountWithOptions(request: DescribeTableAccessCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTableAccessCountResponse>;
6312
6659
  describeTableAccessCount(request: DescribeTableAccessCountRequest): Promise<DescribeTableAccessCountResponse>;
6660
+ describeTablesWithOptions(request: DescribeTablesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTablesResponse>;
6661
+ describeTables(request: DescribeTablesRequest): Promise<DescribeTablesResponse>;
6313
6662
  disableElasticPlanWithOptions(request: DisableElasticPlanRequest, runtime: $Util.RuntimeOptions): Promise<DisableElasticPlanResponse>;
6314
6663
  disableElasticPlan(request: DisableElasticPlanRequest): Promise<DisableElasticPlanResponse>;
6315
6664
  downloadDiagnosisRecordsWithOptions(request: DownloadDiagnosisRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DownloadDiagnosisRecordsResponse>;