@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,76 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BackupReplicateReqBody = void 0;
|
4
|
+
var BackupReplicateReqBody = /** @class */ (function () {
|
5
|
+
function BackupReplicateReqBody(destinationProjectId, destinationRegion, destinationVaultId) {
|
6
|
+
this['destination_project_id'] = destinationProjectId;
|
7
|
+
this['destination_region'] = destinationRegion;
|
8
|
+
this['destination_vault_id'] = destinationVaultId;
|
9
|
+
}
|
10
|
+
BackupReplicateReqBody.prototype.withDescription = function (description) {
|
11
|
+
this['description'] = description;
|
12
|
+
return this;
|
13
|
+
};
|
14
|
+
BackupReplicateReqBody.prototype.withDestinationProjectId = function (destinationProjectId) {
|
15
|
+
this['destination_project_id'] = destinationProjectId;
|
16
|
+
return this;
|
17
|
+
};
|
18
|
+
Object.defineProperty(BackupReplicateReqBody.prototype, "destinationProjectId", {
|
19
|
+
get: function () {
|
20
|
+
return this['destination_project_id'];
|
21
|
+
},
|
22
|
+
set: function (destinationProjectId) {
|
23
|
+
this['destination_project_id'] = destinationProjectId;
|
24
|
+
},
|
25
|
+
enumerable: false,
|
26
|
+
configurable: true
|
27
|
+
});
|
28
|
+
BackupReplicateReqBody.prototype.withDestinationRegion = function (destinationRegion) {
|
29
|
+
this['destination_region'] = destinationRegion;
|
30
|
+
return this;
|
31
|
+
};
|
32
|
+
Object.defineProperty(BackupReplicateReqBody.prototype, "destinationRegion", {
|
33
|
+
get: function () {
|
34
|
+
return this['destination_region'];
|
35
|
+
},
|
36
|
+
set: function (destinationRegion) {
|
37
|
+
this['destination_region'] = destinationRegion;
|
38
|
+
},
|
39
|
+
enumerable: false,
|
40
|
+
configurable: true
|
41
|
+
});
|
42
|
+
BackupReplicateReqBody.prototype.withDestinationVaultId = function (destinationVaultId) {
|
43
|
+
this['destination_vault_id'] = destinationVaultId;
|
44
|
+
return this;
|
45
|
+
};
|
46
|
+
Object.defineProperty(BackupReplicateReqBody.prototype, "destinationVaultId", {
|
47
|
+
get: function () {
|
48
|
+
return this['destination_vault_id'];
|
49
|
+
},
|
50
|
+
set: function (destinationVaultId) {
|
51
|
+
this['destination_vault_id'] = destinationVaultId;
|
52
|
+
},
|
53
|
+
enumerable: false,
|
54
|
+
configurable: true
|
55
|
+
});
|
56
|
+
BackupReplicateReqBody.prototype.withEnableAcceleration = function (enableAcceleration) {
|
57
|
+
this['enable_acceleration'] = enableAcceleration;
|
58
|
+
return this;
|
59
|
+
};
|
60
|
+
Object.defineProperty(BackupReplicateReqBody.prototype, "enableAcceleration", {
|
61
|
+
get: function () {
|
62
|
+
return this['enable_acceleration'];
|
63
|
+
},
|
64
|
+
set: function (enableAcceleration) {
|
65
|
+
this['enable_acceleration'] = enableAcceleration;
|
66
|
+
},
|
67
|
+
enumerable: false,
|
68
|
+
configurable: true
|
69
|
+
});
|
70
|
+
BackupReplicateReqBody.prototype.withName = function (name) {
|
71
|
+
this['name'] = name;
|
72
|
+
return this;
|
73
|
+
};
|
74
|
+
return BackupReplicateReqBody;
|
75
|
+
}());
|
76
|
+
exports.BackupReplicateReqBody = BackupReplicateReqBody;
|
@@ -0,0 +1,35 @@
|
|
1
|
+
export declare class BackupReplicateRespBody {
|
2
|
+
private 'backup_id'?;
|
3
|
+
private 'destination_project_id'?;
|
4
|
+
private 'destination_region'?;
|
5
|
+
private 'destination_vault_id'?;
|
6
|
+
private 'project_id'?;
|
7
|
+
private 'provider_id'?;
|
8
|
+
private 'replication_record_id'?;
|
9
|
+
private 'source_region'?;
|
10
|
+
constructor();
|
11
|
+
withBackupId(backupId: string): BackupReplicateRespBody;
|
12
|
+
set backupId(backupId: string | undefined);
|
13
|
+
get backupId(): string | undefined;
|
14
|
+
withDestinationProjectId(destinationProjectId: string): BackupReplicateRespBody;
|
15
|
+
set destinationProjectId(destinationProjectId: string | undefined);
|
16
|
+
get destinationProjectId(): string | undefined;
|
17
|
+
withDestinationRegion(destinationRegion: string): BackupReplicateRespBody;
|
18
|
+
set destinationRegion(destinationRegion: string | undefined);
|
19
|
+
get destinationRegion(): string | undefined;
|
20
|
+
withDestinationVaultId(destinationVaultId: string): BackupReplicateRespBody;
|
21
|
+
set destinationVaultId(destinationVaultId: string | undefined);
|
22
|
+
get destinationVaultId(): string | undefined;
|
23
|
+
withProjectId(projectId: string): BackupReplicateRespBody;
|
24
|
+
set projectId(projectId: string | undefined);
|
25
|
+
get projectId(): string | undefined;
|
26
|
+
withProviderId(providerId: string): BackupReplicateRespBody;
|
27
|
+
set providerId(providerId: string | undefined);
|
28
|
+
get providerId(): string | undefined;
|
29
|
+
withReplicationRecordId(replicationRecordId: string): BackupReplicateRespBody;
|
30
|
+
set replicationRecordId(replicationRecordId: string | undefined);
|
31
|
+
get replicationRecordId(): string | undefined;
|
32
|
+
withSourceRegion(sourceRegion: string): BackupReplicateRespBody;
|
33
|
+
set sourceRegion(sourceRegion: string | undefined);
|
34
|
+
get sourceRegion(): string | undefined;
|
35
|
+
}
|
@@ -0,0 +1,121 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BackupReplicateRespBody = void 0;
|
4
|
+
var BackupReplicateRespBody = /** @class */ (function () {
|
5
|
+
function BackupReplicateRespBody() {
|
6
|
+
}
|
7
|
+
BackupReplicateRespBody.prototype.withBackupId = function (backupId) {
|
8
|
+
this['backup_id'] = backupId;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(BackupReplicateRespBody.prototype, "backupId", {
|
12
|
+
get: function () {
|
13
|
+
return this['backup_id'];
|
14
|
+
},
|
15
|
+
set: function (backupId) {
|
16
|
+
this['backup_id'] = backupId;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
BackupReplicateRespBody.prototype.withDestinationProjectId = function (destinationProjectId) {
|
22
|
+
this['destination_project_id'] = destinationProjectId;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(BackupReplicateRespBody.prototype, "destinationProjectId", {
|
26
|
+
get: function () {
|
27
|
+
return this['destination_project_id'];
|
28
|
+
},
|
29
|
+
set: function (destinationProjectId) {
|
30
|
+
this['destination_project_id'] = destinationProjectId;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
BackupReplicateRespBody.prototype.withDestinationRegion = function (destinationRegion) {
|
36
|
+
this['destination_region'] = destinationRegion;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
Object.defineProperty(BackupReplicateRespBody.prototype, "destinationRegion", {
|
40
|
+
get: function () {
|
41
|
+
return this['destination_region'];
|
42
|
+
},
|
43
|
+
set: function (destinationRegion) {
|
44
|
+
this['destination_region'] = destinationRegion;
|
45
|
+
},
|
46
|
+
enumerable: false,
|
47
|
+
configurable: true
|
48
|
+
});
|
49
|
+
BackupReplicateRespBody.prototype.withDestinationVaultId = function (destinationVaultId) {
|
50
|
+
this['destination_vault_id'] = destinationVaultId;
|
51
|
+
return this;
|
52
|
+
};
|
53
|
+
Object.defineProperty(BackupReplicateRespBody.prototype, "destinationVaultId", {
|
54
|
+
get: function () {
|
55
|
+
return this['destination_vault_id'];
|
56
|
+
},
|
57
|
+
set: function (destinationVaultId) {
|
58
|
+
this['destination_vault_id'] = destinationVaultId;
|
59
|
+
},
|
60
|
+
enumerable: false,
|
61
|
+
configurable: true
|
62
|
+
});
|
63
|
+
BackupReplicateRespBody.prototype.withProjectId = function (projectId) {
|
64
|
+
this['project_id'] = projectId;
|
65
|
+
return this;
|
66
|
+
};
|
67
|
+
Object.defineProperty(BackupReplicateRespBody.prototype, "projectId", {
|
68
|
+
get: function () {
|
69
|
+
return this['project_id'];
|
70
|
+
},
|
71
|
+
set: function (projectId) {
|
72
|
+
this['project_id'] = projectId;
|
73
|
+
},
|
74
|
+
enumerable: false,
|
75
|
+
configurable: true
|
76
|
+
});
|
77
|
+
BackupReplicateRespBody.prototype.withProviderId = function (providerId) {
|
78
|
+
this['provider_id'] = providerId;
|
79
|
+
return this;
|
80
|
+
};
|
81
|
+
Object.defineProperty(BackupReplicateRespBody.prototype, "providerId", {
|
82
|
+
get: function () {
|
83
|
+
return this['provider_id'];
|
84
|
+
},
|
85
|
+
set: function (providerId) {
|
86
|
+
this['provider_id'] = providerId;
|
87
|
+
},
|
88
|
+
enumerable: false,
|
89
|
+
configurable: true
|
90
|
+
});
|
91
|
+
BackupReplicateRespBody.prototype.withReplicationRecordId = function (replicationRecordId) {
|
92
|
+
this['replication_record_id'] = replicationRecordId;
|
93
|
+
return this;
|
94
|
+
};
|
95
|
+
Object.defineProperty(BackupReplicateRespBody.prototype, "replicationRecordId", {
|
96
|
+
get: function () {
|
97
|
+
return this['replication_record_id'];
|
98
|
+
},
|
99
|
+
set: function (replicationRecordId) {
|
100
|
+
this['replication_record_id'] = replicationRecordId;
|
101
|
+
},
|
102
|
+
enumerable: false,
|
103
|
+
configurable: true
|
104
|
+
});
|
105
|
+
BackupReplicateRespBody.prototype.withSourceRegion = function (sourceRegion) {
|
106
|
+
this['source_region'] = sourceRegion;
|
107
|
+
return this;
|
108
|
+
};
|
109
|
+
Object.defineProperty(BackupReplicateRespBody.prototype, "sourceRegion", {
|
110
|
+
get: function () {
|
111
|
+
return this['source_region'];
|
112
|
+
},
|
113
|
+
set: function (sourceRegion) {
|
114
|
+
this['source_region'] = sourceRegion;
|
115
|
+
},
|
116
|
+
enumerable: false,
|
117
|
+
configurable: true
|
118
|
+
});
|
119
|
+
return BackupReplicateRespBody;
|
120
|
+
}());
|
121
|
+
exports.BackupReplicateRespBody = BackupReplicateRespBody;
|
@@ -0,0 +1,118 @@
|
|
1
|
+
import { BackupExtendInfo } from './BackupExtendInfo';
|
2
|
+
import { ReplicationRecordGet } from './ReplicationRecordGet';
|
3
|
+
export declare class BackupResp {
|
4
|
+
private 'checkpoint_id';
|
5
|
+
private 'created_at';
|
6
|
+
description: string;
|
7
|
+
private 'expired_at';
|
8
|
+
private 'extend_info';
|
9
|
+
id: string;
|
10
|
+
private 'image_type';
|
11
|
+
name: string;
|
12
|
+
private 'parent_id';
|
13
|
+
private 'project_id';
|
14
|
+
private 'protected_at';
|
15
|
+
private 'resource_az';
|
16
|
+
private 'resource_id';
|
17
|
+
private 'resource_name';
|
18
|
+
private 'resource_size';
|
19
|
+
private 'resource_type';
|
20
|
+
status: BackupRespStatusEnum;
|
21
|
+
private 'updated_at';
|
22
|
+
private 'vault_id';
|
23
|
+
private 'replication_records'?;
|
24
|
+
private 'enterprise_project_id'?;
|
25
|
+
private 'provider_id';
|
26
|
+
children?: Array<BackupResp>;
|
27
|
+
constructor(checkpointId?: any, createdAt?: any, description?: any, expiredAt?: any, extendInfo?: any, id?: any, imageType?: any, name?: any, parentId?: any, projectId?: any, protectedAt?: any, resourceAz?: any, resourceId?: any, resourceName?: any, resourceSize?: any, resourceType?: any, status?: any, updatedAt?: any, vaultId?: any, providerId?: any);
|
28
|
+
withCheckpointId(checkpointId: string): BackupResp;
|
29
|
+
set checkpointId(checkpointId: string | undefined);
|
30
|
+
get checkpointId(): string | undefined;
|
31
|
+
withCreatedAt(createdAt: Date): BackupResp;
|
32
|
+
set createdAt(createdAt: Date | undefined);
|
33
|
+
get createdAt(): Date | undefined;
|
34
|
+
withDescription(description: string): BackupResp;
|
35
|
+
withExpiredAt(expiredAt: Date): BackupResp;
|
36
|
+
set expiredAt(expiredAt: Date | undefined);
|
37
|
+
get expiredAt(): Date | undefined;
|
38
|
+
withExtendInfo(extendInfo: BackupExtendInfo): BackupResp;
|
39
|
+
set extendInfo(extendInfo: BackupExtendInfo | undefined);
|
40
|
+
get extendInfo(): BackupExtendInfo | undefined;
|
41
|
+
withId(id: string): BackupResp;
|
42
|
+
withImageType(imageType: BackupRespImageTypeEnum): BackupResp;
|
43
|
+
set imageType(imageType: BackupRespImageTypeEnum | undefined);
|
44
|
+
get imageType(): BackupRespImageTypeEnum | undefined;
|
45
|
+
withName(name: string): BackupResp;
|
46
|
+
withParentId(parentId: string): BackupResp;
|
47
|
+
set parentId(parentId: string | undefined);
|
48
|
+
get parentId(): string | undefined;
|
49
|
+
withProjectId(projectId: string): BackupResp;
|
50
|
+
set projectId(projectId: string | undefined);
|
51
|
+
get projectId(): string | undefined;
|
52
|
+
withProtectedAt(protectedAt: string): BackupResp;
|
53
|
+
set protectedAt(protectedAt: string | undefined);
|
54
|
+
get protectedAt(): string | undefined;
|
55
|
+
withResourceAz(resourceAz: string): BackupResp;
|
56
|
+
set resourceAz(resourceAz: string | undefined);
|
57
|
+
get resourceAz(): string | undefined;
|
58
|
+
withResourceId(resourceId: string): BackupResp;
|
59
|
+
set resourceId(resourceId: string | undefined);
|
60
|
+
get resourceId(): string | undefined;
|
61
|
+
withResourceName(resourceName: string): BackupResp;
|
62
|
+
set resourceName(resourceName: string | undefined);
|
63
|
+
get resourceName(): string | undefined;
|
64
|
+
withResourceSize(resourceSize: number): BackupResp;
|
65
|
+
set resourceSize(resourceSize: number | undefined);
|
66
|
+
get resourceSize(): number | undefined;
|
67
|
+
withResourceType(resourceType: BackupRespResourceTypeEnum): BackupResp;
|
68
|
+
set resourceType(resourceType: BackupRespResourceTypeEnum | undefined);
|
69
|
+
get resourceType(): BackupRespResourceTypeEnum | undefined;
|
70
|
+
withStatus(status: BackupRespStatusEnum): BackupResp;
|
71
|
+
withUpdatedAt(updatedAt: Date): BackupResp;
|
72
|
+
set updatedAt(updatedAt: Date | undefined);
|
73
|
+
get updatedAt(): Date | undefined;
|
74
|
+
withVaultId(vaultId: string): BackupResp;
|
75
|
+
set vaultId(vaultId: string | undefined);
|
76
|
+
get vaultId(): string | undefined;
|
77
|
+
withReplicationRecords(replicationRecords: Array<ReplicationRecordGet>): BackupResp;
|
78
|
+
set replicationRecords(replicationRecords: Array<ReplicationRecordGet> | undefined);
|
79
|
+
get replicationRecords(): Array<ReplicationRecordGet> | undefined;
|
80
|
+
withEnterpriseProjectId(enterpriseProjectId: string): BackupResp;
|
81
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
82
|
+
get enterpriseProjectId(): string | undefined;
|
83
|
+
withProviderId(providerId: string): BackupResp;
|
84
|
+
set providerId(providerId: string | undefined);
|
85
|
+
get providerId(): string | undefined;
|
86
|
+
withChildren(children: Array<BackupResp>): BackupResp;
|
87
|
+
}
|
88
|
+
/**
|
89
|
+
* @export
|
90
|
+
* @enum {string}
|
91
|
+
*/
|
92
|
+
export declare enum BackupRespImageTypeEnum {
|
93
|
+
BACKUP = "backup",
|
94
|
+
REPLICATION = "replication"
|
95
|
+
}
|
96
|
+
/**
|
97
|
+
* @export
|
98
|
+
* @enum {string}
|
99
|
+
*/
|
100
|
+
export declare enum BackupRespResourceTypeEnum {
|
101
|
+
OSNOVASERVER = "OS::Nova::Server",
|
102
|
+
OSCINDERVOLUME = "OS::Cinder::Volume",
|
103
|
+
OSWORKSPACEDESKTOPV2 = "OS::Workspace::DesktopV2"
|
104
|
+
}
|
105
|
+
/**
|
106
|
+
* @export
|
107
|
+
* @enum {string}
|
108
|
+
*/
|
109
|
+
export declare enum BackupRespStatusEnum {
|
110
|
+
AVAILABLE = "available",
|
111
|
+
PROTECTING = "protecting",
|
112
|
+
DELETING = "deleting",
|
113
|
+
RESTORING = "restoring",
|
114
|
+
ERROR = "error",
|
115
|
+
WAITING_PROTECT = "waiting_protect",
|
116
|
+
WAITING_DELETE = "waiting_delete",
|
117
|
+
WAITING_RESTORE = "waiting_restore"
|
118
|
+
}
|
@@ -0,0 +1,335 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BackupRespStatusEnum = exports.BackupRespResourceTypeEnum = exports.BackupRespImageTypeEnum = exports.BackupResp = void 0;
|
4
|
+
var BackupResp = /** @class */ (function () {
|
5
|
+
function BackupResp(checkpointId, createdAt, description, expiredAt, extendInfo, id, imageType, name, parentId, projectId, protectedAt, resourceAz, resourceId, resourceName, resourceSize, resourceType, status, updatedAt, vaultId, providerId) {
|
6
|
+
this['checkpoint_id'] = checkpointId;
|
7
|
+
this['created_at'] = createdAt;
|
8
|
+
this['description'] = description;
|
9
|
+
this['expired_at'] = expiredAt;
|
10
|
+
this['extend_info'] = extendInfo;
|
11
|
+
this['id'] = id;
|
12
|
+
this['image_type'] = imageType;
|
13
|
+
this['name'] = name;
|
14
|
+
this['parent_id'] = parentId;
|
15
|
+
this['project_id'] = projectId;
|
16
|
+
this['protected_at'] = protectedAt;
|
17
|
+
this['resource_az'] = resourceAz;
|
18
|
+
this['resource_id'] = resourceId;
|
19
|
+
this['resource_name'] = resourceName;
|
20
|
+
this['resource_size'] = resourceSize;
|
21
|
+
this['resource_type'] = resourceType;
|
22
|
+
this['status'] = status;
|
23
|
+
this['updated_at'] = updatedAt;
|
24
|
+
this['vault_id'] = vaultId;
|
25
|
+
this['provider_id'] = providerId;
|
26
|
+
}
|
27
|
+
BackupResp.prototype.withCheckpointId = function (checkpointId) {
|
28
|
+
this['checkpoint_id'] = checkpointId;
|
29
|
+
return this;
|
30
|
+
};
|
31
|
+
Object.defineProperty(BackupResp.prototype, "checkpointId", {
|
32
|
+
get: function () {
|
33
|
+
return this['checkpoint_id'];
|
34
|
+
},
|
35
|
+
set: function (checkpointId) {
|
36
|
+
this['checkpoint_id'] = checkpointId;
|
37
|
+
},
|
38
|
+
enumerable: false,
|
39
|
+
configurable: true
|
40
|
+
});
|
41
|
+
BackupResp.prototype.withCreatedAt = function (createdAt) {
|
42
|
+
this['created_at'] = createdAt;
|
43
|
+
return this;
|
44
|
+
};
|
45
|
+
Object.defineProperty(BackupResp.prototype, "createdAt", {
|
46
|
+
get: function () {
|
47
|
+
return this['created_at'];
|
48
|
+
},
|
49
|
+
set: function (createdAt) {
|
50
|
+
this['created_at'] = createdAt;
|
51
|
+
},
|
52
|
+
enumerable: false,
|
53
|
+
configurable: true
|
54
|
+
});
|
55
|
+
BackupResp.prototype.withDescription = function (description) {
|
56
|
+
this['description'] = description;
|
57
|
+
return this;
|
58
|
+
};
|
59
|
+
BackupResp.prototype.withExpiredAt = function (expiredAt) {
|
60
|
+
this['expired_at'] = expiredAt;
|
61
|
+
return this;
|
62
|
+
};
|
63
|
+
Object.defineProperty(BackupResp.prototype, "expiredAt", {
|
64
|
+
get: function () {
|
65
|
+
return this['expired_at'];
|
66
|
+
},
|
67
|
+
set: function (expiredAt) {
|
68
|
+
this['expired_at'] = expiredAt;
|
69
|
+
},
|
70
|
+
enumerable: false,
|
71
|
+
configurable: true
|
72
|
+
});
|
73
|
+
BackupResp.prototype.withExtendInfo = function (extendInfo) {
|
74
|
+
this['extend_info'] = extendInfo;
|
75
|
+
return this;
|
76
|
+
};
|
77
|
+
Object.defineProperty(BackupResp.prototype, "extendInfo", {
|
78
|
+
get: function () {
|
79
|
+
return this['extend_info'];
|
80
|
+
},
|
81
|
+
set: function (extendInfo) {
|
82
|
+
this['extend_info'] = extendInfo;
|
83
|
+
},
|
84
|
+
enumerable: false,
|
85
|
+
configurable: true
|
86
|
+
});
|
87
|
+
BackupResp.prototype.withId = function (id) {
|
88
|
+
this['id'] = id;
|
89
|
+
return this;
|
90
|
+
};
|
91
|
+
BackupResp.prototype.withImageType = function (imageType) {
|
92
|
+
this['image_type'] = imageType;
|
93
|
+
return this;
|
94
|
+
};
|
95
|
+
Object.defineProperty(BackupResp.prototype, "imageType", {
|
96
|
+
get: function () {
|
97
|
+
return this['image_type'];
|
98
|
+
},
|
99
|
+
set: function (imageType) {
|
100
|
+
this['image_type'] = imageType;
|
101
|
+
},
|
102
|
+
enumerable: false,
|
103
|
+
configurable: true
|
104
|
+
});
|
105
|
+
BackupResp.prototype.withName = function (name) {
|
106
|
+
this['name'] = name;
|
107
|
+
return this;
|
108
|
+
};
|
109
|
+
BackupResp.prototype.withParentId = function (parentId) {
|
110
|
+
this['parent_id'] = parentId;
|
111
|
+
return this;
|
112
|
+
};
|
113
|
+
Object.defineProperty(BackupResp.prototype, "parentId", {
|
114
|
+
get: function () {
|
115
|
+
return this['parent_id'];
|
116
|
+
},
|
117
|
+
set: function (parentId) {
|
118
|
+
this['parent_id'] = parentId;
|
119
|
+
},
|
120
|
+
enumerable: false,
|
121
|
+
configurable: true
|
122
|
+
});
|
123
|
+
BackupResp.prototype.withProjectId = function (projectId) {
|
124
|
+
this['project_id'] = projectId;
|
125
|
+
return this;
|
126
|
+
};
|
127
|
+
Object.defineProperty(BackupResp.prototype, "projectId", {
|
128
|
+
get: function () {
|
129
|
+
return this['project_id'];
|
130
|
+
},
|
131
|
+
set: function (projectId) {
|
132
|
+
this['project_id'] = projectId;
|
133
|
+
},
|
134
|
+
enumerable: false,
|
135
|
+
configurable: true
|
136
|
+
});
|
137
|
+
BackupResp.prototype.withProtectedAt = function (protectedAt) {
|
138
|
+
this['protected_at'] = protectedAt;
|
139
|
+
return this;
|
140
|
+
};
|
141
|
+
Object.defineProperty(BackupResp.prototype, "protectedAt", {
|
142
|
+
get: function () {
|
143
|
+
return this['protected_at'];
|
144
|
+
},
|
145
|
+
set: function (protectedAt) {
|
146
|
+
this['protected_at'] = protectedAt;
|
147
|
+
},
|
148
|
+
enumerable: false,
|
149
|
+
configurable: true
|
150
|
+
});
|
151
|
+
BackupResp.prototype.withResourceAz = function (resourceAz) {
|
152
|
+
this['resource_az'] = resourceAz;
|
153
|
+
return this;
|
154
|
+
};
|
155
|
+
Object.defineProperty(BackupResp.prototype, "resourceAz", {
|
156
|
+
get: function () {
|
157
|
+
return this['resource_az'];
|
158
|
+
},
|
159
|
+
set: function (resourceAz) {
|
160
|
+
this['resource_az'] = resourceAz;
|
161
|
+
},
|
162
|
+
enumerable: false,
|
163
|
+
configurable: true
|
164
|
+
});
|
165
|
+
BackupResp.prototype.withResourceId = function (resourceId) {
|
166
|
+
this['resource_id'] = resourceId;
|
167
|
+
return this;
|
168
|
+
};
|
169
|
+
Object.defineProperty(BackupResp.prototype, "resourceId", {
|
170
|
+
get: function () {
|
171
|
+
return this['resource_id'];
|
172
|
+
},
|
173
|
+
set: function (resourceId) {
|
174
|
+
this['resource_id'] = resourceId;
|
175
|
+
},
|
176
|
+
enumerable: false,
|
177
|
+
configurable: true
|
178
|
+
});
|
179
|
+
BackupResp.prototype.withResourceName = function (resourceName) {
|
180
|
+
this['resource_name'] = resourceName;
|
181
|
+
return this;
|
182
|
+
};
|
183
|
+
Object.defineProperty(BackupResp.prototype, "resourceName", {
|
184
|
+
get: function () {
|
185
|
+
return this['resource_name'];
|
186
|
+
},
|
187
|
+
set: function (resourceName) {
|
188
|
+
this['resource_name'] = resourceName;
|
189
|
+
},
|
190
|
+
enumerable: false,
|
191
|
+
configurable: true
|
192
|
+
});
|
193
|
+
BackupResp.prototype.withResourceSize = function (resourceSize) {
|
194
|
+
this['resource_size'] = resourceSize;
|
195
|
+
return this;
|
196
|
+
};
|
197
|
+
Object.defineProperty(BackupResp.prototype, "resourceSize", {
|
198
|
+
get: function () {
|
199
|
+
return this['resource_size'];
|
200
|
+
},
|
201
|
+
set: function (resourceSize) {
|
202
|
+
this['resource_size'] = resourceSize;
|
203
|
+
},
|
204
|
+
enumerable: false,
|
205
|
+
configurable: true
|
206
|
+
});
|
207
|
+
BackupResp.prototype.withResourceType = function (resourceType) {
|
208
|
+
this['resource_type'] = resourceType;
|
209
|
+
return this;
|
210
|
+
};
|
211
|
+
Object.defineProperty(BackupResp.prototype, "resourceType", {
|
212
|
+
get: function () {
|
213
|
+
return this['resource_type'];
|
214
|
+
},
|
215
|
+
set: function (resourceType) {
|
216
|
+
this['resource_type'] = resourceType;
|
217
|
+
},
|
218
|
+
enumerable: false,
|
219
|
+
configurable: true
|
220
|
+
});
|
221
|
+
BackupResp.prototype.withStatus = function (status) {
|
222
|
+
this['status'] = status;
|
223
|
+
return this;
|
224
|
+
};
|
225
|
+
BackupResp.prototype.withUpdatedAt = function (updatedAt) {
|
226
|
+
this['updated_at'] = updatedAt;
|
227
|
+
return this;
|
228
|
+
};
|
229
|
+
Object.defineProperty(BackupResp.prototype, "updatedAt", {
|
230
|
+
get: function () {
|
231
|
+
return this['updated_at'];
|
232
|
+
},
|
233
|
+
set: function (updatedAt) {
|
234
|
+
this['updated_at'] = updatedAt;
|
235
|
+
},
|
236
|
+
enumerable: false,
|
237
|
+
configurable: true
|
238
|
+
});
|
239
|
+
BackupResp.prototype.withVaultId = function (vaultId) {
|
240
|
+
this['vault_id'] = vaultId;
|
241
|
+
return this;
|
242
|
+
};
|
243
|
+
Object.defineProperty(BackupResp.prototype, "vaultId", {
|
244
|
+
get: function () {
|
245
|
+
return this['vault_id'];
|
246
|
+
},
|
247
|
+
set: function (vaultId) {
|
248
|
+
this['vault_id'] = vaultId;
|
249
|
+
},
|
250
|
+
enumerable: false,
|
251
|
+
configurable: true
|
252
|
+
});
|
253
|
+
BackupResp.prototype.withReplicationRecords = function (replicationRecords) {
|
254
|
+
this['replication_records'] = replicationRecords;
|
255
|
+
return this;
|
256
|
+
};
|
257
|
+
Object.defineProperty(BackupResp.prototype, "replicationRecords", {
|
258
|
+
get: function () {
|
259
|
+
return this['replication_records'];
|
260
|
+
},
|
261
|
+
set: function (replicationRecords) {
|
262
|
+
this['replication_records'] = replicationRecords;
|
263
|
+
},
|
264
|
+
enumerable: false,
|
265
|
+
configurable: true
|
266
|
+
});
|
267
|
+
BackupResp.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
268
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
269
|
+
return this;
|
270
|
+
};
|
271
|
+
Object.defineProperty(BackupResp.prototype, "enterpriseProjectId", {
|
272
|
+
get: function () {
|
273
|
+
return this['enterprise_project_id'];
|
274
|
+
},
|
275
|
+
set: function (enterpriseProjectId) {
|
276
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
277
|
+
},
|
278
|
+
enumerable: false,
|
279
|
+
configurable: true
|
280
|
+
});
|
281
|
+
BackupResp.prototype.withProviderId = function (providerId) {
|
282
|
+
this['provider_id'] = providerId;
|
283
|
+
return this;
|
284
|
+
};
|
285
|
+
Object.defineProperty(BackupResp.prototype, "providerId", {
|
286
|
+
get: function () {
|
287
|
+
return this['provider_id'];
|
288
|
+
},
|
289
|
+
set: function (providerId) {
|
290
|
+
this['provider_id'] = providerId;
|
291
|
+
},
|
292
|
+
enumerable: false,
|
293
|
+
configurable: true
|
294
|
+
});
|
295
|
+
BackupResp.prototype.withChildren = function (children) {
|
296
|
+
this['children'] = children;
|
297
|
+
return this;
|
298
|
+
};
|
299
|
+
return BackupResp;
|
300
|
+
}());
|
301
|
+
exports.BackupResp = BackupResp;
|
302
|
+
/**
|
303
|
+
* @export
|
304
|
+
* @enum {string}
|
305
|
+
*/
|
306
|
+
var BackupRespImageTypeEnum;
|
307
|
+
(function (BackupRespImageTypeEnum) {
|
308
|
+
BackupRespImageTypeEnum["BACKUP"] = "backup";
|
309
|
+
BackupRespImageTypeEnum["REPLICATION"] = "replication";
|
310
|
+
})(BackupRespImageTypeEnum = exports.BackupRespImageTypeEnum || (exports.BackupRespImageTypeEnum = {}));
|
311
|
+
/**
|
312
|
+
* @export
|
313
|
+
* @enum {string}
|
314
|
+
*/
|
315
|
+
var BackupRespResourceTypeEnum;
|
316
|
+
(function (BackupRespResourceTypeEnum) {
|
317
|
+
BackupRespResourceTypeEnum["OSNOVASERVER"] = "OS::Nova::Server";
|
318
|
+
BackupRespResourceTypeEnum["OSCINDERVOLUME"] = "OS::Cinder::Volume";
|
319
|
+
BackupRespResourceTypeEnum["OSWORKSPACEDESKTOPV2"] = "OS::Workspace::DesktopV2";
|
320
|
+
})(BackupRespResourceTypeEnum = exports.BackupRespResourceTypeEnum || (exports.BackupRespResourceTypeEnum = {}));
|
321
|
+
/**
|
322
|
+
* @export
|
323
|
+
* @enum {string}
|
324
|
+
*/
|
325
|
+
var BackupRespStatusEnum;
|
326
|
+
(function (BackupRespStatusEnum) {
|
327
|
+
BackupRespStatusEnum["AVAILABLE"] = "available";
|
328
|
+
BackupRespStatusEnum["PROTECTING"] = "protecting";
|
329
|
+
BackupRespStatusEnum["DELETING"] = "deleting";
|
330
|
+
BackupRespStatusEnum["RESTORING"] = "restoring";
|
331
|
+
BackupRespStatusEnum["ERROR"] = "error";
|
332
|
+
BackupRespStatusEnum["WAITING_PROTECT"] = "waiting_protect";
|
333
|
+
BackupRespStatusEnum["WAITING_DELETE"] = "waiting_delete";
|
334
|
+
BackupRespStatusEnum["WAITING_RESTORE"] = "waiting_restore";
|
335
|
+
})(BackupRespStatusEnum = exports.BackupRespStatusEnum || (exports.BackupRespStatusEnum = {}));
|