@alicloud/polardb20170801 8.2.4 → 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.
@@ -5,32 +5,24 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The advanced backup policies.
9
- *
10
- * > - - This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
11
- * >
12
- * > - - This parameter is supported only for clusters for which `BackupPolicyLevel` is set to `Advanced`.
8
+ * The advanced backup policy.
9
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
10
+ * > * * Only clusters with BackupPolicyLevel set to Advanced support this parameter.
13
11
  */
14
12
  advancedDataPoliciesShrink?: string;
15
13
  /**
16
14
  * @remarks
17
15
  * The backup frequency. Valid values:
18
16
  *
19
- * - **Normal** (default): standard backup. The cluster is backed up once a day.
20
- *
21
- * - **2/24H**: high-frequency backup. The cluster is backed up every 2 hours.
22
- *
23
- * - **3/24H**: high-frequency backup. The cluster is backed up every 3 hours.
17
+ * - **Normal** (default): regular backup. Automatic backup is performed once a day at a scheduled time.
18
+ * - **2/24H**: high-frequency backup. Backup is performed every 2 hours.
19
+ * - **3/24H**: high-frequency backup. Backup is performed every 3 hours.
20
+ * - **4/24H**: high-frequency backup. Backup is performed every 4 hours.
24
21
  *
25
- * - **4/24H**: high-frequency backup. The cluster is backed up every 4 hours.
26
- *
27
- * > * * 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.
28
- * >
29
- * > * - If you enable high-frequency backup, the **PreferredBackupPeriod** parameter is automatically set to all days of the week (from Monday to Sunday).
30
- * >
31
- * > * - 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).
32
- * >
33
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
22
+ * > * * 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.
23
+ * > * * After high-frequency backup is enabled, the backup cycle parameter PreferredBackupPeriod defaults to all days of the week (Monday through Sunday).
24
+ * > * * 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).
25
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
34
26
  *
35
27
  * @example
36
28
  * Normal
@@ -38,17 +30,12 @@ export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
38
30
  backupFrequency?: string;
39
31
  /**
40
32
  * @remarks
41
- * The level of the backup policy. Valid values:
42
- *
43
- * - **Normal**: standard backup
44
- *
45
- * - **Advanced**: advanced backup
46
- *
47
- * > * * This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
48
- * >
49
- * > * - 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~~).
50
- * >
51
- * > * - After you enable advanced backup, you **cannot** switch back to standard backup.
33
+ * The backup policy level. Valid values:
34
+ * * **Normal**: regular backup.
35
+ * * **Advanced**: advanced backup.
36
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
37
+ * > * * 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~~).
38
+ * > * * After advanced backup is enabled, rollback to regular backup is **not supported**.
52
39
  *
53
40
  * @example
54
41
  * Normal
@@ -56,15 +43,15 @@ export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
56
43
  backupPolicyLevel?: string;
57
44
  /**
58
45
  * @remarks
59
- * Specifies whether to retain backups when you delete the cluster. Valid values:
46
+ * Specifies whether to retain backups when the cluster is deleted. Valid values:
60
47
  *
61
- * - **ALL**: Permanently retains all backups.
48
+ * - **ALL**: Long-term retention (LTR) of all backups.
62
49
  *
63
- * - **LATEST**: Permanently retains the last backup.
50
+ * - **LATEST**: Long-term retention (LTR) of only the last backup.
64
51
  *
65
- * - **NONE**: Does not retain backup sets.
52
+ * - **NONE**: Does not retain any backups.
66
53
  *
67
- * > The default value is `NONE`.
54
+ * > Default value: NONE.
68
55
  *
69
56
  * @example
70
57
  * NONE
@@ -74,7 +61,7 @@ export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
74
61
  * @remarks
75
62
  * The cluster ID.
76
63
  *
77
- * > 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.
64
+ * > 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.
78
65
  *
79
66
  * This parameter is required.
80
67
  *
@@ -86,19 +73,14 @@ export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
86
73
  * @remarks
87
74
  * The backup frequency. Valid values:
88
75
  *
89
- * - **Normal** (default): standard backup. The cluster is backed up once a day.
90
- *
91
- * - **2/24H**: high-frequency backup. The cluster is backed up every 2 hours.
92
- *
93
- * - **3/24H**: high-frequency backup. The cluster is backed up every 3 hours.
76
+ * - **Normal** (default): regular backup. Automatic backup is performed once a day at a scheduled time.
77
+ * - **2/24H**: high-frequency backup. Backup is performed every 2 hours.
78
+ * - **3/24H**: high-frequency backup. Backup is performed every 3 hours.
79
+ * - **4/24H**: high-frequency backup. Backup is performed every 4 hours.
94
80
  *
95
- * - **4/24H**: high-frequency backup. The cluster is backed up every 4 hours.
96
- *
97
- * > * * This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
98
- * >
99
- * > * - 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).
100
- * >
101
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
81
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
82
+ * > * * 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).
83
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
102
84
  *
103
85
  * @example
104
86
  * Normal
@@ -106,29 +88,19 @@ export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
106
88
  dataLevel1BackupFrequency?: string;
107
89
  /**
108
90
  * @remarks
109
- * The level-1 backup cycle. Valid values:
110
- *
111
- * - **Monday**
112
- *
113
- * - **Tuesday**
114
- *
115
- * - **Wednesday**
116
- *
117
- * - **Thursday**
118
- *
119
- * - **Friday**
120
- *
121
- * - **Saturday**
122
- *
123
- * - **Sunday**
124
- *
125
- * > * * You must select at least two days. Separate multiple values with commas.
126
- * >
127
- * > * - This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
128
- * >
129
- * > * - 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).
130
- * >
131
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
91
+ * The level-1 backup cycle. Valid values:
92
+ * * **Monday**
93
+ * * **Tuesday**
94
+ * * **Wednesday**
95
+ * * **Thursday**
96
+ * * **Friday**
97
+ * * **Saturday**
98
+ * * **Sunday**
99
+ *
100
+ * > * * Select at least 2 days. Separate multiple values with commas (,).
101
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
102
+ * > * * 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).
103
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
132
104
  *
133
105
  * @example
134
106
  * Monday,Tuesday
@@ -136,9 +108,9 @@ export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
136
108
  dataLevel1BackupPeriod?: string;
137
109
  /**
138
110
  * @remarks
139
- * The retention period for level-1 backups, in days. Valid values: 3 to 14.
111
+ * The retention period of level-1 backups. Valid values: 3 to 14. Unit: days.
140
112
  *
141
- * > - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
113
+ * > * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
142
114
  *
143
115
  * @example
144
116
  * 3
@@ -146,11 +118,10 @@ export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
146
118
  dataLevel1BackupRetentionPeriod?: string;
147
119
  /**
148
120
  * @remarks
149
- * 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`.
121
+ * 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`.
150
122
  *
151
- * > - This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
152
- * >
153
- * > - 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).
123
+ * > * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
124
+ * > * 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).
154
125
  *
155
126
  * @example
156
127
  * 15:00Z-16:00Z
@@ -158,9 +129,8 @@ export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
158
129
  dataLevel1BackupTime?: string;
159
130
  /**
160
131
  * @remarks
161
- * 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).
162
- *
163
- * > - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
132
+ * 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).
133
+ * > * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
164
134
  *
165
135
  * @example
166
136
  * cn-hangzhou
@@ -168,17 +138,16 @@ export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
168
138
  dataLevel2BackupAnotherRegionRegion?: string;
169
139
  /**
170
140
  * @remarks
171
- * The retention period of cross-region level-2 backups. Valid values:
141
+ * The retention period of cross-region backups for level-2 backups. Valid values:
172
142
  *
173
- * - **0**: Disables the cross-region level-2 backup feature.
143
+ * - **0**: Disables the level-2 cross-region backup feature.
174
144
  *
175
- * - **30 to 7300**: The retention period of cross-region level-2 backups, in days.
145
+ * - **30 to 7300**: The retention period of level-2 backups. Unit: days.
176
146
  *
177
- * - **-1**: Cross-region level-2 backups are permanently retained.
147
+ * - **-1**: Long-term retention (LTR) of level-2 backups.
178
148
  *
179
- * > * * When you create a cluster, the default value is **0**, which disables the cross-region level-2 backup feature.
180
- * >
181
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
149
+ * > * * When a cluster is created, the default value is **0**, which means the level-2 cross-region backup feature is disabled.
150
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
182
151
  *
183
152
  * @example
184
153
  * 30
@@ -186,29 +155,19 @@ export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
186
155
  dataLevel2BackupAnotherRegionRetentionPeriod?: string;
187
156
  /**
188
157
  * @remarks
189
- * The level-2 backup cycle. Valid values:
190
- *
191
- * - **Monday**
192
- *
193
- * - **Tuesday**
194
- *
195
- * - **Wednesday**
196
- *
197
- * - **Thursday**
198
- *
199
- * - **Friday**
200
- *
201
- * - **Saturday**
202
- *
203
- * - **Sunday**
204
- *
205
- * > * * You must select at least two days. Separate multiple values with commas.
206
- * >
207
- * > * - This parameter is not supported for PolarDB for PostgreSQL (compatible with Oracle) and PolarDB for PostgreSQL.
208
- * >
209
- * > * - 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).
210
- * >
211
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
158
+ * The level-2 backup cycle. Valid values:
159
+ * * **Monday**
160
+ * * **Tuesday**
161
+ * * **Wednesday**
162
+ * * **Thursday**
163
+ * * **Friday**
164
+ * * **Saturday**
165
+ * * **Sunday**
166
+ *
167
+ * > * * Select at least 2 days. Separate multiple values with commas (,).
168
+ * > * * PolarDB for PostgreSQL (Compatible with Oracle) and PolarDB for PostgreSQL do not support this parameter.
169
+ * > * * 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).
170
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
212
171
  *
213
172
  * @example
214
173
  * Monday,Tuesday
@@ -220,13 +179,12 @@ export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
220
179
  *
221
180
  * - **0**: Disables the level-2 backup feature.
222
181
  *
223
- * - **30 to 7300**: The retention period of level-2 backups, in days.
182
+ * - **30 to 7300**: The retention period of level-2 backups. Unit: days.
224
183
  *
225
- * - **-1**: Level-2 backups are permanently retained.
184
+ * - **-1**: Long-term retention (LTR) of level-2 backups.
226
185
  *
227
- * > * * When you create a cluster, the default value is **0**, which disables the level-2 backup feature.
228
- * >
229
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
186
+ * > * * When a cluster is created, the default value is **0**, which means the level-2 backup feature is disabled.
187
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
230
188
  *
231
189
  * @example
232
190
  * 0
@@ -236,27 +194,18 @@ export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
236
194
  ownerId?: number;
237
195
  /**
238
196
  * @remarks
239
- * The backup cycle. Valid values:
240
- *
241
- * - **Monday**
242
- *
243
- * - **Tuesday**
244
- *
245
- * - **Wednesday**
246
- *
247
- * - **Thursday**
248
- *
249
- * - **Friday**
250
- *
251
- * - **Saturday**
252
- *
253
- * - **Sunday**
254
- *
255
- * > * * You must select at least two days. Separate multiple values with commas.
256
- * >
257
- * > * - 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).
258
- * >
259
- * > * - After you enable advanced backup, this parameter is no longer effective. Use the `AdvancedDataPolicies` parameter instead.
197
+ * The backup cycle. Valid values:
198
+ * * **Monday**
199
+ * * **Tuesday**
200
+ * * **Wednesday**
201
+ * * **Thursday**
202
+ * * **Friday**
203
+ * * **Saturday**
204
+ * * **Sunday**
205
+ *
206
+ * > * * Select at least 2 days. Separate multiple values with commas (,).
207
+ * > * * 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).
208
+ * > * * After advanced backup is enabled, this parameter no longer takes effect. Use the AdvancedDataPolicies parameter instead.
260
209
  *
261
210
  * @example
262
211
  * Monday,Tuesday
@@ -264,7 +213,7 @@ export class ModifyBackupPolicyShrinkRequest extends $dara.Model {
264
213
  preferredBackupPeriod?: string;
265
214
  /**
266
215
  * @remarks
267
- * 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`.
216
+ * 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`.
268
217
  *
269
218
  * @example
270
219
  * 15:00Z-16:00Z