@alicloud/adb20211201 5.1.3 → 5.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.
Files changed (142) hide show
  1. package/dist/client.d.ts +128 -38
  2. package/dist/client.js +347 -38
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddKnowledgeTagsRequest.d.ts +41 -0
  5. package/dist/models/AddKnowledgeTagsRequest.js +62 -0
  6. package/dist/models/AddKnowledgeTagsRequest.js.map +1 -0
  7. package/dist/models/AddKnowledgeTagsResponse.d.ts +19 -0
  8. package/dist/models/AddKnowledgeTagsResponse.js +69 -0
  9. package/dist/models/AddKnowledgeTagsResponse.js.map +1 -0
  10. package/dist/models/AddKnowledgeTagsResponseBody.d.ts +121 -0
  11. package/dist/models/AddKnowledgeTagsResponseBody.js +118 -0
  12. package/dist/models/AddKnowledgeTagsResponseBody.js.map +1 -0
  13. package/dist/models/AddKnowledgeUploadUserRequest.d.ts +43 -0
  14. package/dist/models/AddKnowledgeUploadUserRequest.js +62 -0
  15. package/dist/models/AddKnowledgeUploadUserRequest.js.map +1 -0
  16. package/dist/models/AddKnowledgeUploadUserResponse.d.ts +19 -0
  17. package/dist/models/AddKnowledgeUploadUserResponse.js +69 -0
  18. package/dist/models/AddKnowledgeUploadUserResponse.js.map +1 -0
  19. package/dist/models/AddKnowledgeUploadUserResponseBody.d.ts +106 -0
  20. package/dist/models/AddKnowledgeUploadUserResponseBody.js +114 -0
  21. package/dist/models/AddKnowledgeUploadUserResponseBody.js.map +1 -0
  22. package/dist/models/CreateAccountRequest.d.ts +8 -4
  23. package/dist/models/CreateAccountRequest.js +14 -0
  24. package/dist/models/CreateAccountRequest.js.map +1 -1
  25. package/dist/models/CreateAccountShrinkRequest.d.ts +8 -4
  26. package/dist/models/CreateAccountShrinkRequest.js +8 -0
  27. package/dist/models/CreateAccountShrinkRequest.js.map +1 -1
  28. package/dist/models/CreateDbresourceGroupRequest.d.ts +27 -27
  29. package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +13 -13
  30. package/dist/models/DeleteAccountRequest.d.ts +7 -6
  31. package/dist/models/DeleteAccountRequest.js +2 -0
  32. package/dist/models/DeleteAccountRequest.js.map +1 -1
  33. package/dist/models/DeleteKnowledgeFileRequest.d.ts +33 -0
  34. package/dist/models/DeleteKnowledgeFileRequest.js +60 -0
  35. package/dist/models/DeleteKnowledgeFileRequest.js.map +1 -0
  36. package/dist/models/DeleteKnowledgeFileResponse.d.ts +19 -0
  37. package/dist/models/DeleteKnowledgeFileResponse.js +69 -0
  38. package/dist/models/DeleteKnowledgeFileResponse.js.map +1 -0
  39. package/dist/models/DeleteKnowledgeFileResponseBody.d.ts +65 -0
  40. package/dist/models/DeleteKnowledgeFileResponseBody.js +86 -0
  41. package/dist/models/DeleteKnowledgeFileResponseBody.js.map +1 -0
  42. package/dist/models/DescribeAccountsRequest.d.ts +7 -4
  43. package/dist/models/DescribeAccountsRequest.js +2 -0
  44. package/dist/models/DescribeAccountsRequest.js.map +1 -1
  45. package/dist/models/DescribeAccountsResponseBody.d.ts +43 -0
  46. package/dist/models/DescribeAccountsResponseBody.js +84 -1
  47. package/dist/models/DescribeAccountsResponseBody.js.map +1 -1
  48. package/dist/models/DescribeDbclusterPerformanceRequest.d.ts +9 -11
  49. package/dist/models/DescribeDbclusterPerformanceRequest.js.map +1 -1
  50. package/dist/models/DescribeDbclusterPerformanceResponseBody.d.ts +9 -10
  51. package/dist/models/DescribeDbclusterPerformanceResponseBody.js.map +1 -1
  52. package/dist/models/GetTableResponseBody.d.ts +1 -1
  53. package/dist/models/ListKnowledgeTagsRequest.d.ts +33 -0
  54. package/dist/models/ListKnowledgeTagsRequest.js +60 -0
  55. package/dist/models/ListKnowledgeTagsRequest.js.map +1 -0
  56. package/dist/models/ListKnowledgeTagsResponse.d.ts +19 -0
  57. package/dist/models/ListKnowledgeTagsResponse.js +69 -0
  58. package/dist/models/ListKnowledgeTagsResponse.js.map +1 -0
  59. package/dist/models/ListKnowledgeTagsResponseBody.d.ts +98 -0
  60. package/dist/models/ListKnowledgeTagsResponseBody.js +112 -0
  61. package/dist/models/ListKnowledgeTagsResponseBody.js.map +1 -0
  62. package/dist/models/ListKnowledgeUploadUserRequest.d.ts +33 -0
  63. package/dist/models/ListKnowledgeUploadUserRequest.js +60 -0
  64. package/dist/models/ListKnowledgeUploadUserRequest.js.map +1 -0
  65. package/dist/models/ListKnowledgeUploadUserResponse.d.ts +19 -0
  66. package/dist/models/ListKnowledgeUploadUserResponse.js +69 -0
  67. package/dist/models/ListKnowledgeUploadUserResponse.js.map +1 -0
  68. package/dist/models/ListKnowledgeUploadUserResponseBody.d.ts +70 -0
  69. package/dist/models/ListKnowledgeUploadUserResponseBody.js +91 -0
  70. package/dist/models/ListKnowledgeUploadUserResponseBody.js.map +1 -0
  71. package/dist/models/ModifyAccountDescriptionRequest.d.ts +11 -11
  72. package/dist/models/ModifyAccountDescriptionRequest.js +2 -0
  73. package/dist/models/ModifyAccountDescriptionRequest.js.map +1 -1
  74. package/dist/models/ModifyAccountPrivilegesRequest.d.ts +13 -10
  75. package/dist/models/ModifyAccountPrivilegesRequest.js +14 -0
  76. package/dist/models/ModifyAccountPrivilegesRequest.js.map +1 -1
  77. package/dist/models/ModifyAccountPrivilegesShrinkRequest.d.ts +7 -4
  78. package/dist/models/ModifyAccountPrivilegesShrinkRequest.js +8 -0
  79. package/dist/models/ModifyAccountPrivilegesShrinkRequest.js.map +1 -1
  80. package/dist/models/ModifyAuditLogConfigRequest.d.ts +11 -13
  81. package/dist/models/ModifyAuditLogConfigRequest.js.map +1 -1
  82. package/dist/models/ModifyAuditLogConfigResponseBody.d.ts +3 -4
  83. package/dist/models/ModifyAuditLogConfigResponseBody.js.map +1 -1
  84. package/dist/models/ModifyBackupPolicyRequest.d.ts +21 -25
  85. package/dist/models/ModifyBackupPolicyRequest.js.map +1 -1
  86. package/dist/models/ModifyDbresourceGroupRequest.d.ts +31 -31
  87. package/dist/models/ModifyDbresourceGroupShrinkRequest.d.ts +19 -19
  88. package/dist/models/RemoveKnowledgeTagsRequest.d.ts +41 -0
  89. package/dist/models/RemoveKnowledgeTagsRequest.js +62 -0
  90. package/dist/models/RemoveKnowledgeTagsRequest.js.map +1 -0
  91. package/dist/models/RemoveKnowledgeTagsResponse.d.ts +19 -0
  92. package/dist/models/RemoveKnowledgeTagsResponse.js +69 -0
  93. package/dist/models/RemoveKnowledgeTagsResponse.js.map +1 -0
  94. package/dist/models/RemoveKnowledgeTagsResponseBody.d.ts +73 -0
  95. package/dist/models/RemoveKnowledgeTagsResponseBody.js +88 -0
  96. package/dist/models/RemoveKnowledgeTagsResponseBody.js.map +1 -0
  97. package/dist/models/ResetAccountPasswordRequest.d.ts +14 -15
  98. package/dist/models/ResetAccountPasswordRequest.js +2 -0
  99. package/dist/models/ResetAccountPasswordRequest.js.map +1 -1
  100. package/dist/models/model.d.ts +30 -0
  101. package/dist/models/model.js +88 -28
  102. package/dist/models/model.js.map +1 -1
  103. package/package.json +1 -1
  104. package/src/client.ts +390 -38
  105. package/src/models/AddKnowledgeTagsRequest.ts +58 -0
  106. package/src/models/AddKnowledgeTagsResponse.ts +40 -0
  107. package/src/models/AddKnowledgeTagsResponseBody.ts +176 -0
  108. package/src/models/AddKnowledgeUploadUserRequest.ts +60 -0
  109. package/src/models/AddKnowledgeUploadUserResponse.ts +40 -0
  110. package/src/models/AddKnowledgeUploadUserResponseBody.ts +157 -0
  111. package/src/models/CreateAccountRequest.ts +22 -4
  112. package/src/models/CreateAccountShrinkRequest.ts +16 -4
  113. package/src/models/CreateDbresourceGroupRequest.ts +27 -27
  114. package/src/models/CreateDbresourceGroupShrinkRequest.ts +13 -13
  115. package/src/models/DeleteAccountRequest.ts +9 -6
  116. package/src/models/DeleteKnowledgeFileRequest.ts +48 -0
  117. package/src/models/DeleteKnowledgeFileResponse.ts +40 -0
  118. package/src/models/DeleteKnowledgeFileResponseBody.ts +97 -0
  119. package/src/models/DescribeAccountsRequest.ts +9 -4
  120. package/src/models/DescribeAccountsResponseBody.ts +99 -0
  121. package/src/models/DescribeDbclusterPerformanceRequest.ts +9 -11
  122. package/src/models/DescribeDbclusterPerformanceResponseBody.ts +9 -10
  123. package/src/models/GetTableResponseBody.ts +1 -1
  124. package/src/models/ListKnowledgeTagsRequest.ts +48 -0
  125. package/src/models/ListKnowledgeTagsResponse.ts +40 -0
  126. package/src/models/ListKnowledgeTagsResponseBody.ts +147 -0
  127. package/src/models/ListKnowledgeUploadUserRequest.ts +48 -0
  128. package/src/models/ListKnowledgeUploadUserResponse.ts +40 -0
  129. package/src/models/ListKnowledgeUploadUserResponseBody.ts +107 -0
  130. package/src/models/ModifyAccountDescriptionRequest.ts +13 -11
  131. package/src/models/ModifyAccountPrivilegesRequest.ts +27 -10
  132. package/src/models/ModifyAccountPrivilegesShrinkRequest.ts +15 -4
  133. package/src/models/ModifyAuditLogConfigRequest.ts +11 -13
  134. package/src/models/ModifyAuditLogConfigResponseBody.ts +3 -4
  135. package/src/models/ModifyBackupPolicyRequest.ts +21 -25
  136. package/src/models/ModifyDbresourceGroupRequest.ts +31 -31
  137. package/src/models/ModifyDbresourceGroupShrinkRequest.ts +19 -19
  138. package/src/models/RemoveKnowledgeTagsRequest.ts +58 -0
  139. package/src/models/RemoveKnowledgeTagsResponse.ts +40 -0
  140. package/src/models/RemoveKnowledgeTagsResponseBody.ts +107 -0
  141. package/src/models/ResetAccountPasswordRequest.ts +16 -15
  142. package/src/models/model.ts +30 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyAccountPrivilegesRequestAccountPrivilegesPrivilegeObject extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The columns on which you want to grant permissions. This parameter must be specified when the PrivilegeType parameter is set to Column.
