@huaweicloud/huaweicloud-sdk-cbr 3.1.38 → 3.1.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. package/package.json +2 -2
  2. package/v1/CbrClient.d.ts +433 -0
  3. package/v1/CbrClient.js +872 -18
  4. package/v1/CbrRegion.d.ts +1 -0
  5. package/v1/CbrRegion.js +3 -1
  6. package/v1/model/BackupUpdate.d.ts +5 -0
  7. package/v1/model/BackupUpdate.js +13 -0
  8. package/v1/model/BackupUpdateReq.d.ts +6 -0
  9. package/v1/model/BackupUpdateReq.js +13 -0
  10. package/v1/model/BatchUpdateVaultRequest.d.ts +6 -0
  11. package/v1/model/BatchUpdateVaultRequest.js +13 -0
  12. package/v1/model/BatchUpdateVaultRequestBody.d.ts +6 -0
  13. package/v1/model/BatchUpdateVaultRequestBody.js +14 -0
  14. package/v1/model/BatchUpdateVaultResponse.d.ts +8 -0
  15. package/v1/model/BatchUpdateVaultResponse.js +41 -0
  16. package/v1/model/CbcProductInfoUpdate.d.ts +11 -0
  17. package/v1/model/CbcProductInfoUpdate.js +28 -0
  18. package/v1/model/CbcUpdate.d.ts +14 -0
  19. package/v1/model/CbcUpdate.js +37 -0
  20. package/v1/model/CheckAgentRequest.d.ts +6 -0
  21. package/v1/model/CheckAgentRequest.js +13 -0
  22. package/v1/model/CheckAgentResponse.d.ts +9 -0
  23. package/v1/model/CheckAgentResponse.js +41 -0
  24. package/v1/model/CombinedOrder.d.ts +15 -0
  25. package/v1/model/CombinedOrder.js +51 -0
  26. package/v1/model/CreatePostPaidVaultRequest.d.ts +6 -0
  27. package/v1/model/CreatePostPaidVaultRequest.js +13 -0
  28. package/v1/model/CreatePostPaidVaultResponse.d.ts +15 -0
  29. package/v1/model/CreatePostPaidVaultResponse.js +53 -0
  30. package/v1/model/DomainMigrate.d.ts +9 -0
  31. package/v1/model/DomainMigrate.js +29 -0
  32. package/v1/model/DomainMigrateProjectStatus.d.ts +36 -0
  33. package/v1/model/DomainMigrateProjectStatus.js +100 -0
  34. package/v1/model/DomainProjectsInfo.d.ts +11 -0
  35. package/v1/model/DomainProjectsInfo.js +39 -0
  36. package/v1/model/ImportCheckpointRequest.d.ts +6 -0
  37. package/v1/model/ImportCheckpointRequest.js +13 -0
  38. package/v1/model/ImportCheckpointResponse.d.ts +7 -0
  39. package/v1/model/ImportCheckpointResponse.js +31 -0
  40. package/v1/model/ListDomainProjectsRequest.d.ts +7 -0
  41. package/v1/model/ListDomainProjectsRequest.js +24 -0
  42. package/v1/model/ListDomainProjectsResponse.d.ts +7 -0
  43. package/v1/model/ListDomainProjectsResponse.js +31 -0
  44. package/v1/model/ListExternalVaultRequest.d.ts +38 -0
  45. package/v1/model/ListExternalVaultRequest.js +111 -0
  46. package/v1/model/ListExternalVaultResponse.d.ts +13 -0
  47. package/v1/model/ListExternalVaultResponse.js +43 -0
  48. package/v1/model/ListProjectsRequest.d.ts +3 -0
  49. package/v1/model/ListProjectsRequest.js +9 -0
  50. package/v1/model/ListProjectsResponse.d.ts +10 -0
  51. package/v1/model/ListProjectsResponse.js +35 -0
  52. package/v1/model/MigrateDomainRequest.d.ts +6 -0
  53. package/v1/model/MigrateDomainRequest.js +13 -0
  54. package/v1/model/MigrateDomainResponse.d.ts +10 -0
  55. package/v1/model/MigrateDomainResponse.js +31 -0
  56. package/v1/model/ProjectsListInfo.d.ts +26 -0
  57. package/v1/model/ProjectsListInfo.js +71 -0
  58. package/v1/model/ProtectableAgentReq.d.ts +8 -0
  59. package/v1/model/ProtectableAgentReq.js +24 -0
  60. package/v1/model/ProtectableAgentStatus.d.ts +19 -0
  61. package/v1/model/ProtectableAgentStatus.js +53 -0
  62. package/v1/model/ProtectableAgentStatusResource.d.ts +15 -0
  63. package/v1/model/ProtectableAgentStatusResource.js +53 -0
  64. package/v1/model/SelfLinksInfo.d.ts +5 -0
  65. package/v1/model/SelfLinksInfo.js +13 -0
  66. package/v1/model/SetVaultResourceRequest.d.ts +10 -0
  67. package/v1/model/SetVaultResourceRequest.js +28 -0
  68. package/v1/model/SetVaultResourceResponse.d.ts +8 -0
  69. package/v1/model/SetVaultResourceResponse.js +41 -0
  70. package/v1/model/ShowDomainRequest.d.ts +7 -0
  71. package/v1/model/ShowDomainRequest.js +24 -0
  72. package/v1/model/ShowDomainResponse.d.ts +20 -0
  73. package/v1/model/ShowDomainResponse.js +83 -0
  74. package/v1/model/ShowMetadataRequest.d.ts +7 -0
  75. package/v1/model/ShowMetadataRequest.js +24 -0
  76. package/v1/model/ShowMetadataResponse.d.ts +24 -0
  77. package/v1/model/ShowMetadataResponse.js +79 -0
  78. package/v1/model/ShowMigrateStatusRequest.d.ts +7 -0
  79. package/v1/model/ShowMigrateStatusRequest.js +23 -0
  80. package/v1/model/ShowMigrateStatusResponse.d.ts +20 -0
  81. package/v1/model/ShowMigrateStatusResponse.js +55 -0
  82. package/v1/model/ShowStorageUsageRequest.d.ts +23 -0
  83. package/v1/model/ShowStorageUsageRequest.js +54 -0
  84. package/v1/model/ShowStorageUsageResponse.d.ts +13 -0
  85. package/v1/model/ShowStorageUsageResponse.js +55 -0
  86. package/v1/model/ShowSummaryRequest.d.ts +3 -0
  87. package/v1/model/ShowSummaryRequest.js +9 -0
  88. package/v1/model/ShowSummaryResponse.d.ts +10 -0
  89. package/v1/model/ShowSummaryResponse.js +45 -0
  90. package/v1/model/StorageUsage.d.ts +27 -0
  91. package/v1/model/StorageUsage.js +96 -0
  92. package/v1/model/SyncParam.d.ts +11 -0
  93. package/v1/model/SyncParam.js +39 -0
  94. package/v1/model/SyncReq.d.ts +6 -0
  95. package/v1/model/SyncReq.js +14 -0
  96. package/v1/model/SyncRespBody.d.ts +11 -0
  97. package/v1/model/SyncRespBody.js +39 -0
  98. package/v1/model/UpdateBackupRequest.d.ts +10 -0
  99. package/v1/model/UpdateBackupRequest.js +28 -0
  100. package/v1/model/UpdateBackupResponse.d.ts +7 -0
  101. package/v1/model/UpdateBackupResponse.js +31 -0
  102. package/v1/model/UpdateOrderRequest.d.ts +10 -0
  103. package/v1/model/UpdateOrderRequest.js +28 -0
  104. package/v1/model/UpdateOrderResponse.d.ts +10 -0
  105. package/v1/model/UpdateOrderResponse.js +39 -0
  106. package/v1/model/VaultBatchUpdate.d.ts +9 -0
  107. package/v1/model/VaultBatchUpdate.js +27 -0
  108. package/v1/model/VaultCreate.d.ts +14 -0
  109. package/v1/model/VaultCreate.js +46 -0
  110. package/v1/model/VaultCreateParameters.d.ts +8 -0
  111. package/v1/model/VaultCreateParameters.js +23 -0
  112. package/v1/model/VaultCreateResource.d.ts +14 -0
  113. package/v1/model/VaultCreateResource.js +46 -0
  114. package/v1/model/VaultOrder.d.ts +46 -0
  115. package/v1/model/VaultOrder.js +123 -0
  116. package/v1/model/VaultOrderCreateReqs.d.ts +6 -0
  117. package/v1/model/VaultOrderCreateReqs.js +14 -0
  118. package/v1/model/VaultSetResourceReq.d.ts +17 -0
  119. package/v1/model/VaultSetResourceReq.js +38 -0
  120. package/v1/public-api.d.ts +55 -0
  121. package/v1/public-api.js +55 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-cbr",
