@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,48 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ShowProtectableRequestProtectableTypeEnum = exports.ShowProtectableRequest = void 0;
|
4
|
+
var ShowProtectableRequest = /** @class */ (function () {
|
5
|
+
function ShowProtectableRequest(instanceId, protectableType) {
|
6
|
+
this['instance_id'] = instanceId;
|
7
|
+
this['protectable_type'] = protectableType;
|
8
|
+
}
|
9
|
+
ShowProtectableRequest.prototype.withInstanceId = function (instanceId) {
|
10
|
+
this['instance_id'] = instanceId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(ShowProtectableRequest.prototype, "instanceId", {
|
14
|
+
get: function () {
|
15
|
+
return this['instance_id'];
|
16
|
+
},
|
17
|
+
set: function (instanceId) {
|
18
|
+
this['instance_id'] = instanceId;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
ShowProtectableRequest.prototype.withProtectableType = function (protectableType) {
|
24
|
+
this['protectable_type'] = protectableType;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(ShowProtectableRequest.prototype, "protectableType", {
|
28
|
+
get: function () {
|
29
|
+
return this['protectable_type'];
|
30
|
+
},
|
31
|
+
set: function (protectableType) {
|
32
|
+
this['protectable_type'] = protectableType;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
return ShowProtectableRequest;
|
38
|
+
}());
|
39
|
+
exports.ShowProtectableRequest = ShowProtectableRequest;
|
40
|
+
/**
|
41
|
+
* @export
|
42
|
+
* @enum {string}
|
43
|
+
*/
|
44
|
+
var ShowProtectableRequestProtectableTypeEnum;
|
45
|
+
(function (ShowProtectableRequestProtectableTypeEnum) {
|
46
|
+
ShowProtectableRequestProtectableTypeEnum["SERVER"] = "server";
|
47
|
+
ShowProtectableRequestProtectableTypeEnum["DISK"] = "disk";
|
48
|
+
})(ShowProtectableRequestProtectableTypeEnum = exports.ShowProtectableRequestProtectableTypeEnum || (exports.ShowProtectableRequestProtectableTypeEnum = {}));
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ProtectablesResp } from './ProtectablesResp';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ShowProtectableResponse extends SdkResponse {
|
4
|
+
instance?: ProtectablesResp;
|
5
|
+
constructor();
|
6
|
+
withInstance(instance: ProtectablesResp): ShowProtectableResponse;
|
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.ShowProtectableResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ShowProtectableResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ShowProtectableResponse, _super);
|
22
|
+
function ShowProtectableResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ShowProtectableResponse.prototype.withInstance = function (instance) {
|
26
|
+
this['instance'] = instance;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return ShowProtectableResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.ShowProtectableResponse = ShowProtectableResponse;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ShowReplicationCapabilitiesRequest = void 0;
|
4
|
+
var ShowReplicationCapabilitiesRequest = /** @class */ (function () {
|
5
|
+
function ShowReplicationCapabilitiesRequest() {
|
6
|
+
}
|
7
|
+
return ShowReplicationCapabilitiesRequest;
|
8
|
+
}());
|
9
|
+
exports.ShowReplicationCapabilitiesRequest = ShowReplicationCapabilitiesRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ProtectableReplicationCapabilitiesRespRegion } from './ProtectableReplicationCapabilitiesRespRegion';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ShowReplicationCapabilitiesResponse extends SdkResponse {
|
4
|
+
regions?: Array<ProtectableReplicationCapabilitiesRespRegion>;
|
5
|
+
constructor();
|
6
|
+
withRegions(regions: Array<ProtectableReplicationCapabilitiesRespRegion>): ShowReplicationCapabilitiesResponse;
|
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.ShowReplicationCapabilitiesResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ShowReplicationCapabilitiesResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ShowReplicationCapabilitiesResponse, _super);
|
22
|
+
function ShowReplicationCapabilitiesResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ShowReplicationCapabilitiesResponse.prototype.withRegions = function (regions) {
|
26
|
+
this['regions'] = regions;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return ShowReplicationCapabilitiesResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.ShowReplicationCapabilitiesResponse = ShowReplicationCapabilitiesResponse;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ShowVaultProjectTagRequest = void 0;
|
4
|
+
var ShowVaultProjectTagRequest = /** @class */ (function () {
|
5
|
+
function ShowVaultProjectTagRequest() {
|
6
|
+
}
|
7
|
+
return ShowVaultProjectTagRequest;
|
8
|
+
}());
|
9
|
+
exports.ShowVaultProjectTagRequest = ShowVaultProjectTagRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { TagsResp } from './TagsResp';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ShowVaultProjectTagResponse extends SdkResponse {
|
4
|
+
tags?: Array<TagsResp>;
|
5
|
+
constructor();
|
6
|
+
withTags(tags: Array<TagsResp>): ShowVaultProjectTagResponse;
|
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.ShowVaultProjectTagResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ShowVaultProjectTagResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ShowVaultProjectTagResponse, _super);
|
22
|
+
function ShowVaultProjectTagResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ShowVaultProjectTagResponse.prototype.withTags = function (tags) {
|
26
|
+
this['tags'] = tags;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return ShowVaultProjectTagResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.ShowVaultProjectTagResponse = ShowVaultProjectTagResponse;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ShowVaultRequest = void 0;
|
4
|
+
var ShowVaultRequest = /** @class */ (function () {
|
5
|
+
function ShowVaultRequest(vaultId) {
|
6
|
+
this['vault_id'] = vaultId;
|
7
|
+
}
|
8
|
+
ShowVaultRequest.prototype.withVaultId = function (vaultId) {
|
9
|
+
this['vault_id'] = vaultId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(ShowVaultRequest.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
|
+
return ShowVaultRequest;
|
23
|
+
}());
|
24
|
+
exports.ShowVaultRequest = ShowVaultRequest;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ShowVaultResourceInstancesRequest = void 0;
|
4
|
+
var ShowVaultResourceInstancesRequest = /** @class */ (function () {
|
5
|
+
function ShowVaultResourceInstancesRequest() {
|
6
|
+
}
|
7
|
+
ShowVaultResourceInstancesRequest.prototype.withBody = function (body) {
|
8
|
+
this['body'] = body;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return ShowVaultResourceInstancesRequest;
|
12
|
+
}());
|
13
|
+
exports.ShowVaultResourceInstancesRequest = ShowVaultResourceInstancesRequest;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { TagResource } from './TagResource';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ShowVaultResourceInstancesResponse extends SdkResponse {
|
4
|
+
resources?: Array<TagResource>;
|
5
|
+
private 'total_count'?;
|
6
|
+
constructor();
|
7
|
+
withResources(resources: Array<TagResource>): ShowVaultResourceInstancesResponse;
|
8
|
+
withTotalCount(totalCount: number): ShowVaultResourceInstancesResponse;
|
9
|
+
set totalCount(totalCount: number | undefined);
|
10
|
+
get totalCount(): number | undefined;
|
11
|
+
}
|
@@ -0,0 +1,45 @@
|
|
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.ShowVaultResourceInstancesResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ShowVaultResourceInstancesResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ShowVaultResourceInstancesResponse, _super);
|
22
|
+
function ShowVaultResourceInstancesResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ShowVaultResourceInstancesResponse.prototype.withResources = function (resources) {
|
26
|
+
this['resources'] = resources;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
ShowVaultResourceInstancesResponse.prototype.withTotalCount = function (totalCount) {
|
30
|
+
this['total_count'] = totalCount;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
Object.defineProperty(ShowVaultResourceInstancesResponse.prototype, "totalCount", {
|
34
|
+
get: function () {
|
35
|
+
return this['total_count'];
|
36
|
+
},
|
37
|
+
set: function (totalCount) {
|
38
|
+
this['total_count'] = totalCount;
|
39
|
+
},
|
40
|
+
enumerable: false,
|
41
|
+
configurable: true
|
42
|
+
});
|
43
|
+
return ShowVaultResourceInstancesResponse;
|
44
|
+
}(SdkResponse_1.SdkResponse));
|
45
|
+
exports.ShowVaultResourceInstancesResponse = ShowVaultResourceInstancesResponse;
|
@@ -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.ShowVaultResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ShowVaultResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ShowVaultResponse, _super);
|
22
|
+
function ShowVaultResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ShowVaultResponse.prototype.withVault = function (vault) {
|
26
|
+
this['vault'] = vault;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return ShowVaultResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.ShowVaultResponse = ShowVaultResponse;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ShowVaultTagRequest = void 0;
|
4
|
+
var ShowVaultTagRequest = /** @class */ (function () {
|
5
|
+
function ShowVaultTagRequest(vaultId) {
|
6
|
+
this['vault_id'] = vaultId;
|
7
|
+
}
|
8
|
+
ShowVaultTagRequest.prototype.withVaultId = function (vaultId) {
|
9
|
+
this['vault_id'] = vaultId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(ShowVaultTagRequest.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
|
+
return ShowVaultTagRequest;
|
23
|
+
}());
|
24
|
+
exports.ShowVaultTagRequest = ShowVaultTagRequest;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { SysTag } from './SysTag';
|
2
|
+
import { Tag } from './Tag';
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
export declare class ShowVaultTagResponse extends SdkResponse {
|
5
|
+
tags?: Array<Tag>;
|
6
|
+
private 'sys_tags'?;
|
7
|
+
constructor();
|
8
|
+
withTags(tags: Array<Tag>): ShowVaultTagResponse;
|
9
|
+
withSysTags(sysTags: Array<SysTag>): ShowVaultTagResponse;
|
10
|
+
set sysTags(sysTags: Array<SysTag> | undefined);
|
11
|
+
get sysTags(): Array<SysTag> | undefined;
|
12
|
+
}
|
@@ -0,0 +1,45 @@
|
|
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.ShowVaultTagResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ShowVaultTagResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ShowVaultTagResponse, _super);
|
22
|
+
function ShowVaultTagResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ShowVaultTagResponse.prototype.withTags = function (tags) {
|
26
|
+
this['tags'] = tags;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
ShowVaultTagResponse.prototype.withSysTags = function (sysTags) {
|
30
|
+
this['sys_tags'] = sysTags;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
Object.defineProperty(ShowVaultTagResponse.prototype, "sysTags", {
|
34
|
+
get: function () {
|
35
|
+
return this['sys_tags'];
|
36
|
+
},
|
37
|
+
set: function (sysTags) {
|
38
|
+
this['sys_tags'] = sysTags;
|
39
|
+
},
|
40
|
+
enumerable: false,
|
41
|
+
configurable: true
|
42
|
+
});
|
43
|
+
return ShowVaultTagResponse;
|
44
|
+
}(SdkResponse_1.SdkResponse));
|
45
|
+
exports.ShowVaultTagResponse = ShowVaultTagResponse;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SysTag = void 0;
|
4
|
+
var SysTag = /** @class */ (function () {
|
5
|
+
function SysTag(key, value) {
|
6
|
+
this['key'] = key;
|
7
|
+
this['value'] = value;
|
8
|
+
}
|
9
|
+
SysTag.prototype.withKey = function (key) {
|
10
|
+
this['key'] = key;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
SysTag.prototype.withValue = function (value) {
|
14
|
+
this['value'] = value;
|
15
|
+
return this;
|
16
|
+
};
|
17
|
+
return SysTag;
|
18
|
+
}());
|
19
|
+
exports.SysTag = SysTag;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SysTags = void 0;
|
4
|
+
var SysTags = /** @class */ (function () {
|
5
|
+
function SysTags(key, values) {
|
6
|
+
this['key'] = key;
|
7
|
+
this['values'] = values;
|
8
|
+
}
|
9
|
+
SysTags.prototype.withKey = function (key) {
|
10
|
+
this['key'] = key;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
SysTags.prototype.withValues = function (values) {
|
14
|
+
this['values'] = values;
|
15
|
+
return this;
|
16
|
+
};
|
17
|
+
return SysTags;
|
18
|
+
}());
|
19
|
+
exports.SysTags = SysTags;
|
package/v1/model/Tag.js
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Tag = void 0;
|
4
|
+
var Tag = /** @class */ (function () {
|
5
|
+
function Tag(key) {
|
6
|
+
this['key'] = key;
|
7
|
+
}
|
8
|
+
Tag.prototype.withKey = function (key) {
|
9
|
+
this['key'] = key;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Tag.prototype.withValue = function (value) {
|
13
|
+
this['value'] = value;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
return Tag;
|
17
|
+
}());
|
18
|
+
exports.Tag = Tag;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { SysTag } from './SysTag';
|
2
|
+
import { Tag } from './Tag';
|
3
|
+
import { Vault } from './Vault';
|
4
|
+
export declare class TagResource {
|
5
|
+
private 'resource_id';
|
6
|
+
private 'resource_detail';
|
7
|
+
tags: Array<Tag>;
|
8
|
+
private 'resource_name';
|
9
|
+
private 'sys_tags';
|
10
|
+
constructor(resourceId?: any, resourceDetail?: any, tags?: any, resourceName?: any, sysTags?: any);
|
11
|
+
withResourceId(resourceId: string): TagResource;
|
12
|
+
set resourceId(resourceId: string | undefined);
|
13
|
+
get resourceId(): string | undefined;
|
14
|
+
withResourceDetail(resourceDetail: Array<Vault>): TagResource;
|
15
|
+
set resourceDetail(resourceDetail: Array<Vault> | undefined);
|
16
|
+
get resourceDetail(): Array<Vault> | undefined;
|
17
|
+
withTags(tags: Array<Tag>): TagResource;
|
18
|
+
withResourceName(resourceName: string): TagResource;
|
19
|
+
set resourceName(resourceName: string | undefined);
|
20
|
+
get resourceName(): string | undefined;
|
21
|
+
withSysTags(sysTags: Array<SysTag>): TagResource;
|
22
|
+
set sysTags(sysTags: Array<SysTag> | undefined);
|
23
|
+
get sysTags(): Array<SysTag> | undefined;
|
24
|
+
}
|
@@ -0,0 +1,74 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.TagResource = void 0;
|
4
|
+
var TagResource = /** @class */ (function () {
|
5
|
+
function TagResource(resourceId, resourceDetail, tags, resourceName, sysTags) {
|
6
|
+
this['resource_id'] = resourceId;
|
7
|
+
this['resource_detail'] = resourceDetail;
|
8
|
+
this['tags'] = tags;
|
9
|
+
this['resource_name'] = resourceName;
|
10
|
+
this['sys_tags'] = sysTags;
|
11
|
+
}
|
12
|
+
TagResource.prototype.withResourceId = function (resourceId) {
|
13
|
+
this['resource_id'] = resourceId;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
Object.defineProperty(TagResource.prototype, "resourceId", {
|
17
|
+
get: function () {
|
18
|
+
return this['resource_id'];
|
19
|
+
},
|
20
|
+
set: function (resourceId) {
|
21
|
+
this['resource_id'] = resourceId;
|
22
|
+
},
|
23
|
+
enumerable: false,
|
24
|
+
configurable: true
|
25
|
+
});
|
26
|
+
TagResource.prototype.withResourceDetail = function (resourceDetail) {
|
27
|
+
this['resource_detail'] = resourceDetail;
|
28
|
+
return this;
|
29
|
+
};
|
30
|
+
Object.defineProperty(TagResource.prototype, "resourceDetail", {
|
31
|
+
get: function () {
|
32
|
+
return this['resource_detail'];
|
33
|
+
},
|
34
|
+
set: function (resourceDetail) {
|
35
|
+
this['resource_detail'] = resourceDetail;
|
36
|
+
},
|
37
|
+
enumerable: false,
|
38
|
+
configurable: true
|
39
|
+
});
|
40
|
+
TagResource.prototype.withTags = function (tags) {
|
41
|
+
this['tags'] = tags;
|
42
|
+
return this;
|
43
|
+
};
|
44
|
+
TagResource.prototype.withResourceName = function (resourceName) {
|
45
|
+
this['resource_name'] = resourceName;
|
46
|
+
return this;
|
47
|
+
};
|
48
|
+
Object.defineProperty(TagResource.prototype, "resourceName", {
|
49
|
+
get: function () {
|
50
|
+
return this['resource_name'];
|
51
|
+
},
|
52
|
+
set: function (resourceName) {
|
53
|
+
this['resource_name'] = resourceName;
|
54
|
+
},
|
55
|
+
enumerable: false,
|
56
|
+
configurable: true
|
57
|
+
});
|
58
|
+
TagResource.prototype.withSysTags = function (sysTags) {
|
59
|
+
this['sys_tags'] = sysTags;
|
60
|
+
return this;
|
61
|
+
};
|
62
|
+
Object.defineProperty(TagResource.prototype, "sysTags", {
|
63
|
+
get: function () {
|
64
|
+
return this['sys_tags'];
|
65
|
+
},
|
66
|
+
set: function (sysTags) {
|
67
|
+
this['sys_tags'] = sysTags;
|
68
|
+
},
|
69
|
+
enumerable: false,
|
70
|
+
configurable: true
|
71
|
+
});
|
72
|
+
return TagResource;
|
73
|
+
}());
|
74
|
+
exports.TagResource = TagResource;
|