8
+ * The column to which permissions are granted. This parameter is required when the privilege level is column.
9
9
  *
10
10
  * @example
11
11
  * column1
@@ -13,7 +13,7 @@ export class ModifyAccountPrivilegesRequestAccountPrivilegesPrivilegeObject exte
13
13
  column?: string;
14
14
  /**
15
15
  * @remarks
16
- * The databases on which you want to grant permissions. This parameter must be specified when the PrivilegeType parameter is set to Database, Table, or Column.
16
+ * The database to which permissions are granted. This parameter is required when the privilege level is database, table, or column.
17
17
  *
18
18
  * @example
19
19
  * tsdb1
@@ -21,7 +21,7 @@ export class ModifyAccountPrivilegesRequestAccountPrivilegesPrivilegeObject exte
21
21
  database?: string;
22
22
  /**
23
23
  * @remarks
24
- * The tables on which you want to grant permissions. This parameter must be specified when the PrivilegeType parameter is set to Table or Column.
24
+ * The table to which permissions are granted. This parameter is required when the privilege level is table or column.
25
25
  *
26
26
  * @example
27
27
  * table1
@@ -55,12 +55,12 @@ export class ModifyAccountPrivilegesRequestAccountPrivilegesPrivilegeObject exte
55
55
  export class ModifyAccountPrivilegesRequestAccountPrivileges extends $dara.Model {
56
56
  /**
57
57
  * @remarks
58
- * The objects on which you want to grant permissions, including databases, tables, and columns.
58
+ * The privilege object, which is a tuple of database, table, and column.
59
59
  */
