@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,175 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListOpLogsRequestStatusEnum = exports.ListOpLogsRequestOperationTypeEnum = exports.ListOpLogsRequest = void 0;
|
4
|
+
var ListOpLogsRequest = /** @class */ (function () {
|
5
|
+
function ListOpLogsRequest() {
|
6
|
+
}
|
7
|
+
ListOpLogsRequest.prototype.withEndTime = function (endTime) {
|
8
|
+
this['end_time'] = endTime;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(ListOpLogsRequest.prototype, "endTime", {
|
12
|
+
get: function () {
|
13
|
+
return this['end_time'];
|
14
|
+
},
|
15
|
+
set: function (endTime) {
|
16
|
+
this['end_time'] = endTime;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
ListOpLogsRequest.prototype.withLimit = function (limit) {
|
22
|
+
this['limit'] = limit;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
ListOpLogsRequest.prototype.withOffset = function (offset) {
|
26
|
+
this['offset'] = offset;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
ListOpLogsRequest.prototype.withOperationType = function (operationType) {
|
30
|
+
this['operation_type'] = operationType;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
Object.defineProperty(ListOpLogsRequest.prototype, "operationType", {
|
34
|
+
get: function () {
|
35
|
+
return this['operation_type'];
|
36
|
+
},
|
37
|
+
set: function (operationType) {
|
38
|
+
this['operation_type'] = operationType;
|
39
|
+
},
|
40
|
+
enumerable: false,
|
41
|
+
configurable: true
|
42
|
+
});
|
43
|
+
ListOpLogsRequest.prototype.withProviderId = function (providerId) {
|
44
|
+
this['provider_id'] = providerId;
|
45
|
+
return this;
|
46
|
+
};
|
47
|
+
Object.defineProperty(ListOpLogsRequest.prototype, "providerId", {
|
48
|
+
get: function () {
|
49
|
+
return this['provider_id'];
|
50
|
+
},
|
51
|
+
set: function (providerId) {
|
52
|
+
this['provider_id'] = providerId;
|
53
|
+
},
|
54
|
+
enumerable: false,
|
55
|
+
configurable: true
|
56
|
+
});
|
57
|
+
ListOpLogsRequest.prototype.withResourceId = function (resourceId) {
|
58
|
+
this['resource_id'] = resourceId;
|
59
|
+
return this;
|
60
|
+
};
|
61
|
+
Object.defineProperty(ListOpLogsRequest.prototype, "resourceId", {
|
62
|
+
get: function () {
|
63
|
+
return this['resource_id'];
|
64
|
+
},
|
65
|
+
set: function (resourceId) {
|
66
|
+
this['resource_id'] = resourceId;
|
67
|
+
},
|
68
|
+
enumerable: false,
|
69
|
+
configurable: true
|
70
|
+
});
|
71
|
+
ListOpLogsRequest.prototype.withResourceName = function (resourceName) {
|
72
|
+
this['resource_name'] = resourceName;
|
73
|
+
return this;
|
74
|
+
};
|
75
|
+
Object.defineProperty(ListOpLogsRequest.prototype, "resourceName", {
|
76
|
+
get: function () {
|
77
|
+
return this['resource_name'];
|
78
|
+
},
|
79
|
+
set: function (resourceName) {
|
80
|
+
this['resource_name'] = resourceName;
|
81
|
+
},
|
82
|
+
enumerable: false,
|
83
|
+
configurable: true
|
84
|
+
});
|
85
|
+
ListOpLogsRequest.prototype.withStartTime = function (startTime) {
|
86
|
+
this['start_time'] = startTime;
|
87
|
+
return this;
|
88
|
+
};
|
89
|
+
Object.defineProperty(ListOpLogsRequest.prototype, "startTime", {
|
90
|
+
get: function () {
|
91
|
+
return this['start_time'];
|
92
|
+
},
|
93
|
+
set: function (startTime) {
|
94
|
+
this['start_time'] = startTime;
|
95
|
+
},
|
96
|
+
enumerable: false,
|
97
|
+
configurable: true
|
98
|
+
});
|
99
|
+
ListOpLogsRequest.prototype.withStatus = function (status) {
|
100
|
+
this['status'] = status;
|
101
|
+
return this;
|
102
|
+
};
|
103
|
+
ListOpLogsRequest.prototype.withVaultId = function (vaultId) {
|
104
|
+
this['vault_id'] = vaultId;
|
105
|
+
return this;
|
106
|
+
};
|
107
|
+
Object.defineProperty(ListOpLogsRequest.prototype, "vaultId", {
|
108
|
+
get: function () {
|
109
|
+
return this['vault_id'];
|
110
|
+
},
|
111
|
+
set: function (vaultId) {
|
112
|
+
this['vault_id'] = vaultId;
|
113
|
+
},
|
114
|
+
enumerable: false,
|
115
|
+
configurable: true
|
116
|
+
});
|
117
|
+
ListOpLogsRequest.prototype.withVaultName = function (vaultName) {
|
118
|
+
this['vault_name'] = vaultName;
|
119
|
+
return this;
|
120
|
+
};
|
121
|
+
Object.defineProperty(ListOpLogsRequest.prototype, "vaultName", {
|
122
|
+
get: function () {
|
123
|
+
return this['vault_name'];
|
124
|
+
},
|
125
|
+
set: function (vaultName) {
|
126
|
+
this['vault_name'] = vaultName;
|
127
|
+
},
|
128
|
+
enumerable: false,
|
129
|
+
configurable: true
|
130
|
+
});
|
131
|
+
ListOpLogsRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
132
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
133
|
+
return this;
|
134
|
+
};
|
135
|
+
Object.defineProperty(ListOpLogsRequest.prototype, "enterpriseProjectId", {
|
136
|
+
get: function () {
|
137
|
+
return this['enterprise_project_id'];
|
138
|
+
},
|
139
|
+
set: function (enterpriseProjectId) {
|
140
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
141
|
+
},
|
142
|
+
enumerable: false,
|
143
|
+
configurable: true
|
144
|
+
});
|
145
|
+
return ListOpLogsRequest;
|
146
|
+
}());
|
147
|
+
exports.ListOpLogsRequest = ListOpLogsRequest;
|
148
|
+
/**
|
149
|
+
* @export
|
150
|
+
* @enum {string}
|
151
|
+
*/
|
152
|
+
var ListOpLogsRequestOperationTypeEnum;
|
153
|
+
(function (ListOpLogsRequestOperationTypeEnum) {
|
154
|
+
ListOpLogsRequestOperationTypeEnum["BACKUP"] = "backup";
|
155
|
+
ListOpLogsRequestOperationTypeEnum["COPY"] = "copy";
|
156
|
+
ListOpLogsRequestOperationTypeEnum["REPLICATION"] = "replication";
|
157
|
+
ListOpLogsRequestOperationTypeEnum["DELETE"] = "delete";
|
158
|
+
ListOpLogsRequestOperationTypeEnum["RESTORE"] = "restore";
|
159
|
+
ListOpLogsRequestOperationTypeEnum["VAULT_DELETE"] = "vault_delete";
|
160
|
+
ListOpLogsRequestOperationTypeEnum["REMOVE_RESOURCE"] = "remove_resource";
|
161
|
+
ListOpLogsRequestOperationTypeEnum["SYNC"] = "sync";
|
162
|
+
})(ListOpLogsRequestOperationTypeEnum = exports.ListOpLogsRequestOperationTypeEnum || (exports.ListOpLogsRequestOperationTypeEnum = {}));
|
163
|
+
/**
|
164
|
+
* @export
|
165
|
+
* @enum {string}
|
166
|
+
*/
|
167
|
+
var ListOpLogsRequestStatusEnum;
|
168
|
+
(function (ListOpLogsRequestStatusEnum) {
|
169
|
+
ListOpLogsRequestStatusEnum["SUCCESS"] = "success";
|
170
|
+
ListOpLogsRequestStatusEnum["SKIPPED"] = "skipped";
|
171
|
+
ListOpLogsRequestStatusEnum["FAILED"] = "failed";
|
172
|
+
ListOpLogsRequestStatusEnum["RUNNING"] = "running";
|
173
|
+
ListOpLogsRequestStatusEnum["TIMEOUT"] = "timeout";
|
174
|
+
ListOpLogsRequestStatusEnum["WAITING"] = "waiting";
|
175
|
+
})(ListOpLogsRequestStatusEnum = exports.ListOpLogsRequestStatusEnum || (exports.ListOpLogsRequestStatusEnum = {}));
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { OperationLog } from './OperationLog';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ListOpLogsResponse extends SdkResponse {
|
4
|
+
private 'operation_logs'?;
|
5
|
+
count?: number;
|
6
|
+
limit?: number;
|
7
|
+
offset?: number;
|
8
|
+
constructor();
|
9
|
+
withOperationLogs(operationLogs: Array<OperationLog>): ListOpLogsResponse;
|
10
|
+
set operationLogs(operationLogs: Array<OperationLog> | undefined);
|
11
|
+
get operationLogs(): Array<OperationLog> | undefined;
|
12
|
+
withCount(count: number): ListOpLogsResponse;
|
13
|
+
withLimit(limit: number): ListOpLogsResponse;
|
14
|
+
withOffset(offset: number): ListOpLogsResponse;
|
15
|
+
}
|
@@ -0,0 +1,53 @@
|
|
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.ListOpLogsResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListOpLogsResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListOpLogsResponse, _super);
|
22
|
+
function ListOpLogsResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListOpLogsResponse.prototype.withOperationLogs = function (operationLogs) {
|
26
|
+
this['operation_logs'] = operationLogs;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(ListOpLogsResponse.prototype, "operationLogs", {
|
30
|
+
get: function () {
|
31
|
+
return this['operation_logs'];
|
32
|
+
},
|
33
|
+
set: function (operationLogs) {
|
34
|
+
this['operation_logs'] = operationLogs;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
ListOpLogsResponse.prototype.withCount = function (count) {
|
40
|
+
this['count'] = count;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
ListOpLogsResponse.prototype.withLimit = function (limit) {
|
44
|
+
this['limit'] = limit;
|
45
|
+
return this;
|
46
|
+
};
|
47
|
+
ListOpLogsResponse.prototype.withOffset = function (offset) {
|
48
|
+
this['offset'] = offset;
|
49
|
+
return this;
|
50
|
+
};
|
51
|
+
return ListOpLogsResponse;
|
52
|
+
}(SdkResponse_1.SdkResponse));
|
53
|
+
exports.ListOpLogsResponse = ListOpLogsResponse;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export declare class ListPoliciesRequest {
|
2
|
+
private 'operation_type'?;
|
3
|
+
private 'vault_id'?;
|
4
|
+
constructor();
|
5
|
+
withOperationType(operationType: ListPoliciesRequestOperationTypeEnum): ListPoliciesRequest;
|
6
|
+
set operationType(operationType: ListPoliciesRequestOperationTypeEnum | undefined);
|
7
|
+
get operationType(): ListPoliciesRequestOperationTypeEnum | undefined;
|
8
|
+
withVaultId(vaultId: string): ListPoliciesRequest;
|
9
|
+
set vaultId(vaultId: string | undefined);
|
10
|
+
get vaultId(): string | undefined;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* @export
|
14
|
+
* @enum {string}
|
15
|
+
*/
|
16
|
+
export declare enum ListPoliciesRequestOperationTypeEnum {
|
17
|
+
BACKUP = "backup",
|
18
|
+
REPLICATION = "replication"
|
19
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListPoliciesRequestOperationTypeEnum = exports.ListPoliciesRequest = void 0;
|
4
|
+
var ListPoliciesRequest = /** @class */ (function () {
|
5
|
+
function ListPoliciesRequest() {
|
6
|
+
}
|
7
|
+
ListPoliciesRequest.prototype.withOperationType = function (operationType) {
|
8
|
+
this['operation_type'] = operationType;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(ListPoliciesRequest.prototype, "operationType", {
|
12
|
+
get: function () {
|
13
|
+
return this['operation_type'];
|
14
|
+
},
|
15
|
+
set: function (operationType) {
|
16
|
+
this['operation_type'] = operationType;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
ListPoliciesRequest.prototype.withVaultId = function (vaultId) {
|
22
|
+
this['vault_id'] = vaultId;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(ListPoliciesRequest.prototype, "vaultId", {
|
26
|
+
get: function () {
|
27
|
+
return this['vault_id'];
|
28
|
+
},
|
29
|
+
set: function (vaultId) {
|
30
|
+
this['vault_id'] = vaultId;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
return ListPoliciesRequest;
|
36
|
+
}());
|
37
|
+
exports.ListPoliciesRequest = ListPoliciesRequest;
|
38
|
+
/**
|
39
|
+
* @export
|
40
|
+
* @enum {string}
|
41
|
+
*/
|
42
|
+
var ListPoliciesRequestOperationTypeEnum;
|
43
|
+
(function (ListPoliciesRequestOperationTypeEnum) {
|
44
|
+
ListPoliciesRequestOperationTypeEnum["BACKUP"] = "backup";
|
45
|
+
ListPoliciesRequestOperationTypeEnum["REPLICATION"] = "replication";
|
46
|
+
})(ListPoliciesRequestOperationTypeEnum = exports.ListPoliciesRequestOperationTypeEnum || (exports.ListPoliciesRequestOperationTypeEnum = {}));
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { Policy } from './Policy';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ListPoliciesResponse extends SdkResponse {
|
4
|
+
policies?: Array<Policy>;
|
5
|
+
count?: number;
|
6
|
+
constructor();
|
7
|
+
withPolicies(policies: Array<Policy>): ListPoliciesResponse;
|
8
|
+
withCount(count: number): ListPoliciesResponse;
|
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.ListPoliciesResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListPoliciesResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListPoliciesResponse, _super);
|
22
|
+
function ListPoliciesResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListPoliciesResponse.prototype.withPolicies = function (policies) {
|
26
|
+
this['policies'] = policies;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
ListPoliciesResponse.prototype.withCount = function (count) {
|
30
|
+
this['count'] = count;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
return ListPoliciesResponse;
|
34
|
+
}(SdkResponse_1.SdkResponse));
|
35
|
+
exports.ListPoliciesResponse = ListPoliciesResponse;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
export declare class ListProtectableRequest {
|
2
|
+
limit?: number;
|
3
|
+
marker?: string;
|
4
|
+
name?: string;
|
5
|
+
offset?: number;
|
6
|
+
private 'protectable_type';
|
7
|
+
status?: string;
|
8
|
+
id?: string;
|
9
|
+
private 'server_id'?;
|
10
|
+
constructor(protectableType?: any);
|
11
|
+
withLimit(limit: number): ListProtectableRequest;
|
12
|
+
withMarker(marker: string): ListProtectableRequest;
|
13
|
+
withName(name: string): ListProtectableRequest;
|
14
|
+
withOffset(offset: number): ListProtectableRequest;
|
15
|
+
withProtectableType(protectableType: ListProtectableRequestProtectableTypeEnum): ListProtectableRequest;
|
16
|
+
set protectableType(protectableType: ListProtectableRequestProtectableTypeEnum | undefined);
|
17
|
+
get protectableType(): ListProtectableRequestProtectableTypeEnum | undefined;
|
18
|
+
withStatus(status: string): ListProtectableRequest;
|
19
|
+
withId(id: string): ListProtectableRequest;
|
20
|
+
withServerId(serverId: string): ListProtectableRequest;
|
21
|
+
set serverId(serverId: string | undefined);
|
22
|
+
get serverId(): string | undefined;
|
23
|
+
}
|
24
|
+
/**
|
25
|
+
* @export
|
26
|
+
* @enum {string}
|
27
|
+
*/
|
28
|
+
export declare enum ListProtectableRequestProtectableTypeEnum {
|
29
|
+
SERVER = "server",
|
30
|
+
DISK = "disk"
|
31
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListProtectableRequestProtectableTypeEnum = exports.ListProtectableRequest = void 0;
|
4
|
+
var ListProtectableRequest = /** @class */ (function () {
|
5
|
+
function ListProtectableRequest(protectableType) {
|
6
|
+
this['protectable_type'] = protectableType;
|
7
|
+
}
|
8
|
+
ListProtectableRequest.prototype.withLimit = function (limit) {
|
9
|
+
this['limit'] = limit;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
ListProtectableRequest.prototype.withMarker = function (marker) {
|
13
|
+
this['marker'] = marker;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
ListProtectableRequest.prototype.withName = function (name) {
|
17
|
+
this['name'] = name;
|
18
|
+
return this;
|
19
|
+
};
|
20
|
+
ListProtectableRequest.prototype.withOffset = function (offset) {
|
21
|
+
this['offset'] = offset;
|
22
|
+
return this;
|
23
|
+
};
|
24
|
+
ListProtectableRequest.prototype.withProtectableType = function (protectableType) {
|
25
|
+
this['protectable_type'] = protectableType;
|
26
|
+
return this;
|
27
|
+
};
|
28
|
+
Object.defineProperty(ListProtectableRequest.prototype, "protectableType", {
|
29
|
+
get: function () {
|
30
|
+
return this['protectable_type'];
|
31
|
+
},
|
32
|
+
set: function (protectableType) {
|
33
|
+
this['protectable_type'] = protectableType;
|
34
|
+
},
|
35
|
+
enumerable: false,
|
36
|
+
configurable: true
|
37
|
+
});
|
38
|
+
ListProtectableRequest.prototype.withStatus = function (status) {
|
39
|
+
this['status'] = status;
|
40
|
+
return this;
|
41
|
+
};
|
42
|
+
ListProtectableRequest.prototype.withId = function (id) {
|
43
|
+
this['id'] = id;
|
44
|
+
return this;
|
45
|
+
};
|
46
|
+
ListProtectableRequest.prototype.withServerId = function (serverId) {
|
47
|
+
this['server_id'] = serverId;
|
48
|
+
return this;
|
49
|
+
};
|
50
|
+
Object.defineProperty(ListProtectableRequest.prototype, "serverId", {
|
51
|
+
get: function () {
|
52
|
+
return this['server_id'];
|
53
|
+
},
|
54
|
+
set: function (serverId) {
|
55
|
+
this['server_id'] = serverId;
|
56
|
+
},
|
57
|
+
enumerable: false,
|
58
|
+
configurable: true
|
59
|
+
});
|
60
|
+
return ListProtectableRequest;
|
61
|
+
}());
|
62
|
+
exports.ListProtectableRequest = ListProtectableRequest;
|
63
|
+
/**
|
64
|
+
* @export
|
65
|
+
* @enum {string}
|
66
|
+
*/
|
67
|
+
var ListProtectableRequestProtectableTypeEnum;
|
68
|
+
(function (ListProtectableRequestProtectableTypeEnum) {
|
69
|
+
ListProtectableRequestProtectableTypeEnum["SERVER"] = "server";
|
70
|
+
ListProtectableRequestProtectableTypeEnum["DISK"] = "disk";
|
71
|
+
})(ListProtectableRequestProtectableTypeEnum = exports.ListProtectableRequestProtectableTypeEnum || (exports.ListProtectableRequestProtectableTypeEnum = {}));
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ProtectablesResp } from './ProtectablesResp';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ListProtectableResponse extends SdkResponse {
|
4
|
+
instances?: Array<ProtectablesResp>;
|
5
|
+
constructor();
|
6
|
+
withInstances(instances: Array<ProtectablesResp>): ListProtectableResponse;
|
7
|
+
}
|
@@ -0,0 +1,31 @@
|
|
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.ListProtectableResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListProtectableResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListProtectableResponse, _super);
|
22
|
+
function ListProtectableResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListProtectableResponse.prototype.withInstances = function (instances) {
|
26
|
+
this['instances'] = instances;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return ListProtectableResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.ListProtectableResponse = ListProtectableResponse;
|
@@ -0,0 +1,53 @@
|
|
1
|
+
export declare class ListVaultRequest {
|
2
|
+
limit?: number;
|
3
|
+
name?: string;
|
4
|
+
offset?: number;
|
5
|
+
private 'cloud_type'?;
|
6
|
+
private 'protect_type'?;
|
7
|
+
private 'object_type'?;
|
8
|
+
private 'enterprise_project_id'?;
|
9
|
+
id?: string;
|
10
|
+
private 'policy_id'?;
|
11
|
+
status?: string;
|
12
|
+
private 'resource_ids'?;
|
13
|
+
constructor();
|
14
|
+
withLimit(limit: number): ListVaultRequest;
|
15
|
+
withName(name: string): ListVaultRequest;
|
16
|
+
withOffset(offset: number): ListVaultRequest;
|
17
|
+
withCloudType(cloudType: ListVaultRequestCloudTypeEnum): ListVaultRequest;
|
18
|
+
set cloudType(cloudType: ListVaultRequestCloudTypeEnum | undefined);
|
19
|
+
get cloudType(): ListVaultRequestCloudTypeEnum | undefined;
|
20
|
+
withProtectType(protectType: ListVaultRequestProtectTypeEnum): ListVaultRequest;
|
21
|
+
set protectType(protectType: ListVaultRequestProtectTypeEnum | undefined);
|
22
|
+
get protectType(): ListVaultRequestProtectTypeEnum | undefined;
|
23
|
+
withObjectType(objectType: string): ListVaultRequest;
|
24
|
+
set objectType(objectType: string | undefined);
|
25
|
+
get objectType(): string | undefined;
|
26
|
+
withEnterpriseProjectId(enterpriseProjectId: string): ListVaultRequest;
|
27
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
28
|
+
get enterpriseProjectId(): string | undefined;
|
29
|
+
withId(id: string): ListVaultRequest;
|
30
|
+
withPolicyId(policyId: string): ListVaultRequest;
|
31
|
+
set policyId(policyId: string | undefined);
|
32
|
+
get policyId(): string | undefined;
|
33
|
+
withStatus(status: string): ListVaultRequest;
|
34
|
+
withResourceIds(resourceIds: string): ListVaultRequest;
|
35
|
+
set resourceIds(resourceIds: string | undefined);
|
36
|
+
get resourceIds(): string | undefined;
|
37
|
+
}
|
38
|
+
/**
|
39
|
+
* @export
|
40
|
+
* @enum {string}
|
41
|
+
*/
|
42
|
+
export declare enum ListVaultRequestCloudTypeEnum {
|
43
|
+
PUBLIC = "public",
|
44
|
+
HYBRID = "hybrid"
|
45
|
+
}
|
46
|
+
/**
|
47
|
+
* @export
|
48
|
+
* @enum {string}
|
49
|
+
*/
|
50
|
+
export declare enum ListVaultRequestProtectTypeEnum {
|
51
|
+
BACKUP = "backup",
|
52
|
+
REPLICATION = "replication"
|
53
|
+
}
|