@alicloud/ebs20210730 1.0.1 → 1.1.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/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +538 -3
- package/dist/client.js +1353 -161
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1712 -221
package/LICENSE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
English | [简体中文](README-CN.md)
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
# Alibaba Cloud ebs SDK for NodeJS
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
If you use `npm` to manage your dependence, you can use the following command:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @alicloud/ebs20210730 -S
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Issues
|
|
14
|
+
[Opening an Issue](https://github.com/aliyun/alibabacloud-typescript-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
[Usage Document](https://github.com/aliyun/alibabacloud-typescript-sdk/blob/master/docs/Usage-EN.md#quick-examples)
|
|
18
|
+
|
|
19
|
+
## References
|
|
20
|
+
* [Latest Release](https://github.com/aliyun/alibabacloud-typescript-sdk/)
|
|
21
|
+
|
|
22
|
+
## License
|
|
23
|
+
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
|
24
|
+
|
|
25
|
+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
package/dist/client.d.ts
CHANGED
|
@@ -1,9 +1,99 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
/**
|
|
2
3
|
*
|
|
3
4
|
*/
|
|
4
5
|
import * as $Util from '@alicloud/tea-util';
|
|
5
6
|
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
6
7
|
import * as $tea from '@alicloud/tea-typescript';
|
|
8
|
+
export declare class AddDiskReplicaPairRequest extends $tea.Model {
|
|
9
|
+
clientToken?: string;
|
|
10
|
+
regionId?: string;
|
|
11
|
+
replicaGroupId?: string;
|
|
12
|
+
replicaPairId?: string;
|
|
13
|
+
static names(): {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
};
|
|
16
|
+
static types(): {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
};
|
|
19
|
+
constructor(map?: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
export declare class AddDiskReplicaPairResponseBody extends $tea.Model {
|
|
24
|
+
requestId?: string;
|
|
25
|
+
static names(): {
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
};
|
|
28
|
+
static types(): {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
};
|
|
31
|
+
constructor(map?: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
export declare class AddDiskReplicaPairResponse extends $tea.Model {
|
|
36
|
+
headers: {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
};
|
|
39
|
+
body: AddDiskReplicaPairResponseBody;
|
|
40
|
+
static names(): {
|
|
41
|
+
[key: string]: string;
|
|
42
|
+
};
|
|
43
|
+
static types(): {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
};
|
|
46
|
+
constructor(map?: {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
export declare class CreateDiskReplicaGroupRequest extends $tea.Model {
|
|
51
|
+
clientToken?: string;
|
|
52
|
+
description?: string;
|
|
53
|
+
destinationRegionId?: string;
|
|
54
|
+
destinationZoneId?: string;
|
|
55
|
+
groupName?: string;
|
|
56
|
+
RPO?: number;
|
|
57
|
+
regionId?: string;
|
|
58
|
+
sourceZoneId?: string;
|
|
59
|
+
static names(): {
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
};
|
|
62
|
+
static types(): {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
};
|
|
65
|
+
constructor(map?: {
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
export declare class CreateDiskReplicaGroupResponseBody extends $tea.Model {
|
|
70
|
+
replicaGroupId?: string;
|
|
71
|
+
requestId?: string;
|
|
72
|
+
static names(): {
|
|
73
|
+
[key: string]: string;
|
|
74
|
+
};
|
|
75
|
+
static types(): {
|
|
76
|
+
[key: string]: any;
|
|
77
|
+
};
|
|
78
|
+
constructor(map?: {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
export declare class CreateDiskReplicaGroupResponse extends $tea.Model {
|
|
83
|
+
headers: {
|
|
84
|
+
[key: string]: string;
|
|
85
|
+
};
|
|
86
|
+
body: CreateDiskReplicaGroupResponseBody;
|
|
87
|
+
static names(): {
|
|
88
|
+
[key: string]: string;
|
|
89
|
+
};
|
|
90
|
+
static types(): {
|
|
91
|
+
[key: string]: any;
|
|
92
|
+
};
|
|
93
|
+
constructor(map?: {
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
});
|
|
96
|
+
}
|
|
7
97
|
export declare class CreateDiskReplicaPairRequest extends $tea.Model {
|
|
8
98
|
bandwidth?: number;
|
|
9
99
|
chargeType?: string;
|
|
@@ -16,7 +106,8 @@ export declare class CreateDiskReplicaPairRequest extends $tea.Model {
|
|
|
16
106
|
pairName?: string;
|
|
17
107
|
period?: number;
|
|
18
108
|
periodUnit?: string;
|
|
19
|
-
|
|
109
|
+
RPO?: number;
|
|
110
|
+
regionId?: string;
|
|
20
111
|
sourceZoneId?: string;
|
|
21
112
|
static names(): {
|
|
22
113
|
[key: string]: string;
|
|
@@ -57,6 +148,47 @@ export declare class CreateDiskReplicaPairResponse extends $tea.Model {
|
|
|
57
148
|
[key: string]: any;
|
|
58
149
|
});
|
|
59
150
|
}
|
|
151
|
+
export declare class DeleteDiskReplicaGroupRequest extends $tea.Model {
|
|
152
|
+
clientToken?: string;
|
|
153
|
+
regionId?: string;
|
|
154
|
+
replicaGroupId?: string;
|
|
155
|
+
static names(): {
|
|
156
|
+
[key: string]: string;
|
|
157
|
+
};
|
|
158
|
+
static types(): {
|
|
159
|
+
[key: string]: any;
|
|
160
|
+
};
|
|
161
|
+
constructor(map?: {
|
|
162
|
+
[key: string]: any;
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
export declare class DeleteDiskReplicaGroupResponseBody extends $tea.Model {
|
|
166
|
+
requestId?: string;
|
|
167
|
+
static names(): {
|
|
168
|
+
[key: string]: string;
|
|
169
|
+
};
|
|
170
|
+
static types(): {
|
|
171
|
+
[key: string]: any;
|
|
172
|
+
};
|
|
173
|
+
constructor(map?: {
|
|
174
|
+
[key: string]: any;
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
export declare class DeleteDiskReplicaGroupResponse extends $tea.Model {
|
|
178
|
+
headers: {
|
|
179
|
+
[key: string]: string;
|
|
180
|
+
};
|
|
181
|
+
body: DeleteDiskReplicaGroupResponseBody;
|
|
182
|
+
static names(): {
|
|
183
|
+
[key: string]: string;
|
|
184
|
+
};
|
|
185
|
+
static types(): {
|
|
186
|
+
[key: string]: any;
|
|
187
|
+
};
|
|
188
|
+
constructor(map?: {
|
|
189
|
+
[key: string]: any;
|
|
190
|
+
});
|
|
191
|
+
}
|
|
60
192
|
export declare class DeleteDiskReplicaPairRequest extends $tea.Model {
|
|
61
193
|
clientToken?: string;
|
|
62
194
|
regionId?: string;
|
|
@@ -98,11 +230,100 @@ export declare class DeleteDiskReplicaPairResponse extends $tea.Model {
|
|
|
98
230
|
[key: string]: any;
|
|
99
231
|
});
|
|
100
232
|
}
|
|
233
|
+
export declare class DescribeDiskReplicaGroupsRequest extends $tea.Model {
|
|
234
|
+
groupIds?: string;
|
|
235
|
+
maxResults?: number;
|
|
236
|
+
nextToken?: string;
|
|
237
|
+
regionId?: string;
|
|
238
|
+
site?: string;
|
|
239
|
+
static names(): {
|
|
240
|
+
[key: string]: string;
|
|
241
|
+
};
|
|
242
|
+
static types(): {
|
|
243
|
+
[key: string]: any;
|
|
244
|
+
};
|
|
245
|
+
constructor(map?: {
|
|
246
|
+
[key: string]: any;
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
export declare class DescribeDiskReplicaGroupsResponseBody extends $tea.Model {
|
|
250
|
+
nextToken?: string;
|
|
251
|
+
replicaGroups?: DescribeDiskReplicaGroupsResponseBodyReplicaGroups[];
|
|
252
|
+
requestId?: string;
|
|
253
|
+
static names(): {
|
|
254
|
+
[key: string]: string;
|
|
255
|
+
};
|
|
256
|
+
static types(): {
|
|
257
|
+
[key: string]: any;
|
|
258
|
+
};
|
|
259
|
+
constructor(map?: {
|
|
260
|
+
[key: string]: any;
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
export declare class DescribeDiskReplicaGroupsResponse extends $tea.Model {
|
|
264
|
+
headers: {
|
|
265
|
+
[key: string]: string;
|
|
266
|
+
};
|
|
267
|
+
body: DescribeDiskReplicaGroupsResponseBody;
|
|
268
|
+
static names(): {
|
|
269
|
+
[key: string]: string;
|
|
270
|
+
};
|
|
271
|
+
static types(): {
|
|
272
|
+
[key: string]: any;
|
|
273
|
+
};
|
|
274
|
+
constructor(map?: {
|
|
275
|
+
[key: string]: any;
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
export declare class DescribeDiskReplicaPairProgressRequest extends $tea.Model {
|
|
279
|
+
regionId?: string;
|
|
280
|
+
replicaPairId?: string;
|
|
281
|
+
static names(): {
|
|
282
|
+
[key: string]: string;
|
|
283
|
+
};
|
|
284
|
+
static types(): {
|
|
285
|
+
[key: string]: any;
|
|
286
|
+
};
|
|
287
|
+
constructor(map?: {
|
|
288
|
+
[key: string]: any;
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
export declare class DescribeDiskReplicaPairProgressResponseBody extends $tea.Model {
|
|
292
|
+
progress?: number;
|
|
293
|
+
recoverPoint?: number;
|
|
294
|
+
requestId?: string;
|
|
295
|
+
static names(): {
|
|
296
|
+
[key: string]: string;
|
|
297
|
+
};
|
|
298
|
+
static types(): {
|
|
299
|
+
[key: string]: any;
|
|
300
|
+
};
|
|
301
|
+
constructor(map?: {
|
|
302
|
+
[key: string]: any;
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
export declare class DescribeDiskReplicaPairProgressResponse extends $tea.Model {
|
|
306
|
+
headers: {
|
|
307
|
+
[key: string]: string;
|
|
308
|
+
};
|
|
309
|
+
body: DescribeDiskReplicaPairProgressResponseBody;
|
|
310
|
+
static names(): {
|
|
311
|
+
[key: string]: string;
|
|
312
|
+
};
|
|
313
|
+
static types(): {
|
|
314
|
+
[key: string]: any;
|
|
315
|
+
};
|
|
316
|
+
constructor(map?: {
|
|
317
|
+
[key: string]: any;
|
|
318
|
+
});
|
|
319
|
+
}
|
|
101
320
|
export declare class DescribeDiskReplicaPairsRequest extends $tea.Model {
|
|
102
321
|
maxResults?: number;
|
|
103
322
|
nextToken?: string;
|
|
104
323
|
pairIds?: string;
|
|
105
324
|
regionId?: string;
|
|
325
|
+
replicaGroupId?: string;
|
|
326
|
+
site?: string;
|
|
106
327
|
static names(): {
|
|
107
328
|
[key: string]: string;
|
|
108
329
|
};
|
|
@@ -144,6 +365,7 @@ export declare class DescribeDiskReplicaPairsResponse extends $tea.Model {
|
|
|
144
365
|
}
|
|
145
366
|
export declare class DescribeRegionsRequest extends $tea.Model {
|
|
146
367
|
acceptLanguage?: string;
|
|
368
|
+
regionId?: string;
|
|
147
369
|
resourceType?: string;
|
|
148
370
|
static names(): {
|
|
149
371
|
[key: string]: string;
|
|
@@ -183,6 +405,47 @@ export declare class DescribeRegionsResponse extends $tea.Model {
|
|
|
183
405
|
[key: string]: any;
|
|
184
406
|
});
|
|
185
407
|
}
|
|
408
|
+
export declare class FailoverDiskReplicaGroupRequest extends $tea.Model {
|
|
409
|
+
clientToken?: string;
|
|
410
|
+
regionId?: string;
|
|
411
|
+
replicaGroupId?: string;
|
|
412
|
+
static names(): {
|
|
413
|
+
[key: string]: string;
|
|
414
|
+
};
|
|
415
|
+
static types(): {
|
|
416
|
+
[key: string]: any;
|
|
417
|
+
};
|
|
418
|
+
constructor(map?: {
|
|
419
|
+
[key: string]: any;
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
export declare class FailoverDiskReplicaGroupResponseBody extends $tea.Model {
|
|
423
|
+
requestId?: string;
|
|
424
|
+
static names(): {
|
|
425
|
+
[key: string]: string;
|
|
426
|
+
};
|
|
427
|
+
static types(): {
|
|
428
|
+
[key: string]: any;
|
|
429
|
+
};
|
|
430
|
+
constructor(map?: {
|
|
431
|
+
[key: string]: any;
|
|
432
|
+
});
|
|
433
|
+
}
|
|
434
|
+
export declare class FailoverDiskReplicaGroupResponse extends $tea.Model {
|
|
435
|
+
headers: {
|
|
436
|
+
[key: string]: string;
|
|
437
|
+
};
|
|
438
|
+
body: FailoverDiskReplicaGroupResponseBody;
|
|
439
|
+
static names(): {
|
|
440
|
+
[key: string]: string;
|
|
441
|
+
};
|
|
442
|
+
static types(): {
|
|
443
|
+
[key: string]: any;
|
|
444
|
+
};
|
|
445
|
+
constructor(map?: {
|
|
446
|
+
[key: string]: any;
|
|
447
|
+
});
|
|
448
|
+
}
|
|
186
449
|
export declare class FailoverDiskReplicaPairRequest extends $tea.Model {
|
|
187
450
|
clientToken?: string;
|
|
188
451
|
regionId?: string;
|
|
@@ -224,10 +487,56 @@ export declare class FailoverDiskReplicaPairResponse extends $tea.Model {
|
|
|
224
487
|
[key: string]: any;
|
|
225
488
|
});
|
|
226
489
|
}
|
|
490
|
+
export declare class ModifyDiskReplicaGroupRequest extends $tea.Model {
|
|
491
|
+
clientToken?: string;
|
|
492
|
+
description?: string;
|
|
493
|
+
groupName?: string;
|
|
494
|
+
RPO?: number;
|
|
495
|
+
regionId?: string;
|
|
496
|
+
replicaGroupId?: string;
|
|
497
|
+
static names(): {
|
|
498
|
+
[key: string]: string;
|
|
499
|
+
};
|
|
500
|
+
static types(): {
|
|
501
|
+
[key: string]: any;
|
|
502
|
+
};
|
|
503
|
+
constructor(map?: {
|
|
504
|
+
[key: string]: any;
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
export declare class ModifyDiskReplicaGroupResponseBody extends $tea.Model {
|
|
508
|
+
requestId?: string;
|
|
509
|
+
static names(): {
|
|
510
|
+
[key: string]: string;
|
|
511
|
+
};
|
|
512
|
+
static types(): {
|
|
513
|
+
[key: string]: any;
|
|
514
|
+
};
|
|
515
|
+
constructor(map?: {
|
|
516
|
+
[key: string]: any;
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
export declare class ModifyDiskReplicaGroupResponse extends $tea.Model {
|
|
520
|
+
headers: {
|
|
521
|
+
[key: string]: string;
|
|
522
|
+
};
|
|
523
|
+
body: ModifyDiskReplicaGroupResponseBody;
|
|
524
|
+
static names(): {
|
|
525
|
+
[key: string]: string;
|
|
526
|
+
};
|
|
527
|
+
static types(): {
|
|
528
|
+
[key: string]: any;
|
|
529
|
+
};
|
|
530
|
+
constructor(map?: {
|
|
531
|
+
[key: string]: any;
|
|
532
|
+
});
|
|
533
|
+
}
|
|
227
534
|
export declare class ModifyDiskReplicaPairRequest extends $tea.Model {
|
|
535
|
+
bandwidth?: number;
|
|
228
536
|
clientToken?: string;
|
|
229
537
|
description?: string;
|
|
230
538
|
pairName?: string;
|
|
539
|
+
RPO?: number;
|
|
231
540
|
regionId?: string;
|
|
232
541
|
replicaPairId?: string;
|
|
233
542
|
static names(): {
|
|
@@ -267,6 +576,91 @@ export declare class ModifyDiskReplicaPairResponse extends $tea.Model {
|
|
|
267
576
|
[key: string]: any;
|
|
268
577
|
});
|
|
269
578
|
}
|
|
579
|
+
export declare class RemoveDiskReplicaPairRequest extends $tea.Model {
|
|
580
|
+
clientToken?: string;
|
|
581
|
+
regionId?: string;
|
|
582
|
+
replicaGroupId?: string;
|
|
583
|
+
replicaPairId?: string;
|
|
584
|
+
static names(): {
|
|
585
|
+
[key: string]: string;
|
|
586
|
+
};
|
|
587
|
+
static types(): {
|
|
588
|
+
[key: string]: any;
|
|
589
|
+
};
|
|
590
|
+
constructor(map?: {
|
|
591
|
+
[key: string]: any;
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
export declare class RemoveDiskReplicaPairResponseBody extends $tea.Model {
|
|
595
|
+
requestId?: string;
|
|
596
|
+
static names(): {
|
|
597
|
+
[key: string]: string;
|
|
598
|
+
};
|
|
599
|
+
static types(): {
|
|
600
|
+
[key: string]: any;
|
|
601
|
+
};
|
|
602
|
+
constructor(map?: {
|
|
603
|
+
[key: string]: any;
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
export declare class RemoveDiskReplicaPairResponse extends $tea.Model {
|
|
607
|
+
headers: {
|
|
608
|
+
[key: string]: string;
|
|
609
|
+
};
|
|
610
|
+
body: RemoveDiskReplicaPairResponseBody;
|
|
611
|
+
static names(): {
|
|
612
|
+
[key: string]: string;
|
|
613
|
+
};
|
|
614
|
+
static types(): {
|
|
615
|
+
[key: string]: any;
|
|
616
|
+
};
|
|
617
|
+
constructor(map?: {
|
|
618
|
+
[key: string]: any;
|
|
619
|
+
});
|
|
620
|
+
}
|
|
621
|
+
export declare class ReprotectDiskReplicaGroupRequest extends $tea.Model {
|
|
622
|
+
clientToken?: string;
|
|
623
|
+
regionId?: string;
|
|
624
|
+
replicaGroupId?: string;
|
|
625
|
+
sourceRegionId?: string;
|
|
626
|
+
sourceZoneId?: string;
|
|
627
|
+
static names(): {
|
|
628
|
+
[key: string]: string;
|
|
629
|
+
};
|
|
630
|
+
static types(): {
|
|
631
|
+
[key: string]: any;
|
|
632
|
+
};
|
|
633
|
+
constructor(map?: {
|
|
634
|
+
[key: string]: any;
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
export declare class ReprotectDiskReplicaGroupResponseBody extends $tea.Model {
|
|
638
|
+
requestId?: string;
|
|
639
|
+
static names(): {
|
|
640
|
+
[key: string]: string;
|
|
641
|
+
};
|
|
642
|
+
static types(): {
|
|
643
|
+
[key: string]: any;
|
|
644
|
+
};
|
|
645
|
+
constructor(map?: {
|
|
646
|
+
[key: string]: any;
|
|
647
|
+
});
|
|
648
|
+
}
|
|
649
|
+
export declare class ReprotectDiskReplicaGroupResponse extends $tea.Model {
|
|
650
|
+
headers: {
|
|
651
|
+
[key: string]: string;
|
|
652
|
+
};
|
|
653
|
+
body: ReprotectDiskReplicaGroupResponseBody;
|
|
654
|
+
static names(): {
|
|
655
|
+
[key: string]: string;
|
|
656
|
+
};
|
|
657
|
+
static types(): {
|
|
658
|
+
[key: string]: any;
|
|
659
|
+
};
|
|
660
|
+
constructor(map?: {
|
|
661
|
+
[key: string]: any;
|
|
662
|
+
});
|
|
663
|
+
}
|
|
270
664
|
export declare class ReprotectDiskReplicaPairRequest extends $tea.Model {
|
|
271
665
|
clientToken?: string;
|
|
272
666
|
regionId?: string;
|
|
@@ -308,8 +702,51 @@ export declare class ReprotectDiskReplicaPairResponse extends $tea.Model {
|
|
|
308
702
|
[key: string]: any;
|
|
309
703
|
});
|
|
310
704
|
}
|
|
705
|
+
export declare class StartDiskReplicaGroupRequest extends $tea.Model {
|
|
706
|
+
clientToken?: string;
|
|
707
|
+
oneShot?: boolean;
|
|
708
|
+
regionId?: string;
|
|
709
|
+
replicaGroupId?: string;
|
|
710
|
+
static names(): {
|
|
711
|
+
[key: string]: string;
|
|
712
|
+
};
|
|
713
|
+
static types(): {
|
|
714
|
+
[key: string]: any;
|
|
715
|
+
};
|
|
716
|
+
constructor(map?: {
|
|
717
|
+
[key: string]: any;
|
|
718
|
+
});
|
|
719
|
+
}
|
|
720
|
+
export declare class StartDiskReplicaGroupResponseBody extends $tea.Model {
|
|
721
|
+
requestId?: string;
|
|
722
|
+
static names(): {
|
|
723
|
+
[key: string]: string;
|
|
724
|
+
};
|
|
725
|
+
static types(): {
|
|
726
|
+
[key: string]: any;
|
|
727
|
+
};
|
|
728
|
+
constructor(map?: {
|
|
729
|
+
[key: string]: any;
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
export declare class StartDiskReplicaGroupResponse extends $tea.Model {
|
|
733
|
+
headers: {
|
|
734
|
+
[key: string]: string;
|
|
735
|
+
};
|
|
736
|
+
body: StartDiskReplicaGroupResponseBody;
|
|
737
|
+
static names(): {
|
|
738
|
+
[key: string]: string;
|
|
739
|
+
};
|
|
740
|
+
static types(): {
|
|
741
|
+
[key: string]: any;
|
|
742
|
+
};
|
|
743
|
+
constructor(map?: {
|
|
744
|
+
[key: string]: any;
|
|
745
|
+
});
|
|
746
|
+
}
|
|
311
747
|
export declare class StartDiskReplicaPairRequest extends $tea.Model {
|
|
312
748
|
clientToken?: string;
|
|
749
|
+
oneShot?: boolean;
|
|
313
750
|
regionId?: string;
|
|
314
751
|
replicaPairId?: string;
|
|
315
752
|
static names(): {
|
|
@@ -349,6 +786,47 @@ export declare class StartDiskReplicaPairResponse extends $tea.Model {
|
|
|
349
786
|
[key: string]: any;
|
|
350
787
|
});
|
|
351
788
|
}
|
|
789
|
+
export declare class StopDiskReplicaGroupRequest extends $tea.Model {
|
|
790
|
+
clientToken?: string;
|
|
791
|
+
regionId?: string;
|
|
792
|
+
replicaGroupId?: string;
|
|
793
|
+
static names(): {
|
|
794
|
+
[key: string]: string;
|
|
795
|
+
};
|
|
796
|
+
static types(): {
|
|
797
|
+
[key: string]: any;
|
|
798
|
+
};
|
|
799
|
+
constructor(map?: {
|
|
800
|
+
[key: string]: any;
|
|
801
|
+
});
|
|
802
|
+
}
|
|
803
|
+
export declare class StopDiskReplicaGroupResponseBody extends $tea.Model {
|
|
804
|
+
requestId?: string;
|
|
805
|
+
static names(): {
|
|
806
|
+
[key: string]: string;
|
|
807
|
+
};
|
|
808
|
+
static types(): {
|
|
809
|
+
[key: string]: any;
|
|
810
|
+
};
|
|
811
|
+
constructor(map?: {
|
|
812
|
+
[key: string]: any;
|
|
813
|
+
});
|
|
814
|
+
}
|
|
815
|
+
export declare class StopDiskReplicaGroupResponse extends $tea.Model {
|
|
816
|
+
headers: {
|
|
817
|
+
[key: string]: string;
|
|
818
|
+
};
|
|
819
|
+
body: StopDiskReplicaGroupResponseBody;
|
|
820
|
+
static names(): {
|
|
821
|
+
[key: string]: string;
|
|
822
|
+
};
|
|
823
|
+
static types(): {
|
|
824
|
+
[key: string]: any;
|
|
825
|
+
};
|
|
826
|
+
constructor(map?: {
|
|
827
|
+
[key: string]: any;
|
|
828
|
+
});
|
|
829
|
+
}
|
|
352
830
|
export declare class StopDiskReplicaPairRequest extends $tea.Model {
|
|
353
831
|
clientToken?: string;
|
|
354
832
|
regionId?: string;
|
|
@@ -390,17 +868,52 @@ export declare class StopDiskReplicaPairResponse extends $tea.Model {
|
|
|
390
868
|
[key: string]: any;
|
|
391
869
|
});
|
|
392
870
|
}
|
|
871
|
+
export declare class DescribeDiskReplicaGroupsResponseBodyReplicaGroups extends $tea.Model {
|
|
872
|
+
description?: string;
|
|
873
|
+
destinationRegionId?: string;
|
|
874
|
+
destinationZoneId?: string;
|
|
875
|
+
groupName?: string;
|
|
876
|
+
lastRecoverPoint?: number;
|
|
877
|
+
pairIds?: Buffer[];
|
|
878
|
+
pairNumber?: number;
|
|
879
|
+
RPO?: number;
|
|
880
|
+
replicaGroupId?: string;
|
|
881
|
+
site?: string;
|
|
882
|
+
sourceRegionId?: string;
|
|
883
|
+
sourceZoneId?: string;
|
|
884
|
+
status?: string;
|
|
885
|
+
static names(): {
|
|
886
|
+
[key: string]: string;
|
|
887
|
+
};
|
|
888
|
+
static types(): {
|
|
889
|
+
[key: string]: any;
|
|
890
|
+
};
|
|
891
|
+
constructor(map?: {
|
|
892
|
+
[key: string]: any;
|
|
893
|
+
});
|
|
894
|
+
}
|
|
393
895
|
export declare class DescribeDiskReplicaPairsResponseBodyReplicaPairs extends $tea.Model {
|
|
394
|
-
asyncCycle?: number;
|
|
395
896
|
bandwidth?: number;
|
|
897
|
+
chargeType?: string;
|
|
898
|
+
createTime?: number;
|
|
396
899
|
description?: string;
|
|
397
900
|
destinationDiskId?: string;
|
|
398
901
|
destinationRegion?: string;
|
|
399
|
-
|
|
902
|
+
destinationZoneId?: string;
|
|
903
|
+
lastRecoverPoint?: number;
|
|
400
904
|
pairName?: string;
|
|
905
|
+
primaryRegion?: string;
|
|
906
|
+
primaryZone?: string;
|
|
907
|
+
RPO?: number;
|
|
908
|
+
replicaGroupId?: string;
|
|
909
|
+
replicaGroupName?: string;
|
|
401
910
|
replicaPairId?: string;
|
|
911
|
+
site?: string;
|
|
402
912
|
sourceDiskId?: string;
|
|
403
913
|
sourceRegion?: string;
|
|
914
|
+
sourceZoneId?: string;
|
|
915
|
+
standbyRegion?: string;
|
|
916
|
+
standbyZone?: string;
|
|
404
917
|
status?: string;
|
|
405
918
|
statusMessage?: string;
|
|
406
919
|
static names(): {
|
|
@@ -446,22 +959,44 @@ export default class Client extends OpenApi {
|
|
|
446
959
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
447
960
|
[key: string]: string;
|
|
448
961
|
}, endpoint: string): string;
|
|
962
|
+
addDiskReplicaPairWithOptions(request: AddDiskReplicaPairRequest, runtime: $Util.RuntimeOptions): Promise<AddDiskReplicaPairResponse>;
|
|
963
|
+
addDiskReplicaPair(request: AddDiskReplicaPairRequest): Promise<AddDiskReplicaPairResponse>;
|
|
964
|
+
createDiskReplicaGroupWithOptions(request: CreateDiskReplicaGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateDiskReplicaGroupResponse>;
|
|
965
|
+
createDiskReplicaGroup(request: CreateDiskReplicaGroupRequest): Promise<CreateDiskReplicaGroupResponse>;
|
|
449
966
|
createDiskReplicaPairWithOptions(request: CreateDiskReplicaPairRequest, runtime: $Util.RuntimeOptions): Promise<CreateDiskReplicaPairResponse>;
|
|
450
967
|
createDiskReplicaPair(request: CreateDiskReplicaPairRequest): Promise<CreateDiskReplicaPairResponse>;
|
|
968
|
+
deleteDiskReplicaGroupWithOptions(request: DeleteDiskReplicaGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDiskReplicaGroupResponse>;
|
|
969
|
+
deleteDiskReplicaGroup(request: DeleteDiskReplicaGroupRequest): Promise<DeleteDiskReplicaGroupResponse>;
|
|
451
970
|
deleteDiskReplicaPairWithOptions(request: DeleteDiskReplicaPairRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDiskReplicaPairResponse>;
|
|
452
971
|
deleteDiskReplicaPair(request: DeleteDiskReplicaPairRequest): Promise<DeleteDiskReplicaPairResponse>;
|
|
972
|
+
describeDiskReplicaGroupsWithOptions(request: DescribeDiskReplicaGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDiskReplicaGroupsResponse>;
|
|
973
|
+
describeDiskReplicaGroups(request: DescribeDiskReplicaGroupsRequest): Promise<DescribeDiskReplicaGroupsResponse>;
|
|
974
|
+
describeDiskReplicaPairProgressWithOptions(request: DescribeDiskReplicaPairProgressRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDiskReplicaPairProgressResponse>;
|
|
975
|
+
describeDiskReplicaPairProgress(request: DescribeDiskReplicaPairProgressRequest): Promise<DescribeDiskReplicaPairProgressResponse>;
|
|
453
976
|
describeDiskReplicaPairsWithOptions(request: DescribeDiskReplicaPairsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDiskReplicaPairsResponse>;
|
|
454
977
|
describeDiskReplicaPairs(request: DescribeDiskReplicaPairsRequest): Promise<DescribeDiskReplicaPairsResponse>;
|
|
455
978
|
describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse>;
|
|
456
979
|
describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse>;
|
|
980
|
+
failoverDiskReplicaGroupWithOptions(request: FailoverDiskReplicaGroupRequest, runtime: $Util.RuntimeOptions): Promise<FailoverDiskReplicaGroupResponse>;
|
|
981
|
+
failoverDiskReplicaGroup(request: FailoverDiskReplicaGroupRequest): Promise<FailoverDiskReplicaGroupResponse>;
|
|
457
982
|
failoverDiskReplicaPairWithOptions(request: FailoverDiskReplicaPairRequest, runtime: $Util.RuntimeOptions): Promise<FailoverDiskReplicaPairResponse>;
|
|
458
983
|
failoverDiskReplicaPair(request: FailoverDiskReplicaPairRequest): Promise<FailoverDiskReplicaPairResponse>;
|
|
984
|
+
modifyDiskReplicaGroupWithOptions(request: ModifyDiskReplicaGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDiskReplicaGroupResponse>;
|
|
985
|
+
modifyDiskReplicaGroup(request: ModifyDiskReplicaGroupRequest): Promise<ModifyDiskReplicaGroupResponse>;
|
|
459
986
|
modifyDiskReplicaPairWithOptions(request: ModifyDiskReplicaPairRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDiskReplicaPairResponse>;
|
|
460
987
|
modifyDiskReplicaPair(request: ModifyDiskReplicaPairRequest): Promise<ModifyDiskReplicaPairResponse>;
|
|
988
|
+
removeDiskReplicaPairWithOptions(request: RemoveDiskReplicaPairRequest, runtime: $Util.RuntimeOptions): Promise<RemoveDiskReplicaPairResponse>;
|
|
989
|
+
removeDiskReplicaPair(request: RemoveDiskReplicaPairRequest): Promise<RemoveDiskReplicaPairResponse>;
|
|
990
|
+
reprotectDiskReplicaGroupWithOptions(request: ReprotectDiskReplicaGroupRequest, runtime: $Util.RuntimeOptions): Promise<ReprotectDiskReplicaGroupResponse>;
|
|
991
|
+
reprotectDiskReplicaGroup(request: ReprotectDiskReplicaGroupRequest): Promise<ReprotectDiskReplicaGroupResponse>;
|
|
461
992
|
reprotectDiskReplicaPairWithOptions(request: ReprotectDiskReplicaPairRequest, runtime: $Util.RuntimeOptions): Promise<ReprotectDiskReplicaPairResponse>;
|
|
462
993
|
reprotectDiskReplicaPair(request: ReprotectDiskReplicaPairRequest): Promise<ReprotectDiskReplicaPairResponse>;
|
|
994
|
+
startDiskReplicaGroupWithOptions(request: StartDiskReplicaGroupRequest, runtime: $Util.RuntimeOptions): Promise<StartDiskReplicaGroupResponse>;
|
|
995
|
+
startDiskReplicaGroup(request: StartDiskReplicaGroupRequest): Promise<StartDiskReplicaGroupResponse>;
|
|
463
996
|
startDiskReplicaPairWithOptions(request: StartDiskReplicaPairRequest, runtime: $Util.RuntimeOptions): Promise<StartDiskReplicaPairResponse>;
|
|
464
997
|
startDiskReplicaPair(request: StartDiskReplicaPairRequest): Promise<StartDiskReplicaPairResponse>;
|
|
998
|
+
stopDiskReplicaGroupWithOptions(request: StopDiskReplicaGroupRequest, runtime: $Util.RuntimeOptions): Promise<StopDiskReplicaGroupResponse>;
|
|
999
|
+
stopDiskReplicaGroup(request: StopDiskReplicaGroupRequest): Promise<StopDiskReplicaGroupResponse>;
|
|
465
1000
|
stopDiskReplicaPairWithOptions(request: StopDiskReplicaPairRequest, runtime: $Util.RuntimeOptions): Promise<StopDiskReplicaPairResponse>;
|
|
466
1001
|
stopDiskReplicaPair(request: StopDiskReplicaPairRequest): Promise<StopDiskReplicaPairResponse>;
|
|
467
1002
|
}
|