@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,131 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListVaultRequestProtectTypeEnum = exports.ListVaultRequestCloudTypeEnum = exports.ListVaultRequest = void 0;
|
4
|
+
var ListVaultRequest = /** @class */ (function () {
|
5
|
+
function ListVaultRequest() {
|
6
|
+
}
|
7
|
+
ListVaultRequest.prototype.withLimit = function (limit) {
|
8
|
+
this['limit'] = limit;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
ListVaultRequest.prototype.withName = function (name) {
|
12
|
+
this['name'] = name;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
ListVaultRequest.prototype.withOffset = function (offset) {
|
16
|
+
this['offset'] = offset;
|
17
|
+
return this;
|
18
|
+
};
|
19
|
+
ListVaultRequest.prototype.withCloudType = function (cloudType) {
|
20
|
+
this['cloud_type'] = cloudType;
|
21
|
+
return this;
|
22
|
+
};
|
23
|
+
Object.defineProperty(ListVaultRequest.prototype, "cloudType", {
|
24
|
+
get: function () {
|
25
|
+
return this['cloud_type'];
|
26
|
+
},
|
27
|
+
set: function (cloudType) {
|
28
|
+
this['cloud_type'] = cloudType;
|
29
|
+
},
|
30
|
+
enumerable: false,
|
31
|
+
configurable: true
|
32
|
+
});
|
33
|
+
ListVaultRequest.prototype.withProtectType = function (protectType) {
|
34
|
+
this['protect_type'] = protectType;
|
35
|
+
return this;
|
36
|
+
};
|
37
|
+
Object.defineProperty(ListVaultRequest.prototype, "protectType", {
|
38
|
+
get: function () {
|
39
|
+
return this['protect_type'];
|
40
|
+
},
|
41
|
+
set: function (protectType) {
|
42
|
+
this['protect_type'] = protectType;
|
43
|
+
},
|
44
|
+
enumerable: false,
|
45
|
+
configurable: true
|
46
|
+
});
|
47
|
+
ListVaultRequest.prototype.withObjectType = function (objectType) {
|
48
|
+
this['object_type'] = objectType;
|
49
|
+
return this;
|
50
|
+
};
|
51
|
+
Object.defineProperty(ListVaultRequest.prototype, "objectType", {
|
52
|
+
get: function () {
|
53
|
+
return this['object_type'];
|
54
|
+
},
|
55
|
+
set: function (objectType) {
|
56
|
+
this['object_type'] = objectType;
|
57
|
+
},
|
58
|
+
enumerable: false,
|
59
|
+
configurable: true
|
60
|
+
});
|
61
|
+
ListVaultRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
62
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
63
|
+
return this;
|
64
|
+
};
|
65
|
+
Object.defineProperty(ListVaultRequest.prototype, "enterpriseProjectId", {
|
66
|
+
get: function () {
|
67
|
+
return this['enterprise_project_id'];
|
68
|
+
},
|
69
|
+
set: function (enterpriseProjectId) {
|
70
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
71
|
+
},
|
72
|
+
enumerable: false,
|
73
|
+
configurable: true
|
74
|
+
});
|
75
|
+
ListVaultRequest.prototype.withId = function (id) {
|
76
|
+
this['id'] = id;
|
77
|
+
return this;
|
78
|
+
};
|
79
|
+
ListVaultRequest.prototype.withPolicyId = function (policyId) {
|
80
|
+
this['policy_id'] = policyId;
|
81
|
+
return this;
|
82
|
+
};
|
83
|
+
Object.defineProperty(ListVaultRequest.prototype, "policyId", {
|
84
|
+
get: function () {
|
85
|
+
return this['policy_id'];
|
86
|
+
},
|
87
|
+
set: function (policyId) {
|
88
|
+
this['policy_id'] = policyId;
|
89
|
+
},
|
90
|
+
enumerable: false,
|
91
|
+
configurable: true
|
92
|
+
});
|
93
|
+
ListVaultRequest.prototype.withStatus = function (status) {
|
94
|
+
this['status'] = status;
|
95
|
+
return this;
|
96
|
+
};
|
97
|
+
ListVaultRequest.prototype.withResourceIds = function (resourceIds) {
|
98
|
+
this['resource_ids'] = resourceIds;
|
99
|
+
return this;
|
100
|
+
};
|
101
|
+
Object.defineProperty(ListVaultRequest.prototype, "resourceIds", {
|
102
|
+
get: function () {
|
103
|
+
return this['resource_ids'];
|
104
|
+
},
|
105
|
+
set: function (resourceIds) {
|
106
|
+
this['resource_ids'] = resourceIds;
|
107
|
+
},
|
108
|
+
enumerable: false,
|
109
|
+
configurable: true
|
110
|
+
});
|
111
|
+
return ListVaultRequest;
|
112
|
+
}());
|
113
|
+
exports.ListVaultRequest = ListVaultRequest;
|
114
|
+
/**
|
115
|
+
* @export
|
116
|
+
* @enum {string}
|
117
|
+
*/
|
118
|
+
var ListVaultRequestCloudTypeEnum;
|
119
|
+
(function (ListVaultRequestCloudTypeEnum) {
|
120
|
+
ListVaultRequestCloudTypeEnum["PUBLIC"] = "public";
|
121
|
+
ListVaultRequestCloudTypeEnum["HYBRID"] = "hybrid";
|
122
|
+
})(ListVaultRequestCloudTypeEnum = exports.ListVaultRequestCloudTypeEnum || (exports.ListVaultRequestCloudTypeEnum = {}));
|
123
|
+
/**
|
124
|
+
* @export
|
125
|
+
* @enum {string}
|
126
|
+
*/
|
127
|
+
var ListVaultRequestProtectTypeEnum;
|
128
|
+
(function (ListVaultRequestProtectTypeEnum) {
|
129
|
+
ListVaultRequestProtectTypeEnum["BACKUP"] = "backup";
|
130
|
+
ListVaultRequestProtectTypeEnum["REPLICATION"] = "replication";
|
131
|
+
})(ListVaultRequestProtectTypeEnum = exports.ListVaultRequestProtectTypeEnum || (exports.ListVaultRequestProtectTypeEnum = {}));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { Vault } from './Vault';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ListVaultResponse extends SdkResponse {
|
4
|
+
vaults?: Array<Vault>;
|
5
|
+
count?: number;
|
6
|
+
limit?: number;
|
7
|
+
offset?: number;
|
8
|
+
constructor();
|
9
|
+
withVaults(vaults: Array<Vault>): ListVaultResponse;
|
10
|
+
withCount(count: number): ListVaultResponse;
|
11
|
+
withLimit(limit: number): ListVaultResponse;
|
12
|
+
withOffset(offset: number): ListVaultResponse;
|
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.ListVaultResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListVaultResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListVaultResponse, _super);
|
22
|
+
function ListVaultResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListVaultResponse.prototype.withVaults = function (vaults) {
|
26
|
+
this['vaults'] = vaults;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
ListVaultResponse.prototype.withCount = function (count) {
|
30
|
+
this['count'] = count;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
ListVaultResponse.prototype.withLimit = function (limit) {
|
34
|
+
this['limit'] = limit;
|
35
|
+
return this;
|
36
|
+
};
|
37
|
+
ListVaultResponse.prototype.withOffset = function (offset) {
|
38
|
+
this['offset'] = offset;
|
39
|
+
return this;
|
40
|
+
};
|
41
|
+
return ListVaultResponse;
|
42
|
+
}(SdkResponse_1.SdkResponse));
|
43
|
+
exports.ListVaultResponse = ListVaultResponse;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Match = void 0;
|
4
|
+
var Match = /** @class */ (function () {
|
5
|
+
function Match(key, value) {
|
6
|
+
this['key'] = key;
|
7
|
+
this['value'] = value;
|
8
|
+
}
|
9
|
+
Match.prototype.withKey = function (key) {
|
10
|
+
this['key'] = key;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Match.prototype.withValue = function (value) {
|
14
|
+
this['value'] = value;
|
15
|
+
return this;
|
16
|
+
};
|
17
|
+
return Match;
|
18
|
+
}());
|
19
|
+
exports.Match = Match;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
export declare class Member {
|
2
|
+
status: MemberStatusEnum;
|
3
|
+
private 'created_at'?;
|
4
|
+
private 'updated_at'?;
|
5
|
+
private 'backup_id'?;
|
6
|
+
private 'image_id'?;
|
7
|
+
private 'dest_project_id'?;
|
8
|
+
private 'vault_id'?;
|
9
|
+
id?: string;
|
10
|
+
constructor(status?: any);
|
11
|
+
withStatus(status: MemberStatusEnum): Member;
|
12
|
+
withCreatedAt(createdAt: string): Member;
|
13
|
+
set createdAt(createdAt: string | undefined);
|
14
|
+
get createdAt(): string | undefined;
|
15
|
+
withUpdatedAt(updatedAt: string): Member;
|
16
|
+
set updatedAt(updatedAt: string | undefined);
|
17
|
+
get updatedAt(): string | undefined;
|
18
|
+
withBackupId(backupId: string): Member;
|
19
|
+
set backupId(backupId: string | undefined);
|
20
|
+
get backupId(): string | undefined;
|
21
|
+
withImageId(imageId: string): Member;
|
22
|
+
set imageId(imageId: string | undefined);
|
23
|
+
get imageId(): string | undefined;
|
24
|
+
withDestProjectId(destProjectId: string): Member;
|
25
|
+
set destProjectId(destProjectId: string | undefined);
|
26
|
+
get destProjectId(): string | undefined;
|
27
|
+
withVaultId(vaultId: string): Member;
|
28
|
+
set vaultId(vaultId: string | undefined);
|
29
|
+
get vaultId(): string | undefined;
|
30
|
+
withId(id: string): Member;
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* @export
|
34
|
+
* @enum {string}
|
35
|
+
*/
|
36
|
+
export declare enum MemberStatusEnum {
|
37
|
+
PENDING = "pending",
|
38
|
+
ACCEPTED = "accepted",
|
39
|
+
REJECTED = "rejected"
|
40
|
+
}
|
@@ -0,0 +1,112 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MemberStatusEnum = exports.Member = void 0;
|
4
|
+
var Member = /** @class */ (function () {
|
5
|
+
function Member(status) {
|
6
|
+
this['status'] = status;
|
7
|
+
}
|
8
|
+
Member.prototype.withStatus = function (status) {
|
9
|
+
this['status'] = status;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Member.prototype.withCreatedAt = function (createdAt) {
|
13
|
+
this['created_at'] = createdAt;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
Object.defineProperty(Member.prototype, "createdAt", {
|
17
|
+
get: function () {
|
18
|
+
return this['created_at'];
|
19
|
+
},
|
20
|
+
set: function (createdAt) {
|
21
|
+
this['created_at'] = createdAt;
|
22
|
+
},
|
23
|
+
enumerable: false,
|
24
|
+
configurable: true
|
25
|
+
});
|
26
|
+
Member.prototype.withUpdatedAt = function (updatedAt) {
|
27
|
+
this['updated_at'] = updatedAt;
|
28
|
+
return this;
|
29
|
+
};
|
30
|
+
Object.defineProperty(Member.prototype, "updatedAt", {
|
31
|
+
get: function () {
|
32
|
+
return this['updated_at'];
|
33
|
+
},
|
34
|
+
set: function (updatedAt) {
|
35
|
+
this['updated_at'] = updatedAt;
|
36
|
+
},
|
37
|
+
enumerable: false,
|
38
|
+
configurable: true
|
39
|
+
});
|
40
|
+
Member.prototype.withBackupId = function (backupId) {
|
41
|
+
this['backup_id'] = backupId;
|
42
|
+
return this;
|
43
|
+
};
|
44
|
+
Object.defineProperty(Member.prototype, "backupId", {
|
45
|
+
get: function () {
|
46
|
+
return this['backup_id'];
|
47
|
+
},
|
48
|
+
set: function (backupId) {
|
49
|
+
this['backup_id'] = backupId;
|
50
|
+
},
|
51
|
+
enumerable: false,
|
52
|
+
configurable: true
|
53
|
+
});
|
54
|
+
Member.prototype.withImageId = function (imageId) {
|
55
|
+
this['image_id'] = imageId;
|
56
|
+
return this;
|
57
|
+
};
|
58
|
+
Object.defineProperty(Member.prototype, "imageId", {
|
59
|
+
get: function () {
|
60
|
+
return this['image_id'];
|
61
|
+
},
|
62
|
+
set: function (imageId) {
|
63
|
+
this['image_id'] = imageId;
|
64
|
+
},
|
65
|
+
enumerable: false,
|
66
|
+
configurable: true
|
67
|
+
});
|
68
|
+
Member.prototype.withDestProjectId = function (destProjectId) {
|
69
|
+
this['dest_project_id'] = destProjectId;
|
70
|
+
return this;
|
71
|
+
};
|
72
|
+
Object.defineProperty(Member.prototype, "destProjectId", {
|
73
|
+
get: function () {
|
74
|
+
return this['dest_project_id'];
|
75
|
+
},
|
76
|
+
set: function (destProjectId) {
|
77
|
+
this['dest_project_id'] = destProjectId;
|
78
|
+
},
|
79
|
+
enumerable: false,
|
80
|
+
configurable: true
|
81
|
+
});
|
82
|
+
Member.prototype.withVaultId = function (vaultId) {
|
83
|
+
this['vault_id'] = vaultId;
|
84
|
+
return this;
|
85
|
+
};
|
86
|
+
Object.defineProperty(Member.prototype, "vaultId", {
|
87
|
+
get: function () {
|
88
|
+
return this['vault_id'];
|
89
|
+
},
|
90
|
+
set: function (vaultId) {
|
91
|
+
this['vault_id'] = vaultId;
|
92
|
+
},
|
93
|
+
enumerable: false,
|
94
|
+
configurable: true
|
95
|
+
});
|
96
|
+
Member.prototype.withId = function (id) {
|
97
|
+
this['id'] = id;
|
98
|
+
return this;
|
99
|
+
};
|
100
|
+
return Member;
|
101
|
+
}());
|
102
|
+
exports.Member = Member;
|
103
|
+
/**
|
104
|
+
* @export
|
105
|
+
* @enum {string}
|
106
|
+
*/
|
107
|
+
var MemberStatusEnum;
|
108
|
+
(function (MemberStatusEnum) {
|
109
|
+
MemberStatusEnum["PENDING"] = "pending";
|
110
|
+
MemberStatusEnum["ACCEPTED"] = "accepted";
|
111
|
+
MemberStatusEnum["REJECTED"] = "rejected";
|
112
|
+
})(MemberStatusEnum = exports.MemberStatusEnum || (exports.MemberStatusEnum = {}));
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { VaultMigrateResourceReq } from './VaultMigrateResourceReq';
|
2
|
+
export declare class MigrateVaultResourceRequest {
|
3
|
+
private 'vault_id';
|
4
|
+
body?: VaultMigrateResourceReq;
|
5
|
+
constructor(vaultId?: any);
|
6
|
+
withVaultId(vaultId: string): MigrateVaultResourceRequest;
|
7
|
+
set vaultId(vaultId: string | undefined);
|
8
|
+
get vaultId(): string | undefined;
|
9
|
+
withBody(body: VaultMigrateResourceReq): MigrateVaultResourceRequest;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MigrateVaultResourceRequest = void 0;
|
4
|
+
var MigrateVaultResourceRequest = /** @class */ (function () {
|
5
|
+
function MigrateVaultResourceRequest(vaultId) {
|
6
|
+
this['vault_id'] = vaultId;
|
7
|
+
}
|
8
|
+
MigrateVaultResourceRequest.prototype.withVaultId = function (vaultId) {
|
9
|
+
this['vault_id'] = vaultId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(MigrateVaultResourceRequest.prototype, "vaultId", {
|
13
|
+
get: function () {
|
14
|
+
return this['vault_id'];
|
15
|
+
},
|
16
|
+
set: function (vaultId) {
|
17
|
+
this['vault_id'] = vaultId;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
MigrateVaultResourceRequest.prototype.withBody = function (body) {
|
23
|
+
this['body'] = body;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return MigrateVaultResourceRequest;
|
27
|
+
}());
|
28
|
+
exports.MigrateVaultResourceRequest = MigrateVaultResourceRequest;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
2
|
+
export declare class MigrateVaultResourceResponse extends SdkResponse {
|
3
|
+
private 'migrated_resources'?;
|
4
|
+
constructor();
|
5
|
+
withMigratedResources(migratedResources: Array<string>): MigrateVaultResourceResponse;
|
6
|
+
set migratedResources(migratedResources: Array<string> | undefined);
|
7
|
+
get migratedResources(): Array<string> | undefined;
|
8
|
+
}
|
@@ -0,0 +1,41 @@
|
|
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.MigrateVaultResourceResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var MigrateVaultResourceResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(MigrateVaultResourceResponse, _super);
|
22
|
+
function MigrateVaultResourceResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
MigrateVaultResourceResponse.prototype.withMigratedResources = function (migratedResources) {
|
26
|
+
this['migrated_resources'] = migratedResources;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(MigrateVaultResourceResponse.prototype, "migratedResources", {
|
30
|
+
get: function () {
|
31
|
+
return this['migrated_resources'];
|
32
|
+
},
|
33
|
+
set: function (migratedResources) {
|
34
|
+
this['migrated_resources'] = migratedResources;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
return MigrateVaultResourceResponse;
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
41
|
+
exports.MigrateVaultResourceResponse = MigrateVaultResourceResponse;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OpErrorInfo = void 0;
|
4
|
+
var OpErrorInfo = /** @class */ (function () {
|
5
|
+
function OpErrorInfo() {
|
6
|
+
}
|
7
|
+
OpErrorInfo.prototype.withCode = function (code) {
|
8
|
+
this['code'] = code;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
OpErrorInfo.prototype.withMessage = function (message) {
|
12
|
+
this['message'] = message;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
return OpErrorInfo;
|
16
|
+
}());
|
17
|
+
exports.OpErrorInfo = OpErrorInfo;
|
@@ -0,0 +1,41 @@
|
|
1
|
+
export declare class OpExtendInfoBckup {
|
2
|
+
private 'app_consistency_error_code'?;
|
3
|
+
private 'app_consistency_error_message'?;
|
4
|
+
private 'app_consistency_status'?;
|
5
|
+
private 'backup_id';
|
6
|
+
private 'backup_name'?;
|
7
|
+
incremental?: OpExtendInfoBckupIncrementalEnum;
|
8
|
+
constructor(backupId?: any);
|
9
|
+
withAppConsistencyErrorCode(appConsistencyErrorCode: string): OpExtendInfoBckup;
|
10
|
+
set appConsistencyErrorCode(appConsistencyErrorCode: string | undefined);
|
11
|
+
get appConsistencyErrorCode(): string | undefined;
|
12
|
+
withAppConsistencyErrorMessage(appConsistencyErrorMessage: string): OpExtendInfoBckup;
|
13
|
+
set appConsistencyErrorMessage(appConsistencyErrorMessage: string | undefined);
|
14
|
+
get appConsistencyErrorMessage(): string | undefined;
|
15
|
+
withAppConsistencyStatus(appConsistencyStatus: OpExtendInfoBckupAppConsistencyStatusEnum): OpExtendInfoBckup;
|
16
|
+
set appConsistencyStatus(appConsistencyStatus: OpExtendInfoBckupAppConsistencyStatusEnum | undefined);
|
17
|
+
get appConsistencyStatus(): OpExtendInfoBckupAppConsistencyStatusEnum | undefined;
|
18
|
+
withBackupId(backupId: string): OpExtendInfoBckup;
|
19
|
+
set backupId(backupId: string | undefined);
|
20
|
+
get backupId(): string | undefined;
|
21
|
+
withBackupName(backupName: string): OpExtendInfoBckup;
|
22
|
+
set backupName(backupName: string | undefined);
|
23
|
+
get backupName(): string | undefined;
|
24
|
+
withIncremental(incremental: OpExtendInfoBckupIncrementalEnum): OpExtendInfoBckup;
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* @export
|
28
|
+
* @enum {string}
|
29
|
+
*/
|
30
|
+
export declare enum OpExtendInfoBckupAppConsistencyStatusEnum {
|
31
|
+
E_0 = "0",
|
32
|
+
E_1 = "1"
|
33
|
+
}
|
34
|
+
/**
|
35
|
+
* @export
|
36
|
+
* @enum {string}
|
37
|
+
*/
|
38
|
+
export declare enum OpExtendInfoBckupIncrementalEnum {
|
39
|
+
TRUE = "\"true\"",
|
40
|
+
FALSE = "\"false\""
|
41
|
+
}
|
@@ -0,0 +1,102 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OpExtendInfoBckupIncrementalEnum = exports.OpExtendInfoBckupAppConsistencyStatusEnum = exports.OpExtendInfoBckup = void 0;
|
4
|
+
var OpExtendInfoBckup = /** @class */ (function () {
|
5
|
+
function OpExtendInfoBckup(backupId) {
|
6
|
+
this['backup_id'] = backupId;
|
7
|
+
}
|
8
|
+
OpExtendInfoBckup.prototype.withAppConsistencyErrorCode = function (appConsistencyErrorCode) {
|
9
|
+
this['app_consistency_error_code'] = appConsistencyErrorCode;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(OpExtendInfoBckup.prototype, "appConsistencyErrorCode", {
|
13
|
+
get: function () {
|
14
|
+
return this['app_consistency_error_code'];
|
15
|
+
},
|
16
|
+
set: function (appConsistencyErrorCode) {
|
17
|
+
this['app_consistency_error_code'] = appConsistencyErrorCode;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
OpExtendInfoBckup.prototype.withAppConsistencyErrorMessage = function (appConsistencyErrorMessage) {
|
23
|
+
this['app_consistency_error_message'] = appConsistencyErrorMessage;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
Object.defineProperty(OpExtendInfoBckup.prototype, "appConsistencyErrorMessage", {
|
27
|
+
get: function () {
|
28
|
+
return this['app_consistency_error_message'];
|
29
|
+
},
|
30
|
+
set: function (appConsistencyErrorMessage) {
|
31
|
+
this['app_consistency_error_message'] = appConsistencyErrorMessage;
|
32
|
+
},
|
33
|
+
enumerable: false,
|
34
|
+
configurable: true
|
35
|
+
});
|
36
|
+
OpExtendInfoBckup.prototype.withAppConsistencyStatus = function (appConsistencyStatus) {
|
37
|
+
this['app_consistency_status'] = appConsistencyStatus;
|
38
|
+
return this;
|
39
|
+
};
|
40
|
+
Object.defineProperty(OpExtendInfoBckup.prototype, "appConsistencyStatus", {
|
41
|
+
get: function () {
|
42
|
+
return this['app_consistency_status'];
|
43
|
+
},
|
44
|
+
set: function (appConsistencyStatus) {
|
45
|
+
this['app_consistency_status'] = appConsistencyStatus;
|
46
|
+
},
|
47
|
+
enumerable: false,
|
48
|
+
configurable: true
|
49
|
+
});
|
50
|
+
OpExtendInfoBckup.prototype.withBackupId = function (backupId) {
|
51
|
+
this['backup_id'] = backupId;
|
52
|
+
return this;
|
53
|
+
};
|
54
|
+
Object.defineProperty(OpExtendInfoBckup.prototype, "backupId", {
|
55
|
+
get: function () {
|
56
|
+
return this['backup_id'];
|
57
|
+
},
|
58
|
+
set: function (backupId) {
|
59
|
+
this['backup_id'] = backupId;
|
60
|
+
},
|
61
|
+
enumerable: false,
|
62
|
+
configurable: true
|
63
|
+
});
|
64
|
+
OpExtendInfoBckup.prototype.withBackupName = function (backupName) {
|
65
|
+
this['backup_name'] = backupName;
|
66
|
+
return this;
|
67
|
+
};
|
68
|
+
Object.defineProperty(OpExtendInfoBckup.prototype, "backupName", {
|
69
|
+
get: function () {
|
70
|
+
return this['backup_name'];
|
71
|
+
},
|
72
|
+
set: function (backupName) {
|
73
|
+
this['backup_name'] = backupName;
|
74
|
+
},
|
75
|
+
enumerable: false,
|
76
|
+
configurable: true
|
77
|
+
});
|
78
|
+
OpExtendInfoBckup.prototype.withIncremental = function (incremental) {
|
79
|
+
this['incremental'] = incremental;
|
80
|
+
return this;
|
81
|
+
};
|
82
|
+
return OpExtendInfoBckup;
|
83
|
+
}());
|
84
|
+
exports.OpExtendInfoBckup = OpExtendInfoBckup;
|
85
|
+
/**
|
86
|
+
* @export
|
87
|
+
* @enum {string}
|
88
|
+
*/
|
89
|
+
var OpExtendInfoBckupAppConsistencyStatusEnum;
|
90
|
+
(function (OpExtendInfoBckupAppConsistencyStatusEnum) {
|
91
|
+
OpExtendInfoBckupAppConsistencyStatusEnum["E_0"] = "0";
|
92
|
+
OpExtendInfoBckupAppConsistencyStatusEnum["E_1"] = "1";
|
93
|
+
})(OpExtendInfoBckupAppConsistencyStatusEnum = exports.OpExtendInfoBckupAppConsistencyStatusEnum || (exports.OpExtendInfoBckupAppConsistencyStatusEnum = {}));
|
94
|
+
/**
|
95
|
+
* @export
|
96
|
+
* @enum {string}
|
97
|
+
*/
|
98
|
+
var OpExtendInfoBckupIncrementalEnum;
|
99
|
+
(function (OpExtendInfoBckupIncrementalEnum) {
|
100
|
+
OpExtendInfoBckupIncrementalEnum["TRUE"] = "\"true\"";
|
101
|
+
OpExtendInfoBckupIncrementalEnum["FALSE"] = "\"false\"";
|
102
|
+
})(OpExtendInfoBckupIncrementalEnum = exports.OpExtendInfoBckupIncrementalEnum || (exports.OpExtendInfoBckupIncrementalEnum = {}));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export declare class OpExtendInfoCommon {
|
2
|
+
progress: number;
|
3
|
+
private 'request_id';
|
4
|
+
private 'task_id'?;
|
5
|
+
constructor(progress?: any, requestId?: any);
|
6
|
+
withProgress(progress: number): OpExtendInfoCommon;
|
7
|
+
withRequestId(requestId: string): OpExtendInfoCommon;
|
8
|
+
set requestId(requestId: string | undefined);
|
9
|
+
get requestId(): string | undefined;
|
10
|
+
withTaskId(taskId: string): OpExtendInfoCommon;
|
11
|
+
set taskId(taskId: string | undefined);
|
12
|
+
get taskId(): string | undefined;
|
13
|
+
}
|