@alicloud/polardb20170801 8.2.3 → 8.2.5

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.
Files changed (38) hide show
  1. package/dist/client.d.ts +12 -12
  2. package/dist/client.js +24 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateApplicationRequest.d.ts +177 -24
  5. package/dist/models/CreateApplicationRequest.js +73 -1
  6. package/dist/models/CreateApplicationRequest.js.map +1 -1
  7. package/dist/models/CreateApplicationResponseBody.d.ts +1 -1
  8. package/dist/models/CreateApplicationShrinkRequest.d.ts +32 -15
  9. package/dist/models/CreateApplicationShrinkRequest.js +4 -0
  10. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
  11. package/dist/models/DescribeBackupPolicyRequest.d.ts +1 -1
  12. package/dist/models/DescribeBackupPolicyResponseBody.d.ts +85 -125
  13. package/dist/models/DescribeBackupPolicyResponseBody.js +4 -0
  14. package/dist/models/DescribeBackupPolicyResponseBody.js.map +1 -1
  15. package/dist/models/DescribeDetachedBackupsRequest.d.ts +15 -18
  16. package/dist/models/DescribeDetachedBackupsRequest.js.map +1 -1
  17. package/dist/models/DescribeDetachedBackupsResponseBody.d.ts +3 -3
  18. package/dist/models/ModifyBackupPolicyRequest.d.ts +117 -185
  19. package/dist/models/ModifyBackupPolicyRequest.js.map +1 -1
  20. package/dist/models/ModifyBackupPolicyResponseBody.d.ts +1 -1
  21. package/dist/models/ModifyBackupPolicyShrinkRequest.d.ts +83 -134
  22. package/dist/models/ModifyBackupPolicyShrinkRequest.js.map +1 -1
  23. package/dist/models/model.d.ts +2 -0
  24. package/dist/models/model.js +51 -47
  25. package/dist/models/model.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/client.ts +28 -12
  28. package/src/models/CreateApplicationRequest.ts +231 -24
  29. package/src/models/CreateApplicationResponseBody.ts +1 -1
  30. package/src/models/CreateApplicationShrinkRequest.ts +36 -15
  31. package/src/models/DescribeBackupPolicyRequest.ts +1 -1
  32. package/src/models/DescribeBackupPolicyResponseBody.ts +89 -125
  33. package/src/models/DescribeDetachedBackupsRequest.ts +17 -20
  34. package/src/models/DescribeDetachedBackupsResponseBody.ts +3 -3
  35. package/src/models/ModifyBackupPolicyRequest.ts +120 -188
  36. package/src/models/ModifyBackupPolicyResponseBody.ts +1 -1
  37. package/src/models/ModifyBackupPolicyShrinkRequest.ts +86 -137
  38. package/src/models/model.ts +2 -0
@@ -4,11 +4,9 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
4
4
  * @remarks
5
5
  * The action type. Valid values:
6
6
  *
7
- * - **CREATE**: Create
8
- *
9
- * - **UPDATE**: Update
10
- *
11
- * - **DELETE**: Delete
7
+ * - **CREATE**: create
8
+ * - **UPDATE**: update
9
+ * - **DELETE**: delete
12
10
  *
13
11
  * @example
14
12
  * CREATE
@@ -18,7 +16,7 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
18
16
  * @remarks
19
17
  * Indicates whether the backup policy is automatically generated by the system.
20
18
  *
21
- * > This value is automatically generated. You do not need to specify this parameter.
19
+ * > This parameter value is automatically generated. You do not need to specify it.
22
20
  *
23
21
  * @example
24
22
  * false
@@ -28,9 +26,8 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
28
26
  * @remarks
29
27
  * The backup type. Valid values:
30
28
  *
31
- * - **F**: full backup
32
- *
33
- * > This parameter cannot be modified and is fixed to `F`.
29
+ * - **F**: full backup.
30
+ * > This parameter cannot be modified and is fixed to F.
34
31
  *
35
32
  * @example
36
33
  * F
@@ -38,7 +35,7 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
38
35
  bakType?: string;
