@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,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PolicyTriggerReq = void 0;
|
4
|
+
var PolicyTriggerReq = /** @class */ (function () {
|
5
|
+
function PolicyTriggerReq(properties) {
|
6
|
+
this['properties'] = properties;
|
7
|
+
}
|
8
|
+
PolicyTriggerReq.prototype.withProperties = function (properties) {
|
9
|
+
this['properties'] = properties;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
return PolicyTriggerReq;
|
13
|
+
}());
|
14
|
+
exports.PolicyTriggerReq = PolicyTriggerReq;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { PolicyTriggerPropertiesResp } from './PolicyTriggerPropertiesResp';
|
2
|
+
export declare class PolicyTriggerResp {
|
3
|
+
id: string;
|
4
|
+
name?: string;
|
5
|
+
properties: PolicyTriggerPropertiesResp;
|
6
|
+
type?: PolicyTriggerRespTypeEnum;
|
7
|
+
constructor(id?: any, properties?: any);
|
8
|
+
withId(id: string): PolicyTriggerResp;
|
9
|
+
withName(name: string): PolicyTriggerResp;
|
10
|
+
withProperties(properties: PolicyTriggerPropertiesResp): PolicyTriggerResp;
|
11
|
+
withType(type: PolicyTriggerRespTypeEnum): PolicyTriggerResp;
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* @export
|
15
|
+
* @enum {string}
|
16
|
+
*/
|
17
|
+
export declare enum PolicyTriggerRespTypeEnum {
|
18
|
+
TIME = "time"
|
19
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PolicyTriggerRespTypeEnum = exports.PolicyTriggerResp = void 0;
|
4
|
+
var PolicyTriggerResp = /** @class */ (function () {
|
5
|
+
function PolicyTriggerResp(id, properties) {
|
6
|
+
this['id'] = id;
|
7
|
+
this['properties'] = properties;
|
8
|
+
}
|
9
|
+
PolicyTriggerResp.prototype.withId = function (id) {
|
10
|
+
this['id'] = id;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
PolicyTriggerResp.prototype.withName = function (name) {
|
14
|
+
this['name'] = name;
|
15
|
+
return this;
|
16
|
+
};
|
17
|
+
PolicyTriggerResp.prototype.withProperties = function (properties) {
|
18
|
+
this['properties'] = properties;
|
19
|
+
return this;
|
20
|
+
};
|
21
|
+
PolicyTriggerResp.prototype.withType = function (type) {
|
22
|
+
this['type'] = type;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
return PolicyTriggerResp;
|
26
|
+
}());
|
27
|
+
exports.PolicyTriggerResp = PolicyTriggerResp;
|
28
|
+
/**
|
29
|
+
* @export
|
30
|
+
* @enum {string}
|
31
|
+
*/
|
32
|
+
var PolicyTriggerRespTypeEnum;
|
33
|
+
(function (PolicyTriggerRespTypeEnum) {
|
34
|
+
PolicyTriggerRespTypeEnum["TIME"] = "time";
|
35
|
+
})(PolicyTriggerRespTypeEnum = exports.PolicyTriggerRespTypeEnum || (exports.PolicyTriggerRespTypeEnum = {}));
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { PolicyTriggerReq } from './PolicyTriggerReq';
|
2
|
+
import { PolicyoODCreate } from './PolicyoODCreate';
|
3
|
+
export declare class PolicyUpdate {
|
4
|
+
enabled?: boolean;
|
5
|
+
name?: string;
|
6
|
+
private 'operation_definition'?;
|
7
|
+
trigger?: PolicyTriggerReq;
|
8
|
+
constructor();
|
9
|
+
withEnabled(enabled: boolean): PolicyUpdate;
|
10
|
+
withName(name: string): PolicyUpdate;
|
11
|
+
withOperationDefinition(operationDefinition: PolicyoODCreate): PolicyUpdate;
|
12
|
+
set operationDefinition(operationDefinition: PolicyoODCreate | undefined);
|
13
|
+
get operationDefinition(): PolicyoODCreate | undefined;
|
14
|
+
withTrigger(trigger: PolicyTriggerReq): PolicyUpdate;
|
15
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PolicyUpdate = void 0;
|
4
|
+
var PolicyUpdate = /** @class */ (function () {
|
5
|
+
function PolicyUpdate() {
|
6
|
+
}
|
7
|
+
PolicyUpdate.prototype.withEnabled = function (enabled) {
|
8
|
+
this['enabled'] = enabled;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
PolicyUpdate.prototype.withName = function (name) {
|
12
|
+
this['name'] = name;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
PolicyUpdate.prototype.withOperationDefinition = function (operationDefinition) {
|
16
|
+
this['operation_definition'] = operationDefinition;
|
17
|
+
return this;
|
18
|
+
};
|
19
|
+
Object.defineProperty(PolicyUpdate.prototype, "operationDefinition", {
|
20
|
+
get: function () {
|
21
|
+
return this['operation_definition'];
|
22
|
+
},
|
23
|
+
set: function (operationDefinition) {
|
24
|
+
this['operation_definition'] = operationDefinition;
|
25
|
+
},
|
26
|
+
enumerable: false,
|
27
|
+
configurable: true
|
28
|
+
});
|
29
|
+
PolicyUpdate.prototype.withTrigger = function (trigger) {
|
30
|
+
this['trigger'] = trigger;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
return PolicyUpdate;
|
34
|
+
}());
|
35
|
+
exports.PolicyUpdate = PolicyUpdate;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PolicyUpdateReq = void 0;
|
4
|
+
var PolicyUpdateReq = /** @class */ (function () {
|
5
|
+
function PolicyUpdateReq(policy) {
|
6
|
+
this['policy'] = policy;
|
7
|
+
}
|
8
|
+
PolicyUpdateReq.prototype.withPolicy = function (policy) {
|
9
|
+
this['policy'] = policy;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
return PolicyUpdateReq;
|
13
|
+
}());
|
14
|
+
exports.PolicyUpdateReq = PolicyUpdateReq;
|
@@ -0,0 +1,41 @@
|
|
1
|
+
export declare class PolicyoODCreate {
|
2
|
+
private 'day_backups'?;
|
3
|
+
private 'destination_project_id'?;
|
4
|
+
private 'destination_region'?;
|
5
|
+
private 'enable_acceleration'?;
|
6
|
+
private 'max_backups'?;
|
7
|
+
private 'month_backups'?;
|
8
|
+
private 'retention_duration_days'?;
|
9
|
+
timezone?: string;
|
10
|
+
private 'week_backups'?;
|
11
|
+
private 'year_backups'?;
|
12
|
+
constructor();
|
13
|
+
withDayBackups(dayBackups: number): PolicyoODCreate;
|
14
|
+
set dayBackups(dayBackups: number | undefined);
|
15
|
+
get dayBackups(): number | undefined;
|
16
|
+
withDestinationProjectId(destinationProjectId: string): PolicyoODCreate;
|
17
|
+
set destinationProjectId(destinationProjectId: string | undefined);
|
18
|
+
get destinationProjectId(): string | undefined;
|
19
|
+
withDestinationRegion(destinationRegion: string): PolicyoODCreate;
|
20
|
+
set destinationRegion(destinationRegion: string | undefined);
|
21
|
+
get destinationRegion(): string | undefined;
|
22
|
+
withEnableAcceleration(enableAcceleration: boolean): PolicyoODCreate;
|
23
|
+
set enableAcceleration(enableAcceleration: boolean | undefined);
|
24
|
+
get enableAcceleration(): boolean | undefined;
|
25
|
+
withMaxBackups(maxBackups: number): PolicyoODCreate;
|
26
|
+
set maxBackups(maxBackups: number | undefined);
|
27
|
+
get maxBackups(): number | undefined;
|
28
|
+
withMonthBackups(monthBackups: number): PolicyoODCreate;
|
29
|
+
set monthBackups(monthBackups: number | undefined);
|
30
|
+
get monthBackups(): number | undefined;
|
31
|
+
withRetentionDurationDays(retentionDurationDays: number): PolicyoODCreate;
|
32
|
+
set retentionDurationDays(retentionDurationDays: number | undefined);
|
33
|
+
get retentionDurationDays(): number | undefined;
|
34
|
+
withTimezone(timezone: string): PolicyoODCreate;
|
35
|
+
withWeekBackups(weekBackups: number): PolicyoODCreate;
|
36
|
+
set weekBackups(weekBackups: number | undefined);
|
37
|
+
get weekBackups(): number | undefined;
|
38
|
+
withYearBackups(yearBackups: number): PolicyoODCreate;
|
39
|
+
set yearBackups(yearBackups: number | undefined);
|
40
|
+
get yearBackups(): number | undefined;
|
41
|
+
}
|
@@ -0,0 +1,139 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PolicyoODCreate = void 0;
|
4
|
+
var PolicyoODCreate = /** @class */ (function () {
|
5
|
+
function PolicyoODCreate() {
|
6
|
+
}
|
7
|
+
PolicyoODCreate.prototype.withDayBackups = function (dayBackups) {
|
8
|
+
this['day_backups'] = dayBackups;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(PolicyoODCreate.prototype, "dayBackups", {
|
12
|
+
get: function () {
|
13
|
+
return this['day_backups'];
|
14
|
+
},
|
15
|
+
set: function (dayBackups) {
|
16
|
+
this['day_backups'] = dayBackups;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
PolicyoODCreate.prototype.withDestinationProjectId = function (destinationProjectId) {
|
22
|
+
this['destination_project_id'] = destinationProjectId;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(PolicyoODCreate.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
|
+
PolicyoODCreate.prototype.withDestinationRegion = function (destinationRegion) {
|
36
|
+
this['destination_region'] = destinationRegion;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
Object.defineProperty(PolicyoODCreate.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
|
+
PolicyoODCreate.prototype.withEnableAcceleration = function (enableAcceleration) {
|
50
|
+
this['enable_acceleration'] = enableAcceleration;
|
51
|
+
return this;
|
52
|
+
};
|
53
|
+
Object.defineProperty(PolicyoODCreate.prototype, "enableAcceleration", {
|
54
|
+
get: function () {
|
55
|
+
return this['enable_acceleration'];
|
56
|
+
},
|
57
|
+
set: function (enableAcceleration) {
|
58
|
+
this['enable_acceleration'] = enableAcceleration;
|
59
|
+
},
|
60
|
+
enumerable: false,
|
61
|
+
configurable: true
|
62
|
+
});
|
63
|
+
PolicyoODCreate.prototype.withMaxBackups = function (maxBackups) {
|
64
|
+
this['max_backups'] = maxBackups;
|
65
|
+
return this;
|
66
|
+
};
|
67
|
+
Object.defineProperty(PolicyoODCreate.prototype, "maxBackups", {
|
68
|
+
get: function () {
|
69
|
+
return this['max_backups'];
|
70
|
+
},
|
71
|
+
set: function (maxBackups) {
|
72
|
+
this['max_backups'] = maxBackups;
|
73
|
+
},
|
74
|
+
enumerable: false,
|
75
|
+
configurable: true
|
76
|
+
});
|
77
|
+
PolicyoODCreate.prototype.withMonthBackups = function (monthBackups) {
|
78
|
+
this['month_backups'] = monthBackups;
|
79
|
+
return this;
|
80
|
+
};
|
81
|
+
Object.defineProperty(PolicyoODCreate.prototype, "monthBackups", {
|
82
|
+
get: function () {
|
83
|
+
return this['month_backups'];
|
84
|
+
},
|
85
|
+
set: function (monthBackups) {
|
86
|
+
this['month_backups'] = monthBackups;
|
87
|
+
},
|
88
|
+
enumerable: false,
|
89
|
+
configurable: true
|
90
|
+
});
|
91
|
+
PolicyoODCreate.prototype.withRetentionDurationDays = function (retentionDurationDays) {
|
92
|
+
this['retention_duration_days'] = retentionDurationDays;
|
93
|
+
return this;
|
94
|
+
};
|
95
|
+
Object.defineProperty(PolicyoODCreate.prototype, "retentionDurationDays", {
|
96
|
+
get: function () {
|
97
|
+
return this['retention_duration_days'];
|
98
|
+
},
|
99
|
+
set: function (retentionDurationDays) {
|
100
|
+
this['retention_duration_days'] = retentionDurationDays;
|
101
|
+
},
|
102
|
+
enumerable: false,
|
103
|
+
configurable: true
|
104
|
+
});
|
105
|
+
PolicyoODCreate.prototype.withTimezone = function (timezone) {
|
106
|
+
this['timezone'] = timezone;
|
107
|
+
return this;
|
108
|
+
};
|
109
|
+
PolicyoODCreate.prototype.withWeekBackups = function (weekBackups) {
|
110
|
+
this['week_backups'] = weekBackups;
|
111
|
+
return this;
|
112
|
+
};
|
113
|
+
Object.defineProperty(PolicyoODCreate.prototype, "weekBackups", {
|
114
|
+
get: function () {
|
115
|
+
return this['week_backups'];
|
116
|
+
},
|
117
|
+
set: function (weekBackups) {
|
118
|
+
this['week_backups'] = weekBackups;
|
119
|
+
},
|
120
|
+
enumerable: false,
|
121
|
+
configurable: true
|
122
|
+
});
|
123
|
+
PolicyoODCreate.prototype.withYearBackups = function (yearBackups) {
|
124
|
+
this['year_backups'] = yearBackups;
|
125
|
+
return this;
|
126
|
+
};
|
127
|
+
Object.defineProperty(PolicyoODCreate.prototype, "yearBackups", {
|
128
|
+
get: function () {
|
129
|
+
return this['year_backups'];
|
130
|
+
},
|
131
|
+
set: function (yearBackups) {
|
132
|
+
this['year_backups'] = yearBackups;
|
133
|
+
},
|
134
|
+
enumerable: false,
|
135
|
+
configurable: true
|
136
|
+
});
|
137
|
+
return PolicyoODCreate;
|
138
|
+
}());
|
139
|
+
exports.PolicyoODCreate = PolicyoODCreate;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare class ProtectableReplicationCapabilitiesRespRegion {
|
2
|
+
name: string;
|
3
|
+
private 'replication_destinations';
|
4
|
+
constructor(name?: any, replicationDestinations?: any);
|
5
|
+
withName(name: string): ProtectableReplicationCapabilitiesRespRegion;
|
6
|
+
withReplicationDestinations(replicationDestinations: Array<string>): ProtectableReplicationCapabilitiesRespRegion;
|
7
|
+
set replicationDestinations(replicationDestinations: Array<string> | undefined);
|
8
|
+
get replicationDestinations(): Array<string> | undefined;
|
9
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ProtectableReplicationCapabilitiesRespRegion = void 0;
|
4
|
+
var ProtectableReplicationCapabilitiesRespRegion = /** @class */ (function () {
|
5
|
+
function ProtectableReplicationCapabilitiesRespRegion(name, replicationDestinations) {
|
6
|
+
this['name'] = name;
|
7
|
+
this['replication_destinations'] = replicationDestinations;
|
8
|
+
}
|
9
|
+
ProtectableReplicationCapabilitiesRespRegion.prototype.withName = function (name) {
|
10
|
+
this['name'] = name;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
ProtectableReplicationCapabilitiesRespRegion.prototype.withReplicationDestinations = function (replicationDestinations) {
|
14
|
+
this['replication_destinations'] = replicationDestinations;
|
15
|
+
return this;
|
16
|
+
};
|
17
|
+
Object.defineProperty(ProtectableReplicationCapabilitiesRespRegion.prototype, "replicationDestinations", {
|
18
|
+
get: function () {
|
19
|
+
return this['replication_destinations'];
|
20
|
+
},
|
21
|
+
set: function (replicationDestinations) {
|
22
|
+
this['replication_destinations'] = replicationDestinations;
|
23
|
+
},
|
24
|
+
enumerable: false,
|
25
|
+
configurable: true
|
26
|
+
});
|
27
|
+
return ProtectableReplicationCapabilitiesRespRegion;
|
28
|
+
}());
|
29
|
+
exports.ProtectableReplicationCapabilitiesRespRegion = ProtectableReplicationCapabilitiesRespRegion;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { VaultGet } from './VaultGet';
|
2
|
+
export declare class ProtectableResult {
|
3
|
+
code?: string;
|
4
|
+
reason?: string;
|
5
|
+
result: boolean;
|
6
|
+
vault?: VaultGet;
|
7
|
+
message?: string;
|
8
|
+
constructor(result?: any);
|
9
|
+
withCode(code: string): ProtectableResult;
|
10
|
+
withReason(reason: string): ProtectableResult;
|
11
|
+
withResult(result: boolean): ProtectableResult;
|
12
|
+
withVault(vault: VaultGet): ProtectableResult;
|
13
|
+
withMessage(message: string): ProtectableResult;
|
14
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ProtectableResult = void 0;
|
4
|
+
var ProtectableResult = /** @class */ (function () {
|
5
|
+
function ProtectableResult(result) {
|
6
|
+
this['result'] = result;
|
7
|
+
}
|
8
|
+
ProtectableResult.prototype.withCode = function (code) {
|
9
|
+
this['code'] = code;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
ProtectableResult.prototype.withReason = function (reason) {
|
13
|
+
this['reason'] = reason;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
ProtectableResult.prototype.withResult = function (result) {
|
17
|
+
this['result'] = result;
|
18
|
+
return this;
|
19
|
+
};
|
20
|
+
ProtectableResult.prototype.withVault = function (vault) {
|
21
|
+
this['vault'] = vault;
|
22
|
+
return this;
|
23
|
+
};
|
24
|
+
ProtectableResult.prototype.withMessage = function (message) {
|
25
|
+
this['message'] = message;
|
26
|
+
return this;
|
27
|
+
};
|
28
|
+
return ProtectableResult;
|
29
|
+
}());
|
30
|
+
exports.ProtectableResult = ProtectableResult;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { ProtectableResult } from './ProtectableResult';
|
2
|
+
export declare class ProtectablesResp {
|
3
|
+
children: Array<object>;
|
4
|
+
detail?: object;
|
5
|
+
id: string;
|
6
|
+
name: string;
|
7
|
+
protectable: ProtectableResult;
|
8
|
+
size?: number;
|
9
|
+
status?: ProtectablesRespStatusEnum;
|
10
|
+
type: string;
|
11
|
+
constructor(children?: any, id?: any, name?: any, protectable?: any, type?: any);
|
12
|
+
withChildren(children: Array<object>): ProtectablesResp;
|
13
|
+
withDetail(detail: object): ProtectablesResp;
|
14
|
+
withId(id: string): ProtectablesResp;
|
15
|
+
withName(name: string): ProtectablesResp;
|
16
|
+
withProtectable(protectable: ProtectableResult): ProtectablesResp;
|
17
|
+
withSize(size: number): ProtectablesResp;
|
18
|
+
withStatus(status: ProtectablesRespStatusEnum): ProtectablesResp;
|
19
|
+
withType(type: string): ProtectablesResp;
|
20
|
+
}
|
21
|
+
/**
|
22
|
+
* @export
|
23
|
+
* @enum {string}
|
24
|
+
*/
|
25
|
+
export declare enum ProtectablesRespStatusEnum {
|
26
|
+
ACTIVE = "active",
|
27
|
+
DELETED = "deleted",
|
28
|
+
ERROR = "error"
|
29
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ProtectablesRespStatusEnum = exports.ProtectablesResp = void 0;
|
4
|
+
var ProtectablesResp = /** @class */ (function () {
|
5
|
+
function ProtectablesResp(children, id, name, protectable, type) {
|
6
|
+
this['children'] = children;
|
7
|
+
this['id'] = id;
|
8
|
+
this['name'] = name;
|
9
|
+
this['protectable'] = protectable;
|
10
|
+
this['type'] = type;
|
11
|
+
}
|
12
|
+
ProtectablesResp.prototype.withChildren = function (children) {
|
13
|
+
this['children'] = children;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
ProtectablesResp.prototype.withDetail = function (detail) {
|
17
|
+
this['detail'] = detail;
|
18
|
+
return this;
|
19
|
+
};
|
20
|
+
ProtectablesResp.prototype.withId = function (id) {
|
21
|
+
this['id'] = id;
|
22
|
+
return this;
|
23
|
+
};
|
24
|
+
ProtectablesResp.prototype.withName = function (name) {
|
25
|
+
this['name'] = name;
|
26
|
+
return this;
|
27
|
+
};
|
28
|
+
ProtectablesResp.prototype.withProtectable = function (protectable) {
|
29
|
+
this['protectable'] = protectable;
|
30
|
+
return this;
|
31
|
+
};
|
32
|
+
ProtectablesResp.prototype.withSize = function (size) {
|
33
|
+
this['size'] = size;
|
34
|
+
return this;
|
35
|
+
};
|
36
|
+
ProtectablesResp.prototype.withStatus = function (status) {
|
37
|
+
this['status'] = status;
|
38
|
+
return this;
|
39
|
+
};
|
40
|
+
ProtectablesResp.prototype.withType = function (type) {
|
41
|
+
this['type'] = type;
|
42
|
+
return this;
|
43
|
+
};
|
44
|
+
return ProtectablesResp;
|
45
|
+
}());
|
46
|
+
exports.ProtectablesResp = ProtectablesResp;
|
47
|
+
/**
|
48
|
+
* @export
|
49
|
+
* @enum {string}
|
50
|
+
*/
|
51
|
+
var ProtectablesRespStatusEnum;
|
52
|
+
(function (ProtectablesRespStatusEnum) {
|
53
|
+
ProtectablesRespStatusEnum["ACTIVE"] = "active";
|
54
|
+
ProtectablesRespStatusEnum["DELETED"] = "deleted";
|
55
|
+
ProtectablesRespStatusEnum["ERROR"] = "error";
|
56
|
+
})(ProtectablesRespStatusEnum = exports.ProtectablesRespStatusEnum || (exports.ProtectablesRespStatusEnum = {}));
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { VaultRemoveResourceReq } from './VaultRemoveResourceReq';
|
2
|
+
export declare class RemoveVaultResourceRequest {
|
3
|
+
private 'vault_id';
|
4
|
+
body?: VaultRemoveResourceReq;
|
5
|
+
constructor(vaultId?: any);
|
6
|
+
withVaultId(vaultId: string): RemoveVaultResourceRequest;
|
7
|
+
set vaultId(vaultId: string | undefined);
|
8
|
+
get vaultId(): string | undefined;
|
9
|
+
withBody(body: VaultRemoveResourceReq): RemoveVaultResourceRequest;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RemoveVaultResourceRequest = void 0;
|
4
|
+
var RemoveVaultResourceRequest = /** @class */ (function () {
|
5
|
+
function RemoveVaultResourceRequest(vaultId) {
|
6
|
+
this['vault_id'] = vaultId;
|
7
|
+
}
|
8
|
+
RemoveVaultResourceRequest.prototype.withVaultId = function (vaultId) {
|
9
|
+
this['vault_id'] = vaultId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(RemoveVaultResourceRequest.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
|
+
RemoveVaultResourceRequest.prototype.withBody = function (body) {
|
23
|
+
this['body'] = body;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
return RemoveVaultResourceRequest;
|
27
|
+
}());
|
28
|
+
exports.RemoveVaultResourceRequest = RemoveVaultResourceRequest;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
2
|
+
export declare class RemoveVaultResourceResponse extends SdkResponse {
|
3
|
+
private 'remove_resource_ids'?;
|
4
|
+
constructor();
|
5
|
+
withRemoveResourceIds(removeResourceIds: Array<string>): RemoveVaultResourceResponse;
|
6
|
+
set removeResourceIds(removeResourceIds: Array<string> | undefined);
|
7
|
+
get removeResourceIds(): 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.RemoveVaultResourceResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var RemoveVaultResourceResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(RemoveVaultResourceResponse, _super);
|
22
|
+
function RemoveVaultResourceResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
RemoveVaultResourceResponse.prototype.withRemoveResourceIds = function (removeResourceIds) {
|
26
|
+
this['remove_resource_ids'] = removeResourceIds;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(RemoveVaultResourceResponse.prototype, "removeResourceIds", {
|
30
|
+
get: function () {
|
31
|
+
return this['remove_resource_ids'];
|
32
|
+
},
|
33
|
+
set: function (removeResourceIds) {
|
34
|
+
this['remove_resource_ids'] = removeResourceIds;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
return RemoveVaultResourceResponse;
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
41
|
+
exports.RemoveVaultResourceResponse = RemoveVaultResourceResponse;
|
@@ -0,0 +1,67 @@
|
|
1
|
+
import { ReplicationRecordsExtraInfo } from './ReplicationRecordsExtraInfo';
|
2
|
+
export declare class ReplicationRecordGet {
|
3
|
+
private 'created_at'?;
|
4
|
+
private 'destination_backup_id'?;
|
5
|
+
private 'destination_checkpoint_id'?;
|
6
|
+
private 'destination_project_id'?;
|
7
|
+
private 'destination_region'?;
|
8
|
+
private 'destination_vault_id'?;
|
9
|
+
private 'extra_info'?;
|
10
|
+
id: string;
|
11
|
+
private 'source_backup_id'?;
|
12
|
+
private 'source_checkpoint_id'?;
|
13
|
+
private 'source_project_id'?;
|
14
|
+
private 'source_region'?;
|
15
|
+
status?: ReplicationRecordGetStatusEnum;
|
16
|
+
private 'vault_id'?;
|
17
|
+
constructor(id?: any);
|
18
|
+
withCreatedAt(createdAt: string): ReplicationRecordGet;
|
19
|
+
set createdAt(createdAt: string | undefined);
|
20
|
+
get createdAt(): string | undefined;
|
21
|
+
withDestinationBackupId(destinationBackupId: string): ReplicationRecordGet;
|
22
|
+
set destinationBackupId(destinationBackupId: string | undefined);
|
23
|
+
get destinationBackupId(): string | undefined;
|
24
|
+
withDestinationCheckpointId(destinationCheckpointId: string): ReplicationRecordGet;
|
25
|
+
set destinationCheckpointId(destinationCheckpointId: string | undefined);
|
26
|
+
get destinationCheckpointId(): string | undefined;
|
27
|
+
withDestinationProjectId(destinationProjectId: string): ReplicationRecordGet;
|
28
|
+
set destinationProjectId(destinationProjectId: string | undefined);
|
29
|
+
get destinationProjectId(): string | undefined;
|
30
|
+
withDestinationRegion(destinationRegion: string): ReplicationRecordGet;
|
31
|
+
set destinationRegion(destinationRegion: string | undefined);
|
32
|
+
get destinationRegion(): string | undefined;
|
33
|
+
withDestinationVaultId(destinationVaultId: string): ReplicationRecordGet;
|
34
|
+
set destinationVaultId(destinationVaultId: string | undefined);
|
35
|
+
get destinationVaultId(): string | undefined;
|
36
|
+
withExtraInfo(extraInfo: ReplicationRecordsExtraInfo): ReplicationRecordGet;
|
37
|
+
set extraInfo(extraInfo: ReplicationRecordsExtraInfo | undefined);
|
38
|
+
get extraInfo(): ReplicationRecordsExtraInfo | undefined;
|
39
|
+
withId(id: string): ReplicationRecordGet;
|
40
|
+
withSourceBackupId(sourceBackupId: string): ReplicationRecordGet;
|
41
|
+
set sourceBackupId(sourceBackupId: string | undefined);
|
42
|
+
get sourceBackupId(): string | undefined;
|
43
|
+
withSourceCheckpointId(sourceCheckpointId: string): ReplicationRecordGet;
|
44
|
+
set sourceCheckpointId(sourceCheckpointId: string | undefined);
|
45
|
+
get sourceCheckpointId(): string | undefined;
|
46
|
+
withSourceProjectId(sourceProjectId: string): ReplicationRecordGet;
|
47
|
+
set sourceProjectId(sourceProjectId: string | undefined);
|
48
|
+
get sourceProjectId(): string | undefined;
|
49
|
+
withSourceRegion(sourceRegion: string): ReplicationRecordGet;
|
50
|
+
set sourceRegion(sourceRegion: string | undefined);
|
51
|
+
get sourceRegion(): string | undefined;
|
52
|
+
withStatus(status: ReplicationRecordGetStatusEnum): ReplicationRecordGet;
|
53
|
+
withVaultId(vaultId: string): ReplicationRecordGet;
|
54
|
+
set vaultId(vaultId: string | undefined);
|
55
|
+
get vaultId(): string | undefined;
|
56
|
+
}
|
57
|
+
/**
|
58
|
+
* @export
|
59
|
+
* @enum {string}
|
60
|
+
*/
|
61
|
+
export declare enum ReplicationRecordGetStatusEnum {
|
62
|
+
REPLICATING = "replicating",
|
63
|
+
SUCCESS = "success",
|
64
|
+
FAIL = "fail",
|
65
|
+
SKIP = "skip",
|
66
|
+
WAITING_REPLICATE = "waiting_replicate"
|
67
|
+
}
|