@alicloud/polardb20170801 9.5.0 → 9.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +37 -16
- package/dist/client.js +79 -16
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeAgenticDbperformanceRequest.d.ts +93 -0
- package/dist/models/DescribeAgenticDbperformanceRequest.js +70 -0
- package/dist/models/DescribeAgenticDbperformanceRequest.js.map +1 -0
- package/dist/models/DescribeAgenticDbperformanceResponse.d.ts +19 -0
- package/dist/models/DescribeAgenticDbperformanceResponse.js +69 -0
- package/dist/models/DescribeAgenticDbperformanceResponse.js.map +1 -0
- package/dist/models/DescribeAgenticDbperformanceResponseBody.d.ts +102 -0
- package/dist/models/DescribeAgenticDbperformanceResponseBody.js +162 -0
- package/dist/models/DescribeAgenticDbperformanceResponseBody.js.map +1 -0
- package/dist/models/DescribeDbinitializeVariableRequest.d.ts +1 -1
- package/dist/models/DescribeDbinitializeVariableResponseBody.d.ts +0 -2
- package/dist/models/DescribeDbinitializeVariableResponseBody.js.map +1 -1
- package/dist/models/DescribeDbnodesParametersRequest.d.ts +1 -1
- package/dist/models/DescribeDbnodesParametersResponseBody.d.ts +24 -24
- package/dist/models/DescribePolarClawAgentToolsRequest.d.ts +1 -1
- package/dist/models/DescribePolarClawAgentToolsResponseBody.d.ts +5 -5
- package/dist/models/FailoverDbclusterRequest.d.ts +8 -8
- package/dist/models/FailoverDbclusterResponseBody.d.ts +1 -1
- package/dist/models/FailoverDbclusterZonalRequest.d.ts +4 -4
- package/dist/models/FailoverDbclusterZonalResponseBody.d.ts +1 -1
- package/dist/models/ModifyApplicationSslrequest.d.ts +2 -2
- package/dist/models/ModifyApplicationSslresponseBody.d.ts +1 -1
- package/dist/models/ModifyDbnodeSccModeRequest.d.ts +1 -1
- package/dist/models/ModifyDbnodesParametersRequest.d.ts +5 -5
- package/dist/models/TempModifyDbnodeRequest.d.ts +12 -11
- package/dist/models/TempModifyDbnodeRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +58 -44
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +88 -16
- package/src/models/DescribeAgenticDbperformanceRequest.ts +118 -0
- package/src/models/DescribeAgenticDbperformanceResponse.ts +40 -0
- package/src/models/DescribeAgenticDbperformanceResponseBody.ts +183 -0
- package/src/models/DescribeDbinitializeVariableRequest.ts +1 -1
- package/src/models/DescribeDbinitializeVariableResponseBody.ts +0 -2
- package/src/models/DescribeDbnodesParametersRequest.ts +1 -1
- package/src/models/DescribeDbnodesParametersResponseBody.ts +25 -25
- package/src/models/DescribePolarClawAgentToolsRequest.ts +1 -1
- package/src/models/DescribePolarClawAgentToolsResponseBody.ts +5 -5
- package/src/models/FailoverDbclusterRequest.ts +8 -8
- package/src/models/FailoverDbclusterResponseBody.ts +1 -1
- package/src/models/FailoverDbclusterZonalRequest.ts +4 -4
- package/src/models/FailoverDbclusterZonalResponseBody.ts +1 -1
- package/src/models/ModifyApplicationSslrequest.ts +2 -2
- package/src/models/ModifyApplicationSslresponseBody.ts +1 -1
- package/src/models/ModifyDbnodeSccModeRequest.ts +1 -1
- package/src/models/ModifyDbnodesParametersRequest.ts +5 -5
- package/src/models/TempModifyDbnodeRequest.ts +12 -11
- package/src/models/model.ts +7 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeAgenticDBPerformanceRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The statistical method for alerts. Valid values for different monitoring items:
|
|
9
|
+
*
|
|
10
|
+
* - Value: The value of the HTTP status code.
|
|
11
|
+
* - Average: The average HTTP wait time.
|
|
12
|
+
* - Value: The value of the TELNET status code.
|
|
13
|
+
* - TelnetLatency: The average TELNET wait time.
|
|
14
|
+
* - Average: The average PING packet loss rate.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* Average
|
|
18
|
+
*/
|
|
19
|
+
aggregate?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The anchor branch ID. If this parameter is not specified, the main branch of the project is used by default.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* br-7g8h9i0j1k2l
|
|
26
|
+
*/
|
|
27
|
+
branchId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The cluster ID.
|
|
31
|
+
*
|
|
32
|
+
* This parameter is required.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* pc-**************
|
|
36
|
+
*/
|
|
37
|
+
DBClusterId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The end time of the query. Specify the time in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
|
|
41
|
+
*
|
|
42
|
+
* This parameter is required.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* 2026-01-15T15:00:00Z
|
|
46
|
+
*/
|
|
47
|
+
endTime?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* The data granularity of performance data. Valid values:
|
|
51
|
+
*
|
|
52
|
+
* - 5
|
|
53
|
+
* - 30
|
|
54
|
+
* - 60
|
|
55
|
+
* - 600
|
|
56
|
+
* - 1800
|
|
57
|
+
* - 3600
|
|
58
|
+
* - 86400
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* 5
|
|
62
|
+
*/
|
|
63
|
+
interval?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The performance metrics to query. Separate multiple values with commas (,).
|
|
67
|
+
* Note
|
|
68
|
+
* You can specify up to 5 performance metrics.
|
|
69
|
+
*
|
|
70
|
+
* This parameter is required.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* PolarDBCPUForPCU,PolarDBPCU,PolarDBMemoryForPCU,PolarDBQPSTPS,PolarDBConnections
|
|
74
|
+
*/
|
|
75
|
+
key?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The start time of the query. Specify the time in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
|
|
79
|
+
*
|
|
80
|
+
* This parameter is required.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* 2020-05-01T00:00Z
|
|
84
|
+
*/
|
|
85
|
+
startTime?: string;
|
|
86
|
+
static names(): { [key: string]: string } {
|
|
87
|
+
return {
|
|
88
|
+
aggregate: 'Aggregate',
|
|
89
|
+
branchId: 'BranchId',
|
|
90
|
+
DBClusterId: 'DBClusterId',
|
|
91
|
+
endTime: 'EndTime',
|
|
92
|
+
interval: 'Interval',
|
|
93
|
+
key: 'Key',
|
|
94
|
+
startTime: 'StartTime',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
static types(): { [key: string]: any } {
|
|
99
|
+
return {
|
|
100
|
+
aggregate: 'boolean',
|
|
101
|
+
branchId: 'string',
|
|
102
|
+
DBClusterId: 'string',
|
|
103
|
+
endTime: 'string',
|
|
104
|
+
interval: 'string',
|
|
105
|
+
key: 'string',
|
|
106
|
+
startTime: 'string',
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
validate() {
|
|
111
|
+
super.validate();
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
constructor(map?: { [key: string]: any }) {
|
|
115
|
+
super(map);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeAgenticDBPerformanceResponseBody } from "./DescribeAgenticDbperformanceResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeAgenticDBPerformanceResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeAgenticDBPerformanceResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeAgenticDBPerformanceResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPointsPoints extends $dara.Model {
|
|
6
|
+
timestamp?: number;
|
|
7
|
+
value?: string;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
timestamp: 'Timestamp',
|
|
11
|
+
value: 'Value',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
timestamp: 'number',
|
|
18
|
+
value: 'string',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
super.validate();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
constructor(map?: { [key: string]: any }) {
|
|
27
|
+
super(map);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export class DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPoints extends $dara.Model {
|
|
32
|
+
points?: DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPointsPoints[];
|
|
33
|
+
static names(): { [key: string]: string } {
|
|
34
|
+
return {
|
|
35
|
+
points: 'points',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
static types(): { [key: string]: any } {
|
|
40
|
+
return {
|
|
41
|
+
points: { 'type': 'array', 'itemType': DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPointsPoints },
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
validate() {
|
|
46
|
+
if(Array.isArray(this.points)) {
|
|
47
|
+
$dara.Model.validateArray(this.points);
|
|
48
|
+
}
|
|
49
|
+
super.validate();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
constructor(map?: { [key: string]: any }) {
|
|
53
|
+
super(map);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export class DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeys extends $dara.Model {
|
|
58
|
+
branchId?: string;
|
|
59
|
+
measurement?: string;
|
|
60
|
+
metricName?: string;
|
|
61
|
+
points?: DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPoints;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
branchId: 'BranchId',
|
|
65
|
+
measurement: 'Measurement',
|
|
66
|
+
metricName: 'MetricName',
|
|
67
|
+
points: 'Points',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
static types(): { [key: string]: any } {
|
|
72
|
+
return {
|
|
73
|
+
branchId: 'string',
|
|
74
|
+
measurement: 'string',
|
|
75
|
+
metricName: 'string',
|
|
76
|
+
points: DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeysPoints,
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
validate() {
|
|
81
|
+
if(this.points && typeof (this.points as any).validate === 'function') {
|
|
82
|
+
(this.points as any).validate();
|
|
83
|
+
}
|
|
84
|
+
super.validate();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
constructor(map?: { [key: string]: any }) {
|
|
88
|
+
super(map);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export class DescribeAgenticDBPerformanceResponseBodyPerformanceKeys extends $dara.Model {
|
|
93
|
+
performanceKeys?: DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeys[];
|
|
94
|
+
static names(): { [key: string]: string } {
|
|
95
|
+
return {
|
|
96
|
+
performanceKeys: 'performanceKeys',
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
static types(): { [key: string]: any } {
|
|
101
|
+
return {
|
|
102
|
+
performanceKeys: { 'type': 'array', 'itemType': DescribeAgenticDBPerformanceResponseBodyPerformanceKeysPerformanceKeys },
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
validate() {
|
|
107
|
+
if(Array.isArray(this.performanceKeys)) {
|
|
108
|
+
$dara.Model.validateArray(this.performanceKeys);
|
|
109
|
+
}
|
|
110
|
+
super.validate();
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
constructor(map?: { [key: string]: any }) {
|
|
114
|
+
super(map);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export class DescribeAgenticDBPerformanceResponseBody extends $dara.Model {
|
|
119
|
+
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The AgenticDB cluster ID.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* pc-**************
|
|
125
|
+
*/
|
|
126
|
+
DBClusterId?: string;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* The end time of the query. Specify the time in the `yyyy-MM-ddTHH:mm:ssZ` format. The time must be in UTC.
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* 2020-09-23T01:01:00Z
|
|
133
|
+
*/
|
|
134
|
+
endTime?: string;
|
|
135
|
+
performanceKeys?: DescribeAgenticDBPerformanceResponseBodyPerformanceKeys;
|
|
136
|
+
/**
|
|
137
|
+
* @remarks
|
|
138
|
+
* The request ID.
|
|
139
|
+
*
|
|
140
|
+
* @example
|
|
141
|
+
* 2F029645-FED9-4FE8-A6D3-488954******
|
|
142
|
+
*/
|
|
143
|
+
requestId?: string;
|
|
144
|
+
/**
|
|
145
|
+
* @remarks
|
|
146
|
+
* The start time of the query. The time is in the `yyyy-MM-ddTHH:mm:ssZ` format and in UTC.
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* 2020-09-23T01:00Z
|
|
150
|
+
*/
|
|
151
|
+
startTime?: string;
|
|
152
|
+
static names(): { [key: string]: string } {
|
|
153
|
+
return {
|
|
154
|
+
DBClusterId: 'DBClusterId',
|
|
155
|
+
endTime: 'EndTime',
|
|
156
|
+
performanceKeys: 'PerformanceKeys',
|
|
157
|
+
requestId: 'RequestId',
|
|
158
|
+
startTime: 'StartTime',
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
static types(): { [key: string]: any } {
|
|
163
|
+
return {
|
|
164
|
+
DBClusterId: 'string',
|
|
165
|
+
endTime: 'string',
|
|
166
|
+
performanceKeys: DescribeAgenticDBPerformanceResponseBodyPerformanceKeys,
|
|
167
|
+
requestId: 'string',
|
|
168
|
+
startTime: 'string',
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
validate() {
|
|
173
|
+
if(this.performanceKeys && typeof (this.performanceKeys as any).validate === 'function') {
|
|
174
|
+
(this.performanceKeys as any).validate();
|
|
175
|
+
}
|
|
176
|
+
super.validate();
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
constructor(map?: { [key: string]: any }) {
|
|
180
|
+
super(map);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
@@ -7,7 +7,7 @@ export class DescribeDBInitializeVariableRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The cluster ID.
|
|
9
9
|
*
|
|
10
|
-
* >
|
|
10
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query the information of all clusters in the destination region, including cluster IDs.
|
|
11
11
|
*
|
|
12
12
|
* This parameter is required.
|
|
13
13
|
*
|
|
@@ -15,7 +15,7 @@ export class DescribeDBNodesParametersRequest extends $dara.Model {
|
|
|
15
15
|
DBClusterId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The
|
|
18
|
+
* The node IDs. You can specify multiple node IDs separated by commas (,).
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeDBNodesParametersResponseBodyDBNodeIdsRunningParameters extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The value range of the parameter.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* [utf8|latin1|gbk|utf8mb4]
|
|
@@ -13,13 +13,13 @@ export class DescribeDBNodesParametersResponseBodyDBNodeIdsRunningParameters ext
|
|
|
13
13
|
checkingCode?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The data type of the parameter. Valid values:
|
|
16
|
+
* The data type of the parameter value. Valid values:
|
|
17
17
|
*
|
|
18
|
-
* - **INT**:
|
|
18
|
+
* - **INT**: integer
|
|
19
19
|
*
|
|
20
|
-
* - **STRING**:
|
|
20
|
+
* - **STRING**: string
|
|
21
21
|
*
|
|
22
|
-
* - **B**:
|
|
22
|
+
* - **B**: byte
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* INT
|
|
@@ -35,7 +35,7 @@ export class DescribeDBNodesParametersResponseBodyDBNodeIdsRunningParameters ext
|
|
|
35
35
|
defaultParameterValue?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The
|
|
38
|
+
* The divisibility factor. For parameters of the integer and byte types, the parameter value must not only fall within the valid range but also be a multiple of the factor (which cannot be 0).
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* 20
|
|
@@ -43,11 +43,11 @@ export class DescribeDBNodesParametersResponseBodyDBNodeIdsRunningParameters ext
|
|
|
43
43
|
factor?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
*
|
|
46
|
+
* Specifies whether a restart is required for the parameter to take effect. Valid values:
|
|
47
47
|
*
|
|
48
|
-
* - **false**:
|
|
48
|
+
* - **false**: no
|
|
49
49
|
*
|
|
50
|
-
* - **true**:
|
|
50
|
+
* - **true**: yes
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* true
|
|
@@ -55,11 +55,11 @@ export class DescribeDBNodesParametersResponseBodyDBNodeIdsRunningParameters ext
|
|
|
55
55
|
forceRestart?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
*
|
|
58
|
+
* Specifies whether the parameter is modifiable. Valid values:
|
|
59
59
|
*
|
|
60
|
-
* - **false**:
|
|
60
|
+
* - **false**: not modifiable
|
|
61
61
|
*
|
|
62
|
-
* - **true**:
|
|
62
|
+
* - **true**: modifiable
|
|
63
63
|
*
|
|
64
64
|
* @example
|
|
65
65
|
* true
|
|
@@ -67,11 +67,11 @@ export class DescribeDBNodesParametersResponseBodyDBNodeIdsRunningParameters ext
|
|
|
67
67
|
isModifiable?: boolean;
|
|
68
68
|
/**
|
|
69
69
|
* @remarks
|
|
70
|
-
*
|
|
70
|
+
* Specifies whether the parameter is a global parameter. Valid values:
|
|
71
71
|
*
|
|
72
|
-
* - **0**: The parameter is a global parameter.
|
|
72
|
+
* - **0**: The parameter is a global parameter. Parameter modifications have a default application to other nodes and cannot be canceled.
|
|
73
73
|
*
|
|
74
|
-
* - **1**: The parameter is not a global parameter. You can specify the nodes to which
|
|
74
|
+
* - **1**: The parameter is not a global parameter. You can specify the nodes to which modifications to this parameter are applied.
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
77
|
* 1
|
|
@@ -79,7 +79,7 @@ export class DescribeDBNodesParametersResponseBodyDBNodeIdsRunningParameters ext
|
|
|
79
79
|
isNodeAvailable?: string;
|
|
80
80
|
/**
|
|
81
81
|
* @remarks
|
|
82
|
-
* The dependency
|
|
82
|
+
* The parameter dependency.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* utf8
|
|
@@ -105,9 +105,9 @@ export class DescribeDBNodesParametersResponseBodyDBNodeIdsRunningParameters ext
|
|
|
105
105
|
* @remarks
|
|
106
106
|
* The status of the parameter. Valid values:
|
|
107
107
|
*
|
|
108
|
-
* - **normal**:
|
|
109
|
-
*
|
|
110
|
-
* - **modifying**:
|
|
108
|
+
* - **normal**: normal
|
|
109
|
+
*
|
|
110
|
+
* - **modifying**: modifying
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
113
|
* normal
|
|
@@ -167,7 +167,7 @@ export class DescribeDBNodesParametersResponseBodyDBNodeIdsRunningParameters ext
|
|
|
167
167
|
export class DescribeDBNodesParametersResponseBodyDBNodeIds extends $dara.Model {
|
|
168
168
|
/**
|
|
169
169
|
* @remarks
|
|
170
|
-
* The ID
|
|
170
|
+
* The node ID.
|
|
171
171
|
*
|
|
172
172
|
* @example
|
|
173
173
|
* pi-bp1r4qe3s534*****
|
|
@@ -175,7 +175,7 @@ export class DescribeDBNodesParametersResponseBodyDBNodeIds extends $dara.Model
|
|
|
175
175
|
DBNodeId?: string;
|
|
176
176
|
/**
|
|
177
177
|
* @remarks
|
|
178
|
-
* The list of parameters
|
|
178
|
+
* The list of running parameters for the current node.
|
|
179
179
|
*/
|
|
180
180
|
runningParameters?: DescribeDBNodesParametersResponseBodyDBNodeIdsRunningParameters[];
|
|
181
181
|
static names(): { [key: string]: string } {
|
|
@@ -212,7 +212,7 @@ export class DescribeDBNodesParametersResponseBody extends $dara.Model {
|
|
|
212
212
|
DBNodeIds?: DescribeDBNodesParametersResponseBodyDBNodeIds[];
|
|
213
213
|
/**
|
|
214
214
|
* @remarks
|
|
215
|
-
* The type
|
|
215
|
+
* The database type. The value is fixed as **MySQL**.
|
|
216
216
|
*
|
|
217
217
|
* @example
|
|
218
218
|
* MySQL
|
|
@@ -220,7 +220,7 @@ export class DescribeDBNodesParametersResponseBody extends $dara.Model {
|
|
|
220
220
|
DBType?: string;
|
|
221
221
|
/**
|
|
222
222
|
* @remarks
|
|
223
|
-
* The
|
|
223
|
+
* The MySQL version. Valid values:
|
|
224
224
|
*
|
|
225
225
|
* - **5.6**
|
|
226
226
|
*
|
|
@@ -234,7 +234,7 @@ export class DescribeDBNodesParametersResponseBody extends $dara.Model {
|
|
|
234
234
|
DBVersion?: string;
|
|
235
235
|
/**
|
|
236
236
|
* @remarks
|
|
237
|
-
* The
|
|
237
|
+
* The cluster engine.
|
|
238
238
|
*
|
|
239
239
|
* @example
|
|
240
240
|
* POLARDB
|
|
@@ -242,7 +242,7 @@ export class DescribeDBNodesParametersResponseBody extends $dara.Model {
|
|
|
242
242
|
engine?: string;
|
|
243
243
|
/**
|
|
244
244
|
* @remarks
|
|
245
|
-
* The ID
|
|
245
|
+
* The request ID.
|
|
246
246
|
*
|
|
247
247
|
* @example
|
|
248
248
|
* 9B7BFB11-C077-4FE3-B051-F69CEB******
|
|
@@ -73,7 +73,7 @@ export class DescribePolarClawAgentToolsResponseBodyGroupsTools extends $dara.Mo
|
|
|
73
73
|
* The tool description.
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
|
-
*
|
|
76
|
+
* Read the content of the specified file
|
|
77
77
|
*/
|
|
78
78
|
description?: string;
|
|
79
79
|
/**
|
|
@@ -89,7 +89,7 @@ export class DescribePolarClawAgentToolsResponseBodyGroupsTools extends $dara.Mo
|
|
|
89
89
|
* The tool name.
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
|
-
*
|
|
92
|
+
* Read file
|
|
93
93
|
*/
|
|
94
94
|
label?: string;
|
|
95
95
|
/**
|
|
@@ -146,12 +146,12 @@ export class DescribePolarClawAgentToolsResponseBodyGroups extends $dara.Model {
|
|
|
146
146
|
* The group name.
|
|
147
147
|
*
|
|
148
148
|
* @example
|
|
149
|
-
*
|
|
149
|
+
* File operations
|
|
150
150
|
*/
|
|
151
151
|
label?: string;
|
|
152
152
|
/**
|
|
153
153
|
* @remarks
|
|
154
|
-
* The source
|
|
154
|
+
* The source: core or plug-in ID.
|
|
155
155
|
*
|
|
156
156
|
* @example
|
|
157
157
|
* core
|
|
@@ -206,7 +206,7 @@ export class DescribePolarClawAgentToolsResponseBodyProfiles extends $dara.Model
|
|
|
206
206
|
* The display name.
|
|
207
207
|
*
|
|
208
208
|
* @example
|
|
209
|
-
*
|
|
209
|
+
* All tools
|
|
210
210
|
*/
|
|
211
211
|
label?: string;
|
|
212
212
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class FailoverDBClusterRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, and you must
|
|
8
|
+
* The client token that is used to ensure the idempotence of the request and prevent duplicate submissions. You can use the client to generate the value, and you must ensure that the value is unique among different requests. The value is case-sensitive and can be up to 64 ASCII characters in length.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 6000170000591aed949d0f54a343f1a4233c1e7d1c5******
|
|
@@ -13,7 +13,7 @@ export class FailoverDBClusterRequest extends $dara.Model {
|
|
|
13
13
|
clientToken?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The cluster
|
|
16
|
+
* The ID of the database cluster.
|
|
17
17
|
*
|
|
18
18
|
* This parameter is required.
|
|
19
19
|
*
|
|
@@ -29,8 +29,8 @@ export class FailoverDBClusterRequest extends $dara.Model {
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Specifies whether to switch back to the original primary zone after a failover. Valid values:
|
|
31
31
|
*
|
|
32
|
-
* - true:
|
|
33
|
-
* - false:
|
|
32
|
+
* - true: Yes.
|
|
33
|
+
* - false: No.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* false
|
|
@@ -38,9 +38,9 @@ export class FailoverDBClusterRequest extends $dara.Model {
|
|
|
38
38
|
rollBackForDisaster?: boolean;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The ID of the node
|
|
41
|
+
* The ID of the node to be switched to the primary node. If you do not specify this parameter, the system automatically elects a primary node. You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query the node ID and other information.
|
|
42
42
|
*
|
|
43
|
-
* > - Automatic
|
|
43
|
+
* > - Automatic primary node election: The system identifies all read-only nodes that can be elected. It selects one or more read-only nodes with the highest priority. If the switchover to the first node fails (for example, due to network issues or abnormal replication status), the system attempts to switch to the next node until the switchover succeeds.
|
|
44
44
|
* >- This parameter is required when the cluster is a PolarDB for PostgreSQL (Compatible with Oracle) or PolarDB for PostgreSQL cluster. This parameter is optional when the cluster is a PolarDB for MySQL cluster.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
@@ -50,8 +50,8 @@ export class FailoverDBClusterRequest extends $dara.Model {
|
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
52
|
* Specifies whether the primary/secondary switchover is performed within the primary zone. Valid values:
|
|
53
|
-
* - Primary:
|
|
54
|
-
* - Standby:
|
|
53
|
+
* - Primary: primary/secondary switchover within the primary zone.
|
|
54
|
+
* - Standby: switchover to the hot standby storage cluster.
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* Primary
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class FailoverDBClusterZonalRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The client token that is used to ensure the idempotence of the request and prevent duplicate
|
|
8
|
+
* The client token that is used to ensure the idempotence of the request and prevent duplicate requests. You can generate the value of this parameter on the client side. The value must be unique across different requests and is case-sensitive. It can contain up to 64 ASCII characters.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 6000170000591aed949d0f54a343f1a4233c1e7d1c5******
|
|
@@ -13,7 +13,7 @@ export class FailoverDBClusterZonalRequest extends $dara.Model {
|
|
|
13
13
|
clientToken?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID of the edge cloud cluster. Only edge cluster IDs returned by DescribeDBClustersZonal are
|
|
16
|
+
* The ID of the edge cloud cluster. Only the edge cluster IDs returned by DescribeDBClustersZonal are supported. Standard PolarDB cluster IDs are not supported. Note: Only edge cluster IDs are accepted. You can call DescribeDBClustersZonal to obtain available edge cluster IDs.
|
|
17
17
|
*
|
|
18
18
|
* This parameter is required.
|
|
19
19
|
*
|
|
@@ -38,7 +38,7 @@ export class FailoverDBClusterZonalRequest extends $dara.Model {
|
|
|
38
38
|
rollBackForDisaster?: boolean;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The ID of the edge cluster node to be switched to the primary node. If you
|
|
41
|
+
* The ID of the edge cluster node to be switched to the primary node. If you leave this parameter empty, the system automatically selects a primary node. You can call DescribeDbClusterAttributeZonal to query the node ID. Note: DescribeDbClusterAttributeZonal.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* pi-***********
|
|
@@ -46,7 +46,7 @@ export class FailoverDBClusterZonalRequest extends $dara.Model {
|
|
|
46
46
|
targetDBNodeId?: string;
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* Specifies whether
|
|
49
|
+
* Specifies whether it is an active primary/secondary switchover within the primary zone. Valid values:
|
|
50
50
|
*
|
|
51
51
|
* - Primary: Performs a primary/secondary switchover within the primary zone.
|
|
52
52
|
* - Standby: Switches to the hot standby storage cluster.
|