39
36
  /**
40
37
  * @remarks
41
- * The destination region for the backup policy.
38
+ * The destination region of the backup policy.
42
39
  *
43
40
  * @example
44
41
  * cn-beijing
@@ -46,13 +43,11 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
46
43
  destRegion?: string;
47
44
  /**
48
45
  * @remarks
49
- * The destination type for the backup policy. Valid values:
46
+ * The destination type of the backup policy. Valid values:
50
47
  *
51
48
  * - **level1**: level-1 backup
52
- *
53
49
  * - **level2**: level-2 backup
54
- *
55
- * - **level2Cross**: cross-region level-2 backup
50
+ * - **level2Cross**: level-2 cross-region backup
56
51
  *
57
52
  * @example
58
53
  * level2
@@ -60,9 +55,9 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
60
55
  destType?: string;
61
56
  /**
62
57
  * @remarks
63
- * The method to convert a level-1 backup to a level-2 backup. Valid values:
58
+ * The method for converting level-1 backups to level-2 backups. Valid values:
64
59
  *
65
- * - **copy**: Copy
60
+ * - **copy**: copy
66
61
  *
67
62
  * @example
68
63
  * copy
@@ -72,15 +67,12 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
72
67
  * @remarks
73
68
  * The scheduling type. Valid values:
74
69
  *
75
- * - **dayOfWeek**: Weekly schedule
76
- *
77
- * - **dayOfMonth**: Monthly schedule
78
- *
79
- * - **dayOfYear**: Yearly schedule
70
+ * - **dayOfWeek**: scheduled by week
71
+ * - **dayOfMonth**: scheduled by month
72
+ * - **dayOfYear**: scheduled by year
73
+ * - **backupInterval**: scheduled at fixed intervals
80
74
  *
81
- * - **backupInterval**: Fixed interval schedule
82
- *
83
- * > This parameter is required only if `FilterType` is set to **crontab**.
75
+ * > This parameter is required only when FilterType is set to **crontab**.
84
76
  *
85
77
  * @example
86
78
  * dayOfWeek
@@ -88,11 +80,10 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
88
80
  filterKey?: string;
89
81
  /**
90
82
  * @remarks
91
- * The filter type for the advanced policy. Valid values:
92
- *
93
- * - **crontab**: Recurring schedule
83
+ * The filter type of the advanced policy. Valid values:
94
84
  *
95
- * - **event**: Event-based schedule
85
+ * - **crontab**: periodic scheduling
86
+ * - **event**: event-based scheduling
96
87
  *
97
88
  * @example
98
89
  * crontab
@@ -108,11 +99,9 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
108
99
  filterValue?: string;
109
100
  /**
110
101
  * @remarks
111
- * The retention policy for backups that are more than 24 hours old. Valid values:
112
- *
113
- * - **true**: Retains only the first backup set of the day.
114
- *
115
- * - **false**: Retains all backups.
102
+ * The 24-hour backup data retention policy. Valid values:
103
+ * - **true**: Only the first backup set of the day is retained for backups older than 24 hours.
104
+ * - **false**: All backup sets are retained.
116
105
  *
117
106
  * @example
118
107
  * true
@@ -120,13 +109,11 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
120
109
  onlyPreserveOneEachDay?: boolean;
121
110
  /**
122
111
  * @remarks
123
- * The retention policy for hourly backups. Valid values:
124
- *
125
- * - **true**: Retains only the first backup set of each hour for backups that are more than one hour old.
126
- *
127
- * - **false**: Retains all backup sets.
112
+ * The hourly backup data retention policy. Valid values:
113
+ * * **true**: Only the earliest backup set within each hour is retained for backups older than 1 hour.
114
+ * * **false**: All backup sets are retained.
128
115
  *
129
- * > This parameter cannot be modified and is fixed to `true`.
116
+ * > This parameter cannot be modified and is fixed to true.
130
117
  *
131
118
  * @example
132
119
  * true
@@ -134,7 +121,7 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
134
121
  onlyPreserveOneEachHour?: boolean;
135
122
  /**
136
123
  * @remarks
137
- * The ID of the backup policy. You can call the [DescribeBackupPolicy](https://help.aliyun.com/document_detail/2319231.html) operation to view the ID.
124
+ * The backup policy ID. You can call the [DescribeBackupPolicy](https://help.aliyun.com/document_detail/2319231.html) operation to query the backup policy ID.
138
125
  *
139
126
  * @example
140
127
  * 71930ac2e9f15e41615e10627c******
@@ -142,11 +129,10 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
142
129
  policyId?: string;
143
130
  /**
144
131
  * @remarks
145
- * The retention type for the backup set. Valid values:
132
+ * The retention type of backup sets. Valid values:
146
133
  *
147
- * - **never**: Never expires.
148
- *
149
- * - **delay**: Expires after a specified number of days.
134
+ * - **never**: never expires
135
+ * - **delay**: expires after a fixed number of days
150
136
  *
151
137
  * @example
152
138
  * delay
@@ -154,7 +140,7 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
154
140
  retentionType?: string;
155
141
  /**
156
142
  * @remarks
157
- * The number of days to retain the backup.
143
+ * The number of days to retain backups.
158
144
  *
159
145
  * @example
160
146
  * 7
@@ -162,7 +148,7 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
162
148
  retentionValue?: string;
163
149
  /**
164
150
  * @remarks
165
- * The source region for the backup policy.
151
+ * The source region of the backup policy.
166
152
  *
167
153
  * @example
168
154
  * cn-shanghai
@@ -170,15 +156,12 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
170
156
  srcRegion?: string;
171
157
  /**
172
158
  * @remarks
173
- * The source type for the backup policy. Valid values:
159
+ * The source type of the backup policy. Valid values:
174
160
  *
175
161
  * - **db**: database cluster
176
- *
177
162
  * - **level1**: level-1 backup
178
- *
179
163
  * - **level2**: level-2 backup
180
- *
181
- * - **level2Cross**: cross-region level-2 backup
164
+ * - **level2Cross**: level-2 cross-region backup
182
165
  *
183
166
  * @example
184
167
  * level1
@@ -199,32 +182,24 @@ export declare class ModifyBackupPolicyRequestAdvancedDataPolicies extends $dara
199
182
  export declare class ModifyBackupPolicyRequest extends $dara.Model {
200
183
  /**
201
184
  * @remarks
202
- * The advanced backup policies.
203
- *
204
- * > - - This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
205
- * >
206
- * > - - This parameter is supported only for clusters for which `BackupPolicyLevel` is set to `Advanced`.
185
+ * The advanced backup policy.
186
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
187
+ * > * * Only clusters with BackupPolicyLevel set to Advanced support this parameter.
207
188
  */
