@alicloud/polardb20170801 5.9.0 → 5.10.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 +32 -2
- package/dist/client.js +128 -3
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDbclusterRequest.d.ts +5 -0
- package/dist/models/CreateDbclusterRequest.js +2 -0
- package/dist/models/CreateDbclusterRequest.js.map +1 -1
- package/dist/models/DescribeBackupPolicyResponseBody.d.ts +43 -0
- package/dist/models/DescribeBackupPolicyResponseBody.js +79 -1
- package/dist/models/DescribeBackupPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupRegionsRequest.d.ts +22 -0
- package/dist/models/DescribeBackupRegionsRequest.js +66 -0
- package/dist/models/DescribeBackupRegionsRequest.js.map +1 -0
- package/dist/models/DescribeBackupRegionsResponse.d.ts +19 -0
- package/dist/models/DescribeBackupRegionsResponse.js +69 -0
- package/dist/models/DescribeBackupRegionsResponse.js.map +1 -0
- package/dist/models/DescribeBackupRegionsResponseBody.d.ts +19 -0
- package/dist/models/DescribeBackupRegionsResponseBody.js +63 -0
- package/dist/models/DescribeBackupRegionsResponseBody.js.map +1 -0
- package/dist/models/DescribeDbclusterPerformanceRequest.d.ts +1 -0
- package/dist/models/DescribeDbclusterPerformanceRequest.js +2 -0
- package/dist/models/DescribeDbclusterPerformanceRequest.js.map +1 -1
- package/dist/models/DescribeLogBackupPolicyResponseBody.d.ts +34 -0
- package/dist/models/DescribeLogBackupPolicyResponseBody.js +61 -1
- package/dist/models/DescribeLogBackupPolicyResponseBody.js.map +1 -1
- package/dist/models/ModifyBackupPolicyRequest.d.ts +30 -0
- package/dist/models/ModifyBackupPolicyRequest.js +57 -1
- package/dist/models/ModifyBackupPolicyRequest.js.map +1 -1
- package/dist/models/ModifyBackupPolicyShrinkRequest.d.ts +199 -0
- package/dist/models/ModifyBackupPolicyShrinkRequest.js +94 -0
- package/dist/models/ModifyBackupPolicyShrinkRequest.js.map +1 -0
- package/dist/models/ModifyDbnodeDescriptionRequest.d.ts +41 -0
- package/dist/models/ModifyDbnodeDescriptionRequest.js +70 -0
- package/dist/models/ModifyDbnodeDescriptionRequest.js.map +1 -0
- package/dist/models/ModifyDbnodeDescriptionResponse.d.ts +19 -0
- package/dist/models/ModifyDbnodeDescriptionResponse.js +69 -0
- package/dist/models/ModifyDbnodeDescriptionResponse.js.map +1 -0
- package/dist/models/ModifyDbnodeDescriptionResponseBody.d.ts +18 -0
- package/dist/models/ModifyDbnodeDescriptionResponseBody.js +58 -0
- package/dist/models/ModifyDbnodeDescriptionResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +12 -0
- package/dist/models/model.js +43 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +149 -3
- package/src/models/CreateDbclusterRequest.ts +7 -0
- package/src/models/DescribeBackupPolicyResponseBody.ts +103 -0
- package/src/models/DescribeBackupRegionsRequest.ts +43 -0
- package/src/models/DescribeBackupRegionsResponse.ts +40 -0
- package/src/models/DescribeBackupRegionsResponseBody.ts +37 -0
- package/src/models/DescribeDbclusterPerformanceRequest.ts +3 -0
- package/src/models/DescribeLogBackupPolicyResponseBody.ts +76 -0
- package/src/models/ModifyBackupPolicyRequest.ts +77 -0
- package/src/models/ModifyBackupPolicyShrinkRequest.ts +248 -0
- package/src/models/ModifyDbnodeDescriptionRequest.ts +66 -0
- package/src/models/ModifyDbnodeDescriptionResponse.ts +40 -0
- package/src/models/ModifyDbnodeDescriptionResponseBody.ts +31 -0
- package/src/models/model.ts +12 -0
|
@@ -2,7 +2,76 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara.Model {
|
|
6
|
+
actionType?: string;
|
|
7
|
+
autoCreated?: boolean;
|
|
8
|
+
bakType?: string;
|
|
9
|
+
destRegion?: string;
|
|
10
|
+
destType?: string;
|
|
11
|
+
dumpAction?: string;
|
|
12
|
+
filterKey?: string;
|
|
13
|
+
filterType?: string;
|
|
14
|
+
filterValue?: string;
|
|
15
|
+
onlyPreserveOneEachDay?: boolean;
|
|
16
|
+
onlyPreserveOneEachHour?: boolean;
|
|
17
|
+
policyId?: string;
|
|
18
|
+
retentionType?: string;
|
|
19
|
+
retentionValue?: string;
|
|
20
|
+
srcRegion?: string;
|
|
21
|
+
srcType?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
actionType: 'ActionType',
|
|
25
|
+
autoCreated: 'AutoCreated',
|
|
26
|
+
bakType: 'BakType',
|
|
27
|
+
destRegion: 'DestRegion',
|
|
28
|
+
destType: 'DestType',
|
|
29
|
+
dumpAction: 'DumpAction',
|
|
30
|
+
filterKey: 'FilterKey',
|
|
31
|
+
filterType: 'FilterType',
|
|
32
|
+
filterValue: 'FilterValue',
|
|
33
|
+
onlyPreserveOneEachDay: 'OnlyPreserveOneEachDay',
|
|
34
|
+
onlyPreserveOneEachHour: 'OnlyPreserveOneEachHour',
|
|
35
|
+
policyId: 'PolicyId',
|
|
36
|
+
retentionType: 'RetentionType',
|
|
37
|
+
retentionValue: 'RetentionValue',
|
|
38
|
+
srcRegion: 'SrcRegion',
|
|
39
|
+
srcType: 'SrcType',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
static types(): { [key: string]: any } {
|
|
44
|
+
return {
|
|
45
|
+
actionType: 'string',
|
|
46
|
+
autoCreated: 'boolean',
|
|
47
|
+
bakType: 'string',
|
|
48
|
+
destRegion: 'string',
|
|
49
|
+
destType: 'string',
|
|
50
|
+
dumpAction: 'string',
|
|
51
|
+
filterKey: 'string',
|
|
52
|
+
filterType: 'string',
|
|
53
|
+
filterValue: 'string',
|
|
54
|
+
onlyPreserveOneEachDay: 'boolean',
|
|
55
|
+
onlyPreserveOneEachHour: 'boolean',
|
|
56
|
+
policyId: 'string',
|
|
57
|
+
retentionType: 'string',
|
|
58
|
+
retentionValue: 'string',
|
|
59
|
+
srcRegion: 'string',
|
|
60
|
+
srcType: 'string',
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
validate() {
|
|
65
|
+
super.validate();
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
constructor(map?: { [key: string]: any }) {
|
|
69
|
+
super(map);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
5
73
|
export class ModifyBackupPolicyRequest extends $dara.Model {
|
|
74
|
+
advancedDataPolicies?: ModifyBackupPolicyRequestAdvancedDataPolicies[];
|
|
6
75
|
/**
|
|
7
76
|
* @remarks
|
|
8
77
|
* The backup frequency. Default value: Normal. Valid values:
|
|
@@ -20,6 +89,7 @@ export class ModifyBackupPolicyRequest extends $dara.Model {
|
|
|
20
89
|
* Normal
|
|
21
90
|
*/
|
|
22
91
|
backupFrequency?: string;
|
|
92
|
+
backupPolicyLevel?: string;
|
|
23
93
|
/**
|
|
24
94
|
* @remarks
|
|
25
95
|
* Specifies whether to retain backups when a cluster is deleted. Valid values:
|
|
@@ -189,7 +259,9 @@ export class ModifyBackupPolicyRequest extends $dara.Model {
|
|
|
189
259
|
resourceOwnerId?: number;
|
|
190
260
|
static names(): { [key: string]: string } {
|
|
191
261
|
return {
|
|
262
|
+
advancedDataPolicies: 'AdvancedDataPolicies',
|
|
192
263
|
backupFrequency: 'BackupFrequency',
|
|
264
|
+
backupPolicyLevel: 'BackupPolicyLevel',
|
|
193
265
|
backupRetentionPolicyOnClusterDeletion: 'BackupRetentionPolicyOnClusterDeletion',
|
|
194
266
|
DBClusterId: 'DBClusterId',
|
|
195
267
|
dataLevel1BackupFrequency: 'DataLevel1BackupFrequency',
|
|
@@ -211,7 +283,9 @@ export class ModifyBackupPolicyRequest extends $dara.Model {
|
|
|
211
283
|
|
|
212
284
|
static types(): { [key: string]: any } {
|
|
213
285
|
return {
|
|
286
|
+
advancedDataPolicies: { 'type': 'array', 'itemType': ModifyBackupPolicyRequestAdvancedDataPolicies },
|
|
214
287
|
backupFrequency: 'string',
|
|
288
|
+
backupPolicyLevel: 'string',
|
|
215
289
|
backupRetentionPolicyOnClusterDeletion: 'string',
|
|
216
290
|
DBClusterId: 'string',
|
|
217
291
|
dataLevel1BackupFrequency: 'string',
|
|
@@ -232,6 +306,9 @@ export class ModifyBackupPolicyRequest extends $dara.Model {
|
|
|
232
306
|
}
|
|
233
307
|
|
|
234
308
|
validate() {
|
|
309
|
+
if(Array.isArray(this.advancedDataPolicies)) {
|
|
310
|
+
$dara.Model.validateArray(this.advancedDataPolicies);
|
|
311
|
+
}
|
|
235
312
|
super.validate();
|
|
236
313
|
}
|
|
237
314
|
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
|
|
6
|
+
advancedDataPoliciesShrink?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The backup frequency. Default value: Normal. Valid values:
|
|
10
|
+
*
|
|
11
|
+
* * **Normal**: standard backup. The system backs up data once a day.
|
|
12
|
+
* * **2/24H**: enhanced backup. The system backs up data every 2 hours.
|
|
13
|
+
* * **3/24H**: enhanced backup. The system backs up data every 3 hours.
|
|
14
|
+
* * **4/24H**: enhanced backup. The system backs up data every 4 hours.
|
|
15
|
+
*
|
|
16
|
+
* >- If you enable enhanced backup, all backups are retained for 24 hours. For backup files that are created earlier than the previous 24 hours, the system permanently retains only the first backup that is created after 00:00 every day and deletes the rest.
|
|
17
|
+
* >- If you enable enhanced backup, **PreferredBackupPeriod** is automatically set to all days in a week (from Monday to Sunday).
|
|
18
|
+
* >- This parameter is invalid if the region where your PolarDB for MySQL cluster is deployed supports the cross-region backup feature. For information about the regions that support the cross-region backup feature, see [Overview](https://help.aliyun.com/document_detail/72672.html).
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* Normal
|
|
22
|
+
*/
|
|
23
|
+
backupFrequency?: string;
|
|
24
|
+
backupPolicyLevel?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* Specifies whether to retain backups when a cluster is deleted. Valid values:
|
|
28
|
+
*
|
|
29
|
+
* * **ALL**: permanently retains all backups.
|
|
30
|
+
* * **LATEST**: permanently retains the most recent backup.
|
|
31
|
+
* * **NONE**: does not retain backups.
|
|
32
|
+
*
|
|
33
|
+
* > The default value of the parameter is NONE.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* NONE
|
|
37
|
+
*/
|
|
38
|
+
backupRetentionPolicyOnClusterDeletion?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The ID of the cluster.
|
|
42
|
+
*
|
|
43
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query information about all clusters that are deployed in a specified region, such as the cluster ID.
|
|
44
|
+
*
|
|
45
|
+
* This parameter is required.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* pc-bp13wz9586voc****
|
|
49
|
+
*/
|
|
50
|
+
DBClusterId?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The frequency of level-1 backups. Default value: Normal. Valid values:
|
|
54
|
+
*
|
|
55
|
+
* * **Normal**: standard backup. The system backs up data once a day.
|
|
56
|
+
* * **2/24H**: enhanced backup. The system backs up data every 2 hours.
|
|
57
|
+
* * **3/24H**: enhanced backup. The system backs up data every 3 hours.
|
|
58
|
+
* * **4/24H**: enhanced backup. The system backs up data every 4 hours.
|
|
59
|
+
*
|
|
60
|
+
* >- This parameter is invalid for PolarDB for Oracle clusters or PolarDB for PostgreSQL clusters.
|
|
61
|
+
* >- This parameter is invalid if the region where your PolarDB for MySQL cluster is deployed does not support the cross-region backup feature. For information about the regions that support the cross-region backup feature, see [Overview](https://help.aliyun.com/document_detail/72672.html).
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* Normal
|
|
65
|
+
*/
|
|
66
|
+
dataLevel1BackupFrequency?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The backup cycle of level-1 backups. Valid values:
|
|
70
|
+
*
|
|
71
|
+
* * **Monday**
|
|
72
|
+
* * **Tuesday**
|
|
73
|
+
* * **Wednesday**
|
|
74
|
+
* * **Thursday**
|
|
75
|
+
* * **Friday**
|
|
76
|
+
* * **Saturday**
|
|
77
|
+
* * **Sunday**
|
|
78
|
+
*
|
|
79
|
+
* >- You need to specify at least two values. Separate multiple values with commas (,).
|
|
80
|
+
* >- This parameter is invalid for PolarDB for Oracle clusters or PolarDB for PostgreSQL clusters.
|
|
81
|
+
* >- This parameter is invalid if the region where your PolarDB for MySQL cluster is deployed does not support the cross-region backup feature. For information about the regions that support the cross-region backup feature, see [Overview](https://help.aliyun.com/document_detail/72672.html).
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* Monday,Tuesday
|
|
85
|
+
*/
|
|
86
|
+
dataLevel1BackupPeriod?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @remarks
|
|
89
|
+
* The retention period of level-1 backups. Valid values: 3 to 14. Unit: days.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* 3
|
|
93
|
+
*/
|
|
94
|
+
dataLevel1BackupRetentionPeriod?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* The time period during which automatic backup for level-1 backup is performed. The time period is in the `hh:mmZ-hh:mmZ` format and is displayed in UTC. The start time and end time are on the hour and have an interval of 1 hour. Example: `14:00Z-15:00Z`.
|
|
98
|
+
* >- This parameter is invalid for PolarDB for Oracle clusters or PolarDB for PostgreSQL clusters.
|
|
99
|
+
* >- This parameter is invalid if the region where your PolarDB for MySQL cluster is deployed does not support the cross-region backup feature. For information about the regions that support the cross-region backup feature, see [Overview](https://help.aliyun.com/document_detail/72672.html).
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* 15:00Z-16:00Z
|
|
103
|
+
*/
|
|
104
|
+
dataLevel1BackupTime?: string;
|
|
105
|
+
/**
|
|
106
|
+
* @remarks
|
|
107
|
+
* The region where the cross-region level-2 backup is stored. For information about regions that support the cross-region backup feature, see [Overview](https://help.aliyun.com/document_detail/72672.html).
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* cn-hangzhou
|
|
111
|
+
*/
|
|
112
|
+
dataLevel2BackupAnotherRegionRegion?: string;
|
|
113
|
+
/**
|
|
114
|
+
* @remarks
|
|
115
|
+
* The retention period of cross-region level-2 backups. Valid values:
|
|
116
|
+
*
|
|
117
|
+
* * **0**: The cross-region level-2 backup feature is disabled.
|
|
118
|
+
* * **30 to 7300**: Cross-region level-2 backups are retained for 30 to 7,300 days.
|
|
119
|
+
* * **1**: Cross-region level-2 backups are permanently retained.
|
|
120
|
+
*
|
|
121
|
+
* > The default value of the parameter is **0**.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* 30
|
|
125
|
+
*/
|
|
126
|
+
dataLevel2BackupAnotherRegionRetentionPeriod?: string;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* The backup cycle of level-2 backups. Valid values:
|
|
130
|
+
*
|
|
131
|
+
* * **Monday**
|
|
132
|
+
* * **Tuesday**
|
|
133
|
+
* * **Wednesday**
|
|
134
|
+
* * **Thursday**
|
|
135
|
+
* * **Friday**
|
|
136
|
+
* * **Saturday**
|
|
137
|
+
* * **Sunday**
|
|
138
|
+
*
|
|
139
|
+
* >- You need to specify at least two values. Separate multiple values with commas (,).
|
|
140
|
+
* >- This parameter is invalid for PolarDB for Oracle clusters or PolarDB for PostgreSQL clusters.
|
|
141
|
+
* >- This parameter is invalid if the region where your PolarDB for MySQL cluster is deployed does not support the cross-region backup feature. For information about the regions that support the cross-region backup feature, see [Overview](https://help.aliyun.com/document_detail/72672.html).
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* Monday,Tuesday
|
|
145
|
+
*/
|
|
146
|
+
dataLevel2BackupPeriod?: string;
|
|
147
|
+
/**
|
|
148
|
+
* @remarks
|
|
149
|
+
* The retention period of level-2 backups. Valid values:
|
|
150
|
+
*
|
|
151
|
+
* * **0**: The level-2 backup feature is disabled.
|
|
152
|
+
* * **30 to 7300**: Level-2 backups are retained for 30 to 7,300 days.
|
|
153
|
+
* * **1**: Level-2 backups are permanently retained.
|
|
154
|
+
*
|
|
155
|
+
* > The default value of this parameter is **0**.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* 0
|
|
159
|
+
*/
|
|
160
|
+
dataLevel2BackupRetentionPeriod?: string;
|
|
161
|
+
ownerAccount?: string;
|
|
162
|
+
ownerId?: number;
|
|
163
|
+
/**
|
|
164
|
+
* @remarks
|
|
165
|
+
* The backup cycle. Valid values:
|
|
166
|
+
*
|
|
167
|
+
* * **Monday**
|
|
168
|
+
* * **Tuesday**
|
|
169
|
+
* * **Wednesday**
|
|
170
|
+
* * **Thursday**
|
|
171
|
+
* * **Friday**
|
|
172
|
+
* * **Saturday**
|
|
173
|
+
* * **Sunday**
|
|
174
|
+
*
|
|
175
|
+
* >- You need to specify at least two values. Separate multiple values with commas (,).
|
|
176
|
+
* >- This parameter is invalid if the region where your PolarDB for MySQL cluster is deployed supports the cross-region backup feature. For information about the regions that support the cross-region backup feature, see [Overview](https://help.aliyun.com/document_detail/72672.html).
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* Monday,Tuesday
|
|
180
|
+
*/
|
|
181
|
+
preferredBackupPeriod?: string;
|
|
182
|
+
/**
|
|
183
|
+
* @remarks
|
|
184
|
+
* The time period during which automatic backup for level-1 backup is performed. The format is `hh:mmZ-hh:mmZ` format. The time is displayed in UTC. The start time and end time are on the hour and with an interval of one hour. Example: `14:00Z-15:00Z`.
|
|
185
|
+
*
|
|
186
|
+
* @example
|
|
187
|
+
* 15:00Z-16:00Z
|
|
188
|
+
*/
|
|
189
|
+
preferredBackupTime?: string;
|
|
190
|
+
resourceOwnerAccount?: string;
|
|
191
|
+
resourceOwnerId?: number;
|
|
192
|
+
static names(): { [key: string]: string } {
|
|
193
|
+
return {
|
|
194
|
+
advancedDataPoliciesShrink: 'AdvancedDataPolicies',
|
|
195
|
+
backupFrequency: 'BackupFrequency',
|
|
196
|
+
backupPolicyLevel: 'BackupPolicyLevel',
|
|
197
|
+
backupRetentionPolicyOnClusterDeletion: 'BackupRetentionPolicyOnClusterDeletion',
|
|
198
|
+
DBClusterId: 'DBClusterId',
|
|
199
|
+
dataLevel1BackupFrequency: 'DataLevel1BackupFrequency',
|
|
200
|
+
dataLevel1BackupPeriod: 'DataLevel1BackupPeriod',
|
|
201
|
+
dataLevel1BackupRetentionPeriod: 'DataLevel1BackupRetentionPeriod',
|
|
202
|
+
dataLevel1BackupTime: 'DataLevel1BackupTime',
|
|
203
|
+
dataLevel2BackupAnotherRegionRegion: 'DataLevel2BackupAnotherRegionRegion',
|
|
204
|
+
dataLevel2BackupAnotherRegionRetentionPeriod: 'DataLevel2BackupAnotherRegionRetentionPeriod',
|
|
205
|
+
dataLevel2BackupPeriod: 'DataLevel2BackupPeriod',
|
|
206
|
+
dataLevel2BackupRetentionPeriod: 'DataLevel2BackupRetentionPeriod',
|
|
207
|
+
ownerAccount: 'OwnerAccount',
|
|
208
|
+
ownerId: 'OwnerId',
|
|
209
|
+
preferredBackupPeriod: 'PreferredBackupPeriod',
|
|
210
|
+
preferredBackupTime: 'PreferredBackupTime',
|
|
211
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
212
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
static types(): { [key: string]: any } {
|
|
217
|
+
return {
|
|
218
|
+
advancedDataPoliciesShrink: 'string',
|
|
219
|
+
backupFrequency: 'string',
|
|
220
|
+
backupPolicyLevel: 'string',
|
|
221
|
+
backupRetentionPolicyOnClusterDeletion: 'string',
|
|
222
|
+
DBClusterId: 'string',
|
|
223
|
+
dataLevel1BackupFrequency: 'string',
|
|
224
|
+
dataLevel1BackupPeriod: 'string',
|
|
225
|
+
dataLevel1BackupRetentionPeriod: 'string',
|
|
226
|
+
dataLevel1BackupTime: 'string',
|
|
227
|
+
dataLevel2BackupAnotherRegionRegion: 'string',
|
|
228
|
+
dataLevel2BackupAnotherRegionRetentionPeriod: 'string',
|
|
229
|
+
dataLevel2BackupPeriod: 'string',
|
|
230
|
+
dataLevel2BackupRetentionPeriod: 'string',
|
|
231
|
+
ownerAccount: 'string',
|
|
232
|
+
ownerId: 'number',
|
|
233
|
+
preferredBackupPeriod: 'string',
|
|
234
|
+
preferredBackupTime: 'string',
|
|
235
|
+
resourceOwnerAccount: 'string',
|
|
236
|
+
resourceOwnerId: 'number',
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
validate() {
|
|
241
|
+
super.validate();
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
constructor(map?: { [key: string]: any }) {
|
|
245
|
+
super(map);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyDBNodeDescriptionRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pc-***************
|
|
12
|
+
*/
|
|
13
|
+
DBClusterId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* NodeDescriptionTest
|
|
20
|
+
*/
|
|
21
|
+
DBNodeDescription?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* pi-*****************
|
|
28
|
+
*/
|
|
29
|
+
DBNodeId?: string;
|
|
30
|
+
ownerAccount?: string;
|
|
31
|
+
ownerId?: number;
|
|
32
|
+
resourceOwnerAccount?: string;
|
|
33
|
+
resourceOwnerId?: number;
|
|
34
|
+
static names(): { [key: string]: string } {
|
|
35
|
+
return {
|
|
36
|
+
DBClusterId: 'DBClusterId',
|
|
37
|
+
DBNodeDescription: 'DBNodeDescription',
|
|
38
|
+
DBNodeId: 'DBNodeId',
|
|
39
|
+
ownerAccount: 'OwnerAccount',
|
|
40
|
+
ownerId: 'OwnerId',
|
|
41
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
42
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
static types(): { [key: string]: any } {
|
|
47
|
+
return {
|
|
48
|
+
DBClusterId: 'string',
|
|
49
|
+
DBNodeDescription: 'string',
|
|
50
|
+
DBNodeId: 'string',
|
|
51
|
+
ownerAccount: 'string',
|
|
52
|
+
ownerId: 'number',
|
|
53
|
+
resourceOwnerAccount: 'string',
|
|
54
|
+
resourceOwnerId: 'number',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifyDBNodeDescriptionResponseBody } from "./ModifyDbnodeDescriptionResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifyDBNodeDescriptionResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifyDBNodeDescriptionResponseBody;
|
|
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: ModifyDBNodeDescriptionResponseBody,
|
|
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,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyDBNodeDescriptionResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 69A85BAF-1089-4CDF-A82F-0A140F******
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -14,6 +14,8 @@ export { DescribeAutoRenewAttributeResponseBodyItemsAutoRenewAttribute } from '.
|
|
|
14
14
|
export { DescribeAutoRenewAttributeResponseBodyItems } from './DescribeAutoRenewAttributeResponseBody';
|
|
15
15
|
export { DescribeBackupLogsResponseBodyItemsBackupLog } from './DescribeBackupLogsResponseBody';
|
|
16
16
|
export { DescribeBackupLogsResponseBodyItems } from './DescribeBackupLogsResponseBody';
|
|
17
|
+
export { DescribeBackupPolicyResponseBodyAdvancedDataPoliciesAdvancedDataPolicy } from './DescribeBackupPolicyResponseBody';
|
|
18
|
+
export { DescribeBackupPolicyResponseBodyAdvancedDataPolicies } from './DescribeBackupPolicyResponseBody';
|
|
17
19
|
export { DescribeBackupTasksResponseBodyItemsBackupJob } from './DescribeBackupTasksResponseBody';
|
|
18
20
|
export { DescribeBackupTasksResponseBodyItems } from './DescribeBackupTasksResponseBody';
|
|
19
21
|
export { DescribeBackupsResponseBodyItemsBackup } from './DescribeBackupsResponseBody';
|
|
@@ -92,6 +94,8 @@ export { DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupR
|
|
|
92
94
|
export { DescribeHALogsResponseBodyHaLogItems } from './DescribeHalogsResponseBody';
|
|
93
95
|
export { DescribeHistoryTasksResponseBodyItems } from './DescribeHistoryTasksResponseBody';
|
|
94
96
|
export { DescribeLicenseOrdersResponseBodyItems } from './DescribeLicenseOrdersResponseBody';
|
|
97
|
+
export { DescribeLogBackupPolicyResponseBodyAdvancedLogPoliciesAdvancedLogPolicy } from './DescribeLogBackupPolicyResponseBody';
|
|
98
|
+
export { DescribeLogBackupPolicyResponseBodyAdvancedLogPolicies } from './DescribeLogBackupPolicyResponseBody';
|
|
95
99
|
export { DescribeMaskingRulesResponseBodyData } from './DescribeMaskingRulesResponseBody';
|
|
96
100
|
export { DescribeMetaListResponseBodyItems } from './DescribeMetaListResponseBody';
|
|
97
101
|
export { DescribeParameterGroupResponseBodyParameterGroupParameterDetail } from './DescribeParameterGroupResponseBody';
|
|
@@ -117,6 +121,7 @@ export { DescribeVSwitchesResponseBodyVSwitchs } from './DescribeVswitchesRespon
|
|
|
117
121
|
export { ListTagResourcesRequestTag } from './ListTagResourcesRequest';
|
|
118
122
|
export { ListTagResourcesResponseBodyTagResourcesTagResource } from './ListTagResourcesResponseBody';
|
|
119
123
|
export { ListTagResourcesResponseBodyTagResources } from './ListTagResourcesResponseBody';
|
|
124
|
+
export { ModifyBackupPolicyRequestAdvancedDataPolicies } from './ModifyBackupPolicyRequest';
|
|
120
125
|
export { ModifyDBNodesClassRequestDBNode } from './ModifyDbnodesClassRequest';
|
|
121
126
|
export { ModifyGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup } from './ModifyGlobalSecurityIpgroupResponseBody';
|
|
122
127
|
export { ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup } from './ModifyGlobalSecurityIpgroupNameResponseBody';
|
|
@@ -267,6 +272,9 @@ export { DescribeBackupLogsResponse } from './DescribeBackupLogsResponse';
|
|
|
267
272
|
export { DescribeBackupPolicyRequest } from './DescribeBackupPolicyRequest';
|
|
268
273
|
export { DescribeBackupPolicyResponseBody } from './DescribeBackupPolicyResponseBody';
|
|
269
274
|
export { DescribeBackupPolicyResponse } from './DescribeBackupPolicyResponse';
|
|
275
|
+
export { DescribeBackupRegionsRequest } from './DescribeBackupRegionsRequest';
|
|
276
|
+
export { DescribeBackupRegionsResponseBody } from './DescribeBackupRegionsResponseBody';
|
|
277
|
+
export { DescribeBackupRegionsResponse } from './DescribeBackupRegionsResponse';
|
|
270
278
|
export { DescribeBackupTasksRequest } from './DescribeBackupTasksRequest';
|
|
271
279
|
export { DescribeBackupTasksResponseBody } from './DescribeBackupTasksResponseBody';
|
|
272
280
|
export { DescribeBackupTasksResponse } from './DescribeBackupTasksResponse';
|
|
@@ -463,6 +471,7 @@ export { ModifyAutoRenewAttributeRequest } from './ModifyAutoRenewAttributeReque
|
|
|
463
471
|
export { ModifyAutoRenewAttributeResponseBody } from './ModifyAutoRenewAttributeResponseBody';
|
|
464
472
|
export { ModifyAutoRenewAttributeResponse } from './ModifyAutoRenewAttributeResponse';
|
|
465
473
|
export { ModifyBackupPolicyRequest } from './ModifyBackupPolicyRequest';
|
|
474
|
+
export { ModifyBackupPolicyShrinkRequest } from './ModifyBackupPolicyShrinkRequest';
|
|
466
475
|
export { ModifyBackupPolicyResponseBody } from './ModifyBackupPolicyResponseBody';
|
|
467
476
|
export { ModifyBackupPolicyResponse } from './ModifyBackupPolicyResponse';
|
|
468
477
|
export { ModifyDBClusterRequest } from './ModifyDbclusterRequest';
|
|
@@ -531,6 +540,9 @@ export { ModifyDBEndpointAddressResponse } from './ModifyDbendpointAddressRespon
|
|
|
531
540
|
export { ModifyDBNodeClassRequest } from './ModifyDbnodeClassRequest';
|
|
532
541
|
export { ModifyDBNodeClassResponseBody } from './ModifyDbnodeClassResponseBody';
|
|
533
542
|
export { ModifyDBNodeClassResponse } from './ModifyDbnodeClassResponse';
|
|
543
|
+
export { ModifyDBNodeDescriptionRequest } from './ModifyDbnodeDescriptionRequest';
|
|
544
|
+
export { ModifyDBNodeDescriptionResponseBody } from './ModifyDbnodeDescriptionResponseBody';
|
|
545
|
+
export { ModifyDBNodeDescriptionResponse } from './ModifyDbnodeDescriptionResponse';
|
|
534
546
|
export { ModifyDBNodeHotReplicaModeRequest } from './ModifyDbnodeHotReplicaModeRequest';
|
|
535
547
|
export { ModifyDBNodeHotReplicaModeResponseBody } from './ModifyDbnodeHotReplicaModeResponseBody';
|
|
536
548
|
export { ModifyDBNodeHotReplicaModeResponse } from './ModifyDbnodeHotReplicaModeResponse';
|