@alicloud/adb20211201 5.1.3 → 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 +30 -30
- package/dist/client.js +78 -30
- package/dist/client.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/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 +94 -30
- 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/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
|
@@ -10,7 +10,7 @@ export class CreateDBResourceGroupShrinkRequest extends $dara.Model {
|
|
|
10
10
|
atmConfigShrink?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The
|
|
13
|
+
* The auto-stop interval, in minutes (m).
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 5m
|
|
@@ -57,8 +57,8 @@ export class CreateDBResourceGroupShrinkRequest extends $dara.Model {
|
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
59
|
* 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:
|
|
60
|
-
* - **True**:
|
|
61
|
-
* - **False**:
|
|
60
|
+
* - **True**: Enables the spot instance feature.
|
|
61
|
+
* - **False**: Disables the spot instance feature.
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
64
|
* True
|
|
@@ -85,7 +85,7 @@ export class CreateDBResourceGroupShrinkRequest extends $dara.Model {
|
|
|
85
85
|
engineParamsShrink?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The GPU time-
|
|
88
|
+
* The GPU time-based elastic plan.
|
|
89
89
|
*/
|
|
90
90
|
gpuElasticPlanShrink?: string;
|
|
91
91
|
/**
|
|
@@ -106,7 +106,7 @@ export class CreateDBResourceGroupShrinkRequest extends $dara.Model {
|
|
|
106
106
|
* The type of the resource group. Valid values:
|
|
107
107
|
* - **Interactive**
|
|
108
108
|
* - **Job**
|
|
109
|
-
* > For more information about
|
|
109
|
+
* > For more information about Data Lakehouse Edition resource groups, see [Introduction to resource groups (Data Lakehouse Edition)](https://help.aliyun.com/document_detail/428610.html).
|
|
110
110
|
*
|
|
111
111
|
* This parameter is required.
|
|
112
112
|
*
|
|
@@ -125,8 +125,8 @@ export class CreateDBResourceGroupShrinkRequest extends $dara.Model {
|
|
|
125
125
|
/**
|
|
126
126
|
* @remarks
|
|
127
127
|
* The maximum reserved computing resources, in ACUs.
|
|
128
|
-
* - If the resource group type is Interactive, the maximum reserved computing resources
|
|
129
|
-
* - If the resource group type is Job, the maximum reserved computing resources
|
|
128
|
+
* - If the resource group type is Interactive, the maximum reserved computing resources are the unallocated resources of the cluster, in increments of 16 ACUs.
|
|
129
|
+
* - If the resource group type is Job, the maximum reserved computing resources are the unallocated resources of the cluster, in increments of 8 ACUs.
|
|
130
130
|
*
|
|
131
131
|
* @example
|
|
132
132
|
* 48ACU
|
|
@@ -151,8 +151,8 @@ export class CreateDBResourceGroupShrinkRequest extends $dara.Model {
|
|
|
151
151
|
/**
|
|
152
152
|
* @remarks
|
|
153
153
|
* The minimum reserved computing resources, in ACUs.
|
|
154
|
-
* - If the resource group type is Interactive, the minimum reserved computing resources
|
|
155
|
-
* - If the resource group type is Job, the minimum reserved computing resources
|
|
154
|
+
* - If the resource group type is Interactive, the minimum reserved computing resources are 16 ACUs.
|
|
155
|
+
* - If the resource group type is Job, the minimum reserved computing resources are 0 ACUs.
|
|
156
156
|
*
|
|
157
157
|
* @example
|
|
158
158
|
* 0ACU
|
|
@@ -190,9 +190,9 @@ export class CreateDBResourceGroupShrinkRequest extends $dara.Model {
|
|
|
190
190
|
/**
|
|
191
191
|
* @remarks
|
|
192
192
|
* The scaling policy of the resource group. Valid values:
|
|
193
|
-
* - AutoScaling: enables the AutoScaling
|
|
194
|
-
* - Disable: disables
|
|
195
|
-
* - MultiCluster: enables the MultiCluster
|
|
193
|
+
* - AutoScaling: enables the AutoScaling auto-scaling policy.
|
|
194
|
+
* - Disable: disables auto-scaling.
|
|
195
|
+
* - MultiCluster: enables the MultiCluster auto-scaling policy.
|
|
196
196
|
*
|
|
197
197
|
* @example
|
|
198
198
|
* AutoScaling
|
|
@@ -208,7 +208,7 @@ export class CreateDBResourceGroupShrinkRequest extends $dara.Model {
|
|
|
208
208
|
specName?: string;
|
|
209
209
|
/**
|
|
210
210
|
* @remarks
|
|
211
|
-
* The name of the
|
|
211
|
+
* The name of the destination resource group.
|
|
212
212
|
*
|
|
213
213
|
* @example
|
|
214
214
|
* test
|
|
@@ -6,8 +6,7 @@ export class DeleteAccountRequest extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The name of the database account.
|
|
9
|
-
*
|
|
10
|
-
* > You can call the [DescribeAccounts](https://help.aliyun.com/document_detail/612430.html) operation to query the information about database accounts for a cluster, including the account name.
|
|
9
|
+
* > You can call the [DescribeAccounts](https://help.aliyun.com/document_detail/612430.html) operation to query the database account information of a specified cluster, including the account name.
|
|
11
10
|
*
|
|
12
11
|
* This parameter is required.
|
|
13
12
|
*
|
|
@@ -17,7 +16,8 @@ export class DeleteAccountRequest extends $dara.Model {
|
|
|
17
16
|
accountName?: string;
|
|
18
17
|
/**
|
|
19
18
|
* @remarks
|
|
20
|
-
* The ID of the
|
|
19
|
+
* <props="china">The ID of the Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
|
|
20
|
+
* <props="intl">The ID of the Data Lakehouse Edition cluster.
|
|
21
21
|
*
|
|
22
22
|
* This parameter is required.
|
|
23
23
|
*
|
|
@@ -27,20 +27,22 @@ export class DeleteAccountRequest extends $dara.Model {
|
|
|
27
27
|
DBClusterId?: string;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The database engine
|
|
30
|
+
* The database engine. Valid values:
|
|
31
31
|
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
32
|
+
* - **AnalyticDB** (default): the AnalyticDB for MySQL engine.
|
|
33
|
+
* - **Clickhouse**: the wide table engine.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* Clickhouse
|
|
37
37
|
*/
|
|
38
38
|
engine?: string;
|
|
39
|
+
resourceGroupName?: string;
|
|
39
40
|
static names(): { [key: string]: string } {
|
|
40
41
|
return {
|
|
41
42
|
accountName: 'AccountName',
|
|
42
43
|
DBClusterId: 'DBClusterId',
|
|
43
44
|
engine: 'Engine',
|
|
45
|
+
resourceGroupName: 'ResourceGroupName',
|
|
44
46
|
};
|
|
45
47
|
}
|
|
46
48
|
|
|
@@ -49,6 +51,7 @@ export class DeleteAccountRequest extends $dara.Model {
|
|
|
49
51
|
accountName: 'string',
|
|
50
52
|
DBClusterId: 'string',
|
|
51
53
|
engine: 'string',
|
|
54
|
+
resourceGroupName: 'string',
|
|
52
55
|
};
|
|
53
56
|
}
|
|
54
57
|
|
|
@@ -6,7 +6,6 @@ export class DescribeAccountsRequest extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The database account.
|
|
9
|
-
*
|
|
10
9
|
* > If you do not specify this parameter, information about all database accounts is returned.
|
|
11
10
|
*
|
|
12
11
|
* @example
|
|
@@ -28,21 +27,26 @@ export class DescribeAccountsRequest extends $dara.Model {
|
|
|
28
27
|
* @remarks
|
|
29
28
|
* The database engine. Valid values:
|
|
30
29
|
*
|
|
31
|
-
* - **AnalyticDB** (default): the AnalyticDB for MySQL engine
|
|
32
|
-
*
|
|
33
|
-
* - **Clickhouse**: the LindormTable engine
|
|
30
|
+
* - **AnalyticDB** (default): the AnalyticDB for MySQL engine.
|
|
31
|
+
* - **Clickhouse**: the wide table engine.
|
|
34
32
|
*
|
|
35
33
|
* @example
|
|
36
34
|
* Clickhouse
|
|
37
35
|
*/
|
|
38
36
|
engine?: string;
|
|
39
37
|
ownerId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The name of the resource group.
|
|
41
|
+
*/
|
|
42
|
+
resourceGroupName?: string;
|
|
40
43
|
static names(): { [key: string]: string } {
|
|
41
44
|
return {
|
|
42
45
|
accountName: 'AccountName',
|
|
43
46
|
DBClusterId: 'DBClusterId',
|
|
44
47
|
engine: 'Engine',
|
|
45
48
|
ownerId: 'OwnerId',
|
|
49
|
+
resourceGroupName: 'ResourceGroupName',
|
|
46
50
|
};
|
|
47
51
|
}
|
|
48
52
|
|
|
@@ -52,6 +56,7 @@ export class DescribeAccountsRequest extends $dara.Model {
|
|
|
52
56
|
DBClusterId: 'string',
|
|
53
57
|
engine: 'string',
|
|
54
58
|
ownerId: 'string',
|
|
59
|
+
resourceGroupName: 'string',
|
|
55
60
|
};
|
|
56
61
|
}
|
|
57
62
|
|
|
@@ -2,6 +2,84 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class DescribeAccountsResponseBodyAccountListDBAccountPromqlInsertPrivileges extends $dara.Model {
|
|
6
|
+
promqlInsertPrivileges?: string[];
|
|
7
|
+
static names(): { [key: string]: string } {
|
|
8
|
+
return {
|
|
9
|
+
promqlInsertPrivileges: 'PromqlInsertPrivileges',
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
static types(): { [key: string]: any } {
|
|
14
|
+
return {
|
|
15
|
+
promqlInsertPrivileges: { 'type': 'array', 'itemType': 'string' },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
validate() {
|
|
20
|
+
if(Array.isArray(this.promqlInsertPrivileges)) {
|
|
21
|
+
$dara.Model.validateArray(this.promqlInsertPrivileges);
|
|
22
|
+
}
|
|
23
|
+
super.validate();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
constructor(map?: { [key: string]: any }) {
|
|
27
|
+
super(map);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export class DescribeAccountsResponseBodyAccountListDBAccountPromqlSelectNodes extends $dara.Model {
|
|
32
|
+
promqlSelectNodes?: string[];
|
|
33
|
+
static names(): { [key: string]: string } {
|
|
34
|
+
return {
|
|
35
|
+
promqlSelectNodes: 'PromqlSelectNodes',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
static types(): { [key: string]: any } {
|
|
40
|
+
return {
|
|
41
|
+
promqlSelectNodes: { 'type': 'array', 'itemType': 'string' },
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
validate() {
|
|
46
|
+
if(Array.isArray(this.promqlSelectNodes)) {
|
|
47
|
+
$dara.Model.validateArray(this.promqlSelectNodes);
|
|
48
|
+
}
|
|
49
|
+
super.validate();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
constructor(map?: { [key: string]: any }) {
|
|
53
|
+
super(map);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export class DescribeAccountsResponseBodyAccountListDBAccountPromqlSelectPrivileges extends $dara.Model {
|
|
58
|
+
promqlSelectPrivileges?: string[];
|
|
59
|
+
static names(): { [key: string]: string } {
|
|
60
|
+
return {
|
|
61
|
+
promqlSelectPrivileges: 'PromqlSelectPrivileges',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static types(): { [key: string]: any } {
|
|
66
|
+
return {
|
|
67
|
+
promqlSelectPrivileges: { 'type': 'array', 'itemType': 'string' },
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
validate() {
|
|
72
|
+
if(Array.isArray(this.promqlSelectPrivileges)) {
|
|
73
|
+
$dara.Model.validateArray(this.promqlSelectPrivileges);
|
|
74
|
+
}
|
|
75
|
+
super.validate();
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
constructor(map?: { [key: string]: any }) {
|
|
79
|
+
super(map);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
5
83
|
export class DescribeAccountsResponseBodyAccountListDBAccountRamUserList extends $dara.Model {
|
|
6
84
|
ramUserList?: string[];
|
|
7
85
|
static names(): { [key: string]: string } {
|
|
@@ -34,8 +112,12 @@ export class DescribeAccountsResponseBodyAccountListDBAccount extends $dara.Mode
|
|
|
34
112
|
accountStatus?: string;
|
|
35
113
|
accountType?: string;
|
|
36
114
|
engine?: string;
|
|
115
|
+
promqlInsertPrivileges?: DescribeAccountsResponseBodyAccountListDBAccountPromqlInsertPrivileges;
|
|
116
|
+
promqlSelectNodes?: DescribeAccountsResponseBodyAccountListDBAccountPromqlSelectNodes;
|
|
117
|
+
promqlSelectPrivileges?: DescribeAccountsResponseBodyAccountListDBAccountPromqlSelectPrivileges;
|
|
37
118
|
ramUserList?: DescribeAccountsResponseBodyAccountListDBAccountRamUserList;
|
|
38
119
|
ramUsers?: string;
|
|
120
|
+
promqlSelectNodePercentage?: number;
|
|
39
121
|
static names(): { [key: string]: string } {
|
|
40
122
|
return {
|
|
41
123
|
accountDescription: 'AccountDescription',
|
|
@@ -43,8 +125,12 @@ export class DescribeAccountsResponseBodyAccountListDBAccount extends $dara.Mode
|
|
|
43
125
|
accountStatus: 'AccountStatus',
|
|
44
126
|
accountType: 'AccountType',
|
|
45
127
|
engine: 'Engine',
|
|
128
|
+
promqlInsertPrivileges: 'PromqlInsertPrivileges',
|
|
129
|
+
promqlSelectNodes: 'PromqlSelectNodes',
|
|
130
|
+
promqlSelectPrivileges: 'PromqlSelectPrivileges',
|
|
46
131
|
ramUserList: 'RamUserList',
|
|
47
132
|
ramUsers: 'RamUsers',
|
|
133
|
+
promqlSelectNodePercentage: 'promqlSelectNodePercentage',
|
|
48
134
|
};
|
|
49
135
|
}
|
|
50
136
|
|
|
@@ -55,12 +141,25 @@ export class DescribeAccountsResponseBodyAccountListDBAccount extends $dara.Mode
|
|
|
55
141
|
accountStatus: 'string',
|
|
56
142
|
accountType: 'string',
|
|
57
143
|
engine: 'string',
|
|
144
|
+
promqlInsertPrivileges: DescribeAccountsResponseBodyAccountListDBAccountPromqlInsertPrivileges,
|
|
145
|
+
promqlSelectNodes: DescribeAccountsResponseBodyAccountListDBAccountPromqlSelectNodes,
|
|
146
|
+
promqlSelectPrivileges: DescribeAccountsResponseBodyAccountListDBAccountPromqlSelectPrivileges,
|
|
58
147
|
ramUserList: DescribeAccountsResponseBodyAccountListDBAccountRamUserList,
|
|
59
148
|
ramUsers: 'string',
|
|
149
|
+
promqlSelectNodePercentage: 'number',
|
|
60
150
|
};
|
|
61
151
|
}
|
|
62
152
|
|
|
63
153
|
validate() {
|
|
154
|
+
if(this.promqlInsertPrivileges && typeof (this.promqlInsertPrivileges as any).validate === 'function') {
|
|
155
|
+
(this.promqlInsertPrivileges as any).validate();
|
|
156
|
+
}
|
|
157
|
+
if(this.promqlSelectNodes && typeof (this.promqlSelectNodes as any).validate === 'function') {
|
|
158
|
+
(this.promqlSelectNodes as any).validate();
|
|
159
|
+
}
|
|
160
|
+
if(this.promqlSelectPrivileges && typeof (this.promqlSelectPrivileges as any).validate === 'function') {
|
|
161
|
+
(this.promqlSelectPrivileges as any).validate();
|
|
162
|
+
}
|
|
64
163
|
if(this.ramUserList && typeof (this.ramUserList as any).validate === 'function') {
|
|
65
164
|
(this.ramUserList as any).validate();
|
|
66
165
|
}
|
|
@@ -5,10 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeDBClusterPerformanceRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* <props="china">The ID of
|
|
9
|
-
* <props="intl">The ID of
|
|
10
|
-
*
|
|
11
|
-
* > You can call the [DescribeDBClusters](~~~612397~~~) operation to query the IDs of all clusters in a specific region.
|
|
8
|
+
* <props="china">The ID of the cluster in Enterprise Edition, Basic Edition, or Data Lakehouse Edition.
|
|
9
|
+
* <props="intl">The ID of the Data Lakehouse Edition cluster.
|
|
10
|
+
* >You can call the [DescribeDBClusters](~~~612397~~~) operation to query the IDs of all clusters in a specified region.
|
|
12
11
|
*
|
|
13
12
|
* This parameter is required.
|
|
14
13
|
*
|
|
@@ -18,9 +17,9 @@ export class DescribeDBClusterPerformanceRequest extends $dara.Model {
|
|
|
18
17
|
DBClusterId?: string;
|
|
19
18
|
/**
|
|
20
19
|
* @remarks
|
|
21
|
-
* The end of the
|
|
20
|
+
* The end time of the query. Specify the time in UTC in the format of <i>yyyy-MM-ddTHH:mmZ</i>.
|
|
22
21
|
*
|
|
23
|
-
* > The end time must be later than the start time
|
|
22
|
+
* > The end time must be later than the start time, and the interval between the start time and end time cannot exceed two days.
|
|
24
23
|
*
|
|
25
24
|
* @example
|
|
26
25
|
* 2022-03-11T15:01Z
|
|
@@ -28,7 +27,7 @@ export class DescribeDBClusterPerformanceRequest extends $dara.Model {
|
|
|
28
27
|
endTime?: string;
|
|
29
28
|
/**
|
|
30
29
|
* @remarks
|
|
31
|
-
* The
|
|
30
|
+
* The name of the performance metric (metric key) to query. Separate multiple values with commas (,). For more information about supported metrics, see [Monitoring metrics overview](https://help.aliyun.com/document_detail/2863211.html).
|
|
32
31
|
*
|
|
33
32
|
* @example
|
|
34
33
|
* AnalyticDB_CPU_Usage_Percentage
|
|
@@ -37,8 +36,7 @@ export class DescribeDBClusterPerformanceRequest extends $dara.Model {
|
|
|
37
36
|
/**
|
|
38
37
|
* @remarks
|
|
39
38
|
* The region ID.
|
|
40
|
-
*
|
|
41
|
-
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/612393.html) operation to query the regions and availability zones supported by AnalyticDB for MySQL, including the region IDs.
|
|
39
|
+
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/612393.html) operation to query the regions and zones supported by AnalyticDB for MySQL, including region IDs.
|
|
42
40
|
*
|
|
43
41
|
* This parameter is required.
|
|
44
42
|
*
|
|
@@ -48,7 +46,7 @@ export class DescribeDBClusterPerformanceRequest extends $dara.Model {
|
|
|
48
46
|
regionId?: string;
|
|
49
47
|
/**
|
|
50
48
|
* @remarks
|
|
51
|
-
* The
|
|
49
|
+
* The resource group.
|
|
52
50
|
*
|
|
53
51
|
* @example
|
|
54
52
|
* user_default
|
|
@@ -56,7 +54,7 @@ export class DescribeDBClusterPerformanceRequest extends $dara.Model {
|
|
|
56
54
|
resourcePools?: string;
|
|
57
55
|
/**
|
|
58
56
|
* @remarks
|
|
59
|
-
* The start of the
|
|
57
|
+
* The start time of the query. Specify the time in UTC in the format of <i>yyyy-MM-ddTHH:mmZ</i>.
|
|
60
58
|
*
|
|
61
59
|
* @example
|
|
62
60
|
* 2022-03-10T23:56Z
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeDBClusterPerformanceResponseBodyPerformancesSeries extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The name of the performance metric
|
|
8
|
+
* The name of the performance metric (monitoring metric value name). For more information, see [Monitoring metrics overview](https://help.aliyun.com/document_detail/2863211.html).
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* AnalyticDB_Storage_CPU_Avg_Usage_Percentage
|
|
@@ -13,7 +13,7 @@ export class DescribeDBClusterPerformanceResponseBodyPerformancesSeries extends
|
|
|
13
13
|
name?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The tag value.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* {instance_name: "am-***"}
|
|
@@ -21,7 +21,7 @@ export class DescribeDBClusterPerformanceResponseBodyPerformancesSeries extends
|
|
|
21
21
|
tags?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
*
|
|
24
|
+
* The key used for internationalization translation. You can ignore this parameter in most cases.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* AnalyticDB_RP_WaitTime
|
|
@@ -29,7 +29,7 @@ export class DescribeDBClusterPerformanceResponseBodyPerformancesSeries extends
|
|
|
29
29
|
translateKey?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
*
|
|
32
|
+
* The performance values at different points in time.
|
|
33
33
|
*/
|
|
34
34
|
values?: string[];
|
|
35
35
|
static names(): { [key: string]: string } {
|
|
@@ -73,7 +73,7 @@ export class DescribeDBClusterPerformanceResponseBodyPerformances extends $dara.
|
|
|
73
73
|
key?: string;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
* The
|
|
76
|
+
* The list of performance data.
|
|
77
77
|
*/
|
|
78
78
|
series?: DescribeDBClusterPerformanceResponseBodyPerformancesSeries[];
|
|
79
79
|
/**
|
|
@@ -116,8 +116,7 @@ export class DescribeDBClusterPerformanceResponseBody extends $dara.Model {
|
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
118
|
* The cluster ID.
|
|
119
|
-
*
|
|
120
|
-
* > Call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the IDs of all clusters in a specific region.
|
|
119
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the IDs of all clusters in a specified region.
|
|
121
120
|
*
|
|
122
121
|
* @example
|
|
123
122
|
* amv-bp1hx5n1o8f61****
|
|
@@ -125,7 +124,7 @@ export class DescribeDBClusterPerformanceResponseBody extends $dara.Model {
|
|
|
125
124
|
DBClusterId?: string;
|
|
126
125
|
/**
|
|
127
126
|
* @remarks
|
|
128
|
-
* The end time of the query. The time is in UTC
|
|
127
|
+
* The end time of the query. The time is in UTC in the format of <i>yyyy-MM-ddTHH:mmZ</i>.
|
|
129
128
|
*
|
|
130
129
|
* @example
|
|
131
130
|
* 2022-03-11T15:01Z
|
|
@@ -133,7 +132,7 @@ export class DescribeDBClusterPerformanceResponseBody extends $dara.Model {
|
|
|
133
132
|
endTime?: string;
|
|
134
133
|
/**
|
|
135
134
|
* @remarks
|
|
136
|
-
* The cluster performance metrics.
|
|
135
|
+
* The list of cluster performance metrics.
|
|
137
136
|
*/
|
|
138
137
|
performances?: DescribeDBClusterPerformanceResponseBodyPerformances[];
|
|
139
138
|
/**
|
|
@@ -146,7 +145,7 @@ export class DescribeDBClusterPerformanceResponseBody extends $dara.Model {
|
|
|
146
145
|
requestId?: string;
|
|
147
146
|
/**
|
|
148
147
|
* @remarks
|
|
149
|
-
* The start time of the query.
|
|
148
|
+
* The start time of the query. Specify the time in UTC in the format of <i>yyyy-MM-ddTHH:mmZ</i>.
|
|
150
149
|
*
|
|
151
150
|
* @example
|
|
152
151
|
* 2022-03-10T23:56Z
|
|
@@ -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
|
|