3
- "version": "3.1.38",
3
+ "version": "3.1.40",
4
4
  "description": "Huaweicloud SDK for cbr",
5
5
  "main": "huaweicloud-sdk-cbr.js",
6
6
  "typings": "huaweicloud-sdk-cbr.d.ts",
@@ -14,6 +14,6 @@
14
14
  "author": "HuaweiCloud_SDK",
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
- "@huaweicloud/huaweicloud-sdk-core": "^3.1.38"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.1.40"
18
18
  }
19
19
  }
package/v1/CbrClient.d.ts CHANGED
@@ -10,6 +10,10 @@ import { AssociateVaultPolicyRequest } from './model/AssociateVaultPolicyRequest
10
10
  import { AssociateVaultPolicyResponse } from './model/AssociateVaultPolicyResponse';
11
11
  import { BatchCreateAndDeleteVaultTagsRequest } from './model/BatchCreateAndDeleteVaultTagsRequest';
12
12
  import { BatchCreateAndDeleteVaultTagsResponse } from './model/BatchCreateAndDeleteVaultTagsResponse';
13
+ import { BatchUpdateVaultRequest } from './model/BatchUpdateVaultRequest';
14
+ import { BatchUpdateVaultResponse } from './model/BatchUpdateVaultResponse';
15
+ import { CheckAgentRequest } from './model/CheckAgentRequest';
16
+ import { CheckAgentResponse } from './model/CheckAgentResponse';
13
17
  import { CopyBackupRequest } from './model/CopyBackupRequest';
14
18
  import { CopyBackupResponse } from './model/CopyBackupResponse';
15
19
  import { CopyCheckpointRequest } from './model/CopyCheckpointRequest';
