@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
|
@@ -13,7 +13,7 @@ export class CreateDBResourceGroupRequestAtmConfig extends $dara.Model {
|
|
|
13
13
|
authNodeNum?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The authentication node
|
|
16
|
+
* The authentication node specification ([0-9+]ACU).
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 8ACU
|
|
@@ -29,7 +29,7 @@ export class CreateDBResourceGroupRequestAtmConfig extends $dara.Model {
|
|
|
29
29
|
insertNodeNum?: number;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The insert node
|
|
32
|
+
* The insert node specification ([0-9+]ACU).
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 8ACU
|
|
@@ -53,7 +53,7 @@ export class CreateDBResourceGroupRequestAtmConfig 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
|
|
@@ -85,7 +85,7 @@ export class CreateDBResourceGroupRequestAtmConfig extends $dara.Model {
|
|
|
85
85
|
storageNodeNum?: number;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The storage node
|
|
88
|
+
* The storage node specification ([0-9+]ACU).
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* 8ACU
|
|
@@ -135,7 +135,7 @@ export class CreateDBResourceGroupRequestAtmConfig extends $dara.Model {
|
|
|
135
135
|
export class CreateDBResourceGroupRequestGpuElasticPlanRules extends $dara.Model {
|
|
136
136
|
/**
|
|
137
137
|
* @remarks
|
|
138
|
-
* The end time
|
|
138
|
+
* The end time as a cron expression. The interval must be at least 1 hour.
|
|
139
139
|
*
|
|
140
140
|
* @example
|
|
141
141
|
* 0 0 3 * * ?
|
|
@@ -143,7 +143,7 @@ export class CreateDBResourceGroupRequestGpuElasticPlanRules extends $dara.Model
|
|
|
143
143
|
endCronExpression?: string;
|
|
144
144
|
/**
|
|
145
145
|
* @remarks
|
|
146
|
-
* The start time
|
|
146
|
+
* The start time as a cron expression. The interval must be at least 1 hour.
|
|
147
147
|
*
|
|
148
148
|
* @example
|
|
149
149
|
* 0 0 2 * * ?
|
|
@@ -176,8 +176,8 @@ export class CreateDBResourceGroupRequestGpuElasticPlan extends $dara.Model {
|
|
|
176
176
|
/**
|
|
177
177
|
* @remarks
|
|
178
178
|
* Specifies whether to enable the elastic plan immediately after creation. Valid values:
|
|
179
|
-
* - true:
|
|
180
|
-
* - false:
|
|
179
|
+
* - true: Enables the elastic plan immediately.
|
|
180
|
+
* - false: Does not enable the elastic plan.
|
|
181
181
|
*
|
|
182
182
|
* @example
|
|
183
183
|
* true
|
|
@@ -286,7 +286,7 @@ export class CreateDBResourceGroupRequestRayConfigWorkerGroups extends $dara.Mod
|
|
|
286
286
|
workerDiskCapacity?: string;
|
|
287
287
|
/**
|
|
288
288
|
* @remarks
|
|
289
|
-
* The
|
|
289
|
+
* The specification of the worker node.
|
|
290
290
|
*
|
|
291
291
|
* @example
|
|
292
292
|
* xlarge
|
|
@@ -338,9 +338,9 @@ export class CreateDBResourceGroupRequestRayConfig extends $dara.Model {
|
|
|
338
338
|
* @remarks
|
|
339
339
|
* The Ray cluster type. Valid values:
|
|
340
340
|
*
|
|
341
|
-
* - BASIC: basic type, non-
|
|
341
|
+
* - BASIC: the basic type, which is non-highly available.
|
|
342
342
|
*
|
|
343
|
-
* - HIGH_AVAILABILITY:
|
|
343
|
+
* - HIGH_AVAILABILITY: the highly available type.
|
|
344
344
|
*
|
|
345
345
|
* @example
|
|
346
346
|
* BASIC
|
|
@@ -348,7 +348,7 @@ export class CreateDBResourceGroupRequestRayConfig extends $dara.Model {
|
|
|
348
348
|
category?: string;
|
|
349
349
|
/**
|
|
350
350
|
* @remarks
|
|
351
|
-
* Specifies whether to enable user ENI connectivity.
|
|
351
|
+
* Specifies whether to enable user Elastic Network Interface (ENI) connectivity.
|
|
352
352
|
*/
|
|
353
353
|
enableUserEni?: boolean;
|
|
354
354
|
/**
|
|
@@ -369,7 +369,7 @@ export class CreateDBResourceGroupRequestRayConfig extends $dara.Model {
|
|
|
369
369
|
headDiskCapacity?: string;
|
|
370
370
|
/**
|
|
371
371
|
* @remarks
|
|
372
|
-
* The
|
|
372
|
+
* The specification of the head node.
|
|
373
373
|
*
|
|
374
374
|
* @example
|
|
375
375
|
* xlarge
|
|
@@ -455,7 +455,7 @@ export class CreateDBResourceGroupRequestRules extends $dara.Model {
|
|
|
455
455
|
queryTime?: string;
|
|
456
456
|
/**
|
|
457
457
|
* @remarks
|
|
458
|
-
* The name of the
|
|
458
|
+
* The name of the destination resource group.
|
|
459
459
|
*
|
|
460
460
|
* @example
|
|
461
461
|
* job
|
|
@@ -494,7 +494,7 @@ export class CreateDBResourceGroupRequest extends $dara.Model {
|
|
|
494
494
|
atmConfig?: CreateDBResourceGroupRequestAtmConfig;
|
|
495
495
|
/**
|
|
496
496
|
* @remarks
|
|
497
|
-
* The
|
|
497
|
+
* The auto-stop interval, in minutes (m).
|
|
498
498
|
*
|
|
499
499
|
* @example
|
|
500
500
|
* 5m
|
|
@@ -541,8 +541,8 @@ export class CreateDBResourceGroupRequest extends $dara.Model {
|
|
|
541
541
|
/**
|
|
542
542
|
* @remarks
|
|
543
543
|
* 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:
|
|
544
|
-
* - **True**:
|
|
545
|
-
* - **False**:
|
|
544
|
+
* - **True**: Enables the spot instance feature.
|
|
545
|
+
* - **False**: Disables the spot instance feature.
|
|
546
546
|
*
|
|
547
547
|
* @example
|
|
548
548
|
* True
|
|
@@ -569,7 +569,7 @@ export class CreateDBResourceGroupRequest extends $dara.Model {
|
|
|
569
569
|
engineParams?: { [key: string]: any };
|
|
570
570
|
/**
|
|
571
571
|
* @remarks
|
|
572
|
-
* The GPU time-
|
|
572
|
+
* The GPU time-based elastic plan.
|
|
573
573
|
*/
|
|
574
574
|
gpuElasticPlan?: CreateDBResourceGroupRequestGpuElasticPlan;
|
|
575
575
|
/**
|
|
@@ -590,7 +590,7 @@ export class CreateDBResourceGroupRequest extends $dara.Model {
|
|
|
590
590
|
* The type of the resource group. Valid values:
|
|
591
591
|
* - **Interactive**
|
|
592
592
|
* - **Job**
|
|
593
|
-
* > For more information about
|
|
593
|
+
* > 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).
|
|
594
594
|
*
|
|
595
595
|
* This parameter is required.
|
|
596
596
|
*
|
|
@@ -609,8 +609,8 @@ export class CreateDBResourceGroupRequest extends $dara.Model {
|
|
|
609
609
|
/**
|
|
610
610
|
* @remarks
|
|
611
611
|
* The maximum reserved computing resources, in ACUs.
|
|
612
|
-
* - If the resource group type is Interactive, the maximum reserved computing resources
|
|
613
|
-
* - If the resource group type is Job, the maximum reserved computing resources
|
|
612
|
+
* - If the resource group type is Interactive, the maximum reserved computing resources are the unallocated resources of the cluster, in increments of 16 ACUs.
|
|
613
|
+
* - If the resource group type is Job, the maximum reserved computing resources are the unallocated resources of the cluster, in increments of 8 ACUs.
|
|
614
614
|
*
|
|
615
615
|
* @example
|
|
616
616
|
* 48ACU
|
|
@@ -635,8 +635,8 @@ export class CreateDBResourceGroupRequest extends $dara.Model {
|
|
|
635
635
|
/**
|
|
636
636
|
* @remarks
|
|
637
637
|
* The minimum reserved computing resources, in ACUs.
|
|
638
|
-
* - If the resource group type is Interactive, the minimum reserved computing resources
|
|
639
|
-
* - If the resource group type is Job, the minimum reserved computing resources
|
|
638
|
+
* - If the resource group type is Interactive, the minimum reserved computing resources are 16 ACUs.
|
|
639
|
+
* - If the resource group type is Job, the minimum reserved computing resources are 0 ACUs.
|
|
640
640
|
*
|
|
641
641
|
* @example
|
|
642
642
|
* 0ACU
|
|
@@ -674,9 +674,9 @@ export class CreateDBResourceGroupRequest extends $dara.Model {
|
|
|
674
674
|
/**
|
|
675
675
|
* @remarks
|
|
676
676
|
* The scaling policy of the resource group. Valid values:
|
|
677
|
-
* - AutoScaling: enables the AutoScaling
|
|
678
|
-
* - Disable: disables
|
|
679
|
-
* - MultiCluster: enables the MultiCluster
|
|
677
|
+
* - AutoScaling: enables the AutoScaling auto-scaling policy.
|
|
678
|
+
* - Disable: disables auto-scaling.
|
|
679
|
+
* - MultiCluster: enables the MultiCluster auto-scaling policy.
|
|
680
680
|
*
|
|
681
681
|
* @example
|
|
682
682
|
* AutoScaling
|
|
@@ -692,7 +692,7 @@ export class CreateDBResourceGroupRequest extends $dara.Model {
|
|
|
692
692
|
specName?: string;
|
|
693
693
|
/**
|
|
694
694
|
* @remarks
|
|
695
|
-
* The name of the
|
|
695
|
+
* The name of the destination resource group.
|
|
696
696
|
*
|
|
697
697
|
* @example
|
|
698
698
|
* test
|
|
@@ -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
|
|
@@ -34,6 +34,9 @@ export class GetKnowledgeRecallRequest extends $dara.Model {
|
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
36
|
* The username. Only files that this user has permission to access are recalled.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* user_name1
|
|
37
40
|
*/
|
|
38
41
|
user?: string;
|
|
39
42
|
static names(): { [key: string]: string } {
|