@huaweicloud/huaweicloud-sdk-cbr 3.1.36
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +13 -0
- package/README.md +1 -0
- package/huaweicloud-sdk-cbr.d.ts +2 -0
- package/huaweicloud-sdk-cbr.js +31 -0
- package/package.json +19 -0
- package/v1/CbrClient.d.ts +1175 -0
- package/v1/CbrClient.js +2558 -0
- package/v1/CbrRegion.d.ts +22 -0
- package/v1/CbrRegion.js +57 -0
- package/v1/model/AddMemberRequest.d.ts +10 -0
- package/v1/model/AddMemberRequest.js +28 -0
- package/v1/model/AddMemberResponse.d.ts +9 -0
- package/v1/model/AddMemberResponse.js +35 -0
- package/v1/model/AddMembersReq.d.ts +5 -0
- package/v1/model/AddMembersReq.js +14 -0
- package/v1/model/AddVaultResourceRequest.d.ts +10 -0
- package/v1/model/AddVaultResourceRequest.js +28 -0
- package/v1/model/AddVaultResourceResponse.d.ts +8 -0
- package/v1/model/AddVaultResourceResponse.js +41 -0
- package/v1/model/AssociateVaultPolicyRequest.d.ts +10 -0
- package/v1/model/AssociateVaultPolicyRequest.js +28 -0
- package/v1/model/AssociateVaultPolicyResponse.d.ts +9 -0
- package/v1/model/AssociateVaultPolicyResponse.js +41 -0
- package/v1/model/BackupExtendInfo.d.ts +51 -0
- package/v1/model/BackupExtendInfo.js +143 -0
- package/v1/model/BackupReplicateReq.d.ts +6 -0
- package/v1/model/BackupReplicateReq.js +14 -0
- package/v1/model/BackupReplicateReqBody.d.ts +23 -0
- package/v1/model/BackupReplicateReqBody.js +76 -0
- package/v1/model/BackupReplicateRespBody.d.ts +35 -0
- package/v1/model/BackupReplicateRespBody.js +121 -0
- package/v1/model/BackupResp.d.ts +118 -0
- package/v1/model/BackupResp.js +335 -0
- package/v1/model/BackupRestore.d.ts +22 -0
- package/v1/model/BackupRestore.js +69 -0
- package/v1/model/BackupRestoreReq.d.ts +6 -0
- package/v1/model/BackupRestoreReq.js +14 -0
- package/v1/model/BackupRestoreServerMapping.d.ts +11 -0
- package/v1/model/BackupRestoreServerMapping.js +39 -0
- package/v1/model/BackupSync.d.ts +35 -0
- package/v1/model/BackupSync.js +129 -0
- package/v1/model/BackupSyncReq.d.ts +6 -0
- package/v1/model/BackupSyncReq.js +14 -0
- package/v1/model/BackupSyncRespBody.d.ts +11 -0
- package/v1/model/BackupSyncRespBody.js +39 -0
- package/v1/model/BatchCreateAndDeleteVaultTagsRequest.d.ts +10 -0
- package/v1/model/BatchCreateAndDeleteVaultTagsRequest.js +28 -0
- package/v1/model/BatchCreateAndDeleteVaultTagsResponse.d.ts +4 -0
- package/v1/model/BatchCreateAndDeleteVaultTagsResponse.js +27 -0
- package/v1/model/BillbingCreateExtraInfo.d.ts +11 -0
- package/v1/model/BillbingCreateExtraInfo.js +37 -0
- package/v1/model/Billing.d.ts +119 -0
- package/v1/model/Billing.js +258 -0
- package/v1/model/BillingCreate.d.ts +119 -0
- package/v1/model/BillingCreate.js +286 -0
- package/v1/model/BillingUpdate.d.ts +17 -0
- package/v1/model/BillingUpdate.js +36 -0
- package/v1/model/BindRulesTags.d.ts +7 -0
- package/v1/model/BindRulesTags.js +19 -0
- package/v1/model/BulkCreateAndDeleteVaultTagsReq.d.ts +21 -0
- package/v1/model/BulkCreateAndDeleteVaultTagsReq.js +41 -0
- package/v1/model/CbcOrderResult.d.ts +11 -0
- package/v1/model/CbcOrderResult.js +27 -0
- package/v1/model/CheckpointCreate.d.ts +35 -0
- package/v1/model/CheckpointCreate.js +80 -0
- package/v1/model/CheckpointCreateSkippedResource.d.ts +13 -0
- package/v1/model/CheckpointCreateSkippedResource.js +29 -0
- package/v1/model/CheckpointExtraInfoResp.d.ts +11 -0
- package/v1/model/CheckpointExtraInfoResp.js +31 -0
- package/v1/model/CheckpointParam.d.ts +24 -0
- package/v1/model/CheckpointParam.js +67 -0
- package/v1/model/CheckpointPlanCreate.d.ts +15 -0
- package/v1/model/CheckpointPlanCreate.js +37 -0
- package/v1/model/CheckpointReplicateParam.d.ts +27 -0
- package/v1/model/CheckpointReplicateParam.js +97 -0
- package/v1/model/CheckpointReplicateReq.d.ts +6 -0
- package/v1/model/CheckpointReplicateReq.js +14 -0
- package/v1/model/CheckpointReplicateRespBody.d.ts +34 -0
- package/v1/model/CheckpointReplicateRespBody.js +119 -0
- package/v1/model/CheckpointReplicateRespbackups.d.ts +11 -0
- package/v1/model/CheckpointReplicateRespbackups.js +39 -0
- package/v1/model/CheckpointResourceResp.d.ts +40 -0
- package/v1/model/CheckpointResourceResp.js +106 -0
- package/v1/model/CopyBackupRequest.d.ts +10 -0
- package/v1/model/CopyBackupRequest.js +28 -0
- package/v1/model/CopyBackupResponse.d.ts +7 -0
- package/v1/model/CopyBackupResponse.js +31 -0
- package/v1/model/CopyCheckpointRequest.d.ts +6 -0
- package/v1/model/CopyCheckpointRequest.js +13 -0
- package/v1/model/CopyCheckpointResponse.d.ts +7 -0
- package/v1/model/CopyCheckpointResponse.js +31 -0
- package/v1/model/CreateCheckpointRequest.d.ts +6 -0
- package/v1/model/CreateCheckpointRequest.js +13 -0
- package/v1/model/CreateCheckpointResponse.d.ts +7 -0
- package/v1/model/CreateCheckpointResponse.js +31 -0
- package/v1/model/CreatePolicyRequest.d.ts +6 -0
- package/v1/model/CreatePolicyRequest.js +13 -0
- package/v1/model/CreatePolicyResponse.d.ts +7 -0
- package/v1/model/CreatePolicyResponse.js +31 -0
- package/v1/model/CreateVaultRequest.d.ts +6 -0
- package/v1/model/CreateVaultRequest.js +13 -0
- package/v1/model/CreateVaultResponse.d.ts +7 -0
- package/v1/model/CreateVaultResponse.js +31 -0
- package/v1/model/CreateVaultTagsRequest.d.ts +10 -0
- package/v1/model/CreateVaultTagsRequest.js +28 -0
- package/v1/model/CreateVaultTagsResponse.d.ts +4 -0
- package/v1/model/CreateVaultTagsResponse.js +27 -0
- package/v1/model/DeleteBackupRequest.d.ts +7 -0
- package/v1/model/DeleteBackupRequest.js +24 -0
- package/v1/model/DeleteBackupResponse.d.ts +4 -0
- package/v1/model/DeleteBackupResponse.js +27 -0
- package/v1/model/DeleteMemberRequest.d.ts +11 -0
- package/v1/model/DeleteMemberRequest.js +39 -0
- package/v1/model/DeleteMemberResponse.d.ts +4 -0
- package/v1/model/DeleteMemberResponse.js +27 -0
- package/v1/model/DeletePolicyRequest.d.ts +7 -0
- package/v1/model/DeletePolicyRequest.js +24 -0
- package/v1/model/DeletePolicyResponse.d.ts +4 -0
- package/v1/model/DeletePolicyResponse.js +27 -0
- package/v1/model/DeleteVaultRequest.d.ts +7 -0
- package/v1/model/DeleteVaultRequest.js +24 -0
- package/v1/model/DeleteVaultResponse.d.ts +4 -0
- package/v1/model/DeleteVaultResponse.js +27 -0
- package/v1/model/DeleteVaultTagRequest.d.ts +9 -0
- package/v1/model/DeleteVaultTagRequest.js +29 -0
- package/v1/model/DeleteVaultTagResponse.d.ts +4 -0
- package/v1/model/DeleteVaultTagResponse.js +27 -0
- package/v1/model/DisassociateVaultPolicyRequest.d.ts +10 -0
- package/v1/model/DisassociateVaultPolicyRequest.js +28 -0
- package/v1/model/DisassociateVaultPolicyResponse.d.ts +9 -0
- package/v1/model/DisassociateVaultPolicyResponse.js +41 -0
- package/v1/model/ImageData.d.ts +7 -0
- package/v1/model/ImageData.js +23 -0
- package/v1/model/ImportBackupRequest.d.ts +6 -0
- package/v1/model/ImportBackupRequest.js +13 -0
- package/v1/model/ImportBackupResponse.d.ts +7 -0
- package/v1/model/ImportBackupResponse.js +31 -0
- package/v1/model/ListBackupsRequest.d.ts +128 -0
- package/v1/model/ListBackupsRequest.js +305 -0
- package/v1/model/ListBackupsResponse.d.ts +13 -0
- package/v1/model/ListBackupsResponse.js +43 -0
- package/v1/model/ListOpLogsRequest.d.ts +71 -0
- package/v1/model/ListOpLogsRequest.js +175 -0
- package/v1/model/ListOpLogsResponse.d.ts +15 -0
- package/v1/model/ListOpLogsResponse.js +53 -0
- package/v1/model/ListPoliciesRequest.d.ts +19 -0
- package/v1/model/ListPoliciesRequest.js +46 -0
- package/v1/model/ListPoliciesResponse.d.ts +9 -0
- package/v1/model/ListPoliciesResponse.js +35 -0
- package/v1/model/ListProtectableRequest.d.ts +31 -0
- package/v1/model/ListProtectableRequest.js +71 -0
- package/v1/model/ListProtectableResponse.d.ts +7 -0
- package/v1/model/ListProtectableResponse.js +31 -0
- package/v1/model/ListVaultRequest.d.ts +53 -0
- package/v1/model/ListVaultRequest.js +131 -0
- package/v1/model/ListVaultResponse.d.ts +13 -0
- package/v1/model/ListVaultResponse.js +43 -0
- package/v1/model/Match.d.ts +7 -0
- package/v1/model/Match.js +19 -0
- package/v1/model/Member.d.ts +40 -0
- package/v1/model/Member.js +112 -0
- package/v1/model/MigrateVaultResourceRequest.d.ts +10 -0
- package/v1/model/MigrateVaultResourceRequest.js +28 -0
- package/v1/model/MigrateVaultResourceResponse.d.ts +8 -0
- package/v1/model/MigrateVaultResourceResponse.js +41 -0
- package/v1/model/OpErrorInfo.d.ts +7 -0
- package/v1/model/OpErrorInfo.js +17 -0
- package/v1/model/OpExtendInfoBckup.d.ts +41 -0
- package/v1/model/OpExtendInfoBckup.js +102 -0
- package/v1/model/OpExtendInfoCommon.d.ts +13 -0
- package/v1/model/OpExtendInfoCommon.js +43 -0
- package/v1/model/OpExtendInfoDelete.d.ts +11 -0
- package/v1/model/OpExtendInfoDelete.js +39 -0
- package/v1/model/OpExtendInfoRemoveResources.d.ts +14 -0
- package/v1/model/OpExtendInfoRemoveResources.js +41 -0
- package/v1/model/OpExtendInfoReplication.d.ts +43 -0
- package/v1/model/OpExtendInfoReplication.js +154 -0
- package/v1/model/OpExtendInfoRestore.d.ts +19 -0
- package/v1/model/OpExtendInfoRestore.js +65 -0
- package/v1/model/OpExtendInfoSync.d.ts +15 -0
- package/v1/model/OpExtendInfoSync.js +51 -0
- package/v1/model/OpExtendInfoVaultDelete.d.ts +11 -0
- package/v1/model/OpExtendInfoVaultDelete.js +37 -0
- package/v1/model/OpExtraInfo.d.ts +36 -0
- package/v1/model/OpExtraInfo.js +77 -0
- package/v1/model/OperationLog.d.ts +87 -0
- package/v1/model/OperationLog.js +234 -0
- package/v1/model/Policy.d.ts +34 -0
- package/v1/model/Policy.js +82 -0
- package/v1/model/PolicyAssociateVault.d.ts +11 -0
- package/v1/model/PolicyAssociateVault.js +38 -0
- package/v1/model/PolicyCreate.d.ts +27 -0
- package/v1/model/PolicyCreate.js +62 -0
- package/v1/model/PolicyCreateReq.d.ts +6 -0
- package/v1/model/PolicyCreateReq.js +14 -0
- package/v1/model/PolicyTriggerPropertiesReq.d.ts +5 -0
- package/v1/model/PolicyTriggerPropertiesReq.js +14 -0
- package/v1/model/PolicyTriggerPropertiesResp.d.ts +9 -0
- package/v1/model/PolicyTriggerPropertiesResp.js +28 -0
- package/v1/model/PolicyTriggerReq.d.ts +6 -0
- package/v1/model/PolicyTriggerReq.js +14 -0
- package/v1/model/PolicyTriggerResp.d.ts +19 -0
- package/v1/model/PolicyTriggerResp.js +35 -0
- package/v1/model/PolicyUpdate.d.ts +15 -0
- package/v1/model/PolicyUpdate.js +35 -0
- package/v1/model/PolicyUpdateReq.d.ts +6 -0
- package/v1/model/PolicyUpdateReq.js +14 -0
- package/v1/model/PolicyoODCreate.d.ts +41 -0
- package/v1/model/PolicyoODCreate.js +139 -0
- package/v1/model/ProtectableReplicationCapabilitiesRespRegion.d.ts +9 -0
- package/v1/model/ProtectableReplicationCapabilitiesRespRegion.js +29 -0
- package/v1/model/ProtectableResult.d.ts +14 -0
- package/v1/model/ProtectableResult.js +30 -0
- package/v1/model/ProtectablesResp.d.ts +29 -0
- package/v1/model/ProtectablesResp.js +56 -0
- package/v1/model/RemoveVaultResourceRequest.d.ts +10 -0
- package/v1/model/RemoveVaultResourceRequest.js +28 -0
- package/v1/model/RemoveVaultResourceResponse.d.ts +8 -0
- package/v1/model/RemoveVaultResourceResponse.js +41 -0
- package/v1/model/ReplicationRecordGet.d.ts +67 -0
- package/v1/model/ReplicationRecordGet.js +198 -0
- package/v1/model/ReplicationRecordsExtraInfo.d.ts +21 -0
- package/v1/model/ReplicationRecordsExtraInfo.js +69 -0
- package/v1/model/Resource.d.ts +14 -0
- package/v1/model/Resource.js +37 -0
- package/v1/model/ResourceCreate.d.ts +14 -0
- package/v1/model/ResourceCreate.js +37 -0
- package/v1/model/ResourceExtraInfo.d.ts +12 -0
- package/v1/model/ResourceExtraInfo.js +37 -0
- package/v1/model/ResourceExtraInfoIncludeVolumes.d.ts +9 -0
- package/v1/model/ResourceExtraInfoIncludeVolumes.js +28 -0
- package/v1/model/ResourceResp.d.ts +43 -0
- package/v1/model/ResourceResp.js +110 -0
- package/v1/model/RestoreBackupRequest.d.ts +10 -0
- package/v1/model/RestoreBackupRequest.js +28 -0
- package/v1/model/RestoreBackupResponse.d.ts +4 -0
- package/v1/model/RestoreBackupResponse.js +27 -0
- package/v1/model/ShowBackupRequest.d.ts +7 -0
- package/v1/model/ShowBackupRequest.js +24 -0
- package/v1/model/ShowBackupResponse.d.ts +7 -0
- package/v1/model/ShowBackupResponse.js +31 -0
- package/v1/model/ShowCheckpointRequest.d.ts +7 -0
- package/v1/model/ShowCheckpointRequest.js +24 -0
- package/v1/model/ShowCheckpointResponse.d.ts +7 -0
- package/v1/model/ShowCheckpointResponse.js +31 -0
- package/v1/model/ShowMemberDetailRequest.d.ts +11 -0
- package/v1/model/ShowMemberDetailRequest.js +39 -0
- package/v1/model/ShowMemberDetailResponse.d.ts +7 -0
- package/v1/model/ShowMemberDetailResponse.js +31 -0
- package/v1/model/ShowMembersDetailRequest.d.ts +29 -0
- package/v1/model/ShowMembersDetailRequest.js +86 -0
- package/v1/model/ShowMembersDetailResponse.d.ts +9 -0
- package/v1/model/ShowMembersDetailResponse.js +35 -0
- package/v1/model/ShowOpLogRequest.d.ts +7 -0
- package/v1/model/ShowOpLogRequest.js +24 -0
- package/v1/model/ShowOpLogResponse.d.ts +9 -0
- package/v1/model/ShowOpLogResponse.js +41 -0
- package/v1/model/ShowPolicyRequest.d.ts +7 -0
- package/v1/model/ShowPolicyRequest.js +24 -0
- package/v1/model/ShowPolicyResponse.d.ts +7 -0
- package/v1/model/ShowPolicyResponse.js +31 -0
- package/v1/model/ShowProtectableRequest.d.ts +19 -0
- package/v1/model/ShowProtectableRequest.js +48 -0
- package/v1/model/ShowProtectableResponse.d.ts +7 -0
- package/v1/model/ShowProtectableResponse.js +31 -0
- package/v1/model/ShowReplicationCapabilitiesRequest.d.ts +3 -0
- package/v1/model/ShowReplicationCapabilitiesRequest.js +9 -0
- package/v1/model/ShowReplicationCapabilitiesResponse.d.ts +7 -0
- package/v1/model/ShowReplicationCapabilitiesResponse.js +31 -0
- package/v1/model/ShowVaultProjectTagRequest.d.ts +3 -0
- package/v1/model/ShowVaultProjectTagRequest.js +9 -0
- package/v1/model/ShowVaultProjectTagResponse.d.ts +7 -0
- package/v1/model/ShowVaultProjectTagResponse.js +31 -0
- package/v1/model/ShowVaultRequest.d.ts +7 -0
- package/v1/model/ShowVaultRequest.js +24 -0
- package/v1/model/ShowVaultResourceInstancesRequest.d.ts +6 -0
- package/v1/model/ShowVaultResourceInstancesRequest.js +13 -0
- package/v1/model/ShowVaultResourceInstancesResponse.d.ts +11 -0
- package/v1/model/ShowVaultResourceInstancesResponse.js +45 -0
- package/v1/model/ShowVaultResponse.d.ts +7 -0
- package/v1/model/ShowVaultResponse.js +31 -0
- package/v1/model/ShowVaultTagRequest.d.ts +7 -0
- package/v1/model/ShowVaultTagRequest.js +24 -0
- package/v1/model/ShowVaultTagResponse.d.ts +12 -0
- package/v1/model/ShowVaultTagResponse.js +45 -0
- package/v1/model/SysTag.d.ts +7 -0
- package/v1/model/SysTag.js +19 -0
- package/v1/model/SysTags.d.ts +7 -0
- package/v1/model/SysTags.js +19 -0
- package/v1/model/Tag.d.ts +7 -0
- package/v1/model/Tag.js +18 -0
- package/v1/model/TagResource.d.ts +24 -0
- package/v1/model/TagResource.js +74 -0
- package/v1/model/TagsReq.d.ts +7 -0
- package/v1/model/TagsReq.js +19 -0
- package/v1/model/TagsResp.d.ts +7 -0
- package/v1/model/TagsResp.js +17 -0
- package/v1/model/UpdateMember.d.ts +18 -0
- package/v1/model/UpdateMember.js +38 -0
- package/v1/model/UpdateMemberStatusRequest.d.ts +14 -0
- package/v1/model/UpdateMemberStatusRequest.js +43 -0
- package/v1/model/UpdateMemberStatusResponse.d.ts +7 -0
- package/v1/model/UpdateMemberStatusResponse.js +31 -0
- package/v1/model/UpdatePolicyRequest.d.ts +10 -0
- package/v1/model/UpdatePolicyRequest.js +28 -0
- package/v1/model/UpdatePolicyResponse.d.ts +7 -0
- package/v1/model/UpdatePolicyResponse.js +31 -0
- package/v1/model/UpdateVaultRequest.d.ts +10 -0
- package/v1/model/UpdateVaultRequest.js +28 -0
- package/v1/model/UpdateVaultResponse.d.ts +7 -0
- package/v1/model/UpdateVaultResponse.js +31 -0
- package/v1/model/Vault.d.ts +57 -0
- package/v1/model/Vault.js +169 -0
- package/v1/model/VaultAddResourceReq.d.ts +6 -0
- package/v1/model/VaultAddResourceReq.js +14 -0
- package/v1/model/VaultAssociate.d.ts +15 -0
- package/v1/model/VaultAssociate.js +51 -0
- package/v1/model/VaultBackup.d.ts +10 -0
- package/v1/model/VaultBackup.js +28 -0
- package/v1/model/VaultBackupReq.d.ts +6 -0
- package/v1/model/VaultBackupReq.js +14 -0
- package/v1/model/VaultBindRules.d.ts +6 -0
- package/v1/model/VaultBindRules.js +13 -0
- package/v1/model/VaultCreate.d.ts +37 -0
- package/v1/model/VaultCreate.js +102 -0
- package/v1/model/VaultCreateReq.d.ts +6 -0
- package/v1/model/VaultCreateReq.js +14 -0
- package/v1/model/VaultCreateResource.d.ts +64 -0
- package/v1/model/VaultCreateResource.js +181 -0
- package/v1/model/VaultDissociate.d.ts +7 -0
- package/v1/model/VaultDissociate.js +24 -0
- package/v1/model/VaultGet.d.ts +63 -0
- package/v1/model/VaultGet.js +188 -0
- package/v1/model/VaultMigrateResourceReq.d.ts +11 -0
- package/v1/model/VaultMigrateResourceReq.js +39 -0
- package/v1/model/VaultPolicyResp.d.ts +15 -0
- package/v1/model/VaultPolicyResp.js +53 -0
- package/v1/model/VaultRemoveResourceReq.d.ts +7 -0
- package/v1/model/VaultRemoveResourceReq.js +24 -0
- package/v1/model/VaultResourceInstancesReq.d.ts +60 -0
- package/v1/model/VaultResourceInstancesReq.js +146 -0
- package/v1/model/VaultTagsCreateReq.d.ts +6 -0
- package/v1/model/VaultTagsCreateReq.js +13 -0
- package/v1/model/VaultUpdate.d.ts +27 -0
- package/v1/model/VaultUpdate.js +77 -0
- package/v1/model/VaultUpdateReq.d.ts +6 -0
- package/v1/model/VaultUpdateReq.js +14 -0
- package/v1/public-api.d.ts +171 -0
- package/v1/public-api.js +187 -0
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.ImportBackupResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ImportBackupResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ImportBackupResponse, _super);
|
22
|
+
function ImportBackupResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ImportBackupResponse.prototype.withSync = function (sync) {
|
26
|
+
this['sync'] = sync;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return ImportBackupResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.ImportBackupResponse = ImportBackupResponse;
|
@@ -0,0 +1,128 @@
|
|
1
|
+
export declare class ListBackupsRequest {
|
2
|
+
private 'checkpoint_id'?;
|
3
|
+
dec?: boolean;
|
4
|
+
private 'end_time'?;
|
5
|
+
private 'image_type'?;
|
6
|
+
limit?: number;
|
7
|
+
marker?: string;
|
8
|
+
name?: string;
|
9
|
+
offset?: number;
|
10
|
+
private 'resource_az'?;
|
11
|
+
private 'resource_id'?;
|
12
|
+
private 'resource_name'?;
|
13
|
+
private 'resource_type'?;
|
14
|
+
sort?: string;
|
15
|
+
private 'start_time'?;
|
16
|
+
status?: ListBackupsRequestStatusEnum;
|
17
|
+
private 'vault_id'?;
|
18
|
+
private 'enterprise_project_id'?;
|
19
|
+
private 'own_type'?;
|
20
|
+
private 'member_status'?;
|
21
|
+
private 'parent_id'?;
|
22
|
+
private 'used_percent'?;
|
23
|
+
private 'show_replication'?;
|
24
|
+
incremental?: boolean;
|
25
|
+
constructor();
|
26
|
+
withCheckpointId(checkpointId: string): ListBackupsRequest;
|
27
|
+
set checkpointId(checkpointId: string | undefined);
|
28
|
+
get checkpointId(): string | undefined;
|
29
|
+
withDec(dec: boolean): ListBackupsRequest;
|
30
|
+
withEndTime(endTime: string): ListBackupsRequest;
|
31
|
+
set endTime(endTime: string | undefined);
|
32
|
+
get endTime(): string | undefined;
|
33
|
+
withImageType(imageType: ListBackupsRequestImageTypeEnum): ListBackupsRequest;
|
34
|
+
set imageType(imageType: ListBackupsRequestImageTypeEnum | undefined);
|
35
|
+
get imageType(): ListBackupsRequestImageTypeEnum | undefined;
|
36
|
+
withLimit(limit: number): ListBackupsRequest;
|
37
|
+
withMarker(marker: string): ListBackupsRequest;
|
38
|
+
withName(name: string): ListBackupsRequest;
|
39
|
+
withOffset(offset: number): ListBackupsRequest;
|
40
|
+
withResourceAz(resourceAz: string): ListBackupsRequest;
|
41
|
+
set resourceAz(resourceAz: string | undefined);
|
42
|
+
get resourceAz(): string | undefined;
|
43
|
+
withResourceId(resourceId: string): ListBackupsRequest;
|
44
|
+
set resourceId(resourceId: string | undefined);
|
45
|
+
get resourceId(): string | undefined;
|
46
|
+
withResourceName(resourceName: string): ListBackupsRequest;
|
47
|
+
set resourceName(resourceName: string | undefined);
|
48
|
+
get resourceName(): string | undefined;
|
49
|
+
withResourceType(resourceType: ListBackupsRequestResourceTypeEnum): ListBackupsRequest;
|
50
|
+
set resourceType(resourceType: ListBackupsRequestResourceTypeEnum | undefined);
|
51
|
+
get resourceType(): ListBackupsRequestResourceTypeEnum | undefined;
|
52
|
+
withSort(sort: string): ListBackupsRequest;
|
53
|
+
withStartTime(startTime: string): ListBackupsRequest;
|
54
|
+
set startTime(startTime: string | undefined);
|
55
|
+
get startTime(): string | undefined;
|
56
|
+
withStatus(status: ListBackupsRequestStatusEnum): ListBackupsRequest;
|
57
|
+
withVaultId(vaultId: string): ListBackupsRequest;
|
58
|
+
set vaultId(vaultId: string | undefined);
|
59
|
+
get vaultId(): string | undefined;
|
60
|
+
withEnterpriseProjectId(enterpriseProjectId: string): ListBackupsRequest;
|
61
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
62
|
+
get enterpriseProjectId(): string | undefined;
|
63
|
+
withOwnType(ownType: ListBackupsRequestOwnTypeEnum): ListBackupsRequest;
|
64
|
+
set ownType(ownType: ListBackupsRequestOwnTypeEnum | undefined);
|
65
|
+
get ownType(): ListBackupsRequestOwnTypeEnum | undefined;
|
66
|
+
withMemberStatus(memberStatus: ListBackupsRequestMemberStatusEnum): ListBackupsRequest;
|
67
|
+
set memberStatus(memberStatus: ListBackupsRequestMemberStatusEnum | undefined);
|
68
|
+
get memberStatus(): ListBackupsRequestMemberStatusEnum | undefined;
|
69
|
+
withParentId(parentId: string): ListBackupsRequest;
|
70
|
+
set parentId(parentId: string | undefined);
|
71
|
+
get parentId(): string | undefined;
|
72
|
+
withUsedPercent(usedPercent: string): ListBackupsRequest;
|
73
|
+
set usedPercent(usedPercent: string | undefined);
|
74
|
+
get usedPercent(): string | undefined;
|
75
|
+
withShowReplication(showReplication: boolean): ListBackupsRequest;
|
76
|
+
set showReplication(showReplication: boolean | undefined);
|
77
|
+
get showReplication(): boolean | undefined;
|
78
|
+
withIncremental(incremental: boolean): ListBackupsRequest;
|
79
|
+
}
|
80
|
+
/**
|
81
|
+
* @export
|
82
|
+
* @enum {string}
|
83
|
+
*/
|
84
|
+
export declare enum ListBackupsRequestImageTypeEnum {
|
85
|
+
BACKUP = "backup",
|
86
|
+
REPLICATION = "replication"
|
87
|
+
}
|
88
|
+
/**
|
89
|
+
* @export
|
90
|
+
* @enum {string}
|
91
|
+
*/
|
92
|
+
export declare enum ListBackupsRequestResourceTypeEnum {
|
93
|
+
OSCINDERVOLUME = "OS::Cinder::Volume",
|
94
|
+
OSNOVASERVER = "OS::Nova::Server",
|
95
|
+
OSWORKSPACEDESKTOPV2 = "OS::Workspace::DesktopV2"
|
96
|
+
}
|
97
|
+
/**
|
98
|
+
* @export
|
99
|
+
* @enum {string}
|
100
|
+
*/
|
101
|
+
export declare enum ListBackupsRequestStatusEnum {
|
102
|
+
AVAILABLE = "available",
|
103
|
+
PROTECTING = "protecting",
|
104
|
+
DELETING = "deleting",
|
105
|
+
RESTORING = "restoring",
|
106
|
+
ERROR = "error",
|
107
|
+
WAITING_PROTECT = "waiting_protect",
|
108
|
+
WAITING_DELETE = "waiting_delete",
|
109
|
+
WAITING_RESTORE = "waiting_restore"
|
110
|
+
}
|
111
|
+
/**
|
112
|
+
* @export
|
113
|
+
* @enum {string}
|
114
|
+
*/
|
115
|
+
export declare enum ListBackupsRequestOwnTypeEnum {
|
116
|
+
ALL_GRANTED = "all_granted",
|
117
|
+
PRIVATE = "private",
|
118
|
+
SHARED = "shared"
|
119
|
+
}
|
120
|
+
/**
|
121
|
+
* @export
|
122
|
+
* @enum {string}
|
123
|
+
*/
|
124
|
+
export declare enum ListBackupsRequestMemberStatusEnum {
|
125
|
+
PENDING = "pending",
|
126
|
+
ACCEPTED = "accepted",
|
127
|
+
REJECTED = "rejected"
|
128
|
+
}
|
@@ -0,0 +1,305 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListBackupsRequestMemberStatusEnum = exports.ListBackupsRequestOwnTypeEnum = exports.ListBackupsRequestStatusEnum = exports.ListBackupsRequestResourceTypeEnum = exports.ListBackupsRequestImageTypeEnum = exports.ListBackupsRequest = void 0;
|
4
|
+
var ListBackupsRequest = /** @class */ (function () {
|
5
|
+
function ListBackupsRequest() {
|
6
|
+
}
|
7
|
+
ListBackupsRequest.prototype.withCheckpointId = function (checkpointId) {
|
8
|
+
this['checkpoint_id'] = checkpointId;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(ListBackupsRequest.prototype, "checkpointId", {
|
12
|
+
get: function () {
|
13
|
+
return this['checkpoint_id'];
|
14
|
+
},
|
15
|
+
set: function (checkpointId) {
|
16
|
+
this['checkpoint_id'] = checkpointId;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
ListBackupsRequest.prototype.withDec = function (dec) {
|
22
|
+
this['dec'] = dec;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
ListBackupsRequest.prototype.withEndTime = function (endTime) {
|
26
|
+
this['end_time'] = endTime;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(ListBackupsRequest.prototype, "endTime", {
|
30
|
+
get: function () {
|
31
|
+
return this['end_time'];
|
32
|
+
},
|
33
|
+
set: function (endTime) {
|
34
|
+
this['end_time'] = endTime;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
ListBackupsRequest.prototype.withImageType = function (imageType) {
|
40
|
+
this['image_type'] = imageType;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
Object.defineProperty(ListBackupsRequest.prototype, "imageType", {
|
44
|
+
get: function () {
|
45
|
+
return this['image_type'];
|
46
|
+
},
|
47
|
+
set: function (imageType) {
|
48
|
+
this['image_type'] = imageType;
|
49
|
+
},
|
50
|
+
enumerable: false,
|
51
|
+
configurable: true
|
52
|
+
});
|
53
|
+
ListBackupsRequest.prototype.withLimit = function (limit) {
|
54
|
+
this['limit'] = limit;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
ListBackupsRequest.prototype.withMarker = function (marker) {
|
58
|
+
this['marker'] = marker;
|
59
|
+
return this;
|
60
|
+
};
|
61
|
+
ListBackupsRequest.prototype.withName = function (name) {
|
62
|
+
this['name'] = name;
|
63
|
+
return this;
|
64
|
+
};
|
65
|
+
ListBackupsRequest.prototype.withOffset = function (offset) {
|
66
|
+
this['offset'] = offset;
|
67
|
+
return this;
|
68
|
+
};
|
69
|
+
ListBackupsRequest.prototype.withResourceAz = function (resourceAz) {
|
70
|
+
this['resource_az'] = resourceAz;
|
71
|
+
return this;
|
72
|
+
};
|
73
|
+
Object.defineProperty(ListBackupsRequest.prototype, "resourceAz", {
|
74
|
+
get: function () {
|
75
|
+
return this['resource_az'];
|
76
|
+
},
|
77
|
+
set: function (resourceAz) {
|
78
|
+
this['resource_az'] = resourceAz;
|
79
|
+
},
|
80
|
+
enumerable: false,
|
81
|
+
configurable: true
|
82
|
+
});
|
83
|
+
ListBackupsRequest.prototype.withResourceId = function (resourceId) {
|
84
|
+
this['resource_id'] = resourceId;
|
85
|
+
return this;
|
86
|
+
};
|
87
|
+
Object.defineProperty(ListBackupsRequest.prototype, "resourceId", {
|
88
|
+
get: function () {
|
89
|
+
return this['resource_id'];
|
90
|
+
},
|
91
|
+
set: function (resourceId) {
|
92
|
+
this['resource_id'] = resourceId;
|
93
|
+
},
|
94
|
+
enumerable: false,
|
95
|
+
configurable: true
|
96
|
+
});
|
97
|
+
ListBackupsRequest.prototype.withResourceName = function (resourceName) {
|
98
|
+
this['resource_name'] = resourceName;
|
99
|
+
return this;
|
100
|
+
};
|
101
|
+
Object.defineProperty(ListBackupsRequest.prototype, "resourceName", {
|
102
|
+
get: function () {
|
103
|
+
return this['resource_name'];
|
104
|
+
},
|
105
|
+
set: function (resourceName) {
|
106
|
+
this['resource_name'] = resourceName;
|
107
|
+
},
|
108
|
+
enumerable: false,
|
109
|
+
configurable: true
|
110
|
+
});
|
111
|
+
ListBackupsRequest.prototype.withResourceType = function (resourceType) {
|
112
|
+
this['resource_type'] = resourceType;
|
113
|
+
return this;
|
114
|
+
};
|
115
|
+
Object.defineProperty(ListBackupsRequest.prototype, "resourceType", {
|
116
|
+
get: function () {
|
117
|
+
return this['resource_type'];
|
118
|
+
},
|
119
|
+
set: function (resourceType) {
|
120
|
+
this['resource_type'] = resourceType;
|
121
|
+
},
|
122
|
+
enumerable: false,
|
123
|
+
configurable: true
|
124
|
+
});
|
125
|
+
ListBackupsRequest.prototype.withSort = function (sort) {
|
126
|
+
this['sort'] = sort;
|
127
|
+
return this;
|
128
|
+
};
|
129
|
+
ListBackupsRequest.prototype.withStartTime = function (startTime) {
|
130
|
+
this['start_time'] = startTime;
|
131
|
+
return this;
|
132
|
+
};
|
133
|
+
Object.defineProperty(ListBackupsRequest.prototype, "startTime", {
|
134
|
+
get: function () {
|
135
|
+
return this['start_time'];
|
136
|
+
},
|
137
|
+
set: function (startTime) {
|
138
|
+
this['start_time'] = startTime;
|
139
|
+
},
|
140
|
+
enumerable: false,
|
141
|
+
configurable: true
|
142
|
+
});
|
143
|
+
ListBackupsRequest.prototype.withStatus = function (status) {
|
144
|
+
this['status'] = status;
|
145
|
+
return this;
|
146
|
+
};
|
147
|
+
ListBackupsRequest.prototype.withVaultId = function (vaultId) {
|
148
|
+
this['vault_id'] = vaultId;
|
149
|
+
return this;
|
150
|
+
};
|
151
|
+
Object.defineProperty(ListBackupsRequest.prototype, "vaultId", {
|
152
|
+
get: function () {
|
153
|
+
return this['vault_id'];
|
154
|
+
},
|
155
|
+
set: function (vaultId) {
|
156
|
+
this['vault_id'] = vaultId;
|
157
|
+
},
|
158
|
+
enumerable: false,
|
159
|
+
configurable: true
|
160
|
+
});
|
161
|
+
ListBackupsRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
162
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
163
|
+
return this;
|
164
|
+
};
|
165
|
+
Object.defineProperty(ListBackupsRequest.prototype, "enterpriseProjectId", {
|
166
|
+
get: function () {
|
167
|
+
return this['enterprise_project_id'];
|
168
|
+
},
|
169
|
+
set: function (enterpriseProjectId) {
|
170
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
171
|
+
},
|
172
|
+
enumerable: false,
|
173
|
+
configurable: true
|
174
|
+
});
|
175
|
+
ListBackupsRequest.prototype.withOwnType = function (ownType) {
|
176
|
+
this['own_type'] = ownType;
|
177
|
+
return this;
|
178
|
+
};
|
179
|
+
Object.defineProperty(ListBackupsRequest.prototype, "ownType", {
|
180
|
+
get: function () {
|
181
|
+
return this['own_type'];
|
182
|
+
},
|
183
|
+
set: function (ownType) {
|
184
|
+
this['own_type'] = ownType;
|
185
|
+
},
|
186
|
+
enumerable: false,
|
187
|
+
configurable: true
|
188
|
+
});
|
189
|
+
ListBackupsRequest.prototype.withMemberStatus = function (memberStatus) {
|
190
|
+
this['member_status'] = memberStatus;
|
191
|
+
return this;
|
192
|
+
};
|
193
|
+
Object.defineProperty(ListBackupsRequest.prototype, "memberStatus", {
|
194
|
+
get: function () {
|
195
|
+
return this['member_status'];
|
196
|
+
},
|
197
|
+
set: function (memberStatus) {
|
198
|
+
this['member_status'] = memberStatus;
|
199
|
+
},
|
200
|
+
enumerable: false,
|
201
|
+
configurable: true
|
202
|
+
});
|
203
|
+
ListBackupsRequest.prototype.withParentId = function (parentId) {
|
204
|
+
this['parent_id'] = parentId;
|
205
|
+
return this;
|
206
|
+
};
|
207
|
+
Object.defineProperty(ListBackupsRequest.prototype, "parentId", {
|
208
|
+
get: function () {
|
209
|
+
return this['parent_id'];
|
210
|
+
},
|
211
|
+
set: function (parentId) {
|
212
|
+
this['parent_id'] = parentId;
|
213
|
+
},
|
214
|
+
enumerable: false,
|
215
|
+
configurable: true
|
216
|
+
});
|
217
|
+
ListBackupsRequest.prototype.withUsedPercent = function (usedPercent) {
|
218
|
+
this['used_percent'] = usedPercent;
|
219
|
+
return this;
|
220
|
+
};
|
221
|
+
Object.defineProperty(ListBackupsRequest.prototype, "usedPercent", {
|
222
|
+
get: function () {
|
223
|
+
return this['used_percent'];
|
224
|
+
},
|
225
|
+
set: function (usedPercent) {
|
226
|
+
this['used_percent'] = usedPercent;
|
227
|
+
},
|
228
|
+
enumerable: false,
|
229
|
+
configurable: true
|
230
|
+
});
|
231
|
+
ListBackupsRequest.prototype.withShowReplication = function (showReplication) {
|
232
|
+
this['show_replication'] = showReplication;
|
233
|
+
return this;
|
234
|
+
};
|
235
|
+
Object.defineProperty(ListBackupsRequest.prototype, "showReplication", {
|
236
|
+
get: function () {
|
237
|
+
return this['show_replication'];
|
238
|
+
},
|
239
|
+
set: function (showReplication) {
|
240
|
+
this['show_replication'] = showReplication;
|
241
|
+
},
|
242
|
+
enumerable: false,
|
243
|
+
configurable: true
|
244
|
+
});
|
245
|
+
ListBackupsRequest.prototype.withIncremental = function (incremental) {
|
246
|
+
this['incremental'] = incremental;
|
247
|
+
return this;
|
248
|
+
};
|
249
|
+
return ListBackupsRequest;
|
250
|
+
}());
|
251
|
+
exports.ListBackupsRequest = ListBackupsRequest;
|
252
|
+
/**
|
253
|
+
* @export
|
254
|
+
* @enum {string}
|
255
|
+
*/
|
256
|
+
var ListBackupsRequestImageTypeEnum;
|
257
|
+
(function (ListBackupsRequestImageTypeEnum) {
|
258
|
+
ListBackupsRequestImageTypeEnum["BACKUP"] = "backup";
|
259
|
+
ListBackupsRequestImageTypeEnum["REPLICATION"] = "replication";
|
260
|
+
})(ListBackupsRequestImageTypeEnum = exports.ListBackupsRequestImageTypeEnum || (exports.ListBackupsRequestImageTypeEnum = {}));
|
261
|
+
/**
|
262
|
+
* @export
|
263
|
+
* @enum {string}
|
264
|
+
*/
|
265
|
+
var ListBackupsRequestResourceTypeEnum;
|
266
|
+
(function (ListBackupsRequestResourceTypeEnum) {
|
267
|
+
ListBackupsRequestResourceTypeEnum["OSCINDERVOLUME"] = "OS::Cinder::Volume";
|
268
|
+
ListBackupsRequestResourceTypeEnum["OSNOVASERVER"] = "OS::Nova::Server";
|
269
|
+
ListBackupsRequestResourceTypeEnum["OSWORKSPACEDESKTOPV2"] = "OS::Workspace::DesktopV2";
|
270
|
+
})(ListBackupsRequestResourceTypeEnum = exports.ListBackupsRequestResourceTypeEnum || (exports.ListBackupsRequestResourceTypeEnum = {}));
|
271
|
+
/**
|
272
|
+
* @export
|
273
|
+
* @enum {string}
|
274
|
+
*/
|
275
|
+
var ListBackupsRequestStatusEnum;
|
276
|
+
(function (ListBackupsRequestStatusEnum) {
|
277
|
+
ListBackupsRequestStatusEnum["AVAILABLE"] = "available";
|
278
|
+
ListBackupsRequestStatusEnum["PROTECTING"] = "protecting";
|
279
|
+
ListBackupsRequestStatusEnum["DELETING"] = "deleting";
|
280
|
+
ListBackupsRequestStatusEnum["RESTORING"] = "restoring";
|
281
|
+
ListBackupsRequestStatusEnum["ERROR"] = "error";
|
282
|
+
ListBackupsRequestStatusEnum["WAITING_PROTECT"] = "waiting_protect";
|
283
|
+
ListBackupsRequestStatusEnum["WAITING_DELETE"] = "waiting_delete";
|
284
|
+
ListBackupsRequestStatusEnum["WAITING_RESTORE"] = "waiting_restore";
|
285
|
+
})(ListBackupsRequestStatusEnum = exports.ListBackupsRequestStatusEnum || (exports.ListBackupsRequestStatusEnum = {}));
|
286
|
+
/**
|
287
|
+
* @export
|
288
|
+
* @enum {string}
|
289
|
+
*/
|
290
|
+
var ListBackupsRequestOwnTypeEnum;
|
291
|
+
(function (ListBackupsRequestOwnTypeEnum) {
|
292
|
+
ListBackupsRequestOwnTypeEnum["ALL_GRANTED"] = "all_granted";
|
293
|
+
ListBackupsRequestOwnTypeEnum["PRIVATE"] = "private";
|
294
|
+
ListBackupsRequestOwnTypeEnum["SHARED"] = "shared";
|
295
|
+
})(ListBackupsRequestOwnTypeEnum = exports.ListBackupsRequestOwnTypeEnum || (exports.ListBackupsRequestOwnTypeEnum = {}));
|
296
|
+
/**
|
297
|
+
* @export
|
298
|
+
* @enum {string}
|
299
|
+
*/
|
300
|
+
var ListBackupsRequestMemberStatusEnum;
|
301
|
+
(function (ListBackupsRequestMemberStatusEnum) {
|
302
|
+
ListBackupsRequestMemberStatusEnum["PENDING"] = "pending";
|
303
|
+
ListBackupsRequestMemberStatusEnum["ACCEPTED"] = "accepted";
|
304
|
+
ListBackupsRequestMemberStatusEnum["REJECTED"] = "rejected";
|
305
|
+
})(ListBackupsRequestMemberStatusEnum = exports.ListBackupsRequestMemberStatusEnum || (exports.ListBackupsRequestMemberStatusEnum = {}));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { BackupResp } from './BackupResp';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ListBackupsResponse extends SdkResponse {
|
4
|
+
backups?: Array<BackupResp>;
|
5
|
+
count?: number;
|
6
|
+
offset?: number;
|
7
|
+
limit?: number;
|
8
|
+
constructor();
|
9
|
+
withBackups(backups: Array<BackupResp>): ListBackupsResponse;
|
10
|
+
withCount(count: number): ListBackupsResponse;
|
11
|
+
withOffset(offset: number): ListBackupsResponse;
|
12
|
+
withLimit(limit: number): ListBackupsResponse;
|
13
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.ListBackupsResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListBackupsResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListBackupsResponse, _super);
|
22
|
+
function ListBackupsResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListBackupsResponse.prototype.withBackups = function (backups) {
|
26
|
+
this['backups'] = backups;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
ListBackupsResponse.prototype.withCount = function (count) {
|
30
|
+
this['count'] = count;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
ListBackupsResponse.prototype.withOffset = function (offset) {
|
34
|
+
this['offset'] = offset;
|
35
|
+
return this;
|
36
|
+
};
|
37
|
+
ListBackupsResponse.prototype.withLimit = function (limit) {
|
38
|
+
this['limit'] = limit;
|
39
|
+
return this;
|
40
|
+
};
|
41
|
+
return ListBackupsResponse;
|
42
|
+
}(SdkResponse_1.SdkResponse));
|
43
|
+
exports.ListBackupsResponse = ListBackupsResponse;
|
@@ -0,0 +1,71 @@
|
|
1
|
+
export declare class ListOpLogsRequest {
|
2
|
+
private 'end_time'?;
|
3
|
+
limit?: number;
|
4
|
+
offset?: number;
|
5
|
+
private 'operation_type'?;
|
6
|
+
private 'provider_id'?;
|
7
|
+
private 'resource_id'?;
|
8
|
+
private 'resource_name'?;
|
9
|
+
private 'start_time'?;
|
10
|
+
status?: ListOpLogsRequestStatusEnum;
|
11
|
+
private 'vault_id'?;
|
12
|
+
private 'vault_name'?;
|
13
|
+
private 'enterprise_project_id'?;
|
14
|
+
constructor();
|
15
|
+
withEndTime(endTime: string): ListOpLogsRequest;
|
16
|
+
set endTime(endTime: string | undefined);
|
17
|
+
get endTime(): string | undefined;
|
18
|
+
withLimit(limit: number): ListOpLogsRequest;
|
19
|
+
withOffset(offset: number): ListOpLogsRequest;
|
20
|
+
withOperationType(operationType: ListOpLogsRequestOperationTypeEnum): ListOpLogsRequest;
|
21
|
+
set operationType(operationType: ListOpLogsRequestOperationTypeEnum | undefined);
|
22
|
+
get operationType(): ListOpLogsRequestOperationTypeEnum | undefined;
|
23
|
+
withProviderId(providerId: string): ListOpLogsRequest;
|
24
|
+
set providerId(providerId: string | undefined);
|
25
|
+
get providerId(): string | undefined;
|
26
|
+
withResourceId(resourceId: string): ListOpLogsRequest;
|
27
|
+
set resourceId(resourceId: string | undefined);
|
28
|
+
get resourceId(): string | undefined;
|
29
|
+
withResourceName(resourceName: string): ListOpLogsRequest;
|
30
|
+
set resourceName(resourceName: string | undefined);
|
31
|
+
get resourceName(): string | undefined;
|
32
|
+
withStartTime(startTime: string): ListOpLogsRequest;
|
33
|
+
set startTime(startTime: string | undefined);
|
34
|
+
get startTime(): string | undefined;
|
35
|
+
withStatus(status: ListOpLogsRequestStatusEnum): ListOpLogsRequest;
|
36
|
+
withVaultId(vaultId: string): ListOpLogsRequest;
|
37
|
+
set vaultId(vaultId: string | undefined);
|
38
|
+
get vaultId(): string | undefined;
|
39
|
+
withVaultName(vaultName: string): ListOpLogsRequest;
|
40
|
+
set vaultName(vaultName: string | undefined);
|
41
|
+
get vaultName(): string | undefined;
|
42
|
+
withEnterpriseProjectId(enterpriseProjectId: string): ListOpLogsRequest;
|
43
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
44
|
+
get enterpriseProjectId(): string | undefined;
|
45
|
+
}
|
46
|
+
/**
|
47
|
+
* @export
|
48
|
+
* @enum {string}
|
49
|
+
*/
|
50
|
+
export declare enum ListOpLogsRequestOperationTypeEnum {
|
51
|
+
BACKUP = "backup",
|
52
|
+
COPY = "copy",
|
53
|
+
REPLICATION = "replication",
|
54
|
+
DELETE = "delete",
|
55
|
+
RESTORE = "restore",
|
56
|
+
VAULT_DELETE = "vault_delete",
|
57
|
+
REMOVE_RESOURCE = "remove_resource",
|
58
|
+
SYNC = "sync"
|
59
|
+
}
|
60
|
+
/**
|
61
|
+
* @export
|
62
|
+
* @enum {string}
|
63
|
+
*/
|
64
|
+
export declare enum ListOpLogsRequestStatusEnum {
|
65
|
+
SUCCESS = "success",
|
66
|
+
SKIPPED = "skipped",
|
67
|
+
FAILED = "failed",
|
68
|
+
RUNNING = "running",
|
69
|
+
TIMEOUT = "timeout",
|
70
|
+
WAITING = "waiting"
|
71
|
+
}
|