@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,22 @@
|
|
1
|
+
import { BackupRestoreServerMapping } from './BackupRestoreServerMapping';
|
2
|
+
export declare class BackupRestore {
|
3
|
+
mappings?: Array<BackupRestoreServerMapping>;
|
4
|
+
private 'power_on'?;
|
5
|
+
private 'server_id'?;
|
6
|
+
private 'volume_id'?;
|
7
|
+
private 'resource_id'?;
|
8
|
+
constructor();
|
9
|
+
withMappings(mappings: Array<BackupRestoreServerMapping>): BackupRestore;
|
10
|
+
withPowerOn(powerOn: boolean): BackupRestore;
|
11
|
+
set powerOn(powerOn: boolean | undefined);
|
12
|
+
get powerOn(): boolean | undefined;
|
13
|
+
withServerId(serverId: string): BackupRestore;
|
14
|
+
set serverId(serverId: string | undefined);
|
15
|
+
get serverId(): string | undefined;
|
16
|
+
withVolumeId(volumeId: string): BackupRestore;
|
17
|
+
set volumeId(volumeId: string | undefined);
|
18
|
+
get volumeId(): string | undefined;
|
19
|
+
withResourceId(resourceId: string): BackupRestore;
|
20
|
+
set resourceId(resourceId: string | undefined);
|
21
|
+
get resourceId(): string | undefined;
|
22
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BackupRestore = void 0;
|
4
|
+
var BackupRestore = /** @class */ (function () {
|
5
|
+
function BackupRestore() {
|
6
|
+
}
|
7
|
+
BackupRestore.prototype.withMappings = function (mappings) {
|
8
|
+
this['mappings'] = mappings;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
BackupRestore.prototype.withPowerOn = function (powerOn) {
|
12
|
+
this['power_on'] = powerOn;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
Object.defineProperty(BackupRestore.prototype, "powerOn", {
|
16
|
+
get: function () {
|
17
|
+
return this['power_on'];
|
18
|
+
},
|
19
|
+
set: function (powerOn) {
|
20
|
+
this['power_on'] = powerOn;
|
21
|
+
},
|
22
|
+
enumerable: false,
|
23
|
+
configurable: true
|
24
|
+
});
|
25
|
+
BackupRestore.prototype.withServerId = function (serverId) {
|
26
|
+
this['server_id'] = serverId;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(BackupRestore.prototype, "serverId", {
|
30
|
+
get: function () {
|
31
|
+
return this['server_id'];
|
32
|
+
},
|
33
|
+
set: function (serverId) {
|
34
|
+
this['server_id'] = serverId;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
BackupRestore.prototype.withVolumeId = function (volumeId) {
|
40
|
+
this['volume_id'] = volumeId;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
Object.defineProperty(BackupRestore.prototype, "volumeId", {
|
44
|
+
get: function () {
|
45
|
+
return this['volume_id'];
|
46
|
+
},
|
47
|
+
set: function (volumeId) {
|
48
|
+
this['volume_id'] = volumeId;
|
49
|
+
},
|
50
|
+
enumerable: false,
|
51
|
+
configurable: true
|
52
|
+
});
|
53
|
+
BackupRestore.prototype.withResourceId = function (resourceId) {
|
54
|
+
this['resource_id'] = resourceId;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
Object.defineProperty(BackupRestore.prototype, "resourceId", {
|
58
|
+
get: function () {
|
59
|
+
return this['resource_id'];
|
60
|
+
},
|
61
|
+
set: function (resourceId) {
|
62
|
+
this['resource_id'] = resourceId;
|
63
|
+
},
|
64
|
+
enumerable: false,
|
65
|
+
configurable: true
|
66
|
+
});
|
67
|
+
return BackupRestore;
|
68
|
+
}());
|
69
|
+
exports.BackupRestore = BackupRestore;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BackupRestoreReq = void 0;
|
4
|
+
var BackupRestoreReq = /** @class */ (function () {
|
5
|
+
function BackupRestoreReq(restore) {
|
6
|
+
this['restore'] = restore;
|
7
|
+
}
|
8
|
+
BackupRestoreReq.prototype.withRestore = function (restore) {
|
9
|
+
this['restore'] = restore;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
return BackupRestoreReq;
|
13
|
+
}());
|
14
|
+
exports.BackupRestoreReq = BackupRestoreReq;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class BackupRestoreServerMapping {
|
2
|
+
private 'backup_id';
|
3
|
+
private 'volume_id';
|
4
|
+
constructor(backupId?: any, volumeId?: any);
|
5
|
+
withBackupId(backupId: string): BackupRestoreServerMapping;
|
6
|
+
set backupId(backupId: string | undefined);
|
7
|
+
get backupId(): string | undefined;
|
8
|
+
withVolumeId(volumeId: string): BackupRestoreServerMapping;
|
9
|
+
set volumeId(volumeId: string | undefined);
|
10
|
+
get volumeId(): string | undefined;
|
11
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BackupRestoreServerMapping = void 0;
|
4
|
+
var BackupRestoreServerMapping = /** @class */ (function () {
|
5
|
+
function BackupRestoreServerMapping(backupId, volumeId) {
|
6
|
+
this['backup_id'] = backupId;
|
7
|
+
this['volume_id'] = volumeId;
|
8
|
+
}
|
9
|
+
BackupRestoreServerMapping.prototype.withBackupId = function (backupId) {
|
10
|
+
this['backup_id'] = backupId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(BackupRestoreServerMapping.prototype, "backupId", {
|
14
|
+
get: function () {
|
15
|
+
return this['backup_id'];
|
16
|
+
},
|
17
|
+
set: function (backupId) {
|
18
|
+
this['backup_id'] = backupId;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
BackupRestoreServerMapping.prototype.withVolumeId = function (volumeId) {
|
24
|
+
this['volume_id'] = volumeId;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(BackupRestoreServerMapping.prototype, "volumeId", {
|
28
|
+
get: function () {
|
29
|
+
return this['volume_id'];
|
30
|
+
},
|
31
|
+
set: function (volumeId) {
|
32
|
+
this['volume_id'] = volumeId;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
return BackupRestoreServerMapping;
|
38
|
+
}());
|
39
|
+
exports.BackupRestoreServerMapping = BackupRestoreServerMapping;
|
@@ -0,0 +1,35 @@
|
|
1
|
+
export declare class BackupSync {
|
2
|
+
private 'backup_id';
|
3
|
+
private 'backup_name';
|
4
|
+
private 'bucket_name';
|
5
|
+
private 'image_path';
|
6
|
+
private 'resource_id';
|
7
|
+
private 'resource_name';
|
8
|
+
private 'resource_type';
|
9
|
+
private 'created_at';
|
10
|
+
constructor(backupId?: any, backupName?: any, bucketName?: any, imagePath?: any, resourceId?: any, resourceName?: any, resourceType?: any, createdAt?: any);
|
11
|
+
withBackupId(backupId: string): BackupSync;
|
12
|
+
set backupId(backupId: string | undefined);
|
13
|
+
get backupId(): string | undefined;
|
14
|
+
withBackupName(backupName: string): BackupSync;
|
15
|
+
set backupName(backupName: string | undefined);
|
16
|
+
get backupName(): string | undefined;
|
17
|
+
withBucketName(bucketName: string): BackupSync;
|
18
|
+
set bucketName(bucketName: string | undefined);
|
19
|
+
get bucketName(): string | undefined;
|
20
|
+
withImagePath(imagePath: string): BackupSync;
|
21
|
+
set imagePath(imagePath: string | undefined);
|
22
|
+
get imagePath(): string | undefined;
|
23
|
+
withResourceId(resourceId: string): BackupSync;
|
24
|
+
set resourceId(resourceId: string | undefined);
|
25
|
+
get resourceId(): string | undefined;
|
26
|
+
withResourceName(resourceName: string): BackupSync;
|
27
|
+
set resourceName(resourceName: string | undefined);
|
28
|
+
get resourceName(): string | undefined;
|
29
|
+
withResourceType(resourceType: string): BackupSync;
|
30
|
+
set resourceType(resourceType: string | undefined);
|
31
|
+
get resourceType(): string | undefined;
|
32
|
+
withCreatedAt(createdAt: number): BackupSync;
|
33
|
+
set createdAt(createdAt: number | undefined);
|
34
|
+
get createdAt(): number | undefined;
|
35
|
+
}
|
@@ -0,0 +1,129 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BackupSync = void 0;
|
4
|
+
var BackupSync = /** @class */ (function () {
|
5
|
+
function BackupSync(backupId, backupName, bucketName, imagePath, resourceId, resourceName, resourceType, createdAt) {
|
6
|
+
this['backup_id'] = backupId;
|
7
|
+
this['backup_name'] = backupName;
|
8
|
+
this['bucket_name'] = bucketName;
|
9
|
+
this['image_path'] = imagePath;
|
10
|
+
this['resource_id'] = resourceId;
|
11
|
+
this['resource_name'] = resourceName;
|
12
|
+
this['resource_type'] = resourceType;
|
13
|
+
this['created_at'] = createdAt;
|
14
|
+
}
|
15
|
+
BackupSync.prototype.withBackupId = function (backupId) {
|
16
|
+
this['backup_id'] = backupId;
|
17
|
+
return this;
|
18
|
+
};
|
19
|
+
Object.defineProperty(BackupSync.prototype, "backupId", {
|
20
|
+
get: function () {
|
21
|
+
return this['backup_id'];
|
22
|
+
},
|
23
|
+
set: function (backupId) {
|
24
|
+
this['backup_id'] = backupId;
|
25
|
+
},
|
26
|
+
enumerable: false,
|
27
|
+
configurable: true
|
28
|
+
});
|
29
|
+
BackupSync.prototype.withBackupName = function (backupName) {
|
30
|
+
this['backup_name'] = backupName;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
Object.defineProperty(BackupSync.prototype, "backupName", {
|
34
|
+
get: function () {
|
35
|
+
return this['backup_name'];
|
36
|
+
},
|
37
|
+
set: function (backupName) {
|
38
|
+
this['backup_name'] = backupName;
|
39
|
+
},
|
40
|
+
enumerable: false,
|
41
|
+
configurable: true
|
42
|
+
});
|
43
|
+
BackupSync.prototype.withBucketName = function (bucketName) {
|
44
|
+
this['bucket_name'] = bucketName;
|
45
|
+
return this;
|
46
|
+
};
|
47
|
+
Object.defineProperty(BackupSync.prototype, "bucketName", {
|
48
|
+
get: function () {
|
49
|
+
return this['bucket_name'];
|
50
|
+
},
|
51
|
+
set: function (bucketName) {
|
52
|
+
this['bucket_name'] = bucketName;
|
53
|
+
},
|
54
|
+
enumerable: false,
|
55
|
+
configurable: true
|
56
|
+
});
|
57
|
+
BackupSync.prototype.withImagePath = function (imagePath) {
|
58
|
+
this['image_path'] = imagePath;
|
59
|
+
return this;
|
60
|
+
};
|
61
|
+
Object.defineProperty(BackupSync.prototype, "imagePath", {
|
62
|
+
get: function () {
|
63
|
+
return this['image_path'];
|
64
|
+
},
|
65
|
+
set: function (imagePath) {
|
66
|
+
this['image_path'] = imagePath;
|
67
|
+
},
|
68
|
+
enumerable: false,
|
69
|
+
configurable: true
|
70
|
+
});
|
71
|
+
BackupSync.prototype.withResourceId = function (resourceId) {
|
72
|
+
this['resource_id'] = resourceId;
|
73
|
+
return this;
|
74
|
+
};
|
75
|
+
Object.defineProperty(BackupSync.prototype, "resourceId", {
|
76
|
+
get: function () {
|
77
|
+
return this['resource_id'];
|
78
|
+
},
|
79
|
+
set: function (resourceId) {
|
80
|
+
this['resource_id'] = resourceId;
|
81
|
+
},
|
82
|
+
enumerable: false,
|
83
|
+
configurable: true
|
84
|
+
});
|
85
|
+
BackupSync.prototype.withResourceName = function (resourceName) {
|
86
|
+
this['resource_name'] = resourceName;
|
87
|
+
return this;
|
88
|
+
};
|
89
|
+
Object.defineProperty(BackupSync.prototype, "resourceName", {
|
90
|
+
get: function () {
|
91
|
+
return this['resource_name'];
|
92
|
+
},
|
93
|
+
set: function (resourceName) {
|
94
|
+
this['resource_name'] = resourceName;
|
95
|
+
},
|
96
|
+
enumerable: false,
|
97
|
+
configurable: true
|
98
|
+
});
|
99
|
+
BackupSync.prototype.withResourceType = function (resourceType) {
|
100
|
+
this['resource_type'] = resourceType;
|
101
|
+
return this;
|
102
|
+
};
|
103
|
+
Object.defineProperty(BackupSync.prototype, "resourceType", {
|
104
|
+
get: function () {
|
105
|
+
return this['resource_type'];
|
106
|
+
},
|
107
|
+
set: function (resourceType) {
|
108
|
+
this['resource_type'] = resourceType;
|
109
|
+
},
|
110
|
+
enumerable: false,
|
111
|
+
configurable: true
|
112
|
+
});
|
113
|
+
BackupSync.prototype.withCreatedAt = function (createdAt) {
|
114
|
+
this['created_at'] = createdAt;
|
115
|
+
return this;
|
116
|
+
};
|
117
|
+
Object.defineProperty(BackupSync.prototype, "createdAt", {
|
118
|
+
get: function () {
|
119
|
+
return this['created_at'];
|
120
|
+
},
|
121
|
+
set: function (createdAt) {
|
122
|
+
this['created_at'] = createdAt;
|
123
|
+
},
|
124
|
+
enumerable: false,
|
125
|
+
configurable: true
|
126
|
+
});
|
127
|
+
return BackupSync;
|
128
|
+
}());
|
129
|
+
exports.BackupSync = BackupSync;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BackupSyncReq = void 0;
|
4
|
+
var BackupSyncReq = /** @class */ (function () {
|
5
|
+
function BackupSyncReq(sync) {
|
6
|
+
this['sync'] = sync;
|
7
|
+
}
|
8
|
+
BackupSyncReq.prototype.withSync = function (sync) {
|
9
|
+
this['sync'] = sync;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
return BackupSyncReq;
|
13
|
+
}());
|
14
|
+
exports.BackupSyncReq = BackupSyncReq;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class BackupSyncRespBody {
|
2
|
+
private 'backup_id';
|
3
|
+
private 'operation_log_id';
|
4
|
+
constructor(backupId?: any, operationLogId?: any);
|
5
|
+
withBackupId(backupId: string): BackupSyncRespBody;
|
6
|
+
set backupId(backupId: string | undefined);
|
7
|
+
get backupId(): string | undefined;
|
8
|
+
withOperationLogId(operationLogId: string): BackupSyncRespBody;
|
9
|
+
set operationLogId(operationLogId: string | undefined);
|
10
|
+
get operationLogId(): string | undefined;
|
11
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BackupSyncRespBody = void 0;
|
4
|
+
var BackupSyncRespBody = /** @class */ (function () {
|
5
|
+
function BackupSyncRespBody(backupId, operationLogId) {
|
6
|
+
this['backup_id'] = backupId;
|
7
|
+
this['operation_log_id'] = operationLogId;
|
8
|
+
}
|
9
|
+
BackupSyncRespBody.prototype.withBackupId = function (backupId) {
|
10
|
+
this['backup_id'] = backupId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(BackupSyncRespBody.prototype, "backupId", {
|
14
|
+
get: function () {
|
15
|
+
return this['backup_id'];
|
16
|
+
},
|
17
|
+
set: function (backupId) {
|
18
|
+
this['backup_id'] = backupId;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
BackupSyncRespBody.prototype.withOperationLogId = function (operationLogId) {
|
24
|
+
this['operation_log_id'] = operationLogId;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(BackupSyncRespBody.prototype, "operationLogId", {
|
28
|
+
get: function () {
|
29
|
+
return this['operation_log_id'];
|
30
|
+
},
|
31
|
+
set: function (operationLogId) {
|
32
|
+
this['operation_log_id'] = operationLogId;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
return BackupSyncRespBody;
|
38
|
+
}());
|
39
|
+
exports.BackupSyncRespBody = BackupSyncRespBody;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { BulkCreateAndDeleteVaultTagsReq } from './BulkCreateAndDeleteVaultTagsReq';
|
2
|
+
export declare class BatchCreateAndDeleteVaultTagsRequest {
|
3
|
+
private 'vault_id';
|
4
|
+
body?: BulkCreateAndDeleteVaultTagsReq;
|
5
|
+
constructor(vaultId?: any);
|
6
|
+
withVaultId(vaultId: string): BatchCreateAndDeleteVaultTagsRequest;
|
7
|
+
set vaultId(vaultId: string | undefined);
|
8
|
+
get vaultId(): string | undefined;
|
9
|
+
withBody(body: BulkCreateAndDeleteVaultTagsReq): BatchCreateAndDeleteVaultTagsRequest;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BatchCreateAndDeleteVaultTagsRequest = void 0;
|
4
|
+
var BatchCreateAndDeleteVaultTagsRequest = /** @class */ (function () {
|
5
|
+
function BatchCreateAndDeleteVaultTagsRequest(vaultId) {
|
6
|
+
this['vault_id'] = vaultId;
|
7
|
+
}
|
8
|
+
BatchCreateAndDeleteVaultTagsRequest.prototype.withVaultId = function (vaultId) {
|
9
|
+
this['vault_id'] = vaultId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(BatchCreateAndDeleteVaultTagsRequest.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
|
+
BatchCreateAndDeleteVaultTagsRequest.prototype.withBody = function (body) {
|
23
|
+
this['body'] = body;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return BatchCreateAndDeleteVaultTagsRequest;
|
27
|
+
}());
|
28
|
+
exports.BatchCreateAndDeleteVaultTagsRequest = BatchCreateAndDeleteVaultTagsRequest;
|
@@ -0,0 +1,27 @@
|
|
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.BatchCreateAndDeleteVaultTagsResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var BatchCreateAndDeleteVaultTagsResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(BatchCreateAndDeleteVaultTagsResponse, _super);
|
22
|
+
function BatchCreateAndDeleteVaultTagsResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
return BatchCreateAndDeleteVaultTagsResponse;
|
26
|
+
}(SdkResponse_1.SdkResponse));
|
27
|
+
exports.BatchCreateAndDeleteVaultTagsResponse = BatchCreateAndDeleteVaultTagsResponse;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class BillbingCreateExtraInfo {
|
2
|
+
private 'combined_order_id'?;
|
3
|
+
private 'combined_order_ecs_num'?;
|
4
|
+
constructor();
|
5
|
+
withCombinedOrderId(combinedOrderId: string): BillbingCreateExtraInfo;
|
6
|
+
set combinedOrderId(combinedOrderId: string | undefined);
|
7
|
+
get combinedOrderId(): string | undefined;
|
8
|
+
withCombinedOrderEcsNum(combinedOrderEcsNum: number): BillbingCreateExtraInfo;
|
9
|
+
set combinedOrderEcsNum(combinedOrderEcsNum: number | undefined);
|
10
|
+
get combinedOrderEcsNum(): number | undefined;
|
11
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BillbingCreateExtraInfo = void 0;
|
4
|
+
var BillbingCreateExtraInfo = /** @class */ (function () {
|
5
|
+
function BillbingCreateExtraInfo() {
|
6
|
+
}
|
7
|
+
BillbingCreateExtraInfo.prototype.withCombinedOrderId = function (combinedOrderId) {
|
8
|
+
this['combined_order_id'] = combinedOrderId;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(BillbingCreateExtraInfo.prototype, "combinedOrderId", {
|
12
|
+
get: function () {
|
13
|
+
return this['combined_order_id'];
|
14
|
+
},
|
15
|
+
set: function (combinedOrderId) {
|
16
|
+
this['combined_order_id'] = combinedOrderId;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
BillbingCreateExtraInfo.prototype.withCombinedOrderEcsNum = function (combinedOrderEcsNum) {
|
22
|
+
this['combined_order_ecs_num'] = combinedOrderEcsNum;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(BillbingCreateExtraInfo.prototype, "combinedOrderEcsNum", {
|
26
|
+
get: function () {
|
27
|
+
return this['combined_order_ecs_num'];
|
28
|
+
},
|
29
|
+
set: function (combinedOrderEcsNum) {
|
30
|
+
this['combined_order_ecs_num'] = combinedOrderEcsNum;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
return BillbingCreateExtraInfo;
|
36
|
+
}());
|
37
|
+
exports.BillbingCreateExtraInfo = BillbingCreateExtraInfo;
|
@@ -0,0 +1,119 @@
|
|
1
|
+
export declare class Billing {
|
2
|
+
allocated: number;
|
3
|
+
private 'charging_mode';
|
4
|
+
private 'cloud_type'?;
|
5
|
+
private 'consistent_level';
|
6
|
+
private 'object_type'?;
|
7
|
+
private 'order_id'?;
|
8
|
+
private 'product_id'?;
|
9
|
+
private 'protect_type';
|
10
|
+
size: number;
|
11
|
+
private 'spec_code';
|
12
|
+
status: BillingStatusEnum;
|
13
|
+
private 'storage_unit'?;
|
14
|
+
used: number;
|
15
|
+
private 'frozen_scene'?;
|
16
|
+
private 'is_multi_az'?;
|
17
|
+
constructor(allocated?: any, chargingMode?: any, consistentLevel?: any, protectType?: any, size?: any, specCode?: any, status?: any, used?: any);
|
18
|
+
withAllocated(allocated: number): Billing;
|
19
|
+
withChargingMode(chargingMode: BillingChargingModeEnum): Billing;
|
20
|
+
set chargingMode(chargingMode: BillingChargingModeEnum | undefined);
|
21
|
+
get chargingMode(): BillingChargingModeEnum | undefined;
|
22
|
+
withCloudType(cloudType: BillingCloudTypeEnum): Billing;
|
23
|
+
set cloudType(cloudType: BillingCloudTypeEnum | undefined);
|
24
|
+
get cloudType(): BillingCloudTypeEnum | undefined;
|
25
|
+
withConsistentLevel(consistentLevel: BillingConsistentLevelEnum): Billing;
|
26
|
+
set consistentLevel(consistentLevel: BillingConsistentLevelEnum | undefined);
|
27
|
+
get consistentLevel(): BillingConsistentLevelEnum | undefined;
|
28
|
+
withObjectType(objectType: BillingObjectTypeEnum): Billing;
|
29
|
+
set objectType(objectType: BillingObjectTypeEnum | undefined);
|
30
|
+
get objectType(): BillingObjectTypeEnum | undefined;
|
31
|
+
withOrderId(orderId: string): Billing;
|
32
|
+
set orderId(orderId: string | undefined);
|
33
|
+
get orderId(): string | undefined;
|
34
|
+
withProductId(productId: string): Billing;
|
35
|
+
set productId(productId: string | undefined);
|
36
|
+
get productId(): string | undefined;
|
37
|
+
withProtectType(protectType: BillingProtectTypeEnum): Billing;
|
38
|
+
set protectType(protectType: BillingProtectTypeEnum | undefined);
|
39
|
+
get protectType(): BillingProtectTypeEnum | undefined;
|
40
|
+
withSize(size: number): Billing;
|
41
|
+
withSpecCode(specCode: BillingSpecCodeEnum): Billing;
|
42
|
+
set specCode(specCode: BillingSpecCodeEnum | undefined);
|
43
|
+
get specCode(): BillingSpecCodeEnum | undefined;
|
44
|
+
withStatus(status: BillingStatusEnum): Billing;
|
45
|
+
withStorageUnit(storageUnit: string): Billing;
|
46
|
+
set storageUnit(storageUnit: string | undefined);
|
47
|
+
get storageUnit(): string | undefined;
|
48
|
+
withUsed(used: number): Billing;
|
49
|
+
withFrozenScene(frozenScene: string): Billing;
|
50
|
+
set frozenScene(frozenScene: string | undefined);
|
51
|
+
get frozenScene(): string | undefined;
|
52
|
+
withIsMultiAz(isMultiAz: boolean): Billing;
|
53
|
+
set isMultiAz(isMultiAz: boolean | undefined);
|
54
|
+
get isMultiAz(): boolean | undefined;
|
55
|
+
}
|
56
|
+
/**
|
57
|
+
* @export
|
58
|
+
* @enum {string}
|
59
|
+
*/
|
60
|
+
export declare enum BillingChargingModeEnum {
|
61
|
+
PRE_PAID = "pre_paid",
|
62
|
+
POST_PAID = "post_paid"
|
63
|
+
}
|
64
|
+
/**
|
65
|
+
* @export
|
66
|
+
* @enum {string}
|
67
|
+
*/
|
68
|
+
export declare enum BillingCloudTypeEnum {
|
69
|
+
PUBLIC = "public",
|
70
|
+
HYBRID = "hybrid"
|
71
|
+
}
|
72
|
+
/**
|
73
|
+
* @export
|
74
|
+
* @enum {string}
|
75
|
+
*/
|
76
|
+
export declare enum BillingConsistentLevelEnum {
|
77
|
+
APP_CONSISTENT = "app_consistent",
|
78
|
+
CRASH_CONSISTENT = "crash_consistent"
|
79
|
+
}
|
80
|
+
/**
|
81
|
+
* @export
|
82
|
+
* @enum {string}
|
83
|
+
*/
|
84
|
+
export declare enum BillingObjectTypeEnum {
|
85
|
+
SERVER = "server",
|
86
|
+
DISK = "disk",
|
87
|
+
WORKSPACE = "workspace",
|
88
|
+
VMWARE = "vmware",
|
89
|
+
RDS = "rds",
|
90
|
+
FILE = "file"
|
91
|
+
}
|
92
|
+
/**
|
93
|
+
* @export
|
94
|
+
* @enum {string}
|
95
|
+
*/
|
96
|
+
export declare enum BillingProtectTypeEnum {
|
97
|
+
BACKUP = "backup",
|
98
|
+
REPLICATION = "replication",
|
99
|
+
HYBRID = "hybrid"
|
100
|
+
}
|
101
|
+
/**
|
102
|
+
* @export
|
103
|
+
* @enum {string}
|
104
|
+
*/
|
105
|
+
export declare enum BillingSpecCodeEnum {
|
106
|
+
VAULT_BACKUP_SERVER_NORMAL = "vault.backup.server.normal",
|
107
|
+
VAULT_BACKUP_VOLUME_NORMAL = "vault.backup.volume.normal"
|
108
|
+
}
|
109
|
+
/**
|
110
|
+
* @export
|
111
|
+
* @enum {string}
|
112
|
+
*/
|
113
|
+
export declare enum BillingStatusEnum {
|
114
|
+
AVAILABLE = "available",
|
115
|
+
LOCK = "lock",
|
116
|
+
FROZEN = "frozen",
|
117
|
+
DELETING = "deleting",
|
118
|
+
ERROR = "error"
|
119
|
+
}
|