@alicloud/ros-cdk-ebs 1.0.12 → 1.0.14

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.
@@ -1,4 +1,432 @@
1
1
  import * as ros from '@alicloud/ros-cdk-core';
2
+ /**
3
+ * Properties for defining a `ALIYUN::EBS::DiskReplicaGroup`
4
+ */
5
+ export interface RosDiskReplicaGroupProps {
6
+ /**
7
+ * @Property destinationRegionId: The ID of the region to which the disaster recovery site belongs.
8
+ */
9
+ readonly destinationRegionId: string | ros.IResolvable;
10
+ /**
11
+ * @Property destinationZoneId: The ID of the zone to which the disaster recovery site belongs.
12
+ */
13
+ readonly destinationZoneId: string | ros.IResolvable;
14
+ /**
15
+ * @Property sourceRegionId: The ID of the region to which the production site belongs.
16
+ */
17
+ readonly sourceRegionId: string | ros.IResolvable;
18
+ /**
19
+ * @Property sourceZoneId: The ID of the zone to which the production site belongs.
20
+ */
21
+ readonly sourceZoneId: string | ros.IResolvable;
22
+ /**
23
+ * @Property description: The description of the consistent replication group.
24
+ */
25
+ readonly description?: string | ros.IResolvable;
26
+ /**
27
+ * @Property diskReplicaGroupName: Consistent replication group name.
28
+ */
29
+ readonly diskReplicaGroupName?: string | ros.IResolvable;
30
+ /**
31
+ * @Property resourceGroupId: The ID of resource group.
32
+ */
33
+ readonly resourceGroupId?: string | ros.IResolvable;
34
+ /**
35
+ * @Property rpo: The RPO value set by the consistency group in seconds.
36
+ */
37
+ readonly rpo?: number | ros.IResolvable;
38
+ /**
39
+ * @Property tags: Tags of disk replica group.
40
+ */
41
+ readonly tags?: RosDiskReplicaGroup.TagsProperty[];
42
+ }
43
+ /**
44
+ * A ROS template type: `ALIYUN::EBS::DiskReplicaGroup`
45
+ */
46
+ export declare class RosDiskReplicaGroup extends ros.RosResource {
47
+ /**
48
+ * The resource type name for this resource class.
49
+ */
50
+ static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::EBS::DiskReplicaGroup";
51
+ /**
52
+ * A factory method that creates a new instance of this class from an object
53
+ * containing the properties of this ROS resource.
54
+ */
55
+ /**
56
+ * @Attribute Description: The description of the consistent replication group.
57
+ */
58
+ readonly attrDescription: ros.IResolvable;
59
+ /**
60
+ * @Attribute DestinationRegionId: The ID of the region to which the disaster recovery site belongs.
61
+ */
62
+ readonly attrDestinationRegionId: ros.IResolvable;
63
+ /**
64
+ * @Attribute DestinationZoneId: The ID of the zone to which the disaster recovery site belongs.
65
+ */
66
+ readonly attrDestinationZoneId: ros.IResolvable;
67
+ /**
68
+ * @Attribute DiskReplicaGroupName: Consistent replication group name.
69
+ */
70
+ readonly attrDiskReplicaGroupName: ros.IResolvable;
71
+ /**
72
+ * @Attribute LastRecoverPoint: The time when the last asynchronous replication operation of the consistent replication group completed. This parameter provides the return value as a timestamp. Unit: seconds.
73
+ */
74
+ readonly attrLastRecoverPoint: ros.IResolvable;
75
+ /**
76
+ * @Attribute PairIds: List of replication pair IDs contained in a consistent replication group.
77
+ */
78
+ readonly attrPairIds: ros.IResolvable;
79
+ /**
80
+ * @Attribute PairNumber: The number of replication pairs contained in a consistent replication group.
81
+ */
82
+ readonly attrPairNumber: ros.IResolvable;
83
+ /**
84
+ * @Attribute PrimaryRegion: The initial source region of the replication group.
85
+ */
86
+ readonly attrPrimaryRegion: ros.IResolvable;
87
+ /**
88
+ * @Attribute PrimaryZone: The initial source available area of the replication group.
89
+ */
90
+ readonly attrPrimaryZone: ros.IResolvable;
91
+ /**
92
+ * @Attribute RPO: The RPO value set by the consistency group in seconds.
93
+ */
94
+ readonly attrRpo: ros.IResolvable;
95
+ /**
96
+ * @Attribute ReplicaGroupId: The ID of the consistent replication group.
97
+ */
98
+ readonly attrReplicaGroupId: ros.IResolvable;
99
+ /**
100
+ * @Attribute ResourceGroupId: resource group ID of enterprise
101
+ */
102
+ readonly attrResourceGroupId: ros.IResolvable;
103
+ /**
104
+ * @Attribute Site: Site information sources for replication pairs and consistent replication groups. Possible values:
105
+ */
106
+ readonly attrSite: ros.IResolvable;
107
+ /**
108
+ * @Attribute SourceRegionId: The ID of the region to which the production site belongs.
109
+ */
110
+ readonly attrSourceRegionId: ros.IResolvable;
111
+ /**
112
+ * @Attribute SourceZoneId: The ID of the zone to which the production site belongs.
113
+ */
114
+ readonly attrSourceZoneId: ros.IResolvable;
115
+ /**
116
+ * @Attribute StandbyRegion: The initial destination region of the replication group.
117
+ */
118
+ readonly attrStandbyRegion: ros.IResolvable;
119
+ /**
120
+ * @Attribute StandbyZone: The initial destination zone of the replication group.
121
+ */
122
+ readonly attrStandbyZone: ros.IResolvable;
123
+ /**
124
+ * @Attribute Tags: The tags of the disk replica group.
125
+ */
126
+ readonly attrTags: ros.IResolvable;
127
+ enableResourcePropertyConstraint: boolean;
128
+ /**
129
+ * @Property destinationRegionId: The ID of the region to which the disaster recovery site belongs.
130
+ */
131
+ destinationRegionId: string | ros.IResolvable;
132
+ /**
133
+ * @Property destinationZoneId: The ID of the zone to which the disaster recovery site belongs.
134
+ */
135
+ destinationZoneId: string | ros.IResolvable;
136
+ /**
137
+ * @Property sourceRegionId: The ID of the region to which the production site belongs.
138
+ */
139
+ sourceRegionId: string | ros.IResolvable;
140
+ /**
141
+ * @Property sourceZoneId: The ID of the zone to which the production site belongs.
142
+ */
143
+ sourceZoneId: string | ros.IResolvable;
144
+ /**
145
+ * @Property description: The description of the consistent replication group.
146
+ */
147
+ description: string | ros.IResolvable | undefined;
148
+ /**
149
+ * @Property diskReplicaGroupName: Consistent replication group name.
150
+ */
151
+ diskReplicaGroupName: string | ros.IResolvable | undefined;
152
+ /**
153
+ * @Property resourceGroupId: The ID of resource group.
154
+ */
155
+ resourceGroupId: string | ros.IResolvable | undefined;
156
+ /**
157
+ * @Property rpo: The RPO value set by the consistency group in seconds.
158
+ */
159
+ rpo: number | ros.IResolvable | undefined;
160
+ /**
161
+ * @Property tags: Tags of disk replica group.
162
+ */
163
+ tags: RosDiskReplicaGroup.TagsProperty[] | undefined;
164
+ /**
165
+ * Create a new `ALIYUN::EBS::DiskReplicaGroup`.
166
+ *
167
+ * @param scope - scope in which this resource is defined
168
+ * @param id - scoped id of the resource
169
+ * @param props - resource properties
170
+ */
171
+ constructor(scope: ros.Construct, id: string, props: RosDiskReplicaGroupProps, enableResourcePropertyConstraint: boolean);
172
+ protected get rosProperties(): {
173
+ [key: string]: any;
174
+ };
175
+ protected renderProperties(props: {
176
+ [key: string]: any;
177
+ }): {
178
+ [key: string]: any;
179
+ };
180
+ }
181
+ export declare namespace RosDiskReplicaGroup {
182
+ /**
183
+ * @stability external
184
+ */
185
+ interface TagsProperty {
186
+ /**
187
+ * @Property value: undefined
188
+ */
189
+ readonly value?: string | ros.IResolvable;
190
+ /**
191
+ * @Property key: undefined
192
+ */
193
+ readonly key: string | ros.IResolvable;
194
+ }
195
+ }
196
+ /**
197
+ * Properties for defining a `ALIYUN::EBS::DiskReplicaPair`
198
+ */
199
+ export interface RosDiskReplicaPairProps {
200
+ /**
201
+ * @Property destinationDiskId: The ID of the standby disk.
202
+ */
203
+ readonly destinationDiskId: string | ros.IResolvable;
204
+ /**
205
+ * @Property destinationRegionId: The ID of the region to which the disaster recovery site belongs.
206
+ */
207
+ readonly destinationRegionId: string | ros.IResolvable;
208
+ /**
209
+ * @Property destinationZoneId: The ID of the zone to which the disaster recovery site belongs.
210
+ */
211
+ readonly destinationZoneId: string | ros.IResolvable;
212
+ /**
213
+ * @Property diskId: The ID of the primary disk.
214
+ */
215
+ readonly diskId: string | ros.IResolvable;
216
+ /**
217
+ * @Property sourceZoneId: The ID of the zone to which the production site belongs.
218
+ */
219
+ readonly sourceZoneId: string | ros.IResolvable;
220
+ /**
221
+ * @Property bandwidth: The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:
222
+ * - 10240 Kbps: equal to 10 Mbps.
223
+ * - 20480 Kbps: equal to 20 Mbps.
224
+ * - 51200 Kbps: equal to 50 Mbps.
225
+ * - 102400 Kbps: equal to 100 Mbps.
226
+ * Default value: 10240.
227
+ * This parameter cannot be specified when the ChargeType value is PayAsYouGo The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
228
+ */
229
+ readonly bandwidth?: number | ros.IResolvable;
230
+ /**
231
+ * @Property description: The description of the asynchronous replication relationship. 2 to 256 English or Chinese characters in length and cannot start with' http:// 'or' https.
232
+ */
233
+ readonly description?: string | ros.IResolvable;
234
+ /**
235
+ * @Property diskReplicaPairName: The name of the asynchronous replication relationship. The length must be 2 to 128 characters in length and must start with a letter or Chinese name. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-).
236
+ */
237
+ readonly diskReplicaPairName?: string | ros.IResolvable;
238
+ /**
239
+ * @Property paymentType: The payment type of the resource
240
+ */
241
+ readonly paymentType?: string | ros.IResolvable;
242
+ /**
243
+ * @Property period: The purchase duration of the asynchronous replication relationship. This parameter is required when 'ChargeType = PrePay. The duration unit is specified by'periodunit', and the value range is:
244
+ * - When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 6, 12, 24, 36, 60.
245
+ */
246
+ readonly period?: number | ros.IResolvable;
247
+ /**
248
+ * @Property periodUnit: The unit of the purchase time of the asynchronous replication relationship. Value range:
249
+ * - Month.Default value: Month.
250
+ */
251
+ readonly periodUnit?: string | ros.IResolvable;
252
+ /**
253
+ * @Property resourceGroupId: The ID of the resource group
254
+ */
255
+ readonly resourceGroupId?: string | ros.IResolvable;
256
+ /**
257
+ * @Property rpo: The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
258
+ */
259
+ readonly rpo?: number | ros.IResolvable;
260
+ /**
261
+ * @Property tags: Tags of disk replica pair.
262
+ */
263
+ readonly tags?: RosDiskReplicaPair.TagsProperty[];
264
+ }
265
+ /**
266
+ * A ROS template type: `ALIYUN::EBS::DiskReplicaPair`
267
+ */
268
+ export declare class RosDiskReplicaPair extends ros.RosResource {
269
+ /**
270
+ * The resource type name for this resource class.
271
+ */
272
+ static readonly ROS_RESOURCE_TYPE_NAME = "ALIYUN::EBS::DiskReplicaPair";
273
+ /**
274
+ * A factory method that creates a new instance of this class from an object
275
+ * containing the properties of this ROS resource.
276
+ */
277
+ /**
278
+ * @Attribute Bandwidth: The bandwidth for asynchronous data replication between cloud disks.
279
+ */
280
+ readonly attrBandwidth: ros.IResolvable;
281
+ /**
282
+ * @Attribute CreateTime: The creation time of the resource.
283
+ */
284
+ readonly attrCreateTime: ros.IResolvable;
285
+ /**
286
+ * @Attribute Description: The description of the asynchronous replication relationship.
287
+ */
288
+ readonly attrDescription: ros.IResolvable;
289
+ /**
290
+ * @Attribute DestinationDiskId: The ID of the standby disk.
291
+ */
292
+ readonly attrDestinationDiskId: ros.IResolvable;
293
+ /**
294
+ * @Attribute DestinationRegionId: The ID of the region to which the disaster recovery site belongs.
295
+ */
296
+ readonly attrDestinationRegionId: ros.IResolvable;
297
+ /**
298
+ * @Attribute DestinationZoneId: The ID of the zone to which the disaster recovery site belongs.
299
+ */
300
+ readonly attrDestinationZoneId: ros.IResolvable;
301
+ /**
302
+ * @Attribute DiskId: The ID of the primary disk.
303
+ */
304
+ readonly attrDiskId: ros.IResolvable;
305
+ /**
306
+ * @Attribute DiskReplicaPairName: The name of the asynchronous replication relationship.
307
+ */
308
+ readonly attrDiskReplicaPairName: ros.IResolvable;
309
+ /**
310
+ * @Attribute PaymentType: The payment type of the resource.
311
+ */
312
+ readonly attrPaymentType: ros.IResolvable;
313
+ /**
314
+ * @Attribute RPO: The RPO value set by the consistency group in seconds.
315
+ */
316
+ readonly attrRpo: ros.IResolvable;
317
+ /**
318
+ * @Attribute ReplicaPairId: The ID of the disk replica pair.
319
+ */
320
+ readonly attrReplicaPairId: ros.IResolvable;
321
+ /**
322
+ * @Attribute ResourceGroupId: The ID of the resource group.
323
+ */
324
+ readonly attrResourceGroupId: ros.IResolvable;
325
+ /**
326
+ * @Attribute SourceZoneId: The ID of the zone to which the production site belongs.
327
+ */
328
+ readonly attrSourceZoneId: ros.IResolvable;
329
+ /**
330
+ * @Attribute Tags: The tags of the disk replica pair.
331
+ */
332
+ readonly attrTags: ros.IResolvable;
333
+ enableResourcePropertyConstraint: boolean;
334
+ /**
335
+ * @Property destinationDiskId: The ID of the standby disk.
336
+ */
337
+ destinationDiskId: string | ros.IResolvable;
338
+ /**
339
+ * @Property destinationRegionId: The ID of the region to which the disaster recovery site belongs.
340
+ */
341
+ destinationRegionId: string | ros.IResolvable;
342
+ /**
343
+ * @Property destinationZoneId: The ID of the zone to which the disaster recovery site belongs.
344
+ */
345
+ destinationZoneId: string | ros.IResolvable;
346
+ /**
347
+ * @Property diskId: The ID of the primary disk.
348
+ */
349
+ diskId: string | ros.IResolvable;
350
+ /**
351
+ * @Property sourceZoneId: The ID of the zone to which the production site belongs.
352
+ */
353
+ sourceZoneId: string | ros.IResolvable;
354
+ /**
355
+ * @Property bandwidth: The bandwidth for asynchronous data replication between cloud disks. The unit is Kbps. Value range:
356
+ * - 10240 Kbps: equal to 10 Mbps.
357
+ * - 20480 Kbps: equal to 20 Mbps.
358
+ * - 51200 Kbps: equal to 50 Mbps.
359
+ * - 102400 Kbps: equal to 100 Mbps.
360
+ * Default value: 10240.
361
+ * This parameter cannot be specified when the ChargeType value is PayAsYouGo The system value is 0, which indicates that the disk is dynamically allocated according to data write changes during asynchronous replication.
362
+ */
363
+ bandwidth: number | ros.IResolvable | undefined;
364
+ /**
365
+ * @Property description: The description of the asynchronous replication relationship. 2 to 256 English or Chinese characters in length and cannot start with' http:// 'or' https.
366
+ */
367
+ description: string | ros.IResolvable | undefined;
368
+ /**
369
+ * @Property diskReplicaPairName: The name of the asynchronous replication relationship. The length must be 2 to 128 characters in length and must start with a letter or Chinese name. It cannot start with http:// or https. It can contain Chinese, English, numbers, half-width colons (:), underscores (_), half-width periods (.), or dashes (-).
370
+ */
371
+ diskReplicaPairName: string | ros.IResolvable | undefined;
372
+ /**
373
+ * @Property paymentType: The payment type of the resource
374
+ */
375
+ paymentType: string | ros.IResolvable | undefined;
376
+ /**
377
+ * @Property period: The purchase duration of the asynchronous replication relationship. This parameter is required when 'ChargeType = PrePay. The duration unit is specified by'periodunit', and the value range is:
378
+ * - When 'PeriodUnit = Month', the value range of this parameter is 1, 2, 3, 6, 12, 24, 36, 60.
379
+ */
380
+ period: number | ros.IResolvable | undefined;
381
+ /**
382
+ * @Property periodUnit: The unit of the purchase time of the asynchronous replication relationship. Value range:
383
+ * - Month.Default value: Month.
384
+ */
385
+ periodUnit: string | ros.IResolvable | undefined;
386
+ /**
387
+ * @Property resourceGroupId: The ID of the resource group
388
+ */
389
+ resourceGroupId: string | ros.IResolvable | undefined;
390
+ /**
391
+ * @Property rpo: The RPO value set by the consistency group in seconds. Currently only 900 seconds are supported.
392
+ */
393
+ rpo: number | ros.IResolvable | undefined;
394
+ /**
395
+ * @Property tags: Tags of disk replica pair.
396
+ */
397
+ tags: RosDiskReplicaPair.TagsProperty[] | undefined;
398
+ /**
399
+ * Create a new `ALIYUN::EBS::DiskReplicaPair`.
400
+ *
401
+ * @param scope - scope in which this resource is defined
402
+ * @param id - scoped id of the resource
403
+ * @param props - resource properties
404
+ */
405
+ constructor(scope: ros.Construct, id: string, props: RosDiskReplicaPairProps, enableResourcePropertyConstraint: boolean);
406
+ protected get rosProperties(): {
407
+ [key: string]: any;
408
+ };
409
+ protected renderProperties(props: {
410
+ [key: string]: any;
411
+ }): {
412
+ [key: string]: any;
413
+ };
414
+ }
415
+ export declare namespace RosDiskReplicaPair {
416
+ /**
417
+ * @stability external
418
+ */
419
+ interface TagsProperty {
420
+ /**
421
+ * @Property value: undefined
422
+ */
423
+ readonly value?: string | ros.IResolvable;
424
+ /**
425
+ * @Property key: undefined
426
+ */
427
+ readonly key: string | ros.IResolvable;
428
+ }
429
+ }
2
430
  /**
3
431
  * Properties for defining a `ALIYUN::EBS::DiskReplicaPairAddition`
4
432
  */