@@ -18,6 +22,8 @@ import { CreateCheckpointRequest } from './model/CreateCheckpointRequest';
18
22
  import { CreateCheckpointResponse } from './model/CreateCheckpointResponse';
19
23
  import { CreatePolicyRequest } from './model/CreatePolicyRequest';
20
24
  import { CreatePolicyResponse } from './model/CreatePolicyResponse';
25
+ import { CreatePostPaidVaultRequest } from './model/CreatePostPaidVaultRequest';
26
+ import { CreatePostPaidVaultResponse } from './model/CreatePostPaidVaultResponse';
21
27
  import { CreateVaultRequest } from './model/CreateVaultRequest';
22
28
  import { CreateVaultResponse } from './model/CreateVaultResponse';
23
29
  import { CreateVaultTagsRequest } from './model/CreateVaultTagsRequest';
@@ -36,18 +42,27 @@ import { DisassociateVaultPolicyRequest } from './model/DisassociateVaultPolicyR
36
42
  import { DisassociateVaultPolicyResponse } from './model/DisassociateVaultPolicyResponse';
37
43
  import { ImportBackupRequest } from './model/ImportBackupRequest';
38
44
  import { ImportBackupResponse } from './model/ImportBackupResponse';
45
+ import { ImportCheckpointRequest } from './model/ImportCheckpointRequest';
46
+ import { ImportCheckpointResponse } from './model/ImportCheckpointResponse';
39
47
  import { ListAgentRequest } from './model/ListAgentRequest';
40
48
  import { ListAgentResponse } from './model/ListAgentResponse';
41
49
  import { ListBackupsRequest } from './model/ListBackupsRequest';
42
50
  import { ListBackupsResponse } from './model/ListBackupsResponse';
51
+ import { ListDomainProjectsRequest } from './model/ListDomainProjectsRequest';
52
+ import { ListDomainProjectsResponse } from './model/ListDomainProjectsResponse';
53
+ import { ListExternalVaultRequest } from './model/ListExternalVaultRequest';
54
+ import { ListExternalVaultResponse } from './model/ListExternalVaultResponse';
43
55
  import { ListOpLogsRequest } from './model/ListOpLogsRequest';
44
56
  import { ListOpLogsResponse } from './model/ListOpLogsResponse';
45
57
  import { ListPoliciesRequest } from './model/ListPoliciesRequest';
46
58
  import { ListPoliciesResponse } from './model/ListPoliciesResponse';
59
+ import { ListProjectsResponse } from './model/ListProjectsResponse';
47
60
  import { ListProtectableRequest } from './model/ListProtectableRequest';
48
61
  import { ListProtectableResponse } from './model/ListProtectableResponse';
49
62
  import { ListVaultRequest } from './model/ListVaultRequest';
50
63
  import { ListVaultResponse } from './model/ListVaultResponse';
64
+ import { MigrateDomainRequest } from './model/MigrateDomainRequest';
65
+ import { MigrateDomainResponse } from './model/MigrateDomainResponse';
51
66
  import { MigrateVaultResourceRequest } from './model/MigrateVaultResourceRequest';
52
67
  import { MigrateVaultResourceResponse } from './model/MigrateVaultResourceResponse';
53
68
  import { RegisterAgentRequest } from './model/RegisterAgentRequest';
@@ -58,16 +73,24 @@ import { RemoveVaultResourceRequest } from './model/RemoveVaultResourceRequest';
58
73
  import { RemoveVaultResourceResponse } from './model/RemoveVaultResourceResponse';
59
74
  import { RestoreBackupRequest } from './model/RestoreBackupRequest';
60
75
  import { RestoreBackupResponse } from './model/RestoreBackupResponse';
76
+ import { SetVaultResourceRequest } from './model/SetVaultResourceRequest';
77
+ import { SetVaultResourceResponse } from './model/SetVaultResourceResponse';
61
78
  import { ShowAgentRequest } from './model/ShowAgentRequest';
62
79
  import { ShowAgentResponse } from './model/ShowAgentResponse';
63
80
  import { ShowBackupRequest } from './model/ShowBackupRequest';
64
81
  import { ShowBackupResponse } from './model/ShowBackupResponse';
65
82
  import { ShowCheckpointRequest } from './model/ShowCheckpointRequest';
66
83
  import { ShowCheckpointResponse } from './model/ShowCheckpointResponse';
84
+ import { ShowDomainRequest } from './model/ShowDomainRequest';
85
+ import { ShowDomainResponse } from './model/ShowDomainResponse';
67
86
  import { ShowMemberDetailRequest } from './model/ShowMemberDetailRequest';
68
87
  import { ShowMemberDetailResponse } from './model/ShowMemberDetailResponse';
69
88
  import { ShowMembersDetailRequest } from './model/ShowMembersDetailRequest';
70
89
  import { ShowMembersDetailResponse } from './model/ShowMembersDetailResponse';
90
+ import { ShowMetadataRequest } from './model/ShowMetadataRequest';
91
+ import { ShowMetadataResponse } from './model/ShowMetadataResponse';
92
+ import { ShowMigrateStatusRequest } from './model/ShowMigrateStatusRequest';
93
+ import { ShowMigrateStatusResponse } from './model/ShowMigrateStatusResponse';
71
94
  import { ShowOpLogRequest } from './model/ShowOpLogRequest';
