@alicloud/adb20211201 4.1.0 → 4.1.2

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.
Files changed (108) hide show
  1. package/dist/client.d.ts +38 -24
  2. package/dist/client.js +45 -24
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDbresourceGroupRequest.d.ts +16 -0
  5. package/dist/models/CreateDbresourceGroupRequest.js.map +1 -1
  6. package/dist/models/CreateDbresourceGroupRequestRayConfig.d.ts +8 -0
  7. package/dist/models/CreateDbresourceGroupRequestRayConfig.js.map +1 -1
  8. package/dist/models/CreateDbresourceGroupRequestRayConfigWorkerGroups.d.ts +28 -0
  9. package/dist/models/CreateDbresourceGroupRequestRayConfigWorkerGroups.js.map +1 -1
  10. package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +16 -0
  11. package/dist/models/CreateDbresourceGroupShrinkRequest.js.map +1 -1
  12. package/dist/models/DeleteSparkTemplateRequest.d.ts +2 -2
  13. package/dist/models/DescribeAdbMySqlIndexesRequest.d.ts +16 -0
  14. package/dist/models/DescribeAdbMySqlIndexesRequest.js.map +1 -1
  15. package/dist/models/DescribeAdbMySqlIndexesResponseBody.d.ts +32 -0
  16. package/dist/models/DescribeAdbMySqlIndexesResponseBody.js.map +1 -1
  17. package/dist/models/DescribeAdbMySqlIndexesResponseBodyIndexes.d.ts +9 -0
  18. package/dist/models/DescribeAdbMySqlIndexesResponseBodyIndexes.js.map +1 -1
  19. package/dist/models/DescribeAdbMySqlTableMetaRequest.d.ts +14 -0
  20. package/dist/models/DescribeAdbMySqlTableMetaRequest.js.map +1 -1
  21. package/dist/models/DescribeAdbMySqlTableMetaResponseBody.d.ts +19 -0
  22. package/dist/models/DescribeAdbMySqlTableMetaResponseBody.js.map +1 -1
  23. package/dist/models/DescribeAdbMySqlTableMetaResponseBodyTableMeta.d.ts +52 -0
  24. package/dist/models/DescribeAdbMySqlTableMetaResponseBodyTableMeta.js.map +1 -1
  25. package/dist/models/DescribeClusterAccessWhiteListResponseBodyItemsIparray.d.ts +2 -2
  26. package/dist/models/DescribeDbclusterAttributeResponseBodyItemsDbcluster.d.ts +2 -0
  27. package/dist/models/DescribeDbclusterAttributeResponseBodyItemsDbcluster.js +4 -0
  28. package/dist/models/DescribeDbclusterAttributeResponseBodyItemsDbcluster.js.map +1 -1
  29. package/dist/models/DescribeDbclustersRequest.d.ts +8 -17
  30. package/dist/models/DescribeDbclustersRequest.js.map +1 -1
  31. package/dist/models/DescribeDbclustersResponseBodyItemsDbcluster.d.ts +6 -15
  32. package/dist/models/DescribeDbclustersResponseBodyItemsDbcluster.js.map +1 -1
  33. package/dist/models/DescribeDiagnosisRecordsRequest.d.ts +2 -2
  34. package/dist/models/DescribeDiagnosisRecordsResponseBodyQuerys.d.ts +10 -0
  35. package/dist/models/DescribeDiagnosisRecordsResponseBodyQuerys.js.map +1 -1
  36. package/dist/models/DescribeDiagnosisRecordsResponseBodyQuerysQueryProperties.d.ts +8 -0
  37. package/dist/models/DescribeDiagnosisRecordsResponseBodyQuerysQueryProperties.js.map +1 -1
  38. package/dist/models/DescribeLlmsimilarQuestionsRequest.d.ts +12 -0
  39. package/dist/models/DescribeLlmsimilarQuestionsRequest.js.map +1 -1
  40. package/dist/models/DescribeLlmsimilarQuestionsResponseBody.d.ts +10 -0
  41. package/dist/models/DescribeLlmsimilarQuestionsResponseBody.js.map +1 -1
  42. package/dist/models/DescribeLlmsimilarQuestionsResponseBodyItems.d.ts +25 -0
  43. package/dist/models/DescribeLlmsimilarQuestionsResponseBodyItems.js.map +1 -1
  44. package/dist/models/DescribeResourceGroupSpecRequest.d.ts +1 -1
  45. package/dist/models/DescribeSparkAppDiagnosisInfoRequest.d.ts +4 -1
  46. package/dist/models/DescribeSparkAppDiagnosisInfoRequest.js.map +1 -1
  47. package/dist/models/DescribeSqlpatternsRequest.d.ts +1 -0
  48. package/dist/models/DescribeSqlpatternsRequest.js +2 -0
  49. package/dist/models/DescribeSqlpatternsRequest.js.map +1 -1
  50. package/dist/models/DescribeSqlwebSocketDomainRequest.d.ts +8 -0
  51. package/dist/models/DescribeSqlwebSocketDomainRequest.js.map +1 -1
  52. package/dist/models/DescribeSqlwebSocketDomainResponseBody.d.ts +21 -0
  53. package/dist/models/DescribeSqlwebSocketDomainResponseBody.js.map +1 -1
  54. package/dist/models/DescribeTableStatisticsRequest.d.ts +42 -0
  55. package/dist/models/DescribeTableStatisticsRequest.js.map +1 -1
  56. package/dist/models/DescribeTableStatisticsResponseBody.d.ts +22 -0
  57. package/dist/models/DescribeTableStatisticsResponseBody.js.map +1 -1
  58. package/dist/models/DescribeTableStatisticsResponseBodyItemsTableStatisticRecords.d.ts +45 -0
  59. package/dist/models/DescribeTableStatisticsResponseBodyItemsTableStatisticRecords.js.map +1 -1
  60. package/dist/models/GetDatabaseObjectsResponseBody.d.ts +1 -1
  61. package/dist/models/GetDatabaseObjectsResponseBodyData.d.ts +1 -1
  62. package/dist/models/GetTableColumnsResponseBody.d.ts +1 -1
  63. package/dist/models/GetViewObjectsRequest.d.ts +4 -0
  64. package/dist/models/GetViewObjectsRequest.js.map +1 -1
  65. package/dist/models/KillProcessRequest.d.ts +1 -1
  66. package/dist/models/ModifyClusterAccessWhiteListRequest.d.ts +1 -1
  67. package/dist/models/SubmitResultExportJobRequest.d.ts +4 -1
  68. package/dist/models/SubmitResultExportJobRequest.js.map +1 -1
  69. package/dist/models/SubmitSparkAppRequest.d.ts +1 -1
  70. package/package.json +1 -1
  71. package/src/client.ts +46 -24
  72. package/src/models/CreateDbresourceGroupRequest.ts +16 -0
  73. package/src/models/CreateDbresourceGroupRequestRayConfig.ts +8 -0
  74. package/src/models/CreateDbresourceGroupRequestRayConfigWorkerGroups.ts +28 -0
  75. package/src/models/CreateDbresourceGroupShrinkRequest.ts +16 -0
  76. package/src/models/DeleteSparkTemplateRequest.ts +2 -2
  77. package/src/models/DescribeAdbMySqlIndexesRequest.ts +16 -0
  78. package/src/models/DescribeAdbMySqlIndexesResponseBody.ts +32 -0
  79. package/src/models/DescribeAdbMySqlIndexesResponseBodyIndexes.ts +9 -0
  80. package/src/models/DescribeAdbMySqlTableMetaRequest.ts +14 -0
  81. package/src/models/DescribeAdbMySqlTableMetaResponseBody.ts +19 -0
  82. package/src/models/DescribeAdbMySqlTableMetaResponseBodyTableMeta.ts +52 -0
  83. package/src/models/DescribeClusterAccessWhiteListResponseBodyItemsIparray.ts +2 -2
  84. package/src/models/DescribeDbclusterAttributeResponseBodyItemsDbcluster.ts +6 -0
  85. package/src/models/DescribeDbclustersRequest.ts +8 -17
  86. package/src/models/DescribeDbclustersResponseBodyItemsDbcluster.ts +6 -15
  87. package/src/models/DescribeDiagnosisRecordsRequest.ts +2 -2
  88. package/src/models/DescribeDiagnosisRecordsResponseBodyQuerys.ts +10 -0
  89. package/src/models/DescribeDiagnosisRecordsResponseBodyQuerysQueryProperties.ts +8 -0
  90. package/src/models/DescribeLlmsimilarQuestionsRequest.ts +12 -0
  91. package/src/models/DescribeLlmsimilarQuestionsResponseBody.ts +10 -0
  92. package/src/models/DescribeLlmsimilarQuestionsResponseBodyItems.ts +25 -0
  93. package/src/models/DescribeResourceGroupSpecRequest.ts +1 -1
  94. package/src/models/DescribeSparkAppDiagnosisInfoRequest.ts +4 -1
  95. package/src/models/DescribeSqlpatternsRequest.ts +3 -0
  96. package/src/models/DescribeSqlwebSocketDomainRequest.ts +8 -0
  97. package/src/models/DescribeSqlwebSocketDomainResponseBody.ts +21 -0
  98. package/src/models/DescribeTableStatisticsRequest.ts +42 -0
  99. package/src/models/DescribeTableStatisticsResponseBody.ts +22 -0
  100. package/src/models/DescribeTableStatisticsResponseBodyItemsTableStatisticRecords.ts +45 -0
  101. package/src/models/GetDatabaseObjectsResponseBody.ts +1 -1
  102. package/src/models/GetDatabaseObjectsResponseBodyData.ts +1 -1
  103. package/src/models/GetTableColumnsResponseBody.ts +1 -1
  104. package/src/models/GetViewObjectsRequest.ts +4 -0
  105. package/src/models/KillProcessRequest.ts +1 -1
  106. package/src/models/ModifyClusterAccessWhiteListRequest.ts +1 -1
  107. package/src/models/SubmitResultExportJobRequest.ts +4 -1
  108. package/src/models/SubmitSparkAppRequest.ts +1 -1
