@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,188 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultGet = void 0;
|
4
|
+
var VaultGet = /** @class */ (function () {
|
5
|
+
function VaultGet(billing, id, name, projectId, providerId, resources, updatedAt) {
|
6
|
+
this['billing'] = billing;
|
7
|
+
this['id'] = id;
|
8
|
+
this['name'] = name;
|
9
|
+
this['project_id'] = projectId;
|
10
|
+
this['provider_id'] = providerId;
|
11
|
+
this['resources'] = resources;
|
12
|
+
this['updated_at'] = updatedAt;
|
13
|
+
}
|
14
|
+
VaultGet.prototype.withBilling = function (billing) {
|
15
|
+
this['billing'] = billing;
|
16
|
+
return this;
|
17
|
+
};
|
18
|
+
VaultGet.prototype.withDescription = function (description) {
|
19
|
+
this['description'] = description;
|
20
|
+
return this;
|
21
|
+
};
|
22
|
+
VaultGet.prototype.withId = function (id) {
|
23
|
+
this['id'] = id;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
VaultGet.prototype.withName = function (name) {
|
27
|
+
this['name'] = name;
|
28
|
+
return this;
|
29
|
+
};
|
30
|
+
VaultGet.prototype.withProjectId = function (projectId) {
|
31
|
+
this['project_id'] = projectId;
|
32
|
+
return this;
|
33
|
+
};
|
34
|
+
Object.defineProperty(VaultGet.prototype, "projectId", {
|
35
|
+
get: function () {
|
36
|
+
return this['project_id'];
|
37
|
+
},
|
38
|
+
set: function (projectId) {
|
39
|
+
this['project_id'] = projectId;
|
40
|
+
},
|
41
|
+
enumerable: false,
|
42
|
+
configurable: true
|
43
|
+
});
|
44
|
+
VaultGet.prototype.withProviderId = function (providerId) {
|
45
|
+
this['provider_id'] = providerId;
|
46
|
+
return this;
|
47
|
+
};
|
48
|
+
Object.defineProperty(VaultGet.prototype, "providerId", {
|
49
|
+
get: function () {
|
50
|
+
return this['provider_id'];
|
51
|
+
},
|
52
|
+
set: function (providerId) {
|
53
|
+
this['provider_id'] = providerId;
|
54
|
+
},
|
55
|
+
enumerable: false,
|
56
|
+
configurable: true
|
57
|
+
});
|
58
|
+
VaultGet.prototype.withResources = function (resources) {
|
59
|
+
this['resources'] = resources;
|
60
|
+
return this;
|
61
|
+
};
|
62
|
+
VaultGet.prototype.withTags = function (tags) {
|
63
|
+
this['tags'] = tags;
|
64
|
+
return this;
|
65
|
+
};
|
66
|
+
VaultGet.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
67
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
68
|
+
return this;
|
69
|
+
};
|
70
|
+
Object.defineProperty(VaultGet.prototype, "enterpriseProjectId", {
|
71
|
+
get: function () {
|
72
|
+
return this['enterprise_project_id'];
|
73
|
+
},
|
74
|
+
set: function (enterpriseProjectId) {
|
75
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
76
|
+
},
|
77
|
+
enumerable: false,
|
78
|
+
configurable: true
|
79
|
+
});
|
80
|
+
VaultGet.prototype.withAutoBind = function (autoBind) {
|
81
|
+
this['auto_bind'] = autoBind;
|
82
|
+
return this;
|
83
|
+
};
|
84
|
+
Object.defineProperty(VaultGet.prototype, "autoBind", {
|
85
|
+
get: function () {
|
86
|
+
return this['auto_bind'];
|
87
|
+
},
|
88
|
+
set: function (autoBind) {
|
89
|
+
this['auto_bind'] = autoBind;
|
90
|
+
},
|
91
|
+
enumerable: false,
|
92
|
+
configurable: true
|
93
|
+
});
|
94
|
+
VaultGet.prototype.withBindRules = function (bindRules) {
|
95
|
+
this['bind_rules'] = bindRules;
|
96
|
+
return this;
|
97
|
+
};
|
98
|
+
Object.defineProperty(VaultGet.prototype, "bindRules", {
|
99
|
+
get: function () {
|
100
|
+
return this['bind_rules'];
|
101
|
+
},
|
102
|
+
set: function (bindRules) {
|
103
|
+
this['bind_rules'] = bindRules;
|
104
|
+
},
|
105
|
+
enumerable: false,
|
106
|
+
configurable: true
|
107
|
+
});
|
108
|
+
VaultGet.prototype.withUserId = function (userId) {
|
109
|
+
this['user_id'] = userId;
|
110
|
+
return this;
|
111
|
+
};
|
112
|
+
Object.defineProperty(VaultGet.prototype, "userId", {
|
113
|
+
get: function () {
|
114
|
+
return this['user_id'];
|
115
|
+
},
|
116
|
+
set: function (userId) {
|
117
|
+
this['user_id'] = userId;
|
118
|
+
},
|
119
|
+
enumerable: false,
|
120
|
+
configurable: true
|
121
|
+
});
|
122
|
+
VaultGet.prototype.withCreatedAt = function (createdAt) {
|
123
|
+
this['created_at'] = createdAt;
|
124
|
+
return this;
|
125
|
+
};
|
126
|
+
Object.defineProperty(VaultGet.prototype, "createdAt", {
|
127
|
+
get: function () {
|
128
|
+
return this['created_at'];
|
129
|
+
},
|
130
|
+
set: function (createdAt) {
|
131
|
+
this['created_at'] = createdAt;
|
132
|
+
},
|
133
|
+
enumerable: false,
|
134
|
+
configurable: true
|
135
|
+
});
|
136
|
+
VaultGet.prototype.withAutoExpand = function (autoExpand) {
|
137
|
+
this['auto_expand'] = autoExpand;
|
138
|
+
return this;
|
139
|
+
};
|
140
|
+
Object.defineProperty(VaultGet.prototype, "autoExpand", {
|
141
|
+
get: function () {
|
142
|
+
return this['auto_expand'];
|
143
|
+
},
|
144
|
+
set: function (autoExpand) {
|
145
|
+
this['auto_expand'] = autoExpand;
|
146
|
+
},
|
147
|
+
enumerable: false,
|
148
|
+
configurable: true
|
149
|
+
});
|
150
|
+
VaultGet.prototype.withSmnNotify = function (smnNotify) {
|
151
|
+
this['smn_notify'] = smnNotify;
|
152
|
+
return this;
|
153
|
+
};
|
154
|
+
Object.defineProperty(VaultGet.prototype, "smnNotify", {
|
155
|
+
get: function () {
|
156
|
+
return this['smn_notify'];
|
157
|
+
},
|
158
|
+
set: function (smnNotify) {
|
159
|
+
this['smn_notify'] = smnNotify;
|
160
|
+
},
|
161
|
+
enumerable: false,
|
162
|
+
configurable: true
|
163
|
+
});
|
164
|
+
VaultGet.prototype.withThreshold = function (threshold) {
|
165
|
+
this['threshold'] = threshold;
|
166
|
+
return this;
|
167
|
+
};
|
168
|
+
VaultGet.prototype.withUpdatedAt = function (updatedAt) {
|
169
|
+
this['updated_at'] = updatedAt;
|
170
|
+
return this;
|
171
|
+
};
|
172
|
+
Object.defineProperty(VaultGet.prototype, "updatedAt", {
|
173
|
+
get: function () {
|
174
|
+
return this['updated_at'];
|
175
|
+
},
|
176
|
+
set: function (updatedAt) {
|
177
|
+
this['updated_at'] = updatedAt;
|
178
|
+
},
|
179
|
+
enumerable: false,
|
180
|
+
configurable: true
|
181
|
+
});
|
182
|
+
VaultGet.prototype.withVersion = function (version) {
|
183
|
+
this['version'] = version;
|
184
|
+
return this;
|
185
|
+
};
|
186
|
+
return VaultGet;
|
187
|
+
}());
|
188
|
+
exports.VaultGet = VaultGet;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class VaultMigrateResourceReq {
|
2
|
+
private 'destination_vault_id';
|
3
|
+
private 'resource_ids';
|
4
|
+
constructor(destinationVaultId?: any, resourceIds?: any);
|
5
|
+
withDestinationVaultId(destinationVaultId: string): VaultMigrateResourceReq;
|
6
|
+
set destinationVaultId(destinationVaultId: string | undefined);
|
7
|
+
get destinationVaultId(): string | undefined;
|
8
|
+
withResourceIds(resourceIds: Array<string>): VaultMigrateResourceReq;
|
9
|
+
set resourceIds(resourceIds: Array<string> | undefined);
|
10
|
+
get resourceIds(): Array<string> | undefined;
|
11
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultMigrateResourceReq = void 0;
|
4
|
+
var VaultMigrateResourceReq = /** @class */ (function () {
|
5
|
+
function VaultMigrateResourceReq(destinationVaultId, resourceIds) {
|
6
|
+
this['destination_vault_id'] = destinationVaultId;
|
7
|
+
this['resource_ids'] = resourceIds;
|
8
|
+
}
|
9
|
+
VaultMigrateResourceReq.prototype.withDestinationVaultId = function (destinationVaultId) {
|
10
|
+
this['destination_vault_id'] = destinationVaultId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(VaultMigrateResourceReq.prototype, "destinationVaultId", {
|
14
|
+
get: function () {
|
15
|
+
return this['destination_vault_id'];
|
16
|
+
},
|
17
|
+
set: function (destinationVaultId) {
|
18
|
+
this['destination_vault_id'] = destinationVaultId;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
VaultMigrateResourceReq.prototype.withResourceIds = function (resourceIds) {
|
24
|
+
this['resource_ids'] = resourceIds;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(VaultMigrateResourceReq.prototype, "resourceIds", {
|
28
|
+
get: function () {
|
29
|
+
return this['resource_ids'];
|
30
|
+
},
|
31
|
+
set: function (resourceIds) {
|
32
|
+
this['resource_ids'] = resourceIds;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
return VaultMigrateResourceReq;
|
38
|
+
}());
|
39
|
+
exports.VaultMigrateResourceReq = VaultMigrateResourceReq;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export declare class VaultPolicyResp {
|
2
|
+
private 'destination_vault_id'?;
|
3
|
+
private 'policy_id';
|
4
|
+
private 'vault_id';
|
5
|
+
constructor(policyId?: any, vaultId?: any);
|
6
|
+
withDestinationVaultId(destinationVaultId: string): VaultPolicyResp;
|
7
|
+
set destinationVaultId(destinationVaultId: string | undefined);
|
8
|
+
get destinationVaultId(): string | undefined;
|
9
|
+
withPolicyId(policyId: string): VaultPolicyResp;
|
10
|
+
set policyId(policyId: string | undefined);
|
11
|
+
get policyId(): string | undefined;
|
12
|
+
withVaultId(vaultId: string): VaultPolicyResp;
|
13
|
+
set vaultId(vaultId: string | undefined);
|
14
|
+
get vaultId(): string | undefined;
|
15
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultPolicyResp = void 0;
|
4
|
+
var VaultPolicyResp = /** @class */ (function () {
|
5
|
+
function VaultPolicyResp(policyId, vaultId) {
|
6
|
+
this['policy_id'] = policyId;
|
7
|
+
this['vault_id'] = vaultId;
|
8
|
+
}
|
9
|
+
VaultPolicyResp.prototype.withDestinationVaultId = function (destinationVaultId) {
|
10
|
+
this['destination_vault_id'] = destinationVaultId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(VaultPolicyResp.prototype, "destinationVaultId", {
|
14
|
+
get: function () {
|
15
|
+
return this['destination_vault_id'];
|
16
|
+
},
|
17
|
+
set: function (destinationVaultId) {
|
18
|
+
this['destination_vault_id'] = destinationVaultId;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
VaultPolicyResp.prototype.withPolicyId = function (policyId) {
|
24
|
+
this['policy_id'] = policyId;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(VaultPolicyResp.prototype, "policyId", {
|
28
|
+
get: function () {
|
29
|
+
return this['policy_id'];
|
30
|
+
},
|
31
|
+
set: function (policyId) {
|
32
|
+
this['policy_id'] = policyId;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
VaultPolicyResp.prototype.withVaultId = function (vaultId) {
|
38
|
+
this['vault_id'] = vaultId;
|
39
|
+
return this;
|
40
|
+
};
|
41
|
+
Object.defineProperty(VaultPolicyResp.prototype, "vaultId", {
|
42
|
+
get: function () {
|
43
|
+
return this['vault_id'];
|
44
|
+
},
|
45
|
+
set: function (vaultId) {
|
46
|
+
this['vault_id'] = vaultId;
|
47
|
+
},
|
48
|
+
enumerable: false,
|
49
|
+
configurable: true
|
50
|
+
});
|
51
|
+
return VaultPolicyResp;
|
52
|
+
}());
|
53
|
+
exports.VaultPolicyResp = VaultPolicyResp;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export declare class VaultRemoveResourceReq {
|
2
|
+
private 'resource_ids';
|
3
|
+
constructor(resourceIds?: any);
|
4
|
+
withResourceIds(resourceIds: Array<string>): VaultRemoveResourceReq;
|
5
|
+
set resourceIds(resourceIds: Array<string> | undefined);
|
6
|
+
get resourceIds(): Array<string> | undefined;
|
7
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultRemoveResourceReq = void 0;
|
4
|
+
var VaultRemoveResourceReq = /** @class */ (function () {
|
5
|
+
function VaultRemoveResourceReq(resourceIds) {
|
6
|
+
this['resource_ids'] = resourceIds;
|
7
|
+
}
|
8
|
+
VaultRemoveResourceReq.prototype.withResourceIds = function (resourceIds) {
|
9
|
+
this['resource_ids'] = resourceIds;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(VaultRemoveResourceReq.prototype, "resourceIds", {
|
13
|
+
get: function () {
|
14
|
+
return this['resource_ids'];
|
15
|
+
},
|
16
|
+
set: function (resourceIds) {
|
17
|
+
this['resource_ids'] = resourceIds;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
return VaultRemoveResourceReq;
|
23
|
+
}());
|
24
|
+
exports.VaultRemoveResourceReq = VaultRemoveResourceReq;
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { Match } from './Match';
|
2
|
+
import { SysTags } from './SysTags';
|
3
|
+
import { TagsReq } from './TagsReq';
|
4
|
+
export declare class VaultResourceInstancesReq {
|
5
|
+
private 'without_any_tag'?;
|
6
|
+
tags?: Array<TagsReq>;
|
7
|
+
private 'tags_any'?;
|
8
|
+
private 'not_tags'?;
|
9
|
+
private 'not_tags_any'?;
|
10
|
+
private 'sys_tags'?;
|
11
|
+
limit?: string;
|
12
|
+
offset?: string;
|
13
|
+
action: string;
|
14
|
+
matches?: Array<Match>;
|
15
|
+
private 'cloud_type'?;
|
16
|
+
private 'object_type'?;
|
17
|
+
constructor(action?: any);
|
18
|
+
withWithoutAnyTag(withoutAnyTag: boolean): VaultResourceInstancesReq;
|
19
|
+
set withoutAnyTag(withoutAnyTag: boolean | undefined);
|
20
|
+
get withoutAnyTag(): boolean | undefined;
|
21
|
+
withTags(tags: Array<TagsReq>): VaultResourceInstancesReq;
|
22
|
+
withTagsAny(tagsAny: Array<TagsReq>): VaultResourceInstancesReq;
|
23
|
+
set tagsAny(tagsAny: Array<TagsReq> | undefined);
|
24
|
+
get tagsAny(): Array<TagsReq> | undefined;
|
25
|
+
withNotTags(notTags: Array<TagsReq>): VaultResourceInstancesReq;
|
26
|
+
set notTags(notTags: Array<TagsReq> | undefined);
|
27
|
+
get notTags(): Array<TagsReq> | undefined;
|
28
|
+
withNotTagsAny(notTagsAny: Array<TagsReq>): VaultResourceInstancesReq;
|
29
|
+
set notTagsAny(notTagsAny: Array<TagsReq> | undefined);
|
30
|
+
get notTagsAny(): Array<TagsReq> | undefined;
|
31
|
+
withSysTags(sysTags: Array<SysTags>): VaultResourceInstancesReq;
|
32
|
+
set sysTags(sysTags: Array<SysTags> | undefined);
|
33
|
+
get sysTags(): Array<SysTags> | undefined;
|
34
|
+
withLimit(limit: string): VaultResourceInstancesReq;
|
35
|
+
withOffset(offset: string): VaultResourceInstancesReq;
|
36
|
+
withAction(action: string): VaultResourceInstancesReq;
|
37
|
+
withMatches(matches: Array<Match>): VaultResourceInstancesReq;
|
38
|
+
withCloudType(cloudType: VaultResourceInstancesReqCloudTypeEnum): VaultResourceInstancesReq;
|
39
|
+
set cloudType(cloudType: VaultResourceInstancesReqCloudTypeEnum | undefined);
|
40
|
+
get cloudType(): VaultResourceInstancesReqCloudTypeEnum | undefined;
|
41
|
+
withObjectType(objectType: VaultResourceInstancesReqObjectTypeEnum): VaultResourceInstancesReq;
|
42
|
+
set objectType(objectType: VaultResourceInstancesReqObjectTypeEnum | undefined);
|
43
|
+
get objectType(): VaultResourceInstancesReqObjectTypeEnum | undefined;
|
44
|
+
}
|
45
|
+
/**
|
46
|
+
* @export
|
47
|
+
* @enum {string}
|
48
|
+
*/
|
49
|
+
export declare enum VaultResourceInstancesReqCloudTypeEnum {
|
50
|
+
PUBLIC = "public",
|
51
|
+
HYBRID = " hybrid"
|
52
|
+
}
|
53
|
+
/**
|
54
|
+
* @export
|
55
|
+
* @enum {string}
|
56
|
+
*/
|
57
|
+
export declare enum VaultResourceInstancesReqObjectTypeEnum {
|
58
|
+
SERVER = "server",
|
59
|
+
DISK = "disk"
|
60
|
+
}
|
@@ -0,0 +1,146 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultResourceInstancesReqObjectTypeEnum = exports.VaultResourceInstancesReqCloudTypeEnum = exports.VaultResourceInstancesReq = void 0;
|
4
|
+
var VaultResourceInstancesReq = /** @class */ (function () {
|
5
|
+
function VaultResourceInstancesReq(action) {
|
6
|
+
this['action'] = action;
|
7
|
+
}
|
8
|
+
VaultResourceInstancesReq.prototype.withWithoutAnyTag = function (withoutAnyTag) {
|
9
|
+
this['without_any_tag'] = withoutAnyTag;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(VaultResourceInstancesReq.prototype, "withoutAnyTag", {
|
13
|
+
get: function () {
|
14
|
+
return this['without_any_tag'];
|
15
|
+
},
|
16
|
+
set: function (withoutAnyTag) {
|
17
|
+
this['without_any_tag'] = withoutAnyTag;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
VaultResourceInstancesReq.prototype.withTags = function (tags) {
|
23
|
+
this['tags'] = tags;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
VaultResourceInstancesReq.prototype.withTagsAny = function (tagsAny) {
|
27
|
+
this['tags_any'] = tagsAny;
|
28
|
+
return this;
|
29
|
+
};
|
30
|
+
Object.defineProperty(VaultResourceInstancesReq.prototype, "tagsAny", {
|
31
|
+
get: function () {
|
32
|
+
return this['tags_any'];
|
33
|
+
},
|
34
|
+
set: function (tagsAny) {
|
35
|
+
this['tags_any'] = tagsAny;
|
36
|
+
},
|
37
|
+
enumerable: false,
|
38
|
+
configurable: true
|
39
|
+
});
|
40
|
+
VaultResourceInstancesReq.prototype.withNotTags = function (notTags) {
|
41
|
+
this['not_tags'] = notTags;
|
42
|
+
return this;
|
43
|
+
};
|
44
|
+
Object.defineProperty(VaultResourceInstancesReq.prototype, "notTags", {
|
45
|
+
get: function () {
|
46
|
+
return this['not_tags'];
|
47
|
+
},
|
48
|
+
set: function (notTags) {
|
49
|
+
this['not_tags'] = notTags;
|
50
|
+
},
|
51
|
+
enumerable: false,
|
52
|
+
configurable: true
|
53
|
+
});
|
54
|
+
VaultResourceInstancesReq.prototype.withNotTagsAny = function (notTagsAny) {
|
55
|
+
this['not_tags_any'] = notTagsAny;
|
56
|
+
return this;
|
57
|
+
};
|
58
|
+
Object.defineProperty(VaultResourceInstancesReq.prototype, "notTagsAny", {
|
59
|
+
get: function () {
|
60
|
+
return this['not_tags_any'];
|
61
|
+
},
|
62
|
+
set: function (notTagsAny) {
|
63
|
+
this['not_tags_any'] = notTagsAny;
|
64
|
+
},
|
65
|
+
enumerable: false,
|
66
|
+
configurable: true
|
67
|
+
});
|
68
|
+
VaultResourceInstancesReq.prototype.withSysTags = function (sysTags) {
|
69
|
+
this['sys_tags'] = sysTags;
|
70
|
+
return this;
|
71
|
+
};
|
72
|
+
Object.defineProperty(VaultResourceInstancesReq.prototype, "sysTags", {
|
73
|
+
get: function () {
|
74
|
+
return this['sys_tags'];
|
75
|
+
},
|
76
|
+
set: function (sysTags) {
|
77
|
+
this['sys_tags'] = sysTags;
|
78
|
+
},
|
79
|
+
enumerable: false,
|
80
|
+
configurable: true
|
81
|
+
});
|
82
|
+
VaultResourceInstancesReq.prototype.withLimit = function (limit) {
|
83
|
+
this['limit'] = limit;
|
84
|
+
return this;
|
85
|
+
};
|
86
|
+
VaultResourceInstancesReq.prototype.withOffset = function (offset) {
|
87
|
+
this['offset'] = offset;
|
88
|
+
return this;
|
89
|
+
};
|
90
|
+
VaultResourceInstancesReq.prototype.withAction = function (action) {
|
91
|
+
this['action'] = action;
|
92
|
+
return this;
|
93
|
+
};
|
94
|
+
VaultResourceInstancesReq.prototype.withMatches = function (matches) {
|
95
|
+
this['matches'] = matches;
|
96
|
+
return this;
|
97
|
+
};
|
98
|
+
VaultResourceInstancesReq.prototype.withCloudType = function (cloudType) {
|
99
|
+
this['cloud_type'] = cloudType;
|
100
|
+
return this;
|
101
|
+
};
|
102
|
+
Object.defineProperty(VaultResourceInstancesReq.prototype, "cloudType", {
|
103
|
+
get: function () {
|
104
|
+
return this['cloud_type'];
|
105
|
+
},
|
106
|
+
set: function (cloudType) {
|
107
|
+
this['cloud_type'] = cloudType;
|
108
|
+
},
|
109
|
+
enumerable: false,
|
110
|
+
configurable: true
|
111
|
+
});
|
112
|
+
VaultResourceInstancesReq.prototype.withObjectType = function (objectType) {
|
113
|
+
this['object_type'] = objectType;
|
114
|
+
return this;
|
115
|
+
};
|
116
|
+
Object.defineProperty(VaultResourceInstancesReq.prototype, "objectType", {
|
117
|
+
get: function () {
|
118
|
+
return this['object_type'];
|
119
|
+
},
|
120
|
+
set: function (objectType) {
|
121
|
+
this['object_type'] = objectType;
|
122
|
+
},
|
123
|
+
enumerable: false,
|
124
|
+
configurable: true
|
125
|
+
});
|
126
|
+
return VaultResourceInstancesReq;
|
127
|
+
}());
|
128
|
+
exports.VaultResourceInstancesReq = VaultResourceInstancesReq;
|
129
|
+
/**
|
130
|
+
* @export
|
131
|
+
* @enum {string}
|
132
|
+
*/
|
133
|
+
var VaultResourceInstancesReqCloudTypeEnum;
|
134
|
+
(function (VaultResourceInstancesReqCloudTypeEnum) {
|
135
|
+
VaultResourceInstancesReqCloudTypeEnum["PUBLIC"] = "public";
|
136
|
+
VaultResourceInstancesReqCloudTypeEnum["HYBRID"] = " hybrid";
|
137
|
+
})(VaultResourceInstancesReqCloudTypeEnum = exports.VaultResourceInstancesReqCloudTypeEnum || (exports.VaultResourceInstancesReqCloudTypeEnum = {}));
|
138
|
+
/**
|
139
|
+
* @export
|
140
|
+
* @enum {string}
|
141
|
+
*/
|
142
|
+
var VaultResourceInstancesReqObjectTypeEnum;
|
143
|
+
(function (VaultResourceInstancesReqObjectTypeEnum) {
|
144
|
+
VaultResourceInstancesReqObjectTypeEnum["SERVER"] = "server";
|
145
|
+
VaultResourceInstancesReqObjectTypeEnum["DISK"] = "disk";
|
146
|
+
})(VaultResourceInstancesReqObjectTypeEnum = exports.VaultResourceInstancesReqObjectTypeEnum || (exports.VaultResourceInstancesReqObjectTypeEnum = {}));
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultTagsCreateReq = void 0;
|
4
|
+
var VaultTagsCreateReq = /** @class */ (function () {
|
5
|
+
function VaultTagsCreateReq() {
|
6
|
+
}
|
7
|
+
VaultTagsCreateReq.prototype.withTag = function (tag) {
|
8
|
+
this['tag'] = tag;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return VaultTagsCreateReq;
|
12
|
+
}());
|
13
|
+
exports.VaultTagsCreateReq = VaultTagsCreateReq;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { BillingUpdate } from './BillingUpdate';
|
2
|
+
import { VaultBindRules } from './VaultBindRules';
|
3
|
+
export declare class VaultUpdate {
|
4
|
+
billing?: BillingUpdate;
|
5
|
+
name?: string;
|
6
|
+
private 'auto_bind'?;
|
7
|
+
private 'bind_rules'?;
|
8
|
+
private 'auto_expand'?;
|
9
|
+
private 'smn_notify'?;
|
10
|
+
threshold?: number;
|
11
|
+
constructor();
|
12
|
+
withBilling(billing: BillingUpdate): VaultUpdate;
|
13
|
+
withName(name: string): VaultUpdate;
|
14
|
+
withAutoBind(autoBind: boolean): VaultUpdate;
|
15
|
+
set autoBind(autoBind: boolean | undefined);
|
16
|
+
get autoBind(): boolean | undefined;
|
17
|
+
withBindRules(bindRules: VaultBindRules): VaultUpdate;
|
18
|
+
set bindRules(bindRules: VaultBindRules | undefined);
|
19
|
+
get bindRules(): VaultBindRules | undefined;
|
20
|
+
withAutoExpand(autoExpand: boolean): VaultUpdate;
|
21
|
+
set autoExpand(autoExpand: boolean | undefined);
|
22
|
+
get autoExpand(): boolean | undefined;
|
23
|
+
withSmnNotify(smnNotify: boolean): VaultUpdate;
|
24
|
+
set smnNotify(smnNotify: boolean | undefined);
|
25
|
+
get smnNotify(): boolean | undefined;
|
26
|
+
withThreshold(threshold: number): VaultUpdate;
|
27
|
+
}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultUpdate = void 0;
|
4
|
+
var VaultUpdate = /** @class */ (function () {
|
5
|
+
function VaultUpdate() {
|
6
|
+
}
|
7
|
+
VaultUpdate.prototype.withBilling = function (billing) {
|
8
|
+
this['billing'] = billing;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
VaultUpdate.prototype.withName = function (name) {
|
12
|
+
this['name'] = name;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
VaultUpdate.prototype.withAutoBind = function (autoBind) {
|
16
|
+
this['auto_bind'] = autoBind;
|
17
|
+
return this;
|
18
|
+
};
|
19
|
+
Object.defineProperty(VaultUpdate.prototype, "autoBind", {
|
20
|
+
get: function () {
|
21
|
+
return this['auto_bind'];
|
22
|
+
},
|
23
|
+
set: function (autoBind) {
|
24
|
+
this['auto_bind'] = autoBind;
|
25
|
+
},
|
26
|
+
enumerable: false,
|
27
|
+
configurable: true
|
28
|
+
});
|
29
|
+
VaultUpdate.prototype.withBindRules = function (bindRules) {
|
30
|
+
this['bind_rules'] = bindRules;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
Object.defineProperty(VaultUpdate.prototype, "bindRules", {
|
34
|
+
get: function () {
|
35
|
+
return this['bind_rules'];
|
36
|
+
},
|
37
|
+
set: function (bindRules) {
|
38
|
+
this['bind_rules'] = bindRules;
|
39
|
+
},
|
40
|
+
enumerable: false,
|
41
|
+
configurable: true
|
42
|
+
});
|
43
|
+
VaultUpdate.prototype.withAutoExpand = function (autoExpand) {
|
44
|
+
this['auto_expand'] = autoExpand;
|
45
|
+
return this;
|
46
|
+
};
|
47
|
+
Object.defineProperty(VaultUpdate.prototype, "autoExpand", {
|
48
|
+
get: function () {
|
49
|
+
return this['auto_expand'];
|
50
|
+
},
|
51
|
+
set: function (autoExpand) {
|
52
|
+
this['auto_expand'] = autoExpand;
|
53
|
+
},
|
54
|
+
enumerable: false,
|
55
|
+
configurable: true
|
56
|
+
});
|
57
|
+
VaultUpdate.prototype.withSmnNotify = function (smnNotify) {
|
58
|
+
this['smn_notify'] = smnNotify;
|
59
|
+
return this;
|
60
|
+
};
|
61
|
+
Object.defineProperty(VaultUpdate.prototype, "smnNotify", {
|
62
|
+
get: function () {
|
63
|
+
return this['smn_notify'];
|
64
|
+
},
|
65
|
+
set: function (smnNotify) {
|
66
|
+
this['smn_notify'] = smnNotify;
|
67
|
+
},
|
68
|
+
enumerable: false,
|
69
|
+
configurable: true
|
70
|
+
});
|
71
|
+
VaultUpdate.prototype.withThreshold = function (threshold) {
|
72
|
+
this['threshold'] = threshold;
|
73
|
+
return this;
|
74
|
+
};
|
75
|
+
return VaultUpdate;
|
76
|
+
}());
|
77
|
+
exports.VaultUpdate = VaultUpdate;
|