@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
|
+
export declare class CbrRegion {
|
2
|
+
static CN_NORTH_1: any;
|
3
|
+
static CN_NORTH_4: any;
|
4
|
+
static CN_SOUTH_1: any;
|
5
|
+
static CN_EAST_2: any;
|
6
|
+
static CN_EAST_3: any;
|
7
|
+
static CN_SOUTHWEST_2: any;
|
8
|
+
static AP_SOUTHEAST_1: any;
|
9
|
+
static AP_SOUTHEAST_2: any;
|
10
|
+
static AP_SOUTHEAST_3: any;
|
11
|
+
static AF_SOUTH_1: any;
|
12
|
+
static SA_BRAZIL_1: any;
|
13
|
+
static LA_NORTH_2: any;
|
14
|
+
static CN_SOUTH_4: any;
|
15
|
+
static NA_MEXICO_1: any;
|
16
|
+
static LA_SOUTH_2: any;
|
17
|
+
static CN_SOUTH_2: any;
|
18
|
+
static CN_NORTH_9: any;
|
19
|
+
static CN_NORTH_2: any;
|
20
|
+
private static REGION_MAP;
|
21
|
+
static valueOf(regionId: string): any;
|
22
|
+
}
|
package/v1/CbrRegion.js
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CbrRegion = void 0;
|
4
|
+
var region_1 = require("@huaweicloud/huaweicloud-sdk-core/region/region");
|
5
|
+
var CbrRegion = exports.CbrRegion = /** @class */ (function () {
|
6
|
+
function CbrRegion() {
|
7
|
+
}
|
8
|
+
CbrRegion.valueOf = function (regionId) {
|
9
|
+
if (!regionId) {
|
10
|
+
throw new Error("Unexpected empty parameter: regionId.");
|
11
|
+
}
|
12
|
+
var result = this.REGION_MAP[regionId];
|
13
|
+
if (result) {
|
14
|
+
return result;
|
15
|
+
}
|
16
|
+
throw new Error("Unexpected regionId: ".concat(regionId, "."));
|
17
|
+
};
|
18
|
+
CbrRegion.CN_NORTH_1 = new region_1.Region("cn-north-1", ["https://cbr.cn-north-1.myhuaweicloud.com"]);
|
19
|
+
CbrRegion.CN_NORTH_4 = new region_1.Region("cn-north-4", ["https://cbr.cn-north-4.myhuaweicloud.com"]);
|
20
|
+
CbrRegion.CN_SOUTH_1 = new region_1.Region("cn-south-1", ["https://cbr.cn-south-1.myhuaweicloud.com"]);
|
21
|
+
CbrRegion.CN_EAST_2 = new region_1.Region("cn-east-2", ["https://cbr.cn-east-2.myhuaweicloud.com"]);
|
22
|
+
CbrRegion.CN_EAST_3 = new region_1.Region("cn-east-3", ["https://cbr.cn-east-3.myhuaweicloud.com"]);
|
23
|
+
CbrRegion.CN_SOUTHWEST_2 = new region_1.Region("cn-southwest-2", ["https://cbr.cn-southwest-2.myhuaweicloud.com"]);
|
24
|
+
CbrRegion.AP_SOUTHEAST_1 = new region_1.Region("ap-southeast-1", ["https://cbr.ap-southeast-1.myhuaweicloud.com"]);
|
25
|
+
CbrRegion.AP_SOUTHEAST_2 = new region_1.Region("ap-southeast-2", ["https://cbr.ap-southeast-2.myhuaweicloud.com"]);
|
26
|
+
CbrRegion.AP_SOUTHEAST_3 = new region_1.Region("ap-southeast-3", ["https://cbr.ap-southeast-3.myhuaweicloud.com"]);
|
27
|
+
CbrRegion.AF_SOUTH_1 = new region_1.Region("af-south-1", ["https://cbr.af-south-1.myhuaweicloud.com"]);
|
28
|
+
CbrRegion.SA_BRAZIL_1 = new region_1.Region("sa-brazil-1", ["https://cbr.sa-brazil-1.myhuaweicloud.com"]);
|
29
|
+
CbrRegion.LA_NORTH_2 = new region_1.Region("la-north-2", ["https://cbr.la-north-2.myhuaweicloud.com"]);
|
30
|
+
CbrRegion.CN_SOUTH_4 = new region_1.Region("cn-south-4", ["https://cbr.cn-south-4.myhuaweicloud.com"]);
|
31
|
+
CbrRegion.NA_MEXICO_1 = new region_1.Region("na-mexico-1", ["https://cbr.na-mexico-1.myhuaweicloud.com"]);
|
32
|
+
CbrRegion.LA_SOUTH_2 = new region_1.Region("la-south-2", ["https://cbr.la-south-2.myhuaweicloud.com"]);
|
33
|
+
CbrRegion.CN_SOUTH_2 = new region_1.Region("cn-south-2", ["https://cbr.cn-south-2.myhuaweicloud.com"]);
|
34
|
+
CbrRegion.CN_NORTH_9 = new region_1.Region("cn-north-9", ["https://cbr.cn-north-9.myhuaweicloud.com"]);
|
35
|
+
CbrRegion.CN_NORTH_2 = new region_1.Region("cn-north-2", ["https://cbr.cn-north-2.myhuaweicloud.com"]);
|
36
|
+
CbrRegion.REGION_MAP = {
|
37
|
+
"cn-north-1": CbrRegion.CN_NORTH_1,
|
38
|
+
"cn-north-4": CbrRegion.CN_NORTH_4,
|
39
|
+
"cn-south-1": CbrRegion.CN_SOUTH_1,
|
40
|
+
"cn-east-2": CbrRegion.CN_EAST_2,
|
41
|
+
"cn-east-3": CbrRegion.CN_EAST_3,
|
42
|
+
"cn-southwest-2": CbrRegion.CN_SOUTHWEST_2,
|
43
|
+
"ap-southeast-1": CbrRegion.AP_SOUTHEAST_1,
|
44
|
+
"ap-southeast-2": CbrRegion.AP_SOUTHEAST_2,
|
45
|
+
"ap-southeast-3": CbrRegion.AP_SOUTHEAST_3,
|
46
|
+
"af-south-1": CbrRegion.AF_SOUTH_1,
|
47
|
+
"sa-brazil-1": CbrRegion.SA_BRAZIL_1,
|
48
|
+
"la-north-2": CbrRegion.LA_NORTH_2,
|
49
|
+
"cn-south-4": CbrRegion.CN_SOUTH_4,
|
50
|
+
"na-mexico-1": CbrRegion.NA_MEXICO_1,
|
51
|
+
"la-south-2": CbrRegion.LA_SOUTH_2,
|
52
|
+
"cn-south-2": CbrRegion.CN_SOUTH_2,
|
53
|
+
"cn-north-9": CbrRegion.CN_NORTH_9,
|
54
|
+
"cn-north-2": CbrRegion.CN_NORTH_2
|
55
|
+
};
|
56
|
+
return CbrRegion;
|
57
|
+
}());
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { AddMembersReq } from './AddMembersReq';
|
2
|
+
export declare class AddMemberRequest {
|
3
|
+
private 'backup_id';
|
4
|
+
body?: AddMembersReq;
|
5
|
+
constructor(backupId?: any);
|
6
|
+
withBackupId(backupId: string): AddMemberRequest;
|
7
|
+
set backupId(backupId: string | undefined);
|
8
|
+
get backupId(): string | undefined;
|
9
|
+
withBody(body: AddMembersReq): AddMemberRequest;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddMemberRequest = void 0;
|
4
|
+
var AddMemberRequest = /** @class */ (function () {
|
5
|
+
function AddMemberRequest(backupId) {
|
6
|
+
this['backup_id'] = backupId;
|
7
|
+
}
|
8
|
+
AddMemberRequest.prototype.withBackupId = function (backupId) {
|
9
|
+
this['backup_id'] = backupId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(AddMemberRequest.prototype, "backupId", {
|
13
|
+
get: function () {
|
14
|
+
return this['backup_id'];
|
15
|
+
},
|
16
|
+
set: function (backupId) {
|
17
|
+
this['backup_id'] = backupId;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
AddMemberRequest.prototype.withBody = function (body) {
|
23
|
+
this['body'] = body;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return AddMemberRequest;
|
27
|
+
}());
|
28
|
+
exports.AddMemberRequest = AddMemberRequest;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { Member } from './Member';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class AddMemberResponse extends SdkResponse {
|
4
|
+
members?: Array<Member>;
|
5
|
+
count?: number;
|
6
|
+
constructor();
|
7
|
+
withMembers(members: Array<Member>): AddMemberResponse;
|
8
|
+
withCount(count: number): AddMemberResponse;
|
9
|
+
}
|
@@ -0,0 +1,35 @@
|
|
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.AddMemberResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var AddMemberResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(AddMemberResponse, _super);
|
22
|
+
function AddMemberResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
AddMemberResponse.prototype.withMembers = function (members) {
|
26
|
+
this['members'] = members;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
AddMemberResponse.prototype.withCount = function (count) {
|
30
|
+
this['count'] = count;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
return AddMemberResponse;
|
34
|
+
}(SdkResponse_1.SdkResponse));
|
35
|
+
exports.AddMemberResponse = AddMemberResponse;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddMembersReq = void 0;
|
4
|
+
var AddMembersReq = /** @class */ (function () {
|
5
|
+
function AddMembersReq(members) {
|
6
|
+
this['members'] = members;
|
7
|
+
}
|
8
|
+
AddMembersReq.prototype.withMembers = function (members) {
|
9
|
+
this['members'] = members;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
return AddMembersReq;
|
13
|
+
}());
|
14
|
+
exports.AddMembersReq = AddMembersReq;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { VaultAddResourceReq } from './VaultAddResourceReq';
|
2
|
+
export declare class AddVaultResourceRequest {
|
3
|
+
private 'vault_id';
|
4
|
+
body?: VaultAddResourceReq;
|
5
|
+
constructor(vaultId?: any);
|
6
|
+
withVaultId(vaultId: string): AddVaultResourceRequest;
|
7
|
+
set vaultId(vaultId: string | undefined);
|
8
|
+
get vaultId(): string | undefined;
|
9
|
+
withBody(body: VaultAddResourceReq): AddVaultResourceRequest;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AddVaultResourceRequest = void 0;
|
4
|
+
var AddVaultResourceRequest = /** @class */ (function () {
|
5
|
+
function AddVaultResourceRequest(vaultId) {
|
6
|
+
this['vault_id'] = vaultId;
|
7
|
+
}
|
8
|
+
AddVaultResourceRequest.prototype.withVaultId = function (vaultId) {
|
9
|
+
this['vault_id'] = vaultId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(AddVaultResourceRequest.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
|
+
AddVaultResourceRequest.prototype.withBody = function (body) {
|
23
|
+
this['body'] = body;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return AddVaultResourceRequest;
|
27
|
+
}());
|
28
|
+
exports.AddVaultResourceRequest = AddVaultResourceRequest;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
2
|
+
export declare class AddVaultResourceResponse extends SdkResponse {
|
3
|
+
private 'add_resource_ids'?;
|
4
|
+
constructor();
|
5
|
+
withAddResourceIds(addResourceIds: Array<string>): AddVaultResourceResponse;
|
6
|
+
set addResourceIds(addResourceIds: Array<string> | undefined);
|
7
|
+
get addResourceIds(): 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.AddVaultResourceResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var AddVaultResourceResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(AddVaultResourceResponse, _super);
|
22
|
+
function AddVaultResourceResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
AddVaultResourceResponse.prototype.withAddResourceIds = function (addResourceIds) {
|
26
|
+
this['add_resource_ids'] = addResourceIds;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(AddVaultResourceResponse.prototype, "addResourceIds", {
|
30
|
+
get: function () {
|
31
|
+
return this['add_resource_ids'];
|
32
|
+
},
|
33
|
+
set: function (addResourceIds) {
|
34
|
+
this['add_resource_ids'] = addResourceIds;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
return AddVaultResourceResponse;
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
41
|
+
exports.AddVaultResourceResponse = AddVaultResourceResponse;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { VaultAssociate } from './VaultAssociate';
|
2
|
+
export declare class AssociateVaultPolicyRequest {
|
3
|
+
private 'vault_id';
|
4
|
+
body?: VaultAssociate;
|
5
|
+
constructor(vaultId?: any);
|
6
|
+
withVaultId(vaultId: string): AssociateVaultPolicyRequest;
|
7
|
+
set vaultId(vaultId: string | undefined);
|
8
|
+
get vaultId(): string | undefined;
|
9
|
+
withBody(body: VaultAssociate): AssociateVaultPolicyRequest;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AssociateVaultPolicyRequest = void 0;
|
4
|
+
var AssociateVaultPolicyRequest = /** @class */ (function () {
|
5
|
+
function AssociateVaultPolicyRequest(vaultId) {
|
6
|
+
this['vault_id'] = vaultId;
|
7
|
+
}
|
8
|
+
AssociateVaultPolicyRequest.prototype.withVaultId = function (vaultId) {
|
9
|
+
this['vault_id'] = vaultId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(AssociateVaultPolicyRequest.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
|
+
AssociateVaultPolicyRequest.prototype.withBody = function (body) {
|
23
|
+
this['body'] = body;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return AssociateVaultPolicyRequest;
|
27
|
+
}());
|
28
|
+
exports.AssociateVaultPolicyRequest = AssociateVaultPolicyRequest;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { VaultPolicyResp } from './VaultPolicyResp';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class AssociateVaultPolicyResponse extends SdkResponse {
|
4
|
+
private 'associate_policy'?;
|
5
|
+
constructor();
|
6
|
+
withAssociatePolicy(associatePolicy: VaultPolicyResp): AssociateVaultPolicyResponse;
|
7
|
+
set associatePolicy(associatePolicy: VaultPolicyResp | undefined);
|
8
|
+
get associatePolicy(): VaultPolicyResp | undefined;
|
9
|
+
}
|
@@ -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.AssociateVaultPolicyResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var AssociateVaultPolicyResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(AssociateVaultPolicyResponse, _super);
|
22
|
+
function AssociateVaultPolicyResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
AssociateVaultPolicyResponse.prototype.withAssociatePolicy = function (associatePolicy) {
|
26
|
+
this['associate_policy'] = associatePolicy;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(AssociateVaultPolicyResponse.prototype, "associatePolicy", {
|
30
|
+
get: function () {
|
31
|
+
return this['associate_policy'];
|
32
|
+
},
|
33
|
+
set: function (associatePolicy) {
|
34
|
+
this['associate_policy'] = associatePolicy;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
return AssociateVaultPolicyResponse;
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
41
|
+
exports.AssociateVaultPolicyResponse = AssociateVaultPolicyResponse;
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import { ImageData } from './ImageData';
|
2
|
+
export declare class BackupExtendInfo {
|
3
|
+
private 'auto_trigger'?;
|
4
|
+
bootable?: boolean;
|
5
|
+
incremental?: boolean;
|
6
|
+
private 'snapshot_id'?;
|
7
|
+
private 'support_lld'?;
|
8
|
+
private 'supported_restore_mode'?;
|
9
|
+
private 'os_images_data'?;
|
10
|
+
private 'contain_system_disk'?;
|
11
|
+
encrypted?: boolean;
|
12
|
+
private 'system_disk'?;
|
13
|
+
private 'is_multi_az'?;
|
14
|
+
constructor();
|
15
|
+
withAutoTrigger(autoTrigger: boolean): BackupExtendInfo;
|
16
|
+
set autoTrigger(autoTrigger: boolean | undefined);
|
17
|
+
get autoTrigger(): boolean | undefined;
|
18
|
+
withBootable(bootable: boolean): BackupExtendInfo;
|
19
|
+
withIncremental(incremental: boolean): BackupExtendInfo;
|
20
|
+
withSnapshotId(snapshotId: string): BackupExtendInfo;
|
21
|
+
set snapshotId(snapshotId: string | undefined);
|
22
|
+
get snapshotId(): string | undefined;
|
23
|
+
withSupportLld(supportLld: boolean): BackupExtendInfo;
|
24
|
+
set supportLld(supportLld: boolean | undefined);
|
25
|
+
get supportLld(): boolean | undefined;
|
26
|
+
withSupportedRestoreMode(supportedRestoreMode: BackupExtendInfoSupportedRestoreModeEnum): BackupExtendInfo;
|
27
|
+
set supportedRestoreMode(supportedRestoreMode: BackupExtendInfoSupportedRestoreModeEnum | undefined);
|
28
|
+
get supportedRestoreMode(): BackupExtendInfoSupportedRestoreModeEnum | undefined;
|
29
|
+
withOsImagesData(osImagesData: Array<ImageData>): BackupExtendInfo;
|
30
|
+
set osImagesData(osImagesData: Array<ImageData> | undefined);
|
31
|
+
get osImagesData(): Array<ImageData> | undefined;
|
32
|
+
withContainSystemDisk(containSystemDisk: boolean): BackupExtendInfo;
|
33
|
+
set containSystemDisk(containSystemDisk: boolean | undefined);
|
34
|
+
get containSystemDisk(): boolean | undefined;
|
35
|
+
withEncrypted(encrypted: boolean): BackupExtendInfo;
|
36
|
+
withSystemDisk(systemDisk: boolean): BackupExtendInfo;
|
37
|
+
set systemDisk(systemDisk: boolean | undefined);
|
38
|
+
get systemDisk(): boolean | undefined;
|
39
|
+
withIsMultiAz(isMultiAz: boolean): BackupExtendInfo;
|
40
|
+
set isMultiAz(isMultiAz: boolean | undefined);
|
41
|
+
get isMultiAz(): boolean | undefined;
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* @export
|
45
|
+
* @enum {string}
|
46
|
+
*/
|
47
|
+
export declare enum BackupExtendInfoSupportedRestoreModeEnum {
|
48
|
+
NA = "na",
|
49
|
+
BACKUP = " backup",
|
50
|
+
SNAPSHOT = " snapshot"
|
51
|
+
}
|
@@ -0,0 +1,143 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BackupExtendInfoSupportedRestoreModeEnum = exports.BackupExtendInfo = void 0;
|
4
|
+
var BackupExtendInfo = /** @class */ (function () {
|
5
|
+
function BackupExtendInfo() {
|
6
|
+
}
|
7
|
+
BackupExtendInfo.prototype.withAutoTrigger = function (autoTrigger) {
|
8
|
+
this['auto_trigger'] = autoTrigger;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(BackupExtendInfo.prototype, "autoTrigger", {
|
12
|
+
get: function () {
|
13
|
+
return this['auto_trigger'];
|
14
|
+
},
|
15
|
+
set: function (autoTrigger) {
|
16
|
+
this['auto_trigger'] = autoTrigger;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
BackupExtendInfo.prototype.withBootable = function (bootable) {
|
22
|
+
this['bootable'] = bootable;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
BackupExtendInfo.prototype.withIncremental = function (incremental) {
|
26
|
+
this['incremental'] = incremental;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
BackupExtendInfo.prototype.withSnapshotId = function (snapshotId) {
|
30
|
+
this['snapshot_id'] = snapshotId;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
Object.defineProperty(BackupExtendInfo.prototype, "snapshotId", {
|
34
|
+
get: function () {
|
35
|
+
return this['snapshot_id'];
|
36
|
+
},
|
37
|
+
set: function (snapshotId) {
|
38
|
+
this['snapshot_id'] = snapshotId;
|
39
|
+
},
|
40
|
+
enumerable: false,
|
41
|
+
configurable: true
|
42
|
+
});
|
43
|
+
BackupExtendInfo.prototype.withSupportLld = function (supportLld) {
|
44
|
+
this['support_lld'] = supportLld;
|
45
|
+
return this;
|
46
|
+
};
|
47
|
+
Object.defineProperty(BackupExtendInfo.prototype, "supportLld", {
|
48
|
+
get: function () {
|
49
|
+
return this['support_lld'];
|
50
|
+
},
|
51
|
+
set: function (supportLld) {
|
52
|
+
this['support_lld'] = supportLld;
|
53
|
+
},
|
54
|
+
enumerable: false,
|
55
|
+
configurable: true
|
56
|
+
});
|
57
|
+
BackupExtendInfo.prototype.withSupportedRestoreMode = function (supportedRestoreMode) {
|
58
|
+
this['supported_restore_mode'] = supportedRestoreMode;
|
59
|
+
return this;
|
60
|
+
};
|
61
|
+
Object.defineProperty(BackupExtendInfo.prototype, "supportedRestoreMode", {
|
62
|
+
get: function () {
|
63
|
+
return this['supported_restore_mode'];
|
64
|
+
},
|
65
|
+
set: function (supportedRestoreMode) {
|
66
|
+
this['supported_restore_mode'] = supportedRestoreMode;
|
67
|
+
},
|
68
|
+
enumerable: false,
|
69
|
+
configurable: true
|
70
|
+
});
|
71
|
+
BackupExtendInfo.prototype.withOsImagesData = function (osImagesData) {
|
72
|
+
this['os_images_data'] = osImagesData;
|
73
|
+
return this;
|
74
|
+
};
|
75
|
+
Object.defineProperty(BackupExtendInfo.prototype, "osImagesData", {
|
76
|
+
get: function () {
|
77
|
+
return this['os_images_data'];
|
78
|
+
},
|
79
|
+
set: function (osImagesData) {
|
80
|
+
this['os_images_data'] = osImagesData;
|
81
|
+
},
|
82
|
+
enumerable: false,
|
83
|
+
configurable: true
|
84
|
+
});
|
85
|
+
BackupExtendInfo.prototype.withContainSystemDisk = function (containSystemDisk) {
|
86
|
+
this['contain_system_disk'] = containSystemDisk;
|
87
|
+
return this;
|
88
|
+
};
|
89
|
+
Object.defineProperty(BackupExtendInfo.prototype, "containSystemDisk", {
|
90
|
+
get: function () {
|
91
|
+
return this['contain_system_disk'];
|
92
|
+
},
|
93
|
+
set: function (containSystemDisk) {
|
94
|
+
this['contain_system_disk'] = containSystemDisk;
|
95
|
+
},
|
96
|
+
enumerable: false,
|
97
|
+
configurable: true
|
98
|
+
});
|
99
|
+
BackupExtendInfo.prototype.withEncrypted = function (encrypted) {
|
100
|
+
this['encrypted'] = encrypted;
|
101
|
+
return this;
|
102
|
+
};
|
103
|
+
BackupExtendInfo.prototype.withSystemDisk = function (systemDisk) {
|
104
|
+
this['system_disk'] = systemDisk;
|
105
|
+
return this;
|
106
|
+
};
|
107
|
+
Object.defineProperty(BackupExtendInfo.prototype, "systemDisk", {
|
108
|
+
get: function () {
|
109
|
+
return this['system_disk'];
|
110
|
+
},
|
111
|
+
set: function (systemDisk) {
|
112
|
+
this['system_disk'] = systemDisk;
|
113
|
+
},
|
114
|
+
enumerable: false,
|
115
|
+
configurable: true
|
116
|
+
});
|
117
|
+
BackupExtendInfo.prototype.withIsMultiAz = function (isMultiAz) {
|
118
|
+
this['is_multi_az'] = isMultiAz;
|
119
|
+
return this;
|
120
|
+
};
|
121
|
+
Object.defineProperty(BackupExtendInfo.prototype, "isMultiAz", {
|
122
|
+
get: function () {
|
123
|
+
return this['is_multi_az'];
|
124
|
+
},
|
125
|
+
set: function (isMultiAz) {
|
126
|
+
this['is_multi_az'] = isMultiAz;
|
127
|
+
},
|
128
|
+
enumerable: false,
|
129
|
+
configurable: true
|
130
|
+
});
|
131
|
+
return BackupExtendInfo;
|
132
|
+
}());
|
133
|
+
exports.BackupExtendInfo = BackupExtendInfo;
|
134
|
+
/**
|
135
|
+
* @export
|
136
|
+
* @enum {string}
|
137
|
+
*/
|
138
|
+
var BackupExtendInfoSupportedRestoreModeEnum;
|
139
|
+
(function (BackupExtendInfoSupportedRestoreModeEnum) {
|
140
|
+
BackupExtendInfoSupportedRestoreModeEnum["NA"] = "na";
|
141
|
+
BackupExtendInfoSupportedRestoreModeEnum["BACKUP"] = " backup";
|
142
|
+
BackupExtendInfoSupportedRestoreModeEnum["SNAPSHOT"] = " snapshot";
|
143
|
+
})(BackupExtendInfoSupportedRestoreModeEnum = exports.BackupExtendInfoSupportedRestoreModeEnum || (exports.BackupExtendInfoSupportedRestoreModeEnum = {}));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BackupReplicateReq = void 0;
|
4
|
+
var BackupReplicateReq = /** @class */ (function () {
|
5
|
+
function BackupReplicateReq(replicate) {
|
6
|
+
this['replicate'] = replicate;
|
7
|
+
}
|
8
|
+
BackupReplicateReq.prototype.withReplicate = function (replicate) {
|
9
|
+
this['replicate'] = replicate;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
return BackupReplicateReq;
|
13
|
+
}());
|
14
|
+
exports.BackupReplicateReq = BackupReplicateReq;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export declare class BackupReplicateReqBody {
|
2
|
+
description?: string;
|
3
|
+
private 'destination_project_id';
|
4
|
+
private 'destination_region';
|
5
|
+
private 'destination_vault_id';
|
6
|
+
private 'enable_acceleration'?;
|
7
|
+
name?: string;
|
8
|
+
constructor(destinationProjectId?: any, destinationRegion?: any, destinationVaultId?: any);
|
9
|
+
withDescription(description: string): BackupReplicateReqBody;
|
10
|
+
withDestinationProjectId(destinationProjectId: string): BackupReplicateReqBody;
|
11
|
+
set destinationProjectId(destinationProjectId: string | undefined);
|
12
|
+
get destinationProjectId(): string | undefined;
|
13
|
+
withDestinationRegion(destinationRegion: string): BackupReplicateReqBody;
|
14
|
+
set destinationRegion(destinationRegion: string | undefined);
|
15
|
+
get destinationRegion(): string | undefined;
|
16
|
+
withDestinationVaultId(destinationVaultId: string): BackupReplicateReqBody;
|
17
|
+
set destinationVaultId(destinationVaultId: string | undefined);
|
18
|
+
get destinationVaultId(): string | undefined;
|
19
|
+
withEnableAcceleration(enableAcceleration: boolean): BackupReplicateReqBody;
|
20
|
+
set enableAcceleration(enableAcceleration: boolean | undefined);
|
21
|
+
get enableAcceleration(): boolean | undefined;
|
22
|
+
withName(name: string): BackupReplicateReqBody;
|
23
|
+
}
|