208
189
  advancedDataPolicies?: ModifyBackupPolicyRequestAdvancedDataPolicies[];
209
190
  /**
210
191
  * @remarks
211
192
  * The backup frequency. Valid values:
212
193
  *
213
- * - **Normal** (default): standard backup. The cluster is backed up once a day.
214
- *
215
- * - **2/24H**: high-frequency backup. The cluster is backed up every 2 hours.
216
- *
217
- * - **3/24H**: high-frequency backup. The cluster is backed up every 3 hours.
194
+ * - **Normal** (default): regular backup. Automatic backup is performed once a day at a scheduled time.
195
+ * - **2/24H**: high-frequency backup. Backup is performed every 2 hours.
196
+ * - **3/24H**: high-frequency backup. Backup is performed every 3 hours.
197
+ * - **4/24H**: high-frequency backup. Backup is performed every 4 hours.
218
198
  *
219
- * - **4/24H**: high-frequency backup. The cluster is backed up every 4 hours.
220
- *
221
- * > * * If you enable high-frequency backup, all backups completed within the last 24 hours are retained. For backups older than 24 hours, the system retains only the first backup completed after 00:00 each day and deletes the rest.
222
- * >
223
- * > * - If you enable high-frequency backup, the **PreferredBackupPeriod** parameter is automatically set to all days of the week (from Monday to Sunday).
224
- * >
225
- * > * - This parameter is not supported if your PolarDB for MySQL cluster is in a region that supports the cross-region backup feature. For more information about the regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
226
- * >
227
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
199
+ * > * * After high-frequency backup is enabled, all backups completed within 24 hours are retained. For backups older than 24 hours, only the first backup completed after 00:00 each day is retained, and all others are deleted.
200
+ * > * * After high-frequency backup is enabled, the backup cycle parameter PreferredBackupPeriod defaults to all days of the week (Monday through Sunday).
201
+ * > * * If the region of your PolarDB for MySQL cluster supports the cross-region backup feature, this parameter is not supported. For regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
202
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
228
203
  *
229
204
  * @example
230
205
  * Normal
@@ -232,17 +207,12 @@ export declare class ModifyBackupPolicyRequest extends $dara.Model {
232
207
  backupFrequency?: string;
233
208
  /**
234
209
  * @remarks
235
- * The level of the backup policy. Valid values:
236
- *
237
- * - **Normal**: standard backup
238
- *
239
- * - **Advanced**: advanced backup
240
- *
241
- * > * * This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
242
- * >
243
- * > * - Check the `AdvancedPolicyOption` parameter in the response of the [DescribeBackupPolicy](https://help.aliyun.com/document_detail/2319231.html) operation to determine whether the cluster supports advanced backup. If the cluster supports advanced backup, you can request this feature in [Advanced backup settings](~611727~~).
244
- * >
245
- * > * - After you enable advanced backup, you **cannot** switch back to standard backup.
210
+ * The backup policy level. Valid values:
211
+ * * **Normal**: regular backup.
212
+ * * **Advanced**: advanced backup.
213
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
214
+ * > * * You can check the AdvancedPolicyOption response parameter of the [DescribeBackupPolicy](https://help.aliyun.com/document_detail/2319231.html) operation to determine whether the cluster supports advanced backup. If the cluster supports advanced backup, you can apply to use this feature through [Advanced backup settings](~611727~~).
215
+ * > * * After advanced backup is enabled, rollback to regular backup is **not supported**.
246
216
  *
247
217
  * @example
248
218
  * Normal
@@ -250,15 +220,15 @@ export declare class ModifyBackupPolicyRequest extends $dara.Model {
250
220
  backupPolicyLevel?: string;
251
221
  /**
252
222
  * @remarks
253
- * Specifies whether to retain backups when you delete the cluster. Valid values:
223
+ * Specifies whether to retain backups when the cluster is deleted. Valid values:
254
224
  *
255
- * - **ALL**: Permanently retains all backups.
225
+ * - **ALL**: Long-term retention (LTR) of all backups.
256
226
  *
257
- * - **LATEST**: Permanently retains the last backup.
227
+ * - **LATEST**: Long-term retention (LTR) of only the last backup.
258
228
  *
259
- * - **NONE**: Does not retain backup sets.
229
+ * - **NONE**: Does not retain any backups.
260
230
  *
261
- * > The default value is `NONE`.
231
+ * > Default value: NONE.
262
232
  *
263
233
  * @example
264
234
  * NONE
@@ -268,7 +238,7 @@ export declare class ModifyBackupPolicyRequest extends $dara.Model {
268
238
  * @remarks
269
239
  * The cluster ID.
270
240
  *
271
- * > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query the details of all clusters in a specified region, including the cluster IDs.
241
+ * > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query information about all clusters in a specific region, including cluster IDs.
272
242
  *
273
243
  * This parameter is required.
274
244
  *
@@ -280,19 +250,14 @@ export declare class ModifyBackupPolicyRequest extends $dara.Model {
280
250
  * @remarks
281
251
  * The backup frequency. Valid values:
282
252
  *
283
- * - **Normal** (default): standard backup. The cluster is backed up once a day.
284
- *
285
- * - **2/24H**: high-frequency backup. The cluster is backed up every 2 hours.
286
- *
287
- * - **3/24H**: high-frequency backup. The cluster is backed up every 3 hours.
253
+ * - **Normal** (default): regular backup. Automatic backup is performed once a day at a scheduled time.
254
+ * - **2/24H**: high-frequency backup. Backup is performed every 2 hours.
255
+ * - **3/24H**: high-frequency backup. Backup is performed every 3 hours.
256
+ * - **4/24H**: high-frequency backup. Backup is performed every 4 hours.
288
257
  *
289
- * - **4/24H**: high-frequency backup. The cluster is backed up every 4 hours.
290
- *
291
- * > * * This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
292
- * >
293
- * > * - This parameter is not supported if your PolarDB for MySQL cluster is in a region that supports the cross-region backup feature. For more information about the regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
294
- * >
295
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
258
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
259
+ * > * * If the region of your PolarDB for MySQL cluster does not support the cross-region backup feature, this parameter is not supported. For regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
260
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
296
261
  *
297
262
  * @example
298
263
  * Normal
@@ -301,28 +266,18 @@ export declare class ModifyBackupPolicyRequest extends $dara.Model {
301
266
  /**
302
267
  * @remarks
303
268
  * The level-1 backup cycle. Valid values:
304
- *
305
- * - **Monday**
306
- *
307
- * - **Tuesday**
308
- *
309
- * - **Wednesday**
310
- *
311
- * - **Thursday**
312
- *
313
- * - **Friday**
314
- *
315
- * - **Saturday**
316
- *
317
- * - **Sunday**
318
- *
319
- * > * * You must select at least two days. Separate multiple values with commas.
320
- * >
321
- * > * - This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
322
- * >
323
- * > * - This parameter is not supported if your PolarDB for MySQL cluster is in a region that supports the cross-region backup feature. For more information about the regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
324
- * >
325
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
269
+ * * **Monday**
270
+ * * **Tuesday**
271
+ * * **Wednesday**
272
+ * * **Thursday**
273
+ * * **Friday**
274
+ * * **Saturday**
275
+ * * **Sunday**
276
+ *
277
+ * > * * Select at least 2 days. Separate multiple values with commas (,).
278
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
279
+ * > * * If the region of your PolarDB for MySQL cluster does not support the cross-region backup feature, this parameter is not supported. For regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
280
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
326
281
  *
327
282
  * @example
328
283
  * Monday,Tuesday
@@ -330,9 +285,9 @@ export declare class ModifyBackupPolicyRequest extends $dara.Model {
330
285
  dataLevel1BackupPeriod?: string;
331
286
  /**
332
287
  * @remarks
333
- * The retention period for level-1 backups, in days. Valid values: 3 to 14.
288
+ * The retention period of level-1 backups. Valid values: 3 to 14. Unit: days.
334
289
  *
335
- * > - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
290
+ * > * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
336
291
  *
337
292
  * @example
338
293
  * 3
@@ -340,11 +295,10 @@ export declare class ModifyBackupPolicyRequest extends $dara.Model {
340
295
  dataLevel1BackupRetentionPeriod?: string;
341
296
  /**
342
297
  * @remarks
343
- * The time window for automatic backups. Specify the time in UTC and in the `hh:mmZ-hh:mmZ` format. The time window must be a one-hour period that starts on the hour. For example, `14:00Z-15:00Z`.
298
+ * The time period during which automatic backup is performed. Specify the time period in the `hh:mmZ-hh:mmZ` format in UTC. The values must be on the hour with an interval of 1 hour, such as `14:00Z-15:00Z`.
344
299
  *
345
- * > - This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
346
- * >
347
- * > - This parameter is not supported if your PolarDB for MySQL cluster is in a region that supports the cross-region backup feature. For more information about the regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
300
+ * > * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
301
+ * > * If the region of your PolarDB for MySQL cluster does not support the cross-region backup feature, this parameter is not supported. For regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
348
302
  *
349
303
  * @example
350
304
  * 15:00Z-16:00Z
@@ -352,9 +306,8 @@ export declare class ModifyBackupPolicyRequest extends $dara.Model {
352
306
  dataLevel1BackupTime?: string;
353
307
  /**
354
308
  * @remarks
355
- * The destination region for the cross-region level-2 backup. For more information about the regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
356
- *
357
- * > - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
309
+ * The destination region for cross-region level-2 backups. For regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
310
+ * > * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
358
311
  *
359
312
  * @example
360
313
  * cn-hangzhou
@@ -362,17 +315,16 @@ export declare class ModifyBackupPolicyRequest extends $dara.Model {
362
315
  dataLevel2BackupAnotherRegionRegion?: string;
363
316
  /**
364
317
  * @remarks
365
- * The retention period of cross-region level-2 backups. Valid values:
318
+ * The retention period of cross-region backups for level-2 backups. Valid values:
366
319
  *
367
- * - **0**: Disables the cross-region level-2 backup feature.
320
+ * - **0**: Disables the level-2 cross-region backup feature.
368
321
  *
369
- * - **30 to 7300**: The retention period of cross-region level-2 backups, in days.
322
+ * - **30 to 7300**: The retention period of level-2 backups. Unit: days.
370
323
  *
371
- * - **-1**: Cross-region level-2 backups are permanently retained.
324
+ * - **-1**: Long-term retention (LTR) of level-2 backups.
372
325
  *
373
- * > * * When you create a cluster, the default value is **0**, which disables the cross-region level-2 backup feature.
374
- * >
375
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
326
+ * > * * When a cluster is created, the default value is **0**, which means the level-2 cross-region backup feature is disabled.
327
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
376
328
  *
377
329
  * @example
378
330
  * 30
@@ -381,28 +333,18 @@ export declare class ModifyBackupPolicyRequest extends $dara.Model {
381
333
  /**
382
334
  * @remarks
383
335
  * The level-2 backup cycle. Valid values:
384
- *
385
- * - **Monday**
386
- *
387
- * - **Tuesday**
388
- *
389
- * - **Wednesday**
390
- *
391
- * - **Thursday**
392
- *
393
- * - **Friday**
394
- *
395
- * - **Saturday**
396
- *
397
- * - **Sunday**
398
- *
399
- * > * * You must select at least two days. Separate multiple values with commas.
400
- * >
401
- * > * - This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
402
- * >
403
- * > * - This parameter is not supported if your PolarDB for MySQL cluster is in a region that supports the cross-region backup feature. For more information about the regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
404
- * >
405
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
336
+ * * **Monday**
337
+ * * **Tuesday**
338
+ * * **Wednesday**
339
+ * * **Thursday**
340
+ * * **Friday**
341
+ * * **Saturday**
342
+ * * **Sunday**
343
+ *
344
+ * > * * Select at least 2 days. Separate multiple values with commas (,).
345
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
346
+ * > * * If the region of your PolarDB for MySQL cluster does not support the cross-region backup feature, this parameter is not supported. For regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
347
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
406
348
  *
407
349
  * @example
408
350
  * Monday,Tuesday
@@ -414,13 +356,12 @@ export declare class ModifyBackupPolicyRequest extends $dara.Model {
414
356
  *
415
357
  * - **0**: Disables the level-2 backup feature.
416
358
  *
417
- * - **30 to 7300**: The retention period of level-2 backups, in days.
359
+ * - **30 to 7300**: The retention period of level-2 backups. Unit: days.
418
360
  *
419
- * - **-1**: Level-2 backups are permanently retained.
361
+ * - **-1**: Long-term retention (LTR) of level-2 backups.
420
362
  *
421
- * > * * When you create a cluster, the default value is **0**, which disables the level-2 backup feature.
422
- * >
423
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
363
+ * > * * When a cluster is created, the default value is **0**, which means the level-2 backup feature is disabled.
364
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
424
365
  *
425
366
  * @example
426
367
  * 0
@@ -431,26 +372,17 @@ export declare class ModifyBackupPolicyRequest extends $dara.Model {
431
372
  /**
432
373
  * @remarks
433
374
  * The backup cycle. Valid values:
434
- *
435
- * - **Monday**
436
- *
437
- * - **Tuesday**
438
- *
439
- * - **Wednesday**
440
- *
441
- * - **Thursday**
442
- *
443
- * - **Friday**
444
- *
445
- * - **Saturday**
446
- *
447
- * - **Sunday**
448
- *
449
- * > * * You must select at least two days. Separate multiple values with commas.
450
- * >
451
- * > * - This parameter is not supported if your PolarDB for MySQL cluster is in a region that supports the cross-region backup feature. For more information about the regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
452
- * >
453
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
375
+ * * **Monday**
376
+ * * **Tuesday**
377
+ * * **Wednesday**
378
+ * * **Thursday**
379
+ * * **Friday**
380
+ * * **Saturday**
381
+ * * **Sunday**
382
+ *
383
+ * > * * Select at least 2 days. Separate multiple values with commas (,).
384
+ * > * * If the region of your PolarDB for MySQL cluster supports the cross-region backup feature, this parameter is not supported. For regions that support cross-region backup, see [Overview](https://help.aliyun.com/document_detail/72672.html).
385
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
454
386
  *
455
387
  * @example
456
388
  * Monday,Tuesday
@@ -458,7 +390,7 @@ export declare class ModifyBackupPolicyRequest extends $dara.Model {
458
390
  preferredBackupPeriod?: string;
459
391
  /**
460
392
  * @remarks
461
- * The time window for automatic backups. Specify the time in UTC and in the `hh:mmZ-hh:mmZ` format. The time window must be a one-hour period that starts on the hour. For example, `14:00Z-15:00Z`.
393
+ * The time period during which automatic backup is performed. Specify the time period in the `hh:mmZ-hh:mmZ` format in UTC. The values must be on the hour with an interval of 1 hour, such as `14:00Z-15:00Z`.
462
394
  *
463
395
  * @example
464
396
  * 15:00Z-16:00Z
@@ -1 +1 @@
1
- {"version":3,"file":"ModifyBackupPolicyRequest.js","sourceRoot":"","sources":["../../src/models/ModifyBackupPolicyRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IA0L5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAA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AsB,EAAE,QAAQ;YAChC,+BAA+B,EAAE,QAAQ;YACzC,YAAY,EAAE,QAAQ;YACtB,OAAO,EAAE,QAAQ;YACjB,qBAAqB,EAAE,QAAQ;YAC/B,mBAAmB,EAAE,QAAQ;YAC7B,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE,CAAC;YAC5C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;QACvD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArRD,8DAqRC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ModifyBackupPolicyResponseBody extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The ID of the request.
5
+ * The request ID.
6
6
  *
7
7
  * @example
8
8
  * C5A5DF0E-5968-4DC1-882E-AC2FE7******