@@ -115,6 +115,7 @@ export class DescribeSQLPatternsRequest extends $dara.Model {
115
115
  * 2022-09-06T03:06:00Z
116
116
  */
117
117
  startTime?: string;
118
+ userName?: string;
118
119
  static names(): { [key: string]: string } {
119
120
  return {
120
121
  DBClusterId: 'DBClusterId',
@@ -126,6 +127,7 @@ export class DescribeSQLPatternsRequest extends $dara.Model {
126
127
  pageSize: 'PageSize',
127
128
  regionId: 'RegionId',
128
129
  startTime: 'StartTime',
130
+ userName: 'UserName',
129
131
  };
130
132
  }
131
133
 
@@ -140,6 +142,7 @@ export class DescribeSQLPatternsRequest extends $dara.Model {
140
142
  pageSize: 'number',
141
143
  regionId: 'string',
142
144
  startTime: 'string',
145
+ userName: 'string',
143
146
  };
144
147
  }
145
148
 
@@ -5,6 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeSQLWebSocketDomainRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The cluster ID.
9
+ *
10
+ * > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
11
+ *
8
12
  * This parameter is required.
9
13
  *
10
14
  * @example
@@ -13,6 +17,10 @@ export class DescribeSQLWebSocketDomainRequest extends $dara.Model {
13
17
  DBClusterId?: string;
14
18
  /**
15
19
  * @remarks
20
+ * The region ID
21
+ *
22
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/143074.html) operation to query the most recent region list.
23
+ *
16
24
  * This parameter is required.
17
25
  *
18
26
  * @example
@@ -4,26 +4,47 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeSQLWebSocketDomainResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The status code. The status code 200 indicates that the request was successful. Other status codes indicate that the request failed.
9
+ *
7
10
  * @example
8
11
  * 200
9
12
  */
10
13
  code?: number;
11
14
  /**
15
+ * @remarks
16
+ * The domain name.
17
+ *
12
18
  * @example
13
19
  * adb-ws-beijing.console.aliyun.com/query
14
20
  */
15
21
  domain?: string;
16
22
  /**
23
+ * @remarks
24
+ * The returned message. Valid values:
25
+ *
26
+ * * If the request was successful, a success message is returned.****
27
+ * * If the request failed, an error message is returned.
28
+ *
17
29
  * @example
18
30
  * Success
19
31
  */
20
32
  message?: string;
21
33
  /**
34
+ * @remarks
35
+ * The request ID.
36
+ *
22
37
  * @example
23
38
  * E03F0806-A67B-5B24-8562-9589F20DEEB5
24
39
  */
25
40
  requestId?: string;
26
41
  /**
42
+ * @remarks
43
+ * Indicates whether the request was successful. Valid values:
44
+ *
45
+ * * **true**
46
+ * * **false**
47
+ *
27
48
  * @example
28
49
  * true
29
50
  */
@@ -5,6 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeTableStatisticsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The cluster ID.
9
+ *
10
+ * > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
11
+ *
8
12
  * This parameter is required.
9
13
  *
10
14
  * @example
@@ -12,31 +16,69 @@ export class DescribeTableStatisticsRequest extends $dara.Model {
12
16
  */
13
17
  DBClusterId?: string;
14
18
  /**
19
+ * @remarks
20
+ * The keyword that is used to query information by table name.
21
+ *
15
22
  * @example
16
23
  * you_table_name
17
24
  */
18
25
  keyword?: string;
19
26
  /**
27
+ * @remarks
28
+ * The order by which to sort query results. Specify the parameter value in the JSON format.
29
+ *
30
+ * Example:
31
+ *
32
+ * [
33
+ *
34
+ * {
35
+ *
36
+ * "Field":"Name",
37
+ *
38
+ * "Type":"Asc"
39
+ *
40
+ * }
41
+ *
42
+ * ]
43
+ *
44
+ * Field specifies the field by which to sort the query results. Set the value to Name. Type specifies the sorting order. Valid values: Desc and Asc.
45
+ *
46
+ * Field and Type are case-insensitive.
47
+ *
20
48
  * @example
21
49
  * [{"Field":"SchemaName","Type":"Desc"}]
22
50
  */
23
51
  order?: string;
24
52
  /**
53
+ * @remarks
54
+ * The page number.
55
+ *
25
56
  * @example
26
57
  * 1
27
58
  */
28
59
  pageNumber?: number;
29
60
  /**
61
+ * @remarks
62
+ * The number of entries per page.
63
+ *
30
64
  * @example
31
65
  * 30
32
66
  */
33
67
  pageSize?: number;
34
68
  /**
69
+ * @remarks
70
+ * The region ID
71
+ *
72
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/612393.html) operation to query the most recent region list.
73
+ *
35
74
  * @example
36
75
  * cn-beijing
37
76
  */
38
77
  regionId?: string;
39
78
  /**
79
+ * @remarks
80
+ * The name of the database.
81
+ *
40
82
  * @example
41
83
  * test
42
84
  */
@@ -5,32 +5,54 @@ import { DescribeTableStatisticsResponseBodyItems } from "./DescribeTableStatist
5
5
 
6
6
  export class DescribeTableStatisticsResponseBody extends $dara.Model {
7
7
  /**
8
+ * @remarks
9
+ * The cluster ID.
10
+ *
8
11
  * @example
9
12
  * am-****************
10
13
  */
11
14
  DBClusterId?: string;
15
+ /**
16
+ * @remarks
17
+ * The queried table statistics.
18
+ */
12
19
  items?: DescribeTableStatisticsResponseBodyItems;
13
20
  /**
21
+ * @remarks
22
+ * The page number.
23
+ *
14
24
  * @example
15
25
  * 1
16
26
  */
17
27
  pageNumber?: string;
18
28
  /**
29
+ * @remarks
30
+ * The number of entries per page.
31
+ *
19
32
  * @example
20
33
  * 30
21
34
  */
22
35
  pageSize?: string;
23
36
  /**
37
+ * @remarks
38
+ * The request ID.
39
+ *
24
40
  * @example
25
41
  * 4C4433FF-5D3A-4C3E-A19C-6D93B2******
26
42
  */
27
43
  requestId?: string;
28
44
  /**
45
+ * @remarks
46
+ * The names of databases.
47
+ *
29
48
  * @example
30
49
  * [\\"adb_platform\\", \\"adb_ai\\", \\"adb_data\\"]
31
50
  */
32
51
  schemaNames?: string;
33
52
  /**
53
+ * @remarks
54
+ * The total number of entries returned.
55
+ *
34
56
  * @example
35
57
  * 693
36
58
  */
@@ -4,61 +4,106 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeTableStatisticsResponseBodyItemsTableStatisticRecords extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The size of cold data. Unit: bytes.
9
+ *
10
+ * > This parameter is supported only for AnalyticDB for MySQL clusters of V3.1.3.4 or later.
11
+ *
7
12
  * @example
8
13
  * 4428120064
9
14
  */
10
15
  coldDataSize?: number;
11
16
  /**
17
+ * @remarks
18
+ * The data size of the table. Unit: bytes.
19
+ *
12
20
  * @example
13
21
  * 15592
14
22
  */
15
23
  dataSize?: number;
16
24
  /**
25
+ * @remarks
26
+ * The size of hot data. Unit: bytes.
27
+ *
17
28
  * @example
18
29
  * 1048576
19
30
  */
20
31
  hotDataSize?: number;
21
32
  /**
33
+ * @remarks
34
+ * The data size of indexes. Unit: bytes.
35
+ *
22
36
  * @example
23
37
  * 3076
24
38
  */
25
39
  indexSize?: number;
26
40
  /**
41
+ * @remarks
42
+ * The data size of other data. Unit: bytes.
43
+ *
27
44
  * @example
28
45
  * 1048576
29
46
  */
30
47
  otherSize?: number;
31
48
  /**
49
+ * @remarks
50
+ * The number of partitions.
51
+ *
32
52
  * @example
33
53
  * 1
34
54
  */
35
55
  partitionCount?: number;
36
56
  /**
57
+ * @remarks
58
+ * The data size of the primary key index. Unit: bytes.
59
+ *
37
60
  * @example
38
61
  * 16340
39
62
  */
40
63
  primaryKeyIndexSize?: number;
41
64
  /**
65
+ * @remarks
66
+ * The number of rows in the table.
67
+ *
42
68
  * @example
43
69
  * 3
44
70
  */
45
71
  rowCount?: number;
46
72
  /**
73
+ * @remarks
74
+ * The name of the database.
75
+ *
47
76
  * @example
48
77
  * test_schema
49
78
  */
50
79
  schemaName?: string;
51
80
  /**
81
+ * @remarks
82
+ * The percentage of the table size. Unit: %.
83
+ *
84
+ * > Formula: Table storage percentage = Total data size of a table/Total data size of the cluster × 100%.
85
+ *
52
86
  * @example
53
87
  * 66.23
54
88
  */
55
89
  spaceRatio?: number;
56
90
  /**
91
+ * @remarks
92
+ * The name of the table.
93
+ *
57
94
  * @example
58
95
  * test_table
59
96
  */
60
97
  tableName?: string;
61
98
  /**
99
+ * @remarks
100
+ * The total data size of the table. Unit: bytes.
101
+ *
102
+ * > The following formulas can be used to calculate the total data size:
103
+ *
104
+ * * Formula 1: Total data size = Hot data size + Cold data size.
105
+ * * Formula 2: Total data size = Data size of table records + Data size of regular indexes + Data size of primary key indexes + Data size of other data.
106
+ *
62
107
  * @example
63
108
  * 1577
64
109
  */
@@ -6,7 +6,7 @@ import { GetDatabaseObjectsResponseBodyData } from "./GetDatabaseObjectsResponse
6
6
  export class GetDatabaseObjectsResponseBody extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The queried databases.
9
+ * The returned data.
10
10
  */
11
11
  data?: GetDatabaseObjectsResponseBodyData;
12
12
  /**
@@ -6,7 +6,7 @@ import { DatabaseSummaryModel } from "./DatabaseSummaryModel";
6
6
  export class GetDatabaseObjectsResponseBodyData extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The queried database.
9
+ * The queried databases.
10
10
  */
11
11
  databaseSummaryModels?: DatabaseSummaryModel[];
12
12
  /**
@@ -6,7 +6,7 @@ import { GetTableColumnsResponseBodyData } from "./GetTableColumnsResponseBodyDa
6
6
  export class GetTableColumnsResponseBody extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The queried data.
9
+ * The returned data.
10
10
  */
11
11
  data?: GetTableColumnsResponseBodyData;
12
12
  /**
@@ -102,6 +102,10 @@ export class GetViewObjectsRequest extends $dara.Model {
102
102
  * adb_demo
103
103
  */
104
104
  schemaName?: string;
105
+ /**
106
+ * @example
107
+ * true
108
+ */
105
109
  showMvBaseTable?: boolean;
106
110
  static names(): { [key: string]: string } {
107
111
  return {
@@ -19,7 +19,7 @@ export class KillProcessRequest extends $dara.Model {
19
19
  * @remarks
20
20
  * The query ID.
21
21
  *
22
- * > You can call the [DescribeProcessList](https://help.aliyun.com/document_detail/143382.html) operation to query the IDs of queries that are being executed.
22
+ * > You can call the [DescribeProcessList](https://help.aliyun.com/document_detail/612277.html) operation to query the IDs of queries that are being executed.
23
23
  *
24
24
  * @example
25
25
  * 202011191048151921681492420315100****
@@ -7,7 +7,7 @@ export class ModifyClusterAccessWhiteListRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The attribute of the IP address whitelist. By default, this parameter is empty.
9
9
  *
10
- * > Whitelists with the hidden attribute are not displayed in the console. Those whitelists are used to access Data Transmission Service (DTS) and PolarDB.
10
+ * > IP address whitelists with the hidden attribute are not displayed in the console. Those whitelists are used to access Data Transmission Service (DTS) and PolarDB.
11
11
  *
12
12
  * @example
13
13
  * hidden
@@ -25,7 +25,10 @@ export class SubmitResultExportJobRequest extends $dara.Model {
25
25
  engine?: string;
26
26
  /**
27
27
  * @remarks
28
- * The export type.
28
+ * The type of the result set export job.
29
+ *
30
+ * @example
31
+ * SLS
29
32
  */
30
33
  exportType?: string;
31
34
  /**
@@ -41,7 +41,7 @@ export class SubmitSparkAppRequest extends $dara.Model {
41
41
  appType?: string;
42
42
  /**
43
43
  * @remarks
44
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
44
+ * The ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
45
45
  *
46
46
  * > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
47
47
  *