@huaweicloud/huaweicloud-sdk-cbr 3.1.38 → 3.1.39
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/v1/CbrClient.d.ts +409 -0
- package/v1/CbrClient.js +828 -7
- package/v1/CbrRegion.d.ts +1 -0
- package/v1/CbrRegion.js +3 -1
- package/v1/model/BackupUpdate.d.ts +5 -0
- package/v1/model/BackupUpdate.js +13 -0
- package/v1/model/BackupUpdateReq.d.ts +6 -0
- package/v1/model/BackupUpdateReq.js +13 -0
- package/v1/model/BatchUpdateVaultRequest.d.ts +6 -0
- package/v1/model/BatchUpdateVaultRequest.js +13 -0
- package/v1/model/BatchUpdateVaultRequestBody.d.ts +6 -0
- package/v1/model/BatchUpdateVaultRequestBody.js +14 -0
- package/v1/model/BatchUpdateVaultResponse.d.ts +8 -0
- package/v1/model/BatchUpdateVaultResponse.js +41 -0
- package/v1/model/CbcProductInfoUpdate.d.ts +11 -0
- package/v1/model/CbcProductInfoUpdate.js +28 -0
- package/v1/model/CbcUpdate.d.ts +14 -0
- package/v1/model/CbcUpdate.js +37 -0
- package/v1/model/CheckAgentRequest.d.ts +6 -0
- package/v1/model/CheckAgentRequest.js +13 -0
- package/v1/model/CheckAgentResponse.d.ts +9 -0
- package/v1/model/CheckAgentResponse.js +41 -0
- package/v1/model/CombinedOrder.d.ts +15 -0
- package/v1/model/CombinedOrder.js +51 -0
- package/v1/model/CreatePostPaidVaultRequest.d.ts +6 -0
- package/v1/model/CreatePostPaidVaultRequest.js +13 -0
- package/v1/model/CreatePostPaidVaultResponse.d.ts +15 -0
- package/v1/model/CreatePostPaidVaultResponse.js +53 -0
- package/v1/model/DomainMigrate.d.ts +9 -0
- package/v1/model/DomainMigrate.js +29 -0
- package/v1/model/DomainMigrateProjectStatus.d.ts +36 -0
- package/v1/model/DomainMigrateProjectStatus.js +100 -0
- package/v1/model/DomainProjectsInfo.d.ts +11 -0
- package/v1/model/DomainProjectsInfo.js +39 -0
- package/v1/model/ImportCheckpointRequest.d.ts +6 -0
- package/v1/model/ImportCheckpointRequest.js +13 -0
- package/v1/model/ImportCheckpointResponse.d.ts +7 -0
- package/v1/model/ImportCheckpointResponse.js +31 -0
- package/v1/model/ListDomainProjectsRequest.d.ts +7 -0
- package/v1/model/ListDomainProjectsRequest.js +24 -0
- package/v1/model/ListDomainProjectsResponse.d.ts +7 -0
- package/v1/model/ListDomainProjectsResponse.js +31 -0
- package/v1/model/ListExternalVaultRequest.d.ts +38 -0
- package/v1/model/ListExternalVaultRequest.js +111 -0
- package/v1/model/ListExternalVaultResponse.d.ts +13 -0
- package/v1/model/ListExternalVaultResponse.js +43 -0
- package/v1/model/ListProjectsRequest.d.ts +3 -0
- package/v1/model/ListProjectsRequest.js +9 -0
- package/v1/model/ListProjectsResponse.d.ts +10 -0
- package/v1/model/ListProjectsResponse.js +35 -0
- package/v1/model/MigrateDomainRequest.d.ts +6 -0
- package/v1/model/MigrateDomainRequest.js +13 -0
- package/v1/model/MigrateDomainResponse.d.ts +10 -0
- package/v1/model/MigrateDomainResponse.js +31 -0
- package/v1/model/ProjectsListInfo.d.ts +26 -0
- package/v1/model/ProjectsListInfo.js +71 -0
- package/v1/model/ProtectableAgentReq.d.ts +8 -0
- package/v1/model/ProtectableAgentReq.js +24 -0
- package/v1/model/ProtectableAgentStatus.d.ts +19 -0
- package/v1/model/ProtectableAgentStatus.js +53 -0
- package/v1/model/ProtectableAgentStatusResource.d.ts +15 -0
- package/v1/model/ProtectableAgentStatusResource.js +53 -0
- package/v1/model/SelfLinksInfo.d.ts +5 -0
- package/v1/model/SelfLinksInfo.js +13 -0
- package/v1/model/SetVaultResourceRequest.d.ts +10 -0
- package/v1/model/SetVaultResourceRequest.js +28 -0
- package/v1/model/SetVaultResourceResponse.d.ts +8 -0
- package/v1/model/SetVaultResourceResponse.js +41 -0
- package/v1/model/ShowDomainRequest.d.ts +7 -0
- package/v1/model/ShowDomainRequest.js +24 -0
- package/v1/model/ShowDomainResponse.d.ts +20 -0
- package/v1/model/ShowDomainResponse.js +83 -0
- package/v1/model/ShowMetadataRequest.d.ts +7 -0
- package/v1/model/ShowMetadataRequest.js +24 -0
- package/v1/model/ShowMetadataResponse.d.ts +24 -0
- package/v1/model/ShowMetadataResponse.js +79 -0
- package/v1/model/ShowMigrateStatusRequest.d.ts +7 -0
- package/v1/model/ShowMigrateStatusRequest.js +23 -0
- package/v1/model/ShowMigrateStatusResponse.d.ts +20 -0
- package/v1/model/ShowMigrateStatusResponse.js +55 -0
- package/v1/model/ShowStorageUsageRequest.d.ts +23 -0
- package/v1/model/ShowStorageUsageRequest.js +54 -0
- package/v1/model/ShowStorageUsageResponse.d.ts +13 -0
- package/v1/model/ShowStorageUsageResponse.js +55 -0
- package/v1/model/StorageUsage.d.ts +27 -0
- package/v1/model/StorageUsage.js +96 -0
- package/v1/model/SyncParam.d.ts +11 -0
- package/v1/model/SyncParam.js +39 -0
- package/v1/model/SyncReq.d.ts +6 -0
- package/v1/model/SyncReq.js +14 -0
- package/v1/model/SyncRespBody.d.ts +11 -0
- package/v1/model/SyncRespBody.js +39 -0
- package/v1/model/UpdateBackupRequest.d.ts +10 -0
- package/v1/model/UpdateBackupRequest.js +28 -0
- package/v1/model/UpdateBackupResponse.d.ts +7 -0
- package/v1/model/UpdateBackupResponse.js +31 -0
- package/v1/model/UpdateOrderRequest.d.ts +10 -0
- package/v1/model/UpdateOrderRequest.js +28 -0
- package/v1/model/UpdateOrderResponse.d.ts +4 -0
- package/v1/model/UpdateOrderResponse.js +27 -0
- package/v1/model/VaultBatchUpdate.d.ts +9 -0
- package/v1/model/VaultBatchUpdate.js +27 -0
- package/v1/model/VaultCreate.d.ts +14 -0
- package/v1/model/VaultCreate.js +46 -0
- package/v1/model/VaultCreateParameters.d.ts +8 -0
- package/v1/model/VaultCreateParameters.js +23 -0
- package/v1/model/VaultCreateResource.d.ts +14 -0
- package/v1/model/VaultCreateResource.js +46 -0
- package/v1/model/VaultOrder.d.ts +46 -0
- package/v1/model/VaultOrder.js +123 -0
- package/v1/model/VaultOrderCreateReqs.d.ts +6 -0
- package/v1/model/VaultOrderCreateReqs.js +14 -0
- package/v1/model/VaultSetResourceReq.d.ts +17 -0
- package/v1/model/VaultSetResourceReq.js +38 -0
- package/v1/public-api.d.ts +53 -0
- package/v1/public-api.js +53 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@huaweicloud/huaweicloud-sdk-cbr",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.39",
|
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.
|
17
|
+
"@huaweicloud/huaweicloud-sdk-core": "^3.1.39"
|
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,8 @@ 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';
|
78
103
|
import { ShowVaultProjectTagResponse } from './model/ShowVaultProjectTagResponse';
|
79
104
|
import { ShowVaultRequest } from './model/ShowVaultRequest';
|
80
105
|
import { ShowVaultResourceInstancesRequest } from './model/ShowVaultResourceInstancesRequest';
|
@@ -86,8 +111,12 @@ import { UnregisterAgentRequest } from './model/UnregisterAgentRequest';
|
|
86
111
|
import { UnregisterAgentResponse } from './model/UnregisterAgentResponse';
|
87
112
|
import { UpdateAgentRequest } from './model/UpdateAgentRequest';
|
88
113
|
import { UpdateAgentResponse } from './model/UpdateAgentResponse';
|
114
|
+
import { UpdateBackupRequest } from './model/UpdateBackupRequest';
|
115
|
+
import { UpdateBackupResponse } from './model/UpdateBackupResponse';
|
89
116
|
import { UpdateMemberStatusRequest } from './model/UpdateMemberStatusRequest';
|
90
117
|
import { UpdateMemberStatusResponse } from './model/UpdateMemberStatusResponse';
|
118
|
+
import { UpdateOrderRequest } from './model/UpdateOrderRequest';
|
119
|
+
import { UpdateOrderResponse } from './model/UpdateOrderResponse';
|
91
120
|
import { UpdatePolicyRequest } from './model/UpdatePolicyRequest';
|
92
121
|
import { UpdatePolicyResponse } from './model/UpdatePolicyResponse';
|
93
122
|
import { UpdateVaultRequest } from './model/UpdateVaultRequest';
|
@@ -164,6 +193,28 @@ export declare class CbrClient {
|
|
164
193
|
* @throws {RequiredError}
|
165
194
|
*/
|
166
195
|
batchCreateAndDeleteVaultTags(batchCreateAndDeleteVaultTagsRequest?: BatchCreateAndDeleteVaultTagsRequest): Promise<BatchCreateAndDeleteVaultTagsResponse>;
|
196
|
+
/**
|
197
|
+
* 批量修改项目下所有存储库
|
198
|
+
*
|
199
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
200
|
+
*
|
201
|
+
* @summary 批量修改存储库
|
202
|
+
* @param {BatchUpdateVaultRequestBody} updateVaultRequestBody 存储批量修改参数
|
203
|
+
* @param {*} [options] Override http request option.
|
204
|
+
* @throws {RequiredError}
|
205
|
+
*/
|
206
|
+
batchUpdateVault(batchUpdateVaultRequest?: BatchUpdateVaultRequest): Promise<BatchUpdateVaultResponse>;
|
207
|
+
/**
|
208
|
+
* 检查应用一致性Agent状态
|
209
|
+
*
|
210
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
211
|
+
*
|
212
|
+
* @summary 查询agent状态
|
213
|
+
* @param {ProtectableAgentReq} checkAgentRequestBody Agent状态检查参数
|
214
|
+
* @param {*} [options] Override http request option.
|
215
|
+
* @throws {RequiredError}
|
216
|
+
*/
|
217
|
+
checkAgent(checkAgentRequest?: CheckAgentRequest): Promise<CheckAgentResponse>;
|
167
218
|
/**
|
168
219
|
* 跨区域复制备份。
|
169
220
|
*
|
@@ -209,6 +260,17 @@ export declare class CbrClient {
|
|
209
260
|
* @throws {RequiredError}
|
210
261
|
*/
|
211
262
|
createPolicy(createPolicyRequest?: CreatePolicyRequest): Promise<CreatePolicyResponse>;
|
263
|
+
/**
|
264
|
+
* 创建包周期存储库
|
265
|
+
*
|
266
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
267
|
+
*
|
268
|
+
* @summary 创建包周期存储库
|
269
|
+
* @param {VaultOrderCreateReqs} createPostPaidVaultRequestBody 请求体
|
270
|
+
* @param {*} [options] Override http request option.
|
271
|
+
* @throws {RequiredError}
|
272
|
+
*/
|
273
|
+
createPostPaidVault(createPostPaidVaultRequest?: CreatePostPaidVaultRequest): Promise<CreatePostPaidVaultResponse>;
|
212
274
|
/**
|
213
275
|
* 创建存储库
|
214
276
|
*
|
@@ -313,6 +375,17 @@ export declare class CbrClient {
|
|
313
375
|
* @throws {RequiredError}
|
314
376
|
*/
|
315
377
|
importBackup(importBackupRequest?: ImportBackupRequest): Promise<ImportBackupResponse>;
|
378
|
+
/**
|
379
|
+
* 针对vault同步备份副本
|
380
|
+
*
|
381
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
382
|
+
*
|
383
|
+
* @summary 同步备份还原点
|
384
|
+
* @param {SyncReq} importCheckpointRequestBody This is a auto create Body Object
|
385
|
+
* @param {*} [options] Override http request option.
|
386
|
+
* @throws {RequiredError}
|
387
|
+
*/
|
388
|
+
importCheckpoint(importCheckpointRequest?: ImportCheckpointRequest): Promise<ImportCheckpointResponse>;
|
316
389
|
/**
|
317
390
|
* 查询客户端列表
|
318
391
|
*
|
@@ -360,6 +433,35 @@ export declare class CbrClient {
|
|
360
433
|
* @throws {RequiredError}
|
361
434
|
*/
|
362
435
|
listBackups(listBackupsRequest?: ListBackupsRequest): Promise<ListBackupsResponse>;
|
436
|
+
/**
|
437
|
+
* 根据指定租户名称查询项目列表。
|
438
|
+
*
|
439
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
440
|
+
*
|
441
|
+
* @summary 查询租户项目列表
|
442
|
+
* @param {string} domainName 租户名称
|
443
|
+
* @param {*} [options] Override http request option.
|
444
|
+
* @throws {RequiredError}
|
445
|
+
*/
|
446
|
+
listDomainProjects(listDomainProjectsRequest?: ListDomainProjectsRequest): Promise<ListDomainProjectsResponse>;
|
447
|
+
/**
|
448
|
+
* 查询其他区域的存储库列表
|
449
|
+
*
|
450
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
451
|
+
*
|
452
|
+
* @summary 查询其他区域存储库列表
|
453
|
+
* @param {string} externalProjectId 其他区域的项目ID
|
454
|
+
* @param {string} regionId 区域ID
|
455
|
+
* @param {number} [limit] 每页显示条目数
|
456
|
+
* @param {number} [offset] 偏移值
|
457
|
+
* @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)
|
458
|
+
* @param {string} [objcetType] 资源类型
|
459
|
+
* @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)
|
460
|
+
* @param {string} [vaultId] 存储库ID,指定存储ID时其他过滤条件不生效。
|
461
|
+
* @param {*} [options] Override http request option.
|
462
|
+
* @throws {RequiredError}
|
463
|
+
*/
|
464
|
+
listExternalVault(listExternalVaultRequest?: ListExternalVaultRequest): Promise<ListExternalVaultResponse>;
|
363
465
|
/**
|
364
466
|
* 查询任务列表
|
365
467
|
*
|
@@ -394,6 +496,16 @@ export declare class CbrClient {
|
|
394
496
|
* @throws {RequiredError}
|
395
497
|
*/
|
396
498
|
listPolicies(listPoliciesRequest?: ListPoliciesRequest): Promise<ListPoliciesResponse>;
|
499
|
+
/**
|
500
|
+
* 查询租户的企业项目信息
|
501
|
+
*
|
502
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
503
|
+
*
|
504
|
+
* @summary 查询租户的项目信息
|
505
|
+
* @param {*} [options] Override http request option.
|
506
|
+
* @throws {RequiredError}
|
507
|
+
*/
|
508
|
+
listProjects(): Promise<ListProjectsResponse>;
|
397
509
|
/**
|
398
510
|
* 查询可保护性资源列表
|
399
511
|
*
|
@@ -433,6 +545,17 @@ export declare class CbrClient {
|
|
433
545
|
* @throws {RequiredError}
|
434
546
|
*/
|
435
547
|
listVault(listVaultRequest?: ListVaultRequest): Promise<ListVaultResponse>;
|
548
|
+
/**
|
549
|
+
* 将CSBS/VBS资源迁移到CBR。
|
550
|
+
*
|
551
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
552
|
+
*
|
553
|
+
* @summary 租户迁移
|
554
|
+
* @param {DomainMigrate} migrateDomainRequestBody 迁移参数
|
555
|
+
* @param {*} [options] Override http request option.
|
556
|
+
* @throws {RequiredError}
|
557
|
+
*/
|
558
|
+
migrateDomain(migrateDomainRequest?: MigrateDomainRequest): Promise<MigrateDomainResponse>;
|
436
559
|
/**
|
437
560
|
* 支持资源迁移到另一个存储库,不删除备份。
|
438
561
|
*
|
@@ -492,6 +615,18 @@ export declare class CbrClient {
|
|
492
615
|
* @throws {RequiredError}
|
493
616
|
*/
|
494
617
|
restoreBackup(restoreBackupRequest?: RestoreBackupRequest): Promise<RestoreBackupResponse>;
|
618
|
+
/**
|
619
|
+
* 设置存储库资源是否自动备份
|
620
|
+
*
|
621
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
622
|
+
*
|
623
|
+
* @summary 设置存储库资源
|
624
|
+
* @param {string} vaultId 存储库id
|
625
|
+
* @param {VaultSetResourceReq} vaultSetResourceBody 存储库设置资源请求body
|
626
|
+
* @param {*} [options] Override http request option.
|
627
|
+
* @throws {RequiredError}
|
628
|
+
*/
|
629
|
+
setVaultResource(setVaultResourceRequest?: SetVaultResourceRequest): Promise<SetVaultResourceResponse>;
|
495
630
|
/**
|
496
631
|
* 查询指定客户端
|
497
632
|
*
|
@@ -525,6 +660,17 @@ export declare class CbrClient {
|
|
525
660
|
* @throws {RequiredError}
|
526
661
|
*/
|
527
662
|
showCheckpoint(showCheckpointRequest?: ShowCheckpointRequest): Promise<ShowCheckpointResponse>;
|
663
|
+
/**
|
664
|
+
* 由控制台调用的内部接口,用于仅在查询共享备份时获取源project_id的域名信息。
|
665
|
+
*
|
666
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
667
|
+
*
|
668
|
+
* @summary 查询租户信息
|
669
|
+
* @param {string} sourceProjectId 源项目ID
|
670
|
+
* @param {*} [options] Override http request option.
|
671
|
+
* @throws {RequiredError}
|
672
|
+
*/
|
673
|
+
showDomain(showDomainRequest?: ShowDomainRequest): Promise<ShowDomainResponse>;
|
528
674
|
/**
|
529
675
|
* 获取备份成员的详情
|
530
676
|
*
|
@@ -556,6 +702,28 @@ export declare class CbrClient {
|
|
556
702
|
* @throws {RequiredError}
|
557
703
|
*/
|
558
704
|
showMembersDetail(showMembersDetailRequest?: ShowMembersDetailRequest): Promise<ShowMembersDetailResponse>;
|
705
|
+
/**
|
706
|
+
* 查询备份时资源的元数据
|
707
|
+
*
|
708
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
709
|
+
*
|
710
|
+
* @summary 查询备份元数据
|
711
|
+
* @param {string} backupId 备份ID
|
712
|
+
* @param {*} [options] Override http request option.
|
713
|
+
* @throws {RequiredError}
|
714
|
+
*/
|
715
|
+
showMetadata(showMetadataRequest?: ShowMetadataRequest): Promise<ShowMetadataResponse>;
|
716
|
+
/**
|
717
|
+
* 查询迁移结果
|
718
|
+
*
|
719
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
720
|
+
*
|
721
|
+
* @summary 查询迁移
|
722
|
+
* @param {boolean} [allRegions] 是否查询其他区域结果
|
723
|
+
* @param {*} [options] Override http request option.
|
724
|
+
* @throws {RequiredError}
|
725
|
+
*/
|
726
|
+
showMigrateStatus(showMigrateStatusRequest?: ShowMigrateStatusRequest): Promise<ShowMigrateStatusResponse>;
|
559
727
|
/**
|
560
728
|
* 根据指定任务ID查询任务
|
561
729
|
*
|
@@ -600,6 +768,20 @@ export declare class CbrClient {
|
|
600
768
|
* @throws {RequiredError}
|
601
769
|
*/
|
602
770
|
showReplicationCapabilities(): Promise<ShowReplicationCapabilitiesResponse>;
|
771
|
+
/**
|
772
|
+
* 查询容量统计
|
773
|
+
*
|
774
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
775
|
+
*
|
776
|
+
* @summary 查询容量统计
|
777
|
+
* @param {number} [limit] 查询条数
|
778
|
+
* @param {number} [offset] 偏移值
|
779
|
+
* @param {string} [resourceId] 支持按照备份对象ID过滤
|
780
|
+
* @param {'OS::Nova::Server' | 'OS::Ironic::BareMetalServer'} [resourceType] 支持按照备份对象类型过滤
|
781
|
+
* @param {*} [options] Override http request option.
|
782
|
+
* @throws {RequiredError}
|
783
|
+
*/
|
784
|
+
showStorageUsage(showStorageUsageRequest?: ShowStorageUsageRequest): Promise<ShowStorageUsageResponse>;
|
603
785
|
/**
|
604
786
|
* 根据ID查询指定存储库
|
605
787
|
*
|
@@ -669,6 +851,18 @@ export declare class CbrClient {
|
|
669
851
|
* @throws {RequiredError}
|
670
852
|
*/
|
671
853
|
updateAgent(updateAgentRequest?: UpdateAgentRequest): Promise<UpdateAgentResponse>;
|
854
|
+
/**
|
855
|
+
* 根据备份id更改备份
|
856
|
+
*
|
857
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
858
|
+
*
|
859
|
+
* @summary 更新备份
|
860
|
+
* @param {string} backupId 备份ID
|
861
|
+
* @param {BackupUpdateReq} [backupUpdateRequestBody] 备份修改参数
|
862
|
+
* @param {*} [options] Override http request option.
|
863
|
+
* @throws {RequiredError}
|
864
|
+
*/
|
865
|
+
updateBackup(updateBackupRequest?: UpdateBackupRequest): Promise<UpdateBackupResponse>;
|
672
866
|
/**
|
673
867
|
* 更新备份共享成员的状态,需要接收方执行此API。
|
674
868
|
*
|
@@ -682,6 +876,18 @@ export declare class CbrClient {
|
|
682
876
|
* @throws {RequiredError}
|
683
877
|
*/
|
684
878
|
updateMemberStatus(updateMemberStatusRequest?: UpdateMemberStatusRequest): Promise<UpdateMemberStatusResponse>;
|
879
|
+
/**
|
880
|
+
* 订单更新,支付cbc订单后,调用该接口更新包周期产品订单信息。
|
881
|
+
*
|
882
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
883
|
+
*
|
884
|
+
* @summary 变更
|
885
|
+
* @param {string} orderId 订单ID
|
886
|
+
* @param {CbcUpdate} updateOrderRequestBody 变更请求body
|
887
|
+
* @param {*} [options] Override http request option.
|
888
|
+
* @throws {RequiredError}
|
889
|
+
*/
|
890
|
+
updateOrder(updateOrderRequest?: UpdateOrderRequest): Promise<UpdateOrderResponse>;
|
685
891
|
/**
|
686
892
|
* 修改策略
|
687
893
|
*
|
@@ -785,6 +991,34 @@ export declare const ParamCreater: () => {
|
|
785
991
|
headers: {};
|
786
992
|
data: {};
|
787
993
|
};
|
994
|
+
/**
|
995
|
+
* 批量修改项目下所有存储库
|
996
|
+
*
|
997
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
998
|
+
*/
|
999
|
+
batchUpdateVault(batchUpdateVaultRequest?: BatchUpdateVaultRequest): {
|
1000
|
+
method: string;
|
1001
|
+
url: string;
|
1002
|
+
contentType: string;
|
1003
|
+
queryParams: {};
|
1004
|
+
pathParams: {};
|
1005
|
+
headers: {};
|
1006
|
+
data: {};
|
1007
|
+
};
|
1008
|
+
/**
|
1009
|
+
* 检查应用一致性Agent状态
|
1010
|
+
*
|
1011
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1012
|
+
*/
|
1013
|
+
checkAgent(checkAgentRequest?: CheckAgentRequest): {
|
1014
|
+
method: string;
|
1015
|
+
url: string;
|
1016
|
+
contentType: string;
|
1017
|
+
queryParams: {};
|
1018
|
+
pathParams: {};
|
1019
|
+
headers: {};
|
1020
|
+
data: {};
|
1021
|
+
};
|
788
1022
|
/**
|
789
1023
|
* 跨区域复制备份。
|
790
1024
|
*
|
@@ -841,6 +1075,20 @@ export declare const ParamCreater: () => {
|
|
841
1075
|
headers: {};
|
842
1076
|
data: {};
|
843
1077
|
};
|
1078
|
+
/**
|
1079
|
+
* 创建包周期存储库
|
1080
|
+
*
|
1081
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1082
|
+
*/
|
1083
|
+
createPostPaidVault(createPostPaidVaultRequest?: CreatePostPaidVaultRequest): {
|
1084
|
+
method: string;
|
1085
|
+
url: string;
|
1086
|
+
contentType: string;
|
1087
|
+
queryParams: {};
|
1088
|
+
pathParams: {};
|
1089
|
+
headers: {};
|
1090
|
+
data: {};
|
1091
|
+
};
|
844
1092
|
/**
|
845
1093
|
* 创建存储库
|
846
1094
|
*
|
@@ -963,6 +1211,20 @@ export declare const ParamCreater: () => {
|
|
963
1211
|
headers: {};
|
964
1212
|
data: {};
|
965
1213
|
};
|
1214
|
+
/**
|
1215
|
+
* 针对vault同步备份副本
|
1216
|
+
*
|
1217
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1218
|
+
*/
|
1219
|
+
importCheckpoint(importCheckpointRequest?: ImportCheckpointRequest): {
|
1220
|
+
method: string;
|
1221
|
+
url: string;
|
1222
|
+
contentType: string;
|
1223
|
+
queryParams: {};
|
1224
|
+
pathParams: {};
|
1225
|
+
headers: {};
|
1226
|
+
data: {};
|
1227
|
+
};
|
966
1228
|
/**
|
967
1229
|
* 查询客户端列表
|
968
1230
|
*
|
@@ -989,6 +1251,32 @@ export declare const ParamCreater: () => {
|
|
989
1251
|
pathParams: {};
|
990
1252
|
headers: {};
|
991
1253
|
};
|
1254
|
+
/**
|
1255
|
+
* 根据指定租户名称查询项目列表。
|
1256
|
+
*
|
1257
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1258
|
+
*/
|
1259
|
+
listDomainProjects(listDomainProjectsRequest?: ListDomainProjectsRequest): {
|
1260
|
+
method: string;
|
1261
|
+
url: string;
|
1262
|
+
contentType: string;
|
1263
|
+
queryParams: {};
|
1264
|
+
pathParams: {};
|
1265
|
+
headers: {};
|
1266
|
+
};
|
1267
|
+
/**
|
1268
|
+
* 查询其他区域的存储库列表
|
1269
|
+
*
|
1270
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1271
|
+
*/
|
1272
|
+
listExternalVault(listExternalVaultRequest?: ListExternalVaultRequest): {
|
1273
|
+
method: string;
|
1274
|
+
url: string;
|
1275
|
+
contentType: string;
|
1276
|
+
queryParams: {};
|
1277
|
+
pathParams: {};
|
1278
|
+
headers: {};
|
1279
|
+
};
|
992
1280
|
/**
|
993
1281
|
* 查询任务列表
|
994
1282
|
*
|
@@ -1015,6 +1303,19 @@ export declare const ParamCreater: () => {
|
|
1015
1303
|
pathParams: {};
|
1016
1304
|
headers: {};
|
1017
1305
|
};
|
1306
|
+
/**
|
1307
|
+
* 查询租户的企业项目信息
|
1308
|
+
*
|
1309
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1310
|
+
*/
|
1311
|
+
listProjects(): {
|
1312
|
+
method: string;
|
1313
|
+
url: string;
|
1314
|
+
contentType: string;
|
1315
|
+
queryParams: {};
|
1316
|
+
pathParams: {};
|
1317
|
+
headers: {};
|
1318
|
+
};
|
1018
1319
|
/**
|
1019
1320
|
* 查询可保护性资源列表
|
1020
1321
|
*
|
@@ -1041,6 +1342,20 @@ export declare const ParamCreater: () => {
|
|
1041
1342
|
pathParams: {};
|
1042
1343
|
headers: {};
|
1043
1344
|
};
|
1345
|
+
/**
|
1346
|
+
* 将CSBS/VBS资源迁移到CBR。
|
1347
|
+
*
|
1348
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1349
|
+
*/
|
1350
|
+
migrateDomain(migrateDomainRequest?: MigrateDomainRequest): {
|
1351
|
+
method: string;
|
1352
|
+
url: string;
|
1353
|
+
contentType: string;
|
1354
|
+
queryParams: {};
|
1355
|
+
pathParams: {};
|
1356
|
+
headers: {};
|
1357
|
+
data: {};
|
1358
|
+
};
|
1044
1359
|
/**
|
1045
1360
|
* 支持资源迁移到另一个存储库,不删除备份。
|
1046
1361
|
*
|
@@ -1111,6 +1426,20 @@ export declare const ParamCreater: () => {
|
|
1111
1426
|
headers: {};
|
1112
1427
|
data: {};
|
1113
1428
|
};
|
1429
|
+
/**
|
1430
|
+
* 设置存储库资源是否自动备份
|
1431
|
+
*
|
1432
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1433
|
+
*/
|
1434
|
+
setVaultResource(setVaultResourceRequest?: SetVaultResourceRequest): {
|
1435
|
+
method: string;
|
1436
|
+
url: string;
|
1437
|
+
contentType: string;
|
1438
|
+
queryParams: {};
|
1439
|
+
pathParams: {};
|
1440
|
+
headers: {};
|
1441
|
+
data: {};
|
1442
|
+
};
|
1114
1443
|
/**
|
1115
1444
|
* 查询指定客户端
|
1116
1445
|
*
|
@@ -1150,6 +1479,19 @@ export declare const ParamCreater: () => {
|
|
1150
1479
|
pathParams: {};
|
1151
1480
|
headers: {};
|
1152
1481
|
};
|
1482
|
+
/**
|
1483
|
+
* 由控制台调用的内部接口,用于仅在查询共享备份时获取源project_id的域名信息。
|
1484
|
+
*
|
1485
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1486
|
+
*/
|
1487
|
+
showDomain(showDomainRequest?: ShowDomainRequest): {
|
1488
|
+
method: string;
|
1489
|
+
url: string;
|
1490
|
+
contentType: string;
|
1491
|
+
queryParams: {};
|
1492
|
+
pathParams: {};
|
1493
|
+
headers: {};
|
1494
|
+
};
|
1153
1495
|
/**
|
1154
1496
|
* 获取备份成员的详情
|
1155
1497
|
*
|
@@ -1176,6 +1518,32 @@ export declare const ParamCreater: () => {
|
|
1176
1518
|
pathParams: {};
|
1177
1519
|
headers: {};
|
1178
1520
|
};
|
1521
|
+
/**
|
1522
|
+
* 查询备份时资源的元数据
|
1523
|
+
*
|
1524
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1525
|
+
*/
|
1526
|
+
showMetadata(showMetadataRequest?: ShowMetadataRequest): {
|
1527
|
+
method: string;
|
1528
|
+
url: string;
|
1529
|
+
contentType: string;
|
1530
|
+
queryParams: {};
|
1531
|
+
pathParams: {};
|
1532
|
+
headers: {};
|
1533
|
+
};
|
1534
|
+
/**
|
1535
|
+
* 查询迁移结果
|
1536
|
+
*
|
1537
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1538
|
+
*/
|
1539
|
+
showMigrateStatus(showMigrateStatusRequest?: ShowMigrateStatusRequest): {
|
1540
|
+
method: string;
|
1541
|
+
url: string;
|
1542
|
+
contentType: string;
|
1543
|
+
queryParams: {};
|
1544
|
+
pathParams: {};
|
1545
|
+
headers: {};
|
1546
|
+
};
|
1179
1547
|
/**
|
1180
1548
|
* 根据指定任务ID查询任务
|
1181
1549
|
*
|
@@ -1228,6 +1596,19 @@ export declare const ParamCreater: () => {
|
|
1228
1596
|
pathParams: {};
|
1229
1597
|
headers: {};
|
1230
1598
|
};
|
1599
|
+
/**
|
1600
|
+
* 查询容量统计
|
1601
|
+
*
|
1602
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1603
|
+
*/
|
1604
|
+
showStorageUsage(showStorageUsageRequest?: ShowStorageUsageRequest): {
|
1605
|
+
method: string;
|
1606
|
+
url: string;
|
1607
|
+
contentType: string;
|
1608
|
+
queryParams: {};
|
1609
|
+
pathParams: {};
|
1610
|
+
headers: {};
|
1611
|
+
};
|
1231
1612
|
/**
|
1232
1613
|
* 根据ID查询指定存储库
|
1233
1614
|
*
|
@@ -1311,6 +1692,20 @@ export declare const ParamCreater: () => {
|
|
1311
1692
|
headers: {};
|
1312
1693
|
data: {};
|
1313
1694
|
};
|
1695
|
+
/**
|
1696
|
+
* 根据备份id更改备份
|
1697
|
+
*
|
1698
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1699
|
+
*/
|
1700
|
+
updateBackup(updateBackupRequest?: UpdateBackupRequest): {
|
1701
|
+
method: string;
|
1702
|
+
url: string;
|
1703
|
+
contentType: string;
|
1704
|
+
queryParams: {};
|
1705
|
+
pathParams: {};
|
1706
|
+
headers: {};
|
1707
|
+
data: {};
|
1708
|
+
};
|
1314
1709
|
/**
|
1315
1710
|
* 更新备份共享成员的状态,需要接收方执行此API。
|
1316
1711
|
*
|
@@ -1325,6 +1720,20 @@ export declare const ParamCreater: () => {
|
|
1325
1720
|
headers: {};
|
1326
1721
|
data: {};
|
1327
1722
|
};
|
1723
|
+
/**
|
1724
|
+
* 订单更新,支付cbc订单后,调用该接口更新包周期产品订单信息。
|
1725
|
+
*
|
1726
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
1727
|
+
*/
|
1728
|
+
updateOrder(updateOrderRequest?: UpdateOrderRequest): {
|
1729
|
+
method: string;
|
1730
|
+
url: string;
|
1731
|
+
contentType: string;
|
1732
|
+
queryParams: {};
|
1733
|
+
pathParams: {};
|
1734
|
+
headers: {};
|
1735
|
+
data: {};
|
1736
|
+
};
|
1328
1737
|
/**
|
1329
1738
|
* 修改策略
|
1330
1739
|
*
|