@alicloud/polardb20170801 7.4.0 → 7.5.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 +51 -40
- package/dist/client.js +170 -40
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskRequest.d.ts +13 -17
- package/dist/models/CreateAidbclusterTaskRequest.js +2 -0
- package/dist/models/CreateAidbclusterTaskRequest.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskResponseBody.d.ts +2 -2
- package/dist/models/CreateBackupRequest.d.ts +2 -1
- package/dist/models/CreateBackupRequest.js +2 -0
- package/dist/models/CreateBackupRequest.js.map +1 -1
- package/dist/models/CreateBackupResponseBody.d.ts +1 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +91 -18
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +127 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTaskAttributeRequest.d.ts +3 -3
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +37 -45
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTasksRequest.d.ts +2 -2
- package/dist/models/DescribeAidbclusterTasksResponseBody.d.ts +18 -17
- package/dist/models/DescribeAidbclusterTasksResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationLogsRequest.d.ts +10 -10
- package/dist/models/DescribeApplicationLogsResponseBody.d.ts +2 -6
- package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableModelsRequest.d.ts +1 -1
- package/dist/models/DescribeAvailableModelsResponseBody.d.ts +7 -6
- package/dist/models/DescribeAvailableModelsResponseBody.js +2 -0
- package/dist/models/DescribeAvailableModelsResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupsRequest.d.ts +12 -19
- package/dist/models/DescribeBackupsRequest.js.map +1 -1
- package/dist/models/DescribeBackupsResponseBody.d.ts +5 -7
- package/dist/models/DescribeBackupsResponseBody.js +2 -0
- package/dist/models/DescribeBackupsResponseBody.js.map +1 -1
- package/dist/models/DescribeBudgetPoliciesRequest.d.ts +10 -14
- package/dist/models/DescribeBudgetPoliciesRequest.js +2 -0
- package/dist/models/DescribeBudgetPoliciesRequest.js.map +1 -1
- package/dist/models/DescribeBudgetPoliciesResponseBody.d.ts +18 -22
- package/dist/models/DescribeBudgetPoliciesResponseBody.js.map +1 -1
- package/dist/models/DescribeConsumersRequest.d.ts +10 -10
- package/dist/models/DescribeConsumersRequest.js +4 -0
- package/dist/models/DescribeConsumersRequest.js.map +1 -1
- package/dist/models/DescribeConsumersResponseBody.d.ts +17 -17
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +5 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js +2 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/DescribeDbclusterPriceRequest.d.ts +244 -0
- package/dist/models/DescribeDbclusterPriceRequest.js +125 -0
- package/dist/models/DescribeDbclusterPriceRequest.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceResponse.d.ts +19 -0
- package/dist/models/DescribeDbclusterPriceResponse.js +69 -0
- package/dist/models/DescribeDbclusterPriceResponse.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.d.ts +161 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.js +217 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.d.ts +216 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.js +101 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.js.map +1 -0
- package/dist/models/DescribeDbclusterSslrequest.d.ts +6 -2
- package/dist/models/DescribeDbclusterSslrequest.js +2 -0
- package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
- package/dist/models/DescribeDbclusterSslresponseBody.d.ts +13 -14
- package/dist/models/DescribeDbclusterSslresponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +75 -19
- package/dist/models/DescribePolarFsAttributeResponseBody.js +73 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsRequest.d.ts +39 -0
- package/dist/models/DescribePolarFsRequest.js.map +1 -1
- package/dist/models/DescribePolarFsResponseBody.d.ts +12 -0
- package/dist/models/DescribePolarFsResponseBody.js.map +1 -1
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +27 -32
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js +2 -0
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/ModifyDbclusterSslrequest.d.ts +28 -27
- package/dist/models/ModifyDbclusterSslrequest.js +4 -0
- package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
- package/dist/models/model.d.ts +18 -0
- package/dist/models/model.js +76 -40
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +204 -40
- package/src/models/CreateAidbclusterTaskRequest.ts +15 -17
- package/src/models/CreateAidbclusterTaskResponseBody.ts +2 -2
- package/src/models/CreateBackupRequest.ts +4 -1
- package/src/models/CreateBackupResponseBody.ts +1 -1
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +172 -18
- package/src/models/DescribeAidbclusterTaskAttributeRequest.ts +3 -3
- package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +39 -45
- package/src/models/DescribeAidbclusterTasksRequest.ts +2 -2
- package/src/models/DescribeAidbclusterTasksResponseBody.ts +20 -17
- package/src/models/DescribeApplicationLogsRequest.ts +10 -10
- package/src/models/DescribeApplicationLogsResponseBody.ts +2 -6
- package/src/models/DescribeAvailableModelsRequest.ts +1 -1
- package/src/models/DescribeAvailableModelsResponseBody.ts +9 -6
- package/src/models/DescribeBackupsRequest.ts +14 -21
- package/src/models/DescribeBackupsResponseBody.ts +7 -7
- package/src/models/DescribeBudgetPoliciesRequest.ts +13 -15
- package/src/models/DescribeBudgetPoliciesResponseBody.ts +19 -23
- package/src/models/DescribeConsumersRequest.ts +14 -10
- package/src/models/DescribeConsumersResponseBody.ts +17 -17
- package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +7 -0
- package/src/models/DescribeDbclusterPriceRequest.ts +315 -0
- package/src/models/DescribeDbclusterPriceResponse.ts +40 -0
- package/src/models/DescribeDbclusterPriceResponseBody.ts +279 -0
- package/src/models/DescribeDbclusterPriceShrinkRequest.ts +272 -0
- package/src/models/DescribeDbclusterSslrequest.ts +8 -2
- package/src/models/DescribeDbclusterSslresponseBody.ts +13 -14
- package/src/models/DescribePolarFsAttributeResponseBody.ts +129 -19
- package/src/models/DescribePolarFsRequest.ts +39 -0
- package/src/models/DescribePolarFsResponseBody.ts +12 -0
- package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +29 -32
- package/src/models/ModifyDbclusterSslrequest.ts +32 -27
- package/src/models/model.ts +18 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeConsumersRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The user group ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* cg-xxxxxxxx
|
|
@@ -13,12 +13,14 @@ export class DescribeConsumersRequest extends $dara.Model {
|
|
|
13
13
|
consumerGroupId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The user ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* c-mqveroemc***
|
|
20
20
|
*/
|
|
21
21
|
consumerId?: string;
|
|
22
|
+
consumerName?: string;
|
|
23
|
+
consumerNameList?: string;
|
|
22
24
|
/**
|
|
23
25
|
* @remarks
|
|
24
26
|
* The gateway instance ID.
|
|
@@ -31,7 +33,7 @@ export class DescribeConsumersRequest extends $dara.Model {
|
|
|
31
33
|
gwClusterId?: string;
|
|
32
34
|
/**
|
|
33
35
|
* @remarks
|
|
34
|
-
* The page number.
|
|
36
|
+
* The page number. Default value: 1.
|
|
35
37
|
*
|
|
36
38
|
* @example
|
|
37
39
|
* 1
|
|
@@ -39,13 +41,11 @@ export class DescribeConsumersRequest extends $dara.Model {
|
|
|
39
41
|
pageNumber?: number;
|
|
40
42
|
/**
|
|
41
43
|
* @remarks
|
|
42
|
-
* The number of entries
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* - **100**. The default is **30**.
|
|
44
|
+
* The number of entries per page. Valid values:
|
|
45
|
+
* * **30**
|
|
46
|
+
* * **50**
|
|
47
|
+
* * **100**
|
|
48
|
+
* Default value: **30**.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 30
|
|
@@ -63,6 +63,8 @@ export class DescribeConsumersRequest extends $dara.Model {
|
|
|
63
63
|
return {
|
|
64
64
|
consumerGroupId: 'ConsumerGroupId',
|
|
65
65
|
consumerId: 'ConsumerId',
|
|
66
|
+
consumerName: 'ConsumerName',
|
|
67
|
+
consumerNameList: 'ConsumerNameList',
|
|
66
68
|
gwClusterId: 'GwClusterId',
|
|
67
69
|
pageNumber: 'PageNumber',
|
|
68
70
|
pageSize: 'PageSize',
|
|
@@ -74,6 +76,8 @@ export class DescribeConsumersRequest extends $dara.Model {
|
|
|
74
76
|
return {
|
|
75
77
|
consumerGroupId: 'string',
|
|
76
78
|
consumerId: 'string',
|
|
79
|
+
consumerName: 'string',
|
|
80
|
+
consumerNameList: 'string',
|
|
77
81
|
gwClusterId: 'string',
|
|
78
82
|
pageNumber: 'number',
|
|
79
83
|
pageSize: 'number',
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeConsumersResponseBodyItems extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The list of supported models.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* "[]"
|
|
@@ -13,7 +13,7 @@ export class DescribeConsumersResponseBodyItems extends $dara.Model {
|
|
|
13
13
|
allowedModels?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The full API key
|
|
16
|
+
* The full API key, returned only in this response.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* xxxxxxxx
|
|
@@ -21,7 +21,7 @@ export class DescribeConsumersResponseBodyItems extends $dara.Model {
|
|
|
21
21
|
apiKey?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The user group ID.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* cg-xxxxxx
|
|
@@ -29,7 +29,7 @@ export class DescribeConsumersResponseBodyItems extends $dara.Model {
|
|
|
29
29
|
consumerGroupId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
32
|
+
* The user group name.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* test
|
|
@@ -37,7 +37,7 @@ export class DescribeConsumersResponseBodyItems extends $dara.Model {
|
|
|
37
37
|
consumerGroupName?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The
|
|
40
|
+
* The user ID.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* c-mqveroemc***
|
|
@@ -45,7 +45,7 @@ export class DescribeConsumersResponseBodyItems extends $dara.Model {
|
|
|
45
45
|
consumerId?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The time
|
|
48
|
+
* The creation time.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 2026-01-28T09:56:03+08:00
|
|
@@ -53,7 +53,7 @@ export class DescribeConsumersResponseBodyItems extends $dara.Model {
|
|
|
53
53
|
gmtCreated?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The time
|
|
56
|
+
* The update time.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* 2026-01-04T16:09:29+08:00
|
|
@@ -61,7 +61,7 @@ export class DescribeConsumersResponseBodyItems extends $dara.Model {
|
|
|
61
61
|
gmtModified?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The total usage.
|
|
64
|
+
* The total cumulative usage.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* 1000
|
|
@@ -69,7 +69,7 @@ export class DescribeConsumersResponseBodyItems extends $dara.Model {
|
|
|
69
69
|
lifetimeCostCount?: number;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The total
|
|
72
|
+
* The total cost for the current month.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* 100
|
|
@@ -77,7 +77,7 @@ export class DescribeConsumersResponseBodyItems extends $dara.Model {
|
|
|
77
77
|
lifetimeTokenCount?: number;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* The month
|
|
80
|
+
* The usage for the current month.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* 10
|
|
@@ -85,7 +85,7 @@ export class DescribeConsumersResponseBodyItems extends $dara.Model {
|
|
|
85
85
|
mtdCostCount?: number;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The
|
|
88
|
+
* The total cumulative cost.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* 10000
|
|
@@ -93,7 +93,7 @@ export class DescribeConsumersResponseBodyItems extends $dara.Model {
|
|
|
93
93
|
mtdTokenCount?: number;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The
|
|
96
|
+
* The username.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* test
|
|
@@ -101,7 +101,7 @@ export class DescribeConsumersResponseBodyItems extends $dara.Model {
|
|
|
101
101
|
name?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The
|
|
104
|
+
* The nickname.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* yonghu
|
|
@@ -155,7 +155,7 @@ export class DescribeConsumersResponseBodyItems extends $dara.Model {
|
|
|
155
155
|
export class DescribeConsumersResponseBody extends $dara.Model {
|
|
156
156
|
/**
|
|
157
157
|
* @remarks
|
|
158
|
-
*
|
|
158
|
+
* The list of users.
|
|
159
159
|
*/
|
|
160
160
|
items?: DescribeConsumersResponseBodyItems[];
|
|
161
161
|
/**
|
|
@@ -168,7 +168,7 @@ export class DescribeConsumersResponseBody extends $dara.Model {
|
|
|
168
168
|
pageNumber?: number;
|
|
169
169
|
/**
|
|
170
170
|
* @remarks
|
|
171
|
-
* The number of
|
|
171
|
+
* The number of records on the current page.
|
|
172
172
|
*
|
|
173
173
|
* @example
|
|
174
174
|
* 1
|
|
@@ -176,7 +176,7 @@ export class DescribeConsumersResponseBody extends $dara.Model {
|
|
|
176
176
|
pageRecordCount?: number;
|
|
177
177
|
/**
|
|
178
178
|
* @remarks
|
|
179
|
-
* The page
|
|
179
|
+
* The number of entries per page. Valid values: 30, 50, and 100. Default value: 30.
|
|
180
180
|
*
|
|
181
181
|
* @example
|
|
182
182
|
* 30
|
|
@@ -184,7 +184,7 @@ export class DescribeConsumersResponseBody extends $dara.Model {
|
|
|
184
184
|
pageSize?: number;
|
|
185
185
|
/**
|
|
186
186
|
* @remarks
|
|
187
|
-
*
|
|
187
|
+
* Id of the request
|
|
188
188
|
*
|
|
189
189
|
* @example
|
|
190
190
|
* 24A1990B-4F6E-482B-B8CB-75C612******
|
|
@@ -15,6 +15,11 @@ export class DescribeDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
15
15
|
DBClusterId?: string;
|
|
16
16
|
ownerAccount?: string;
|
|
17
17
|
ownerId?: number;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* pfs-xxx
|
|
21
|
+
*/
|
|
22
|
+
pfsInstanceId?: string;
|
|
18
23
|
resourceOwnerAccount?: string;
|
|
19
24
|
resourceOwnerId?: number;
|
|
20
25
|
static names(): { [key: string]: string } {
|
|
@@ -22,6 +27,7 @@ export class DescribeDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
22
27
|
DBClusterId: 'DBClusterId',
|
|
23
28
|
ownerAccount: 'OwnerAccount',
|
|
24
29
|
ownerId: 'OwnerId',
|
|
30
|
+
pfsInstanceId: 'PfsInstanceId',
|
|
25
31
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
26
32
|
resourceOwnerId: 'ResourceOwnerId',
|
|
27
33
|
};
|
|
@@ -32,6 +38,7 @@ export class DescribeDBClusterAccessWhitelistRequest extends $dara.Model {
|
|
|
32
38
|
DBClusterId: 'string',
|
|
33
39
|
ownerAccount: 'string',
|
|
34
40
|
ownerId: 'number',
|
|
41
|
+
pfsInstanceId: 'string',
|
|
35
42
|
resourceOwnerAccount: 'string',
|
|
36
43
|
resourceOwnerId: 'number',
|
|
37
44
|
};
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDBClusterPriceRequestDBNodes extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The target node specifications.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* polar.mysql.x4.large
|
|
12
|
+
*/
|
|
13
|
+
DBNodeClass?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The node ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* pi-**************
|
|
20
|
+
*/
|
|
21
|
+
DBNodeId?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
DBNodeClass: 'DBNodeClass',
|
|
25
|
+
DBNodeId: 'DBNodeId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
DBNodeClass: 'string',
|
|
32
|
+
DBNodeId: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class DescribeDBClusterPriceRequest extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The cluster edition. Valid values:
|
|
49
|
+
* - Normal: Cluster Edition.
|
|
50
|
+
* - Basic: Single Node Edition.
|
|
51
|
+
* - ArchiveNormal: Archive Database.
|
|
52
|
+
* - SENormal: Standard Edition.
|
|
53
|
+
* - NormalMultimaster: Multi-master Cluster.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* Normal
|
|
57
|
+
*/
|
|
58
|
+
creationCategory?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The cluster ID. Required for non-BUY scenarios.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* pc-**************
|
|
65
|
+
*/
|
|
66
|
+
DBClusterId?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The node specifications. Required for the BUY scenario. Example format: polar.mysql.x4.large.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* polar.mysql.x4.large
|
|
73
|
+
*/
|
|
74
|
+
DBNodeClass?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* The list of node IDs to delete. Used when ModifyType is set to DELETE.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* pi-**************
|
|
81
|
+
*/
|
|
82
|
+
DBNodeIds?: string[];
|
|
83
|
+
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* The number of nodes. Valid for the BUY scenario. This value includes the read/write node. Minimum value: 1. Default value: 1.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* 2
|
|
89
|
+
*/
|
|
90
|
+
DBNodeNum?: number;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The list of heterogeneous specification change nodes. Used for specification change scenarios to specify the target specifications for each node.
|
|
94
|
+
*/
|
|
95
|
+
DBNodes?: DescribeDBClusterPriceRequestDBNodes[];
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The database engine type. Required for the BUY scenario. Valid values: MySQL, PostgreSQL, and Oracle.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* MySQL
|
|
102
|
+
*/
|
|
103
|
+
DBType?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The database engine version. Required for the BUY scenario. Valid values for MySQL: 5.6, 5.7, and 8.0. Valid values for PostgreSQL: 11 and 14. Valid values for Oracle: 11 and 14.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* 8.0
|
|
110
|
+
*/
|
|
111
|
+
DBVersion?: string;
|
|
112
|
+
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* Specifies whether to enable the hot standby cluster. Valid values:
|
|
115
|
+
* - ON: Enable.
|
|
116
|
+
* - OFF: Disable.
|
|
117
|
+
*
|
|
118
|
+
* Valid for the BUY and specification change scenarios.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* ON
|
|
122
|
+
*/
|
|
123
|
+
hotStandbyCluster?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The specification change direction. Valid values:
|
|
127
|
+
* - ADD: add nodes.
|
|
128
|
+
* - DELETE: remove nodes.
|
|
129
|
+
* - UPGRADE: upgrade specifications.
|
|
130
|
+
* - DOWNGRADE: downgrade specifications.
|
|
131
|
+
* - HOT_STANDBY: hot standby change.
|
|
132
|
+
* - STORAGE: storage space change.
|
|
133
|
+
* - STORAGE_TYPE: storage type change.
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* UPGRADE
|
|
137
|
+
*/
|
|
138
|
+
modifyType?: string;
|
|
139
|
+
/**
|
|
140
|
+
* @remarks
|
|
141
|
+
* The order type. Valid values:
|
|
142
|
+
* - BUY: new purchase.
|
|
143
|
+
* - CONVERT: billing method conversion.
|
|
144
|
+
* - RENEW: renewal.
|
|
145
|
+
* - UPGRADE: upgrade specifications or add nodes.
|
|
146
|
+
* - DOWNGRADE: downgrade specifications or remove nodes.
|
|
147
|
+
*
|
|
148
|
+
* This parameter is required.
|
|
149
|
+
*
|
|
150
|
+
* @example
|
|
151
|
+
* BUY
|
|
152
|
+
*/
|
|
153
|
+
orderType?: string;
|
|
154
|
+
/**
|
|
155
|
+
* @remarks
|
|
156
|
+
* The billing method. Required for the BUY and CONVERT scenarios. Valid values:
|
|
157
|
+
* - Prepaid: subscription.
|
|
158
|
+
* - Postpaid: pay-as-you-go.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* Prepaid
|
|
162
|
+
*/
|
|
163
|
+
payType?: string;
|
|
164
|
+
/**
|
|
165
|
+
* @remarks
|
|
166
|
+
* The subscription cycle. Valid values:
|
|
167
|
+
* - Month: monthly.
|
|
168
|
+
* - Year: yearly.
|
|
169
|
+
*
|
|
170
|
+
* @example
|
|
171
|
+
* Month
|
|
172
|
+
*/
|
|
173
|
+
period?: string;
|
|
174
|
+
/**
|
|
175
|
+
* @remarks
|
|
176
|
+
* The provisioned IOPS. Used for the Standard Edition (SENormal) scenario.
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* 1000
|
|
180
|
+
*/
|
|
181
|
+
provisionedIops?: string;
|
|
182
|
+
/**
|
|
183
|
+
* @remarks
|
|
184
|
+
* The region ID.
|
|
185
|
+
*
|
|
186
|
+
* This parameter is required.
|
|
187
|
+
*
|
|
188
|
+
* @example
|
|
189
|
+
* cn-hangzhou
|
|
190
|
+
*/
|
|
191
|
+
regionId?: string;
|
|
192
|
+
/**
|
|
193
|
+
* @remarks
|
|
194
|
+
* The serverless type. Valid values: AgileServerless.
|
|
195
|
+
*
|
|
196
|
+
* @example
|
|
197
|
+
* AgileServerless
|
|
198
|
+
*/
|
|
199
|
+
serverlessType?: string;
|
|
200
|
+
/**
|
|
201
|
+
* @remarks
|
|
202
|
+
* The storage billing type. Valid values:
|
|
203
|
+
* - Prepaid: subscription.
|
|
204
|
+
* - Postpaid: pay-as-you-go.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* Prepaid
|
|
208
|
+
*/
|
|
209
|
+
storageChargeType?: string;
|
|
210
|
+
/**
|
|
211
|
+
* @remarks
|
|
212
|
+
* The storage space, in GB. Used for prepaid storage or storage specification change scenarios.
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* 50
|
|
216
|
+
*/
|
|
217
|
+
storageSpace?: string;
|
|
218
|
+
/**
|
|
219
|
+
* @remarks
|
|
220
|
+
* The storage type. Valid values:
|
|
221
|
+
* - PSL5: high performance.
|
|
222
|
+
* - PSL4: standard.
|
|
223
|
+
* - ESSDPL0
|
|
224
|
+
* - ESSDPL1
|
|
225
|
+
* - ESSDPL2
|
|
226
|
+
* - ESSDPL3
|
|
227
|
+
* - ESSDAUTOPL
|
|
228
|
+
*
|
|
229
|
+
* @example
|
|
230
|
+
* PSL5
|
|
231
|
+
*/
|
|
232
|
+
storageType?: string;
|
|
233
|
+
/**
|
|
234
|
+
* @remarks
|
|
235
|
+
* The subscription duration. Used together with Period. Valid for the BUY, CONVERT, and RENEW scenarios when the billing method is Prepaid.
|
|
236
|
+
*
|
|
237
|
+
* @example
|
|
238
|
+
* 1
|
|
239
|
+
*/
|
|
240
|
+
usedTime?: string;
|
|
241
|
+
/**
|
|
242
|
+
* @remarks
|
|
243
|
+
* The zone ID. We recommend that you specify this parameter for the BUY scenario.
|
|
244
|
+
*
|
|
245
|
+
* @example
|
|
246
|
+
* cn-hangzhou-h
|
|
247
|
+
*/
|
|
248
|
+
zoneId?: string;
|
|
249
|
+
static names(): { [key: string]: string } {
|
|
250
|
+
return {
|
|
251
|
+
creationCategory: 'CreationCategory',
|
|
252
|
+
DBClusterId: 'DBClusterId',
|
|
253
|
+
DBNodeClass: 'DBNodeClass',
|
|
254
|
+
DBNodeIds: 'DBNodeIds',
|
|
255
|
+
DBNodeNum: 'DBNodeNum',
|
|
256
|
+
DBNodes: 'DBNodes',
|
|
257
|
+
DBType: 'DBType',
|
|
258
|
+
DBVersion: 'DBVersion',
|
|
259
|
+
hotStandbyCluster: 'HotStandbyCluster',
|
|
260
|
+
modifyType: 'ModifyType',
|
|
261
|
+
orderType: 'OrderType',
|
|
262
|
+
payType: 'PayType',
|
|
263
|
+
period: 'Period',
|
|
264
|
+
provisionedIops: 'ProvisionedIops',
|
|
265
|
+
regionId: 'RegionId',
|
|
266
|
+
serverlessType: 'ServerlessType',
|
|
267
|
+
storageChargeType: 'StorageChargeType',
|
|
268
|
+
storageSpace: 'StorageSpace',
|
|
269
|
+
storageType: 'StorageType',
|
|
270
|
+
usedTime: 'UsedTime',
|
|
271
|
+
zoneId: 'ZoneId',
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
static types(): { [key: string]: any } {
|
|
276
|
+
return {
|
|
277
|
+
creationCategory: 'string',
|
|
278
|
+
DBClusterId: 'string',
|
|
279
|
+
DBNodeClass: 'string',
|
|
280
|
+
DBNodeIds: { 'type': 'array', 'itemType': 'string' },
|
|
281
|
+
DBNodeNum: 'number',
|
|
282
|
+
DBNodes: { 'type': 'array', 'itemType': DescribeDBClusterPriceRequestDBNodes },
|
|
283
|
+
DBType: 'string',
|
|
284
|
+
DBVersion: 'string',
|
|
285
|
+
hotStandbyCluster: 'string',
|
|
286
|
+
modifyType: 'string',
|
|
287
|
+
orderType: 'string',
|
|
288
|
+
payType: 'string',
|
|
289
|
+
period: 'string',
|
|
290
|
+
provisionedIops: 'string',
|
|
291
|
+
regionId: 'string',
|
|
292
|
+
serverlessType: 'string',
|
|
293
|
+
storageChargeType: 'string',
|
|
294
|
+
storageSpace: 'string',
|
|
295
|
+
storageType: 'string',
|
|
296
|
+
usedTime: 'string',
|
|
297
|
+
zoneId: 'string',
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
validate() {
|
|
302
|
+
if(Array.isArray(this.DBNodeIds)) {
|
|
303
|
+
$dara.Model.validateArray(this.DBNodeIds);
|
|
304
|
+
}
|
|
305
|
+
if(Array.isArray(this.DBNodes)) {
|
|
306
|
+
$dara.Model.validateArray(this.DBNodes);
|
|
307
|
+
}
|
|
308
|
+
super.validate();
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
constructor(map?: { [key: string]: any }) {
|
|
312
|
+
super(map);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeDBClusterPriceResponseBody } from "./DescribeDbclusterPriceResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeDBClusterPriceResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeDBClusterPriceResponseBody;
|
|
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: DescribeDBClusterPriceResponseBody,
|
|
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
|
+
|