60
60
  privilegeObject?: ModifyAccountPrivilegesRequestAccountPrivilegesPrivilegeObject;
61
61
  /**
62
62
  * @remarks
63
- * The permission level that you want to assign to the database account. You can call the `DescribeEnabledPrivileges` operation to query the permission level that can be assigned to the database account.
63
+ * The privilege level, obtained from the `DescribeEnabledPrivileges` operation.
64
64
  *
65
65
  * @example
66
66
  * Global
@@ -68,7 +68,7 @@ export class ModifyAccountPrivilegesRequestAccountPrivileges extends $dara.Model
68
68
  privilegeType?: string;
69
69
  /**
70
70
  * @remarks
71
- * The permissions that you want to grant to the database account.
71
+ * The list of granted permissions.
72
72
  */
73
73
  privileges?: string[];
74
74
  static names(): { [key: string]: string } {
@@ -115,14 +115,13 @@ export class ModifyAccountPrivilegesRequest extends $dara.Model {
115
115
  accountName?: string;
116
116
  /**
117
117
  * @remarks
118
- * The permissions that you want to grant to the database account.
119
- *
120
- * This parameter is required.
118
+ * The list of granted permissions.
121
119
  */
122
120
  accountPrivileges?: ModifyAccountPrivilegesRequestAccountPrivileges[];
123
121
  /**
124
122
  * @remarks
125
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
123
+ * <props="china">The cluster ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
124
+ * <props="intl">The cluster ID of the Data Lakehouse Edition cluster.
126
125
  *
127
126
  * This parameter is required.
128
127
  *
@@ -130,6 +129,9 @@ export class ModifyAccountPrivilegesRequest extends $dara.Model {
130
129
  * amv-bp1k5p066e1a****
131
130
  */
132
131
  DBClusterId?: string;
132
+ promqlInsertPrivileges?: string[];
133
+ promqlSelectNodePercentage?: number;
134
+ promqlSelectPrivileges?: string[];
133
135
  /**
134
136
  * @remarks
135
137
  * The region ID.
@@ -140,12 +142,17 @@ export class ModifyAccountPrivilegesRequest extends $dara.Model {
140
142
  * cn-hangzhou
141
143
  */
142
144
  regionId?: string;
145
+ resourceGroupName?: string;
143
146
  static names(): { [key: string]: string } {
144
147
  return {
145
148
  accountName: 'AccountName',
146
149
  accountPrivileges: 'AccountPrivileges',
147
150
  DBClusterId: 'DBClusterId',
151
+ promqlInsertPrivileges: 'PromqlInsertPrivileges',
152
+ promqlSelectNodePercentage: 'PromqlSelectNodePercentage',
153
+ promqlSelectPrivileges: 'PromqlSelectPrivileges',
148
154
  regionId: 'RegionId',
155
+ resourceGroupName: 'ResourceGroupName',
149
156
  };
150
157
  }
151
158
 
@@ -154,7 +161,11 @@ export class ModifyAccountPrivilegesRequest extends $dara.Model {
154
161
  accountName: 'string',
155
162
  accountPrivileges: { 'type': 'array', 'itemType': ModifyAccountPrivilegesRequestAccountPrivileges },
156
163
  DBClusterId: 'string',
164
+ promqlInsertPrivileges: { 'type': 'array', 'itemType': 'string' },
165
+ promqlSelectNodePercentage: 'number',
166
+ promqlSelectPrivileges: { 'type': 'array', 'itemType': 'string' },
157
167
  regionId: 'string',
168
+ resourceGroupName: 'string',
158
169
  };
159
170
  }
160
171
 
@@ -162,6 +173,12 @@ export class ModifyAccountPrivilegesRequest extends $dara.Model {
162
173
  if(Array.isArray(this.accountPrivileges)) {
163
174
  $dara.Model.validateArray(this.accountPrivileges);
164
175
  }
176
+ if(Array.isArray(this.promqlInsertPrivileges)) {
177
+ $dara.Model.validateArray(this.promqlInsertPrivileges);
178
+ }
179
+ if(Array.isArray(this.promqlSelectPrivileges)) {
180
+ $dara.Model.validateArray(this.promqlSelectPrivileges);
181
+ }
165
182
  super.validate();
166
183
  }
167
184
 
@@ -15,14 +15,13 @@ export class ModifyAccountPrivilegesShrinkRequest extends $dara.Model {
15
15
  accountName?: string;
16
16
  /**
17
17
  * @remarks
18
- * The permissions that you want to grant to the database account.
19
- *
20
- * This parameter is required.
18
+ * The list of granted permissions.
21
19
  */
22
20
  accountPrivilegesShrink?: string;
23
21
  /**
24
22
  * @remarks
25
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
23
+ * <props="china">The cluster ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
24
+ * <props="intl">The cluster ID of the Data Lakehouse Edition cluster.
26
25
  *
27
26
  * This parameter is required.
28
27
  *
@@ -30,6 +29,9 @@ export class ModifyAccountPrivilegesShrinkRequest extends $dara.Model {
30
29
  * amv-bp1k5p066e1a****
31
30
  */
32
31
  DBClusterId?: string;
32
+ promqlInsertPrivilegesShrink?: string;
33
+ promqlSelectNodePercentage?: number;
34
+ promqlSelectPrivilegesShrink?: string;
33
35
  /**
34
36
  * @remarks
35
37
  * The region ID.
@@ -40,12 +42,17 @@ export class ModifyAccountPrivilegesShrinkRequest extends $dara.Model {
40
42
  * cn-hangzhou
41
43
  */
42
44
  regionId?: string;
45
+ resourceGroupName?: string;
43
46
  static names(): { [key: string]: string } {
44
47
  return {
45
48
  accountName: 'AccountName',
46
49
  accountPrivilegesShrink: 'AccountPrivileges',
47
50
  DBClusterId: 'DBClusterId',
51
+ promqlInsertPrivilegesShrink: 'PromqlInsertPrivileges',
52
+ promqlSelectNodePercentage: 'PromqlSelectNodePercentage',
53
+ promqlSelectPrivilegesShrink: 'PromqlSelectPrivileges',
48
54
  regionId: 'RegionId',
55
+ resourceGroupName: 'ResourceGroupName',
49
56
  };
50
57
  }
51
58
 
@@ -54,7 +61,11 @@ export class ModifyAccountPrivilegesShrinkRequest extends $dara.Model {
54
61
  accountName: 'string',
55
62
  accountPrivilegesShrink: 'string',
56
63
  DBClusterId: 'string',
64
+ promqlInsertPrivilegesShrink: 'string',
65
+ promqlSelectNodePercentage: 'number',
66
+ promqlSelectPrivilegesShrink: 'string',
57
67
  regionId: 'string',
68
+ resourceGroupName: 'string',
58
69
  };
59
70
  }
60
71
 
@@ -5,12 +5,11 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyAuditLogConfigRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The status to which you want to change the SQL audit feature. Valid values:
8
+ * The status of SQL audit logging. Valid values:
9
+ * - **on**: Enables SQL audit logging.
10
+ * - **off**: Disables SQL audit logging.
9
11
  *
10
- * * **on**
11
- * * **off**
12
- *
13
- * > After you disable the SQL audit feature, all SQL audit logs are deleted. You must query and export SQL audit logs before you disable SQL audit. For more information, see [DescribeAuditLogRecords](https://help.aliyun.com/document_detail/612426.html). When you re-enable SQL audit, audit logs that are generated from the time when SQL audit was last enabled are available for queries.
12
+ * > After SQL audit logging is disabled, all SQL audit logs are deleted. Query and export the SQL audit logs before disabling SQL audit logging. For more information, see [DescribeAuditLogRecords](https://help.aliyun.com/document_detail/612426.html). When SQL audit logging is enabled again, audit logs are displayed starting from the most recent time that audit logging was enabled.
14
13
  *
15
14
  * This parameter is required.
16
15
  *
@@ -20,9 +19,9 @@ export class ModifyAuditLogConfigRequest extends $dara.Model {
20
19
  auditLogStatus?: string;
21
20
  /**
22
21
  * @remarks
23
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
24
- *
25
- * > 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.
22
+ * <props="china">The ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
23
+ * <props="intl">The ID of the Data Lakehouse Edition cluster.
24
+ * > You can call [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) to query the IDs of all clusters in a specified region.
26
25
  *
27
26
  * This parameter is required.
28
27
  *
@@ -34,8 +33,8 @@ export class ModifyAuditLogConfigRequest extends $dara.Model {
34
33
  * @remarks
35
34
  * The type of the compute engine. Valid values:
36
35
  *
37
- * * XIHE (**default**)
38
- * * SPARK
36
+ * - XIHE (**default**): Xihe compute engine.
37
+ * - SPARK: Spark compute engine.
39
38
  *
40
39
  * @example
41
40
  * XIHE
@@ -45,9 +44,8 @@ export class ModifyAuditLogConfigRequest extends $dara.Model {
45
44
  ownerId?: number;
46
45
  /**
47
46
  * @remarks
48
- * The region ID of the cluster.
49
- *
50
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/454314.html) operation to query the most recent region list.
47
+ * The region ID.
48
+ * > You can call [DescribeRegions](https://help.aliyun.com/document_detail/454314.html) to query the region ID of a specified cluster.
51
49
  *
52
50
  * This parameter is required.
53
51
  *
@@ -13,10 +13,9 @@ export class ModifyAuditLogConfigResponseBody extends $dara.Model {
13
13
  requestId?: string;
14
14
  /**
15
15
  * @remarks
16
- * Indicates whether the status of SQL audit is updated. Valid values:
17
- *
18
- * * **true**
19
- * * **false**
16
+ * Indicates whether the SQL audit logging status is updated. Valid values:
17
+ * - **true**: The status is updated.
18
+ * - **false**: The status failed to be updated.
20
19
  *
21
20
  * @example
22
21
  * true
@@ -5,9 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyBackupPolicyRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The number of days for which to retain full backup files. Valid values: 7 to 730.
9
- *
10
- * > If you do not specify this parameter, the default value 7 is used.
8
+ * The number of days for which full backups are retained. Valid values: 7 to 730.
9
+ * > If you do not specify this parameter, the default value is 7.
11
10
  *
12
11
  * @example
13
12
  * 7
@@ -15,7 +14,8 @@ export class ModifyBackupPolicyRequest extends $dara.Model {
15
14
  backupRetentionPeriod?: string;
16
15
  /**
17
16
  * @remarks
18
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
17
+ * <props="china">The ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
18
+ * <props="intl">The ID of the Data Lakehouse Edition cluster.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -25,12 +25,10 @@ export class ModifyBackupPolicyRequest extends $dara.Model {
25
25
  DBClusterId?: string;
26
26
  /**
27
27
  * @remarks
28
- * Specifies whether to enable log backup. Valid values:
29
- *
30
- * * **Enable**
31
- * * **Disable**
32
- *
33
- * > If you do not specify this parameter, the default value Enable is used.
28
+ * Specifies whether to enable log (real-time) backup. Valid values:
29
+ * - **Enable**: Enabled.
30
+ * - **Disable**: Disabled.
31
+ * > If you do not specify this parameter, log backup is enabled by default.
34
32
  *
35
33
  * @example
36
34
  * Enable
@@ -38,9 +36,8 @@ export class ModifyBackupPolicyRequest extends $dara.Model {
38
36
  enableBackupLog?: string;
39
37
  /**
40
38
  * @remarks
41
- * The number of days for which to retain log backup files. Valid values: 7 to 730.
42
- *
43
- * > If you do not specify this parameter, the default value 7 is used.
39
+ * The number of days for which log (real-time) backups are retained. Valid values: 7 to 730.
40
+ * > If you do not specify this parameter, the default value is 7.
44
41
  *
45
42
  * @example
46
43
  * 7
@@ -50,17 +47,16 @@ export class ModifyBackupPolicyRequest extends $dara.Model {
50
47
  ownerId?: number;
51
48
  /**
52
49
  * @remarks
53
- * The days of the week on which to perform a full backup. Separate multiple values with commas (,). Valid values:
54
- *
55
- * * **Monday**
56
- * * **Tuesday**
57
- * * **Wednesday**
58
- * * **Thursday**
59
- * * **Friday**
60
- * * **Saturday**
61
- * * **Sunday**
50
+ * The full backup cycle. Separate multiple values with commas (,). Valid values:
51
+ * - **Monday**: Monday.
52
+ * - **Tuesday**: Tuesday.
53
+ * - **Wednesday**: Wednesday.
54
+ * - **Thursday**: Thursday.
55
+ * - **Friday**: Friday.
56
+ * - **Saturday**: Saturday.
57
+ * - **Sunday**: Sunday.
62
58
  *
63
- * > To ensure data security, we recommend that you specify at least two values.
59
+ * > To ensure data security, select at least two days.
64
60
  *
65
61
  * @example
66
62
  * Monday,Wednesday,Friday,Sunday
@@ -68,9 +64,9 @@ export class ModifyBackupPolicyRequest extends $dara.Model {
68
64
  preferredBackupPeriod?: string;
69
65
  /**
70
66
  * @remarks
71
- * The start time to perform a full backup. Specify the time in the HH:mmZ-HH:mmZ format. The time must be in UTC.
67
+ * The start time of the full backup. Specify the time in the HH:mmZ-HH:mmZ format (UTC).
72
68
  *
73
- * > The time range must be 1 hour.
69
+ * > The time range is limited to 1 hour.
74
70
  *
75
71
  * This parameter is required.
76
72
  *
@@ -13,7 +13,7 @@ export class ModifyDBResourceGroupRequestAtmConfig extends $dara.Model {
13
13
  authNodeNum?: number;
14
14
  /**
15
15
  * @remarks
16
- * The authentication node specifications in ACU ([0-9+]ACU).
16
+ * The authentication node specification in [0-9+]ACU.
17
17
  *
18
18
  * @example
19
19
  * 8ACU
@@ -29,7 +29,7 @@ export class ModifyDBResourceGroupRequestAtmConfig extends $dara.Model {
29
29
  insertNodeNum?: number;
30
30
  /**
31
31
  * @remarks
32
- * The insert node specifications in ACU ([0-9+]ACU).
32
+ * The insert node specification in [0-9+]ACU.
33
33
  *
34
34
  * @example
35
35
  * 8ACU
@@ -53,7 +53,7 @@ export class ModifyDBResourceGroupRequestAtmConfig extends $dara.Model {
53
53
  selectNodeNum?: number;
54
54
  /**
55
55
  * @remarks
56
- * The query node specifications ([0-9+]ACU).
56
+ * The query node specification ([0-9+]ACU).
57
57
  *
58
58
  * @example
59
59
  * 8ACU
@@ -61,7 +61,7 @@ export class ModifyDBResourceGroupRequestAtmConfig extends $dara.Model {
61
61
  selectNodeSpec?: string;
62
62
  /**
63
63
  * @remarks
64
- * The disk size of storage nodes.
64
+ * The storage node disk size.
65
65
  *
66
66
  * @example
67
67
  * 1
@@ -69,7 +69,7 @@ export class ModifyDBResourceGroupRequestAtmConfig extends $dara.Model {
69
69
  storageNodeDiskSize?: number;
70
70
  /**
71
71
  * @remarks
72
- * The disk type of storage nodes (essd_pl1, essd_pl2).
72
+ * The storage node disk type (essd_pl1, essd_pl2).
73
73
  *
74
74
  * @example
75
75
  * essd_pl1
@@ -85,7 +85,7 @@ export class ModifyDBResourceGroupRequestAtmConfig extends $dara.Model {
85
85
  storageNodeNum?: number;
86
86
  /**
87
87
  * @remarks
88
- * The storage node specifications in ACU ([0-9+]ACU).
88
+ * The storage node specification in [0-9+]ACU.
89
89
  *
90
90
  * @example
91
91
  * 8ACU
@@ -176,8 +176,8 @@ export class ModifyDBResourceGroupRequestGpuElasticPlan extends $dara.Model {
176
176
  /**
177
177
  * @remarks
178
178
  * Specifies whether to enable the elastic plan immediately after creation. Valid values:
179
- * - **true**: Enables the elastic plan immediately.
180
- * - **false**: Does not enable the elastic plan.
179
+ * - **true**: Enables the plan immediately.
180
+ * - **false**: Does not enable the plan.
181
181
  *
182
182
  * @example
183
183
  * true
@@ -400,7 +400,7 @@ export class ModifyDBResourceGroupRequestRayConfigWorkerGroups extends $dara.Mod
400
400
  workerDiskCapacity?: string;
401
401
  /**
402
402
  * @remarks
403
- * The node specifications of the worker node.
403
+ * The specification of the worker node.
404
404
  *
405
405
  * @example
406
406
  * xlarge
@@ -457,9 +457,9 @@ export class ModifyDBResourceGroupRequestRayConfig extends $dara.Model {
457
457
  * @remarks
458
458
  * The Ray cluster type. Valid values:
459
459
  *
460
- * - BASIC: basic type, non-high-availability
460
+ * - BASIC: basic type, non-high availability
461
461
  *
462
- * - HIGH_AVAILABILITY: high-availability type
462
+ * - HIGH_AVAILABILITY: high availability type
463
463
  *
464
464
  * @example
465
465
  * BASIC
@@ -488,7 +488,7 @@ export class ModifyDBResourceGroupRequestRayConfig extends $dara.Model {
488
488
  headDiskCapacity?: string;
489
489
  /**
490
490
  * @remarks
491
- * The node specifications of the head node.
491
+ * The specification of the head node.
492
492
  *
493
493
  * @example
494
494
  * xlarge
@@ -619,7 +619,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
619
619
  atmConfig?: ModifyDBResourceGroupRequestAtmConfig;
620
620
  /**
621
621
  * @remarks
622
- * The automatic stop interval.
622
+ * The auto-stop interval.
623
623
  *
624
624
  * @example
625
625
  * 5m
@@ -627,18 +627,18 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
627
627
  autoStopInterval?: string;
628
628
  /**
629
629
  * @remarks
630
- * A reserved parameter (not applicable).
630
+ * Reserved parameter (not applicable).
631
631
  *
632
632
  * @example
633
- * 无
633
+ * None
634
634
  */
635
635
  clusterMode?: string;
636
636
  /**
637
637
  * @remarks
638
- * A reserved parameter (not applicable).
638
+ * Reserved parameter (not applicable).
639
639
  *
640
640
  * @example
641
- * 无
641
+ * None
642
642
  */
643
643
  clusterSizeResource?: string;
644
644
  /**
@@ -654,7 +654,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
654
654
  DBClusterId?: string;
655
655
  /**
656
656
  * @remarks
657
- * Specifies whether to enable the spot instance feature for the resource group. After the spot instance feature is enabled, the unit price of resources is reduced, but the resources may be released. Only Job resource groups support this feature. Valid values:
657
+ * Specifies whether to enable the spot instance feature for the resource group. After spot instances are enabled, the unit price of resources is reduced, but the resources may be released. Only Job resource groups support this feature. Valid values:
658
658
  * - **True**: Enables the spot instance feature.
659
659
  * - **False**: Disables the spot instance feature.
660
660
  *
@@ -691,7 +691,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
691
691
  * The resource group type. Valid values:
692
692
  * - **Interactive**
693
693
  * - **Job**
694
- * > For more information about Data Lakehouse Edition resource groups, see [Resource group overview](https://help.aliyun.com/document_detail/428610.html).
694
+ * > For more information about Data Lakehouse Edition resource groups, refer to [Resource group introduction](https://help.aliyun.com/document_detail/428610.html).
695
695
  *
696
696
  * This parameter is required.
697
697
  *
@@ -701,17 +701,17 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
701
701
  groupType?: string;
702
702
  /**
703
703
  * @remarks
704
- * A reserved parameter (not applicable).
704
+ * Reserved parameter (not applicable).
705
705
  *
706
706
  * @example
707
- * 无
707
+ * None
708
708
  */
709
709
  maxClusterCount?: number;
710
710
  /**
711
711
  * @remarks
712
712
  * The maximum reserved computing resources.
713
- * - If the resource group type is Interactive, the maximum reserved computing resources is the unallocated resources of the cluster, in increments of 16 ACUs.
714
- * - If the resource group type is Job, the maximum reserved computing resources is the unallocated resources of the cluster, in increments of 8 ACUs.
713
+ * - If the resource group type is Interactive, the maximum reserved computing resources are the current unallocated resources of the cluster, in increments of 16 ACUs.
714
+ * - If the resource group type is Job, the maximum reserved computing resources are the current unallocated resources of the cluster, in increments of 8 ACUs.
715
715
  *
716
716
  * @example
717
717
  * 48ACU
@@ -719,7 +719,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
719
719
  maxComputeResource?: string;
720
720
  /**
721
721
  * @remarks
722
- * A reserved parameter (not applicable).
722
+ * Reserved parameter (not applicable).
723
723
  *
724
724
  * @example
725
725
  * Reserved parameter. Not applicable.
@@ -727,17 +727,17 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
727
727
  maxGpuQuantity?: number;
728
728
  /**
729
729
  * @remarks
730
- * A reserved parameter (not applicable).
730
+ * Reserved parameter (not applicable).
731
731
  *
732
732
  * @example
733
- * 无
733
+ * None
734
734
  */
735
735
  minClusterCount?: number;
736
736
  /**
737
737
  * @remarks
738
738
  * The minimum reserved computing resources.
739
- * - If the resource group type is Interactive, the minimum reserved computing resources is 16 ACUs.
740
- * - If the resource group type is Job, the minimum reserved computing resources is 0 ACUs.
739
+ * - If the resource group type is Interactive, the minimum reserved computing resources are 16 ACUs.
740
+ * - If the resource group type is Job, the minimum reserved computing resources are 0 ACUs.
741
741
  *
742
742
  * @example
743
743
  * 0ACU
@@ -745,7 +745,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
745
745
  minComputeResource?: string;
746
746
  /**
747
747
  * @remarks
748
- * A reserved parameter (not applicable).
748
+ * Reserved parameter (not applicable).
749
749
  *
750
750
  * @example
751
751
  * Reserved parameter. Not applicable.
@@ -772,7 +772,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
772
772
  rules?: ModifyDBResourceGroupRequestRules[];
773
773
  /**
774
774
  * @remarks
775
- * A reserved parameter (not applicable).
775
+ * Reserved parameter (not applicable).
776
776
  *
777
777
  * @example
778
778
  * Reserved parameter. Not applicable.
@@ -788,7 +788,7 @@ export class ModifyDBResourceGroupRequest extends $dara.Model {
788
788
  status?: string;
789
789
  /**
790
790
  * @remarks
791
- * A reserved parameter (not applicable).
791
+ * Reserved parameter (not applicable).
792
792
  *
793
793
  * @example
794
794
  * Reserved parameter. Not applicable.