72
95
  import { ShowOpLogResponse } from './model/ShowOpLogResponse';
73
96
  import { ShowPolicyRequest } from './model/ShowPolicyRequest';
@@ -75,6 +98,9 @@ import { ShowPolicyResponse } from './model/ShowPolicyResponse';
75
98
  import { ShowProtectableRequest } from './model/ShowProtectableRequest';
76
99
  import { ShowProtectableResponse } from './model/ShowProtectableResponse';
77
100
  import { ShowReplicationCapabilitiesResponse } from './model/ShowReplicationCapabilitiesResponse';
101
+ import { ShowStorageUsageRequest } from './model/ShowStorageUsageRequest';
102
+ import { ShowStorageUsageResponse } from './model/ShowStorageUsageResponse';
103
+ import { ShowSummaryResponse } from './model/ShowSummaryResponse';
78
104
  import { ShowVaultProjectTagResponse } from './model/ShowVaultProjectTagResponse';
79
105
  import { ShowVaultRequest } from './model/ShowVaultRequest';
80
106
  import { ShowVaultResourceInstancesRequest } from './model/ShowVaultResourceInstancesRequest';
@@ -86,8 +112,12 @@ import { UnregisterAgentRequest } from './model/UnregisterAgentRequest';
86
112
  import { UnregisterAgentResponse } from './model/UnregisterAgentResponse';
87
113
  import { UpdateAgentRequest } from './model/UpdateAgentRequest';
88
114
  import { UpdateAgentResponse } from './model/UpdateAgentResponse';
115
+ import { UpdateBackupRequest } from './model/UpdateBackupRequest';
116
+ import { UpdateBackupResponse } from './model/UpdateBackupResponse';
89
117
  import { UpdateMemberStatusRequest } from './model/UpdateMemberStatusRequest';
90
118
  import { UpdateMemberStatusResponse } from './model/UpdateMemberStatusResponse';
119
+ import { UpdateOrderRequest } from './model/UpdateOrderRequest';
120
+ import { UpdateOrderResponse } from './model/UpdateOrderResponse';
91
121
  import { UpdatePolicyRequest } from './model/UpdatePolicyRequest';
92
122
  import { UpdatePolicyResponse } from './model/UpdatePolicyResponse';
93
123
  import { UpdateVaultRequest } from './model/UpdateVaultRequest';
@@ -164,6 +194,28 @@ export declare class CbrClient {
164
194
  * @throws {RequiredError}
165
195
  */
166
196
  batchCreateAndDeleteVaultTags(batchCreateAndDeleteVaultTagsRequest?: BatchCreateAndDeleteVaultTagsRequest): Promise<BatchCreateAndDeleteVaultTagsResponse>;
197
+ /**
198
+ * 批量修改项目下所有存储库
199
+ *
200
+ * Please refer to HUAWEI cloud API Explorer for details.
201
+ *
202
+ * @summary 批量修改存储库
203
+ * @param {BatchUpdateVaultRequestBody} updateVaultRequestBody 存储批量修改参数
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ batchUpdateVault(batchUpdateVaultRequest?: BatchUpdateVaultRequest): Promise<BatchUpdateVaultResponse>;
208
+ /**
209
+ * 检查应用一致性Agent状态
210
+ *
211
+ * Please refer to HUAWEI cloud API Explorer for details.
212
+ *
213
+ * @summary 查询agent状态
214
+ * @param {ProtectableAgentReq} checkAgentRequestBody Agent状态检查参数
215
+ * @param {*} [options] Override http request option.
216
+ * @throws {RequiredError}
217
+ */
218
+ checkAgent(checkAgentRequest?: CheckAgentRequest): Promise<CheckAgentResponse>;
167
219
  /**
168
220
  * 跨区域复制备份。
169
221
  *
@@ -209,6 +261,17 @@ export declare class CbrClient {
209
261
  * @throws {RequiredError}
210
262
  */
211
263
  createPolicy(createPolicyRequest?: CreatePolicyRequest): Promise<CreatePolicyResponse>;
264
+ /**
265
+ * 创建包周期存储库
266
+ *
267
+ * Please refer to HUAWEI cloud API Explorer for details.
268
+ *
269
+ * @summary 创建包周期存储库
270
+ * @param {VaultOrderCreateReqs} createPostPaidVaultRequestBody 请求体
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ */
274
+ createPostPaidVault(createPostPaidVaultRequest?: CreatePostPaidVaultRequest): Promise<CreatePostPaidVaultResponse>;
212
275
  /**
213
276
  * 创建存储库
214
277
  *
@@ -313,6 +376,17 @@ export declare class CbrClient {
313
376
  * @throws {RequiredError}
314
377
  */
315
378
  importBackup(importBackupRequest?: ImportBackupRequest): Promise<ImportBackupResponse>;
379
+ /**
380
+ * 针对vault同步备份副本
381
+ *
382
+ * Please refer to HUAWEI cloud API Explorer for details.
383
+ *
384
+ * @summary 同步备份还原点
385
+ * @param {SyncReq} importCheckpointRequestBody This is a auto create Body Object
386
+ * @param {*} [options] Override http request option.
387
+ * @throws {RequiredError}
388
+ */
389
+ importCheckpoint(importCheckpointRequest?: ImportCheckpointRequest): Promise<ImportCheckpointResponse>;
316
390
  /**
317
391
  * 查询客户端列表
318
392
  *
@@ -360,6 +434,35 @@ export declare class CbrClient {
360
434
  * @throws {RequiredError}
361
435
  */
362
436
  listBackups(listBackupsRequest?: ListBackupsRequest): Promise<ListBackupsResponse>;
437
+ /**
438
+ * 根据指定租户名称查询项目列表。
439
+ *
440
+ * Please refer to HUAWEI cloud API Explorer for details.
441
+ *
442
+ * @summary 查询租户项目列表
443
+ * @param {string} domainName 租户名称
444
+ * @param {*} [options] Override http request option.
445
+ * @throws {RequiredError}
446
+ */
447
+ listDomainProjects(listDomainProjectsRequest?: ListDomainProjectsRequest): Promise<ListDomainProjectsResponse>;
448
+ /**
449
+ * 查询其他区域的存储库列表
450
+ *
451
+ * Please refer to HUAWEI cloud API Explorer for details.
452
+ *
453
+ * @summary 查询其他区域存储库列表
454
+ * @param {string} externalProjectId 其他区域的项目ID
455
+ * @param {string} regionId 区域ID
456
+ * @param {number} [limit] 每页显示条目数
457
+ * @param {number} [offset] 偏移值
458
+ * @param {'backup;replication;hybrid'} [protectType] [保护类型。取值为backup,replication和hybrid。](tag:hws,hws_hk) [保护类型。取值为backup和replication。](tag:ocb) [保护类型。取值为backup。](tag:g42,hk-g42,sbc,dt,fcs_vm,ctc,tm,tlf,cmcc,hcso_dt)
459
+ * @param {string} [objcetType] 资源类型
460
+ * @param {string} [cloudType] [云类型。取值为public和hybrid。](tag:hws,hws_hk) [云类型。取值为public。](tag:g42,hk-g42,sbc,dt,fcs_vm,ctc,ocb,tm,tlf,cmcc,hcso_dt)
461
+ * @param {string} [vaultId] 存储库ID,指定存储ID时其他过滤条件不生效。
462
+ * @param {*} [options] Override http request option.
463
+ * @throws {RequiredError}
464
+ */
465
+ listExternalVault(listExternalVaultRequest?: ListExternalVaultRequest): Promise<ListExternalVaultResponse>;
363
466
  /**
364
467
  * 查询任务列表
365
468
  *
@@ -394,6 +497,16 @@ export declare class CbrClient {
394
497
  * @throws {RequiredError}
395
498
  */
396
499
  listPolicies(listPoliciesRequest?: ListPoliciesRequest): Promise<ListPoliciesResponse>;
500
+ /**
501
+ * 查询租户的企业项目信息
502
+ *
503
+ * Please refer to HUAWEI cloud API Explorer for details.
504
+ *
505
+ * @summary 查询租户的项目信息
506
+ * @param {*} [options] Override http request option.
507
+ * @throws {RequiredError}
508
+ */
509
+ listProjects(): Promise<ListProjectsResponse>;
397
510
  /**
398
511
  * 查询可保护性资源列表
399
512
  *
@@ -433,6 +546,17 @@ export declare class CbrClient {
433
546
  * @throws {RequiredError}
434
547
  */
435
548
  listVault(listVaultRequest?: ListVaultRequest): Promise<ListVaultResponse>;
549
+ /**
550
+ * 将CSBS/VBS资源迁移到CBR。
551
+ *
552
+ * Please refer to HUAWEI cloud API Explorer for details.
553
+ *
554
+ * @summary 租户迁移
555
+ * @param {DomainMigrate} migrateDomainRequestBody 迁移参数
556
+ * @param {*} [options] Override http request option.
557
+ * @throws {RequiredError}
558
+ */
559
+ migrateDomain(migrateDomainRequest?: MigrateDomainRequest): Promise<MigrateDomainResponse>;
436
560
  /**
437
561
  * 支持资源迁移到另一个存储库,不删除备份。
438
562
  *
@@ -492,6 +616,18 @@ export declare class CbrClient {
492
616
  * @throws {RequiredError}
493
617
  */
494
618
  restoreBackup(restoreBackupRequest?: RestoreBackupRequest): Promise<RestoreBackupResponse>;
619
+ /**
620
+ * 设置存储库资源是否自动备份
621
+ *
622
+ * Please refer to HUAWEI cloud API Explorer for details.
623
+ *
624
+ * @summary 设置存储库资源
625
+ * @param {string} vaultId 存储库id
626
+ * @param {VaultSetResourceReq} vaultSetResourceBody 存储库设置资源请求body
627
+ * @param {*} [options] Override http request option.
628
+ * @throws {RequiredError}
629
+ */
630
+ setVaultResource(setVaultResourceRequest?: SetVaultResourceRequest): Promise<SetVaultResourceResponse>;
495
631
  /**
496
632
  * 查询指定客户端
497
633
  *
@@ -525,6 +661,17 @@ export declare class CbrClient {
525
661
  * @throws {RequiredError}
526
662
  */
527
663
  showCheckpoint(showCheckpointRequest?: ShowCheckpointRequest): Promise<ShowCheckpointResponse>;
664
+ /**
665
+ * 由控制台调用的内部接口,用于仅在查询共享备份时获取源project_id的域名信息。
666
+ *
667
+ * Please refer to HUAWEI cloud API Explorer for details.
668
+ *
669
+ * @summary 查询租户信息
670
+ * @param {string} sourceProjectId 源项目ID
671
+ * @param {*} [options] Override http request option.
672
+ * @throws {RequiredError}
673
+ */
674
+ showDomain(showDomainRequest?: ShowDomainRequest): Promise<ShowDomainResponse>;
528
675
  /**
529
676
  * 获取备份成员的详情
530
677
  *
@@ -556,6 +703,28 @@ export declare class CbrClient {
556
703
  * @throws {RequiredError}
557
704
  */
558
705
  showMembersDetail(showMembersDetailRequest?: ShowMembersDetailRequest): Promise<ShowMembersDetailResponse>;
706
+ /**
707
+ * 查询备份时资源的元数据
708
+ *
709
+ * Please refer to HUAWEI cloud API Explorer for details.
710
+ *
711
+ * @summary 查询备份元数据
712
+ * @param {string} backupId 备份ID
713
+ * @param {*} [options] Override http request option.
714
+ * @throws {RequiredError}
715
+ */
716
+ showMetadata(showMetadataRequest?: ShowMetadataRequest): Promise<ShowMetadataResponse>;
717
+ /**
718
+ * 查询迁移结果
719
+ *
720
+ * Please refer to HUAWEI cloud API Explorer for details.
721
+ *
722
+ * @summary 查询迁移
723
+ * @param {boolean} [allRegions] 是否查询其他区域结果
724
+ * @param {*} [options] Override http request option.
725
+ * @throws {RequiredError}
726
+ */
727
+ showMigrateStatus(showMigrateStatusRequest?: ShowMigrateStatusRequest): Promise<ShowMigrateStatusResponse>;
559
728
  /**
560
729
  * 根据指定任务ID查询任务
561
730
  *
@@ -600,6 +769,30 @@ export declare class CbrClient {
600
769
  * @throws {RequiredError}
601
770
  */
602
771
  showReplicationCapabilities(): Promise<ShowReplicationCapabilitiesResponse>;
772
+ /**
773
+ * 查询容量统计
774
+ *
775
+ * Please refer to HUAWEI cloud API Explorer for details.
776
+ *
777
+ * @summary 查询容量统计
778
+ * @param {number} [limit] 查询条数
779
+ * @param {number} [offset] 偏移值
780
+ * @param {string} [resourceId] 支持按照备份对象ID过滤
781
+ * @param {'OS::Nova::Server' | 'OS::Ironic::BareMetalServer'} [resourceType] 支持按照备份对象类型过滤
782
+ * @param {*} [options] Override http request option.
783
+ * @throws {RequiredError}
784
+ */
785
+ showStorageUsage(showStorageUsageRequest?: ShowStorageUsageRequest): Promise<ShowStorageUsageResponse>;
786
+ /**
787
+ * 查询项目下所有存储库的总容量和总使用量
788
+ *
789
+ * Please refer to HUAWEI cloud API Explorer for details.
790
+ *
791
+ * @summary 存储库容量总览
792
+ * @param {*} [options] Override http request option.
793
+ * @throws {RequiredError}
794
+ */
795
+ showSummary(): Promise<ShowSummaryResponse>;
603
796
  /**
604
797
  * 根据ID查询指定存储库
605
798
  *
@@ -669,6 +862,18 @@ export declare class CbrClient {
669
862
  * @throws {RequiredError}
670
863
  */
671
864
  updateAgent(updateAgentRequest?: UpdateAgentRequest): Promise<UpdateAgentResponse>;
865
+ /**
866
+ * 根据备份id更改备份
867
+ *
868
+ * Please refer to HUAWEI cloud API Explorer for details.
869
+ *
870
+ * @summary 更新备份
871
+ * @param {string} backupId 备份ID
872
+ * @param {BackupUpdateReq} [backupUpdateRequestBody] 备份修改参数
873
+ * @param {*} [options] Override http request option.
874
+ * @throws {RequiredError}
875
+ */
876
+ updateBackup(updateBackupRequest?: UpdateBackupRequest): Promise<UpdateBackupResponse>;
672
877
  /**
673
878
  * 更新备份共享成员的状态,需要接收方执行此API。
674
879
  *
@@ -682,6 +887,18 @@ export declare class CbrClient {
682
887
  * @throws {RequiredError}
683
888
  */
684
889
  updateMemberStatus(updateMemberStatusRequest?: UpdateMemberStatusRequest): Promise<UpdateMemberStatusResponse>;
890
+ /**
891
+ * 订单更新,支付cbc订单后,调用该接口更新包周期产品订单信息。
892
+ *
893
+ * Please refer to HUAWEI cloud API Explorer for details.
894
+ *
895
+ * @summary 变更
896
+ * @param {string} orderId 订单ID
897
+ * @param {CbcUpdate} updateOrderRequestBody 变更请求body
898
+ * @param {*} [options] Override http request option.
899
+ * @throws {RequiredError}
900
+ */
901
+ updateOrder(updateOrderRequest?: UpdateOrderRequest): Promise<UpdateOrderResponse>;
685
902
  /**
686
903
  * 修改策略
687
904
  *
@@ -785,6 +1002,34 @@ export declare const ParamCreater: () => {
785
1002
  headers: {};
786
1003
  data: {};
787
1004
  };
1005
+ /**
1006
+ * 批量修改项目下所有存储库
1007
+ *
1008
+ * Please refer to HUAWEI cloud API Explorer for details.
1009
+ */
1010
+ batchUpdateVault(batchUpdateVaultRequest?: BatchUpdateVaultRequest): {
1011
+ method: string;
1012
+ url: string;
1013
+ contentType: string;
1014
+ queryParams: {};
1015
+ pathParams: {};
1016
+ headers: {};
1017
+ data: {};
1018
+ };
1019
+ /**
1020
+ * 检查应用一致性Agent状态
1021
+ *
1022
+ * Please refer to HUAWEI cloud API Explorer for details.
1023
+ */
1024
+ checkAgent(checkAgentRequest?: CheckAgentRequest): {
1025
+ method: string;
1026
+ url: string;
1027
+ contentType: string;
1028
+ queryParams: {};
1029
+ pathParams: {};
1030
+ headers: {};
1031
+ data: {};
1032
+ };
788
1033
  /**
789
1034
  * 跨区域复制备份。
790
1035
  *
@@ -841,6 +1086,20 @@ export declare const ParamCreater: () => {
841
1086
  headers: {};
842
1087
  data: {};
843
1088
  };
1089
+ /**
1090
+ * 创建包周期存储库
1091
+ *
1092
+ * Please refer to HUAWEI cloud API Explorer for details.
1093
+ */
1094
+ createPostPaidVault(createPostPaidVaultRequest?: CreatePostPaidVaultRequest): {
1095
+ method: string;
1096
+ url: string;
1097
+ contentType: string;
1098
+ queryParams: {};
1099
+ pathParams: {};
1100
+ headers: {};
1101
+ data: {};
1102
+ };
844
1103
  /**
845
1104
  * 创建存储库
846
1105
  *
@@ -963,6 +1222,20 @@ export declare const ParamCreater: () => {
963
1222
  headers: {};
964
1223
  data: {};
965
1224
  };
1225
+ /**
1226
+ * 针对vault同步备份副本
1227
+ *
1228
+ * Please refer to HUAWEI cloud API Explorer for details.
1229
+ */
1230
+ importCheckpoint(importCheckpointRequest?: ImportCheckpointRequest): {
1231
+ method: string;
1232
+ url: string;
1233
+ contentType: string;
1234
+ queryParams: {};
1235
+ pathParams: {};
1236
+ headers: {};
1237
+ data: {};
1238
+ };
966
1239
  /**
967
1240
  * 查询客户端列表
968
1241
  *
@@ -989,6 +1262,32 @@ export declare const ParamCreater: () => {
989
1262
  pathParams: {};
990
1263
  headers: {};
991
1264
  };
1265
+ /**
1266
+ * 根据指定租户名称查询项目列表。
1267
+ *
1268
+ * Please refer to HUAWEI cloud API Explorer for details.
1269
+ */
1270
+ listDomainProjects(listDomainProjectsRequest?: ListDomainProjectsRequest): {
1271
+ method: string;
1272
+ url: string;
1273
+ contentType: string;
1274
+ queryParams: {};
1275
+ pathParams: {};
1276
+ headers: {};
1277
+ };
1278
+ /**
1279
+ * 查询其他区域的存储库列表
1280
+ *
1281
+ * Please refer to HUAWEI cloud API Explorer for details.
1282
+ */
1283
+ listExternalVault(listExternalVaultRequest?: ListExternalVaultRequest): {
1284
+ method: string;
1285
+ url: string;
1286
+ contentType: string;
1287
+ queryParams: {};
1288
+ pathParams: {};
1289
+ headers: {};
1290
+ };
992
1291
  /**
993
1292
  * 查询任务列表
994
1293
  *
@@ -1015,6 +1314,19 @@ export declare const ParamCreater: () => {
1015
1314
  pathParams: {};
1016
1315
  headers: {};
1017
1316
  };
1317
+ /**
1318
+ * 查询租户的企业项目信息
1319
+ *
1320
+ * Please refer to HUAWEI cloud API Explorer for details.
1321
+ */
1322
+ listProjects(): {
1323
+ method: string;
1324
+ url: string;
1325
+ contentType: string;
1326
+ queryParams: {};
1327
+ pathParams: {};
1328
+ headers: {};
1329
+ };
1018
1330
  /**
1019
1331
  * 查询可保护性资源列表
1020
1332
  *
@@ -1041,6 +1353,20 @@ export declare const ParamCreater: () => {
1041
1353
  pathParams: {};
1042
1354
  headers: {};
1043
1355
  };
1356
+ /**
1357
+ * 将CSBS/VBS资源迁移到CBR。
1358
+ *
1359
+ * Please refer to HUAWEI cloud API Explorer for details.
1360
+ */
1361
+ migrateDomain(migrateDomainRequest?: MigrateDomainRequest): {
1362
+ method: string;
1363
+ url: string;
1364
+ contentType: string;
1365
+ queryParams: {};
1366
+ pathParams: {};
1367
+ headers: {};
1368
+ data: {};
1369
+ };
1044
1370
  /**
1045
1371
  * 支持资源迁移到另一个存储库,不删除备份。
1046
1372
  *
@@ -1111,6 +1437,20 @@ export declare const ParamCreater: () => {
1111
1437
  headers: {};
1112
1438
  data: {};
1113
1439
  };
1440
+ /**
1441
+ * 设置存储库资源是否自动备份
1442
+ *
1443
+ * Please refer to HUAWEI cloud API Explorer for details.
1444
+ */
1445
+ setVaultResource(setVaultResourceRequest?: SetVaultResourceRequest): {
1446
+ method: string;
1447
+ url: string;
1448
+ contentType: string;
1449
+ queryParams: {};
1450
+ pathParams: {};
1451
+ headers: {};
1452
+ data: {};
1453
+ };
1114
1454
  /**
1115
1455
  * 查询指定客户端
1116
1456
  *
@@ -1150,6 +1490,19 @@ export declare const ParamCreater: () => {
1150
1490
  pathParams: {};
1151
1491
  headers: {};
1152
1492
  };
1493
+ /**
1494
+ * 由控制台调用的内部接口,用于仅在查询共享备份时获取源project_id的域名信息。
1495
+ *
1496
+ * Please refer to HUAWEI cloud API Explorer for details.
1497
+ */
1498
+ showDomain(showDomainRequest?: ShowDomainRequest): {
1499
+ method: string;
1500
+ url: string;
1501
+ contentType: string;
1502
+ queryParams: {};
1503
+ pathParams: {};
1504
+ headers: {};
1505
+ };
1153
1506
  /**
1154
1507
  * 获取备份成员的详情
1155
1508
  *
@@ -1176,6 +1529,32 @@ export declare const ParamCreater: () => {
1176
1529
  pathParams: {};
1177
1530
  headers: {};
1178
1531
  };
1532
+ /**
1533
+ * 查询备份时资源的元数据
1534
+ *
1535
+ * Please refer to HUAWEI cloud API Explorer for details.
1536
+ */
1537
+ showMetadata(showMetadataRequest?: ShowMetadataRequest): {
1538
+ method: string;
1539
+ url: string;
1540
+ contentType: string;
1541
+ queryParams: {};
1542
+ pathParams: {};
1543
+ headers: {};
1544
+ };
1545
+ /**
1546
+ * 查询迁移结果
1547
+ *
1548
+ * Please refer to HUAWEI cloud API Explorer for details.
1549
+ */
1550
+ showMigrateStatus(showMigrateStatusRequest?: ShowMigrateStatusRequest): {
1551
+ method: string;
1552
+ url: string;
1553
+ contentType: string;
1554
+ queryParams: {};
1555
+ pathParams: {};
1556
+ headers: {};
1557
+ };
1179
1558
  /**
1180
1559
  * 根据指定任务ID查询任务
1181
1560
  *
@@ -1228,6 +1607,32 @@ export declare const ParamCreater: () => {
1228
1607
  pathParams: {};
1229
1608
  headers: {};
1230
1609
  };
1610
+ /**
1611
+ * 查询容量统计
1612
+ *
1613
+ * Please refer to HUAWEI cloud API Explorer for details.
1614
+ */
1615
+ showStorageUsage(showStorageUsageRequest?: ShowStorageUsageRequest): {
1616
+ method: string;
1617
+ url: string;
1618
+ contentType: string;
1619
+ queryParams: {};
1620
+ pathParams: {};
1621
+ headers: {};
1622
+ };
1623
+ /**
1624
+ * 查询项目下所有存储库的总容量和总使用量
1625
+ *
1626
+ * Please refer to HUAWEI cloud API Explorer for details.
1627
+ */
1628
+ showSummary(): {
1629
+ method: string;
1630
+ url: string;
1631
+ contentType: string;
1632
+ queryParams: {};
1633
+ pathParams: {};
1634
+ headers: {};
1635
+ };
1231
1636
  /**
1232
1637
  * 根据ID查询指定存储库
1233
1638
  *
@@ -1311,6 +1716,20 @@ export declare const ParamCreater: () => {
1311
1716
  headers: {};
1312
1717
  data: {};
1313
1718
  };
1719
+ /**
1720
+ * 根据备份id更改备份
1721
+ *
1722
+ * Please refer to HUAWEI cloud API Explorer for details.
1723
+ */
1724
+ updateBackup(updateBackupRequest?: UpdateBackupRequest): {
1725
+ method: string;
1726
+ url: string;
1727
+ contentType: string;
1728
+ queryParams: {};
1729
+ pathParams: {};
1730
+ headers: {};
1731
+ data: {};
1732
+ };
1314
1733
  /**
1315
1734
  * 更新备份共享成员的状态,需要接收方执行此API。
1316
1735
  *
@@ -1325,6 +1744,20 @@ export declare const ParamCreater: () => {
1325
1744
  headers: {};
1326
1745
  data: {};
1327
1746
  };
1747
+ /**
1748
+ * 订单更新,支付cbc订单后,调用该接口更新包周期产品订单信息。
1749
+ *
1750
+ * Please refer to HUAWEI cloud API Explorer for details.
1751
+ */
1752
+ updateOrder(updateOrderRequest?: UpdateOrderRequest): {
1753
+ method: string;
1754
+ url: string;
1755
+ contentType: string;
1756
+ queryParams: {};
1757
+ pathParams: {};
1758
+ headers: {};
1759
+ data: {};
1760
+ };
1328
1761
  /**
1329
1762
  * 修改策略
1330
1763
  *