@alicloud/adb20211201 5.1.2 → 5.1.4
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 +40 -34
- package/dist/client.js +91 -49
- package/dist/client.js.map +1 -1
- package/dist/models/AddKnowledgeFileRequest.d.ts +7 -2
- package/dist/models/AddKnowledgeFileRequest.js +2 -0
- package/dist/models/AddKnowledgeFileRequest.js.map +1 -1
- package/dist/models/CreateAccountRequest.d.ts +8 -4
- package/dist/models/CreateAccountRequest.js +14 -0
- package/dist/models/CreateAccountRequest.js.map +1 -1
- package/dist/models/CreateAccountShrinkRequest.d.ts +8 -4
- package/dist/models/CreateAccountShrinkRequest.js +8 -0
- package/dist/models/CreateAccountShrinkRequest.js.map +1 -1
- package/dist/models/CreateDbresourceGroupRequest.d.ts +27 -27
- package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +13 -13
- package/dist/models/DeleteAccountRequest.d.ts +7 -6
- package/dist/models/DeleteAccountRequest.js +2 -0
- package/dist/models/DeleteAccountRequest.js.map +1 -1
- package/dist/models/DescribeAccountsRequest.d.ts +7 -4
- package/dist/models/DescribeAccountsRequest.js +2 -0
- package/dist/models/DescribeAccountsRequest.js.map +1 -1
- package/dist/models/DescribeAccountsResponseBody.d.ts +43 -0
- package/dist/models/DescribeAccountsResponseBody.js +84 -1
- package/dist/models/DescribeAccountsResponseBody.js.map +1 -1
- package/dist/models/DescribeDbclusterPerformanceRequest.d.ts +9 -11
- package/dist/models/DescribeDbclusterPerformanceRequest.js.map +1 -1
- package/dist/models/DescribeDbclusterPerformanceResponseBody.d.ts +9 -10
- package/dist/models/DescribeDbclusterPerformanceResponseBody.js.map +1 -1
- package/dist/models/GetKnowledgeRecallRequest.d.ts +3 -0
- package/dist/models/GetKnowledgeRecallRequest.js.map +1 -1
- package/dist/models/GetKnowledgeRecallResponseBody.d.ts +1 -1
- package/dist/models/GetTableResponseBody.d.ts +1 -1
- package/dist/models/ModifyAccountDescriptionRequest.d.ts +1 -0
- package/dist/models/ModifyAccountDescriptionRequest.js +2 -0
- package/dist/models/ModifyAccountDescriptionRequest.js.map +1 -1
- package/dist/models/ModifyAccountPrivilegesRequest.d.ts +13 -10
- package/dist/models/ModifyAccountPrivilegesRequest.js +14 -0
- package/dist/models/ModifyAccountPrivilegesRequest.js.map +1 -1
- package/dist/models/ModifyAccountPrivilegesShrinkRequest.d.ts +7 -4
- package/dist/models/ModifyAccountPrivilegesShrinkRequest.js +8 -0
- package/dist/models/ModifyAccountPrivilegesShrinkRequest.js.map +1 -1
- package/dist/models/ModifyAuditLogConfigRequest.d.ts +11 -13
- package/dist/models/ModifyAuditLogConfigRequest.js.map +1 -1
- package/dist/models/ModifyAuditLogConfigResponseBody.d.ts +3 -4
- package/dist/models/ModifyAuditLogConfigResponseBody.js.map +1 -1
- package/dist/models/ModifyBackupPolicyRequest.d.ts +21 -25
- package/dist/models/ModifyBackupPolicyRequest.js.map +1 -1
- package/dist/models/ModifyDbresourceGroupRequest.d.ts +31 -31
- package/dist/models/ModifyDbresourceGroupShrinkRequest.d.ts +19 -19
- package/dist/models/ResetAccountPasswordRequest.d.ts +1 -0
- package/dist/models/ResetAccountPasswordRequest.js +2 -0
- package/dist/models/ResetAccountPasswordRequest.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +34 -28
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +108 -49
- package/src/models/AddKnowledgeFileRequest.ts +9 -2
- package/src/models/CreateAccountRequest.ts +22 -4
- package/src/models/CreateAccountShrinkRequest.ts +16 -4
- package/src/models/CreateDbresourceGroupRequest.ts +27 -27
- package/src/models/CreateDbresourceGroupShrinkRequest.ts +13 -13
- package/src/models/DeleteAccountRequest.ts +9 -6
- package/src/models/DescribeAccountsRequest.ts +9 -4
- package/src/models/DescribeAccountsResponseBody.ts +99 -0
- package/src/models/DescribeDbclusterPerformanceRequest.ts +9 -11
- package/src/models/DescribeDbclusterPerformanceResponseBody.ts +9 -10
- package/src/models/GetKnowledgeRecallRequest.ts +3 -0
- package/src/models/GetKnowledgeRecallResponseBody.ts +1 -1
- package/src/models/GetTableResponseBody.ts +1 -1
- package/src/models/ModifyAccountDescriptionRequest.ts +3 -0
- package/src/models/ModifyAccountPrivilegesRequest.ts +27 -10
- package/src/models/ModifyAccountPrivilegesShrinkRequest.ts +15 -4
- package/src/models/ModifyAuditLogConfigRequest.ts +11 -13
- package/src/models/ModifyAuditLogConfigResponseBody.ts +3 -4
- package/src/models/ModifyBackupPolicyRequest.ts +21 -25
- package/src/models/ModifyDbresourceGroupRequest.ts +31 -31
- package/src/models/ModifyDbresourceGroupShrinkRequest.ts +19 -19
- package/src/models/ResetAccountPasswordRequest.ts +3 -0
- package/src/models/model.ts +3 -0
|
@@ -49,12 +49,14 @@ export class ModifyAccountDescriptionRequest extends $dara.Model {
|
|
|
49
49
|
* Clickhouse
|
|
50
50
|
*/
|
|
51
51
|
engine?: string;
|
|
52
|
+
resourceGroupName?: string;
|
|
52
53
|
static names(): { [key: string]: string } {
|
|
53
54
|
return {
|
|
54
55
|
accountDescription: 'AccountDescription',
|
|
55
56
|
accountName: 'AccountName',
|
|
56
57
|
DBClusterId: 'DBClusterId',
|
|
57
58
|
engine: 'Engine',
|
|
59
|
+
resourceGroupName: 'ResourceGroupName',
|
|
58
60
|
};
|
|
59
61
|
}
|
|
60
62
|
|
|
@@ -64,6 +66,7 @@ export class ModifyAccountDescriptionRequest extends $dara.Model {
|
|
|
64
66
|
accountName: 'string',
|
|
65
67
|
DBClusterId: 'string',
|
|
66
68
|
engine: 'string',
|
|
69
|
+
resourceGroupName: 'string',
|
|
67
70
|
};
|
|
68
71
|
}
|
|
69
72
|
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
8
|
+
* The status of SQL audit logging. Valid values:
|
|
9
|
+
* - **on**: Enables SQL audit logging.
|
|
10
|
+
* - **off**: Disables SQL audit logging.
|
|
9
11
|
*
|
|
10
|
-
*
|
|
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
|
|
24
|
-
*
|
|
25
|
-
* >
|
|
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
|
-
*
|
|
38
|
-
*
|
|
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
|
|
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
|
|
17
|
-
*
|
|
18
|
-
*
|
|
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
|
|
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
|
|
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
|
-
*
|
|
31
|
-
*
|
|
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
|
|
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
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
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
|
-
* >
|
|
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
|
|
67
|
+
* The start time of the full backup. Specify the time in the HH:mmZ-HH:mmZ format (UTC).
|
|
72
68
|
*
|
|
73
|
-
* >
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
180
|
-
* - **false**: Does not enable the
|
|
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
|
|
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
|
|
460
|
+
* - BASIC: basic type, non-high availability
|
|
461
461
|
*
|
|
462
|
-
* - HIGH_AVAILABILITY: high
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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,
|
|
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
|
-
*
|
|
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
|
|
714
|
-
* - If the resource group type is Job, the maximum reserved computing resources
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
740
|
-
* - If the resource group type is Job, the minimum reserved computing resources
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
791
|
+
* Reserved parameter (not applicable).
|
|
792
792
|
*
|
|
793
793
|
* @example
|
|
794
794
|
* Reserved parameter. Not applicable.
|