@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,51 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultAssociate = void 0;
|
4
|
+
var VaultAssociate = /** @class */ (function () {
|
5
|
+
function VaultAssociate() {
|
6
|
+
}
|
7
|
+
VaultAssociate.prototype.withDestinationVaultId = function (destinationVaultId) {
|
8
|
+
this['destination_vault_id'] = destinationVaultId;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(VaultAssociate.prototype, "destinationVaultId", {
|
12
|
+
get: function () {
|
13
|
+
return this['destination_vault_id'];
|
14
|
+
},
|
15
|
+
set: function (destinationVaultId) {
|
16
|
+
this['destination_vault_id'] = destinationVaultId;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
VaultAssociate.prototype.withPolicyId = function (policyId) {
|
22
|
+
this['policy_id'] = policyId;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(VaultAssociate.prototype, "policyId", {
|
26
|
+
get: function () {
|
27
|
+
return this['policy_id'];
|
28
|
+
},
|
29
|
+
set: function (policyId) {
|
30
|
+
this['policy_id'] = policyId;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
VaultAssociate.prototype.withAddPolicyIds = function (addPolicyIds) {
|
36
|
+
this['add_policy_ids'] = addPolicyIds;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
Object.defineProperty(VaultAssociate.prototype, "addPolicyIds", {
|
40
|
+
get: function () {
|
41
|
+
return this['add_policy_ids'];
|
42
|
+
},
|
43
|
+
set: function (addPolicyIds) {
|
44
|
+
this['add_policy_ids'] = addPolicyIds;
|
45
|
+
},
|
46
|
+
enumerable: false,
|
47
|
+
configurable: true
|
48
|
+
});
|
49
|
+
return VaultAssociate;
|
50
|
+
}());
|
51
|
+
exports.VaultAssociate = VaultAssociate;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { CheckpointParam } from './CheckpointParam';
|
2
|
+
export declare class VaultBackup {
|
3
|
+
parameters?: CheckpointParam;
|
4
|
+
private 'vault_id';
|
5
|
+
constructor(vaultId?: any);
|
6
|
+
withParameters(parameters: CheckpointParam): VaultBackup;
|
7
|
+
withVaultId(vaultId: string): VaultBackup;
|
8
|
+
set vaultId(vaultId: string | undefined);
|
9
|
+
get vaultId(): string | undefined;
|
10
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultBackup = void 0;
|
4
|
+
var VaultBackup = /** @class */ (function () {
|
5
|
+
function VaultBackup(vaultId) {
|
6
|
+
this['vault_id'] = vaultId;
|
7
|
+
}
|
8
|
+
VaultBackup.prototype.withParameters = function (parameters) {
|
9
|
+
this['parameters'] = parameters;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
VaultBackup.prototype.withVaultId = function (vaultId) {
|
13
|
+
this['vault_id'] = vaultId;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
Object.defineProperty(VaultBackup.prototype, "vaultId", {
|
17
|
+
get: function () {
|
18
|
+
return this['vault_id'];
|
19
|
+
},
|
20
|
+
set: function (vaultId) {
|
21
|
+
this['vault_id'] = vaultId;
|
22
|
+
},
|
23
|
+
enumerable: false,
|
24
|
+
configurable: true
|
25
|
+
});
|
26
|
+
return VaultBackup;
|
27
|
+
}());
|
28
|
+
exports.VaultBackup = VaultBackup;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultBackupReq = void 0;
|
4
|
+
var VaultBackupReq = /** @class */ (function () {
|
5
|
+
function VaultBackupReq(checkpoint) {
|
6
|
+
this['checkpoint'] = checkpoint;
|
7
|
+
}
|
8
|
+
VaultBackupReq.prototype.withCheckpoint = function (checkpoint) {
|
9
|
+
this['checkpoint'] = checkpoint;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
return VaultBackupReq;
|
13
|
+
}());
|
14
|
+
exports.VaultBackupReq = VaultBackupReq;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultBindRules = void 0;
|
4
|
+
var VaultBindRules = /** @class */ (function () {
|
5
|
+
function VaultBindRules() {
|
6
|
+
}
|
7
|
+
VaultBindRules.prototype.withTags = function (tags) {
|
8
|
+
this['tags'] = tags;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return VaultBindRules;
|
12
|
+
}());
|
13
|
+
exports.VaultBindRules = VaultBindRules;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { BillingCreate } from './BillingCreate';
|
2
|
+
import { ResourceCreate } from './ResourceCreate';
|
3
|
+
import { Tag } from './Tag';
|
4
|
+
import { VaultBindRules } from './VaultBindRules';
|
5
|
+
export declare class VaultCreate {
|
6
|
+
private 'backup_policy_id'?;
|
7
|
+
billing: BillingCreate;
|
8
|
+
description?: string;
|
9
|
+
name: string;
|
10
|
+
resources: Array<ResourceCreate>;
|
11
|
+
tags?: Array<Tag>;
|
12
|
+
private 'enterprise_project_id'?;
|
13
|
+
private 'auto_bind'?;
|
14
|
+
private 'bind_rules'?;
|
15
|
+
private 'auto_expand'?;
|
16
|
+
constructor(billing?: any, name?: any, resources?: any);
|
17
|
+
withBackupPolicyId(backupPolicyId: string): VaultCreate;
|
18
|
+
set backupPolicyId(backupPolicyId: string | undefined);
|
19
|
+
get backupPolicyId(): string | undefined;
|
20
|
+
withBilling(billing: BillingCreate): VaultCreate;
|
21
|
+
withDescription(description: string): VaultCreate;
|
22
|
+
withName(name: string): VaultCreate;
|
23
|
+
withResources(resources: Array<ResourceCreate>): VaultCreate;
|
24
|
+
withTags(tags: Array<Tag>): VaultCreate;
|
25
|
+
withEnterpriseProjectId(enterpriseProjectId: string): VaultCreate;
|
26
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
27
|
+
get enterpriseProjectId(): string | undefined;
|
28
|
+
withAutoBind(autoBind: boolean): VaultCreate;
|
29
|
+
set autoBind(autoBind: boolean | undefined);
|
30
|
+
get autoBind(): boolean | undefined;
|
31
|
+
withBindRules(bindRules: VaultBindRules): VaultCreate;
|
32
|
+
set bindRules(bindRules: VaultBindRules | undefined);
|
33
|
+
get bindRules(): VaultBindRules | undefined;
|
34
|
+
withAutoExpand(autoExpand: boolean): VaultCreate;
|
35
|
+
set autoExpand(autoExpand: boolean | undefined);
|
36
|
+
get autoExpand(): boolean | undefined;
|
37
|
+
}
|
@@ -0,0 +1,102 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultCreate = void 0;
|
4
|
+
var VaultCreate = /** @class */ (function () {
|
5
|
+
function VaultCreate(billing, name, resources) {
|
6
|
+
this['billing'] = billing;
|
7
|
+
this['name'] = name;
|
8
|
+
this['resources'] = resources;
|
9
|
+
}
|
10
|
+
VaultCreate.prototype.withBackupPolicyId = function (backupPolicyId) {
|
11
|
+
this['backup_policy_id'] = backupPolicyId;
|
12
|
+
return this;
|
13
|
+
};
|
14
|
+
Object.defineProperty(VaultCreate.prototype, "backupPolicyId", {
|
15
|
+
get: function () {
|
16
|
+
return this['backup_policy_id'];
|
17
|
+
},
|
18
|
+
set: function (backupPolicyId) {
|
19
|
+
this['backup_policy_id'] = backupPolicyId;
|
20
|
+
},
|
21
|
+
enumerable: false,
|
22
|
+
configurable: true
|
23
|
+
});
|
24
|
+
VaultCreate.prototype.withBilling = function (billing) {
|
25
|
+
this['billing'] = billing;
|
26
|
+
return this;
|
27
|
+
};
|
28
|
+
VaultCreate.prototype.withDescription = function (description) {
|
29
|
+
this['description'] = description;
|
30
|
+
return this;
|
31
|
+
};
|
32
|
+
VaultCreate.prototype.withName = function (name) {
|
33
|
+
this['name'] = name;
|
34
|
+
return this;
|
35
|
+
};
|
36
|
+
VaultCreate.prototype.withResources = function (resources) {
|
37
|
+
this['resources'] = resources;
|
38
|
+
return this;
|
39
|
+
};
|
40
|
+
VaultCreate.prototype.withTags = function (tags) {
|
41
|
+
this['tags'] = tags;
|
42
|
+
return this;
|
43
|
+
};
|
44
|
+
VaultCreate.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
45
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
46
|
+
return this;
|
47
|
+
};
|
48
|
+
Object.defineProperty(VaultCreate.prototype, "enterpriseProjectId", {
|
49
|
+
get: function () {
|
50
|
+
return this['enterprise_project_id'];
|
51
|
+
},
|
52
|
+
set: function (enterpriseProjectId) {
|
53
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
54
|
+
},
|
55
|
+
enumerable: false,
|
56
|
+
configurable: true
|
57
|
+
});
|
58
|
+
VaultCreate.prototype.withAutoBind = function (autoBind) {
|
59
|
+
this['auto_bind'] = autoBind;
|
60
|
+
return this;
|
61
|
+
};
|
62
|
+
Object.defineProperty(VaultCreate.prototype, "autoBind", {
|
63
|
+
get: function () {
|
64
|
+
return this['auto_bind'];
|
65
|
+
},
|
66
|
+
set: function (autoBind) {
|
67
|
+
this['auto_bind'] = autoBind;
|
68
|
+
},
|
69
|
+
enumerable: false,
|
70
|
+
configurable: true
|
71
|
+
});
|
72
|
+
VaultCreate.prototype.withBindRules = function (bindRules) {
|
73
|
+
this['bind_rules'] = bindRules;
|
74
|
+
return this;
|
75
|
+
};
|
76
|
+
Object.defineProperty(VaultCreate.prototype, "bindRules", {
|
77
|
+
get: function () {
|
78
|
+
return this['bind_rules'];
|
79
|
+
},
|
80
|
+
set: function (bindRules) {
|
81
|
+
this['bind_rules'] = bindRules;
|
82
|
+
},
|
83
|
+
enumerable: false,
|
84
|
+
configurable: true
|
85
|
+
});
|
86
|
+
VaultCreate.prototype.withAutoExpand = function (autoExpand) {
|
87
|
+
this['auto_expand'] = autoExpand;
|
88
|
+
return this;
|
89
|
+
};
|
90
|
+
Object.defineProperty(VaultCreate.prototype, "autoExpand", {
|
91
|
+
get: function () {
|
92
|
+
return this['auto_expand'];
|
93
|
+
},
|
94
|
+
set: function (autoExpand) {
|
95
|
+
this['auto_expand'] = autoExpand;
|
96
|
+
},
|
97
|
+
enumerable: false,
|
98
|
+
configurable: true
|
99
|
+
});
|
100
|
+
return VaultCreate;
|
101
|
+
}());
|
102
|
+
exports.VaultCreate = VaultCreate;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultCreateReq = void 0;
|
4
|
+
var VaultCreateReq = /** @class */ (function () {
|
5
|
+
function VaultCreateReq(vault) {
|
6
|
+
this['vault'] = vault;
|
7
|
+
}
|
8
|
+
VaultCreateReq.prototype.withVault = function (vault) {
|
9
|
+
this['vault'] = vault;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
return VaultCreateReq;
|
13
|
+
}());
|
14
|
+
exports.VaultCreateReq = VaultCreateReq;
|
@@ -0,0 +1,64 @@
|
|
1
|
+
import { Billing } from './Billing';
|
2
|
+
import { CbcOrderResult } from './CbcOrderResult';
|
3
|
+
import { ResourceResp } from './ResourceResp';
|
4
|
+
import { Tag } from './Tag';
|
5
|
+
import { VaultBindRules } from './VaultBindRules';
|
6
|
+
export declare class VaultCreateResource {
|
7
|
+
billing: Billing;
|
8
|
+
description?: string;
|
9
|
+
id: string;
|
10
|
+
name: string;
|
11
|
+
private 'project_id';
|
12
|
+
private 'provider_id';
|
13
|
+
resources: Array<ResourceResp>;
|
14
|
+
tags?: Array<Tag>;
|
15
|
+
private 'enterprise_project_id'?;
|
16
|
+
private 'auto_bind'?;
|
17
|
+
private 'bind_rules'?;
|
18
|
+
private 'user_id'?;
|
19
|
+
private 'created_at'?;
|
20
|
+
private 'auto_expand'?;
|
21
|
+
private 'smn_notify'?;
|
22
|
+
threshold?: number;
|
23
|
+
errText?: string;
|
24
|
+
retCode?: string;
|
25
|
+
orders?: Array<CbcOrderResult>;
|
26
|
+
constructor(billing?: any, id?: any, name?: any, projectId?: any, providerId?: any, resources?: any);
|
27
|
+
withBilling(billing: Billing): VaultCreateResource;
|
28
|
+
withDescription(description: string): VaultCreateResource;
|
29
|
+
withId(id: string): VaultCreateResource;
|
30
|
+
withName(name: string): VaultCreateResource;
|
31
|
+
withProjectId(projectId: string): VaultCreateResource;
|
32
|
+
set projectId(projectId: string | undefined);
|
33
|
+
get projectId(): string | undefined;
|
34
|
+
withProviderId(providerId: string): VaultCreateResource;
|
35
|
+
set providerId(providerId: string | undefined);
|
36
|
+
get providerId(): string | undefined;
|
37
|
+
withResources(resources: Array<ResourceResp>): VaultCreateResource;
|
38
|
+
withTags(tags: Array<Tag>): VaultCreateResource;
|
39
|
+
withEnterpriseProjectId(enterpriseProjectId: string): VaultCreateResource;
|
40
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
41
|
+
get enterpriseProjectId(): string | undefined;
|
42
|
+
withAutoBind(autoBind: boolean): VaultCreateResource;
|
43
|
+
set autoBind(autoBind: boolean | undefined);
|
44
|
+
get autoBind(): boolean | undefined;
|
45
|
+
withBindRules(bindRules: VaultBindRules): VaultCreateResource;
|
46
|
+
set bindRules(bindRules: VaultBindRules | undefined);
|
47
|
+
get bindRules(): VaultBindRules | undefined;
|
48
|
+
withUserId(userId: string): VaultCreateResource;
|
49
|
+
set userId(userId: string | undefined);
|
50
|
+
get userId(): string | undefined;
|
51
|
+
withCreatedAt(createdAt: string): VaultCreateResource;
|
52
|
+
set createdAt(createdAt: string | undefined);
|
53
|
+
get createdAt(): string | undefined;
|
54
|
+
withAutoExpand(autoExpand: boolean): VaultCreateResource;
|
55
|
+
set autoExpand(autoExpand: boolean | undefined);
|
56
|
+
get autoExpand(): boolean | undefined;
|
57
|
+
withSmnNotify(smnNotify: boolean): VaultCreateResource;
|
58
|
+
set smnNotify(smnNotify: boolean | undefined);
|
59
|
+
get smnNotify(): boolean | undefined;
|
60
|
+
withThreshold(threshold: number): VaultCreateResource;
|
61
|
+
withErrText(errText: string): VaultCreateResource;
|
62
|
+
withRetCode(retCode: string): VaultCreateResource;
|
63
|
+
withOrders(orders: Array<CbcOrderResult>): VaultCreateResource;
|
64
|
+
}
|
@@ -0,0 +1,181 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultCreateResource = void 0;
|
4
|
+
var VaultCreateResource = /** @class */ (function () {
|
5
|
+
function VaultCreateResource(billing, id, name, projectId, providerId, resources) {
|
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
|
+
}
|
13
|
+
VaultCreateResource.prototype.withBilling = function (billing) {
|
14
|
+
this['billing'] = billing;
|
15
|
+
return this;
|
16
|
+
};
|
17
|
+
VaultCreateResource.prototype.withDescription = function (description) {
|
18
|
+
this['description'] = description;
|
19
|
+
return this;
|
20
|
+
};
|
21
|
+
VaultCreateResource.prototype.withId = function (id) {
|
22
|
+
this['id'] = id;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
VaultCreateResource.prototype.withName = function (name) {
|
26
|
+
this['name'] = name;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
VaultCreateResource.prototype.withProjectId = function (projectId) {
|
30
|
+
this['project_id'] = projectId;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
Object.defineProperty(VaultCreateResource.prototype, "projectId", {
|
34
|
+
get: function () {
|
35
|
+
return this['project_id'];
|
36
|
+
},
|
37
|
+
set: function (projectId) {
|
38
|
+
this['project_id'] = projectId;
|
39
|
+
},
|
40
|
+
enumerable: false,
|
41
|
+
configurable: true
|
42
|
+
});
|
43
|
+
VaultCreateResource.prototype.withProviderId = function (providerId) {
|
44
|
+
this['provider_id'] = providerId;
|
45
|
+
return this;
|
46
|
+
};
|
47
|
+
Object.defineProperty(VaultCreateResource.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
|
+
VaultCreateResource.prototype.withResources = function (resources) {
|
58
|
+
this['resources'] = resources;
|
59
|
+
return this;
|
60
|
+
};
|
61
|
+
VaultCreateResource.prototype.withTags = function (tags) {
|
62
|
+
this['tags'] = tags;
|
63
|
+
return this;
|
64
|
+
};
|
65
|
+
VaultCreateResource.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
66
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
67
|
+
return this;
|
68
|
+
};
|
69
|
+
Object.defineProperty(VaultCreateResource.prototype, "enterpriseProjectId", {
|
70
|
+
get: function () {
|
71
|
+
return this['enterprise_project_id'];
|
72
|
+
},
|
73
|
+
set: function (enterpriseProjectId) {
|
74
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
75
|
+
},
|
76
|
+
enumerable: false,
|
77
|
+
configurable: true
|
78
|
+
});
|
79
|
+
VaultCreateResource.prototype.withAutoBind = function (autoBind) {
|
80
|
+
this['auto_bind'] = autoBind;
|
81
|
+
return this;
|
82
|
+
};
|
83
|
+
Object.defineProperty(VaultCreateResource.prototype, "autoBind", {
|
84
|
+
get: function () {
|
85
|
+
return this['auto_bind'];
|
86
|
+
},
|
87
|
+
set: function (autoBind) {
|
88
|
+
this['auto_bind'] = autoBind;
|
89
|
+
},
|
90
|
+
enumerable: false,
|
91
|
+
configurable: true
|
92
|
+
});
|
93
|
+
VaultCreateResource.prototype.withBindRules = function (bindRules) {
|
94
|
+
this['bind_rules'] = bindRules;
|
95
|
+
return this;
|
96
|
+
};
|
97
|
+
Object.defineProperty(VaultCreateResource.prototype, "bindRules", {
|
98
|
+
get: function () {
|
99
|
+
return this['bind_rules'];
|
100
|
+
},
|
101
|
+
set: function (bindRules) {
|
102
|
+
this['bind_rules'] = bindRules;
|
103
|
+
},
|
104
|
+
enumerable: false,
|
105
|
+
configurable: true
|
106
|
+
});
|
107
|
+
VaultCreateResource.prototype.withUserId = function (userId) {
|
108
|
+
this['user_id'] = userId;
|
109
|
+
return this;
|
110
|
+
};
|
111
|
+
Object.defineProperty(VaultCreateResource.prototype, "userId", {
|
112
|
+
get: function () {
|
113
|
+
return this['user_id'];
|
114
|
+
},
|
115
|
+
set: function (userId) {
|
116
|
+
this['user_id'] = userId;
|
117
|
+
},
|
118
|
+
enumerable: false,
|
119
|
+
configurable: true
|
120
|
+
});
|
121
|
+
VaultCreateResource.prototype.withCreatedAt = function (createdAt) {
|
122
|
+
this['created_at'] = createdAt;
|
123
|
+
return this;
|
124
|
+
};
|
125
|
+
Object.defineProperty(VaultCreateResource.prototype, "createdAt", {
|
126
|
+
get: function () {
|
127
|
+
return this['created_at'];
|
128
|
+
},
|
129
|
+
set: function (createdAt) {
|
130
|
+
this['created_at'] = createdAt;
|
131
|
+
},
|
132
|
+
enumerable: false,
|
133
|
+
configurable: true
|
134
|
+
});
|
135
|
+
VaultCreateResource.prototype.withAutoExpand = function (autoExpand) {
|
136
|
+
this['auto_expand'] = autoExpand;
|
137
|
+
return this;
|
138
|
+
};
|
139
|
+
Object.defineProperty(VaultCreateResource.prototype, "autoExpand", {
|
140
|
+
get: function () {
|
141
|
+
return this['auto_expand'];
|
142
|
+
},
|
143
|
+
set: function (autoExpand) {
|
144
|
+
this['auto_expand'] = autoExpand;
|
145
|
+
},
|
146
|
+
enumerable: false,
|
147
|
+
configurable: true
|
148
|
+
});
|
149
|
+
VaultCreateResource.prototype.withSmnNotify = function (smnNotify) {
|
150
|
+
this['smn_notify'] = smnNotify;
|
151
|
+
return this;
|
152
|
+
};
|
153
|
+
Object.defineProperty(VaultCreateResource.prototype, "smnNotify", {
|
154
|
+
get: function () {
|
155
|
+
return this['smn_notify'];
|
156
|
+
},
|
157
|
+
set: function (smnNotify) {
|
158
|
+
this['smn_notify'] = smnNotify;
|
159
|
+
},
|
160
|
+
enumerable: false,
|
161
|
+
configurable: true
|
162
|
+
});
|
163
|
+
VaultCreateResource.prototype.withThreshold = function (threshold) {
|
164
|
+
this['threshold'] = threshold;
|
165
|
+
return this;
|
166
|
+
};
|
167
|
+
VaultCreateResource.prototype.withErrText = function (errText) {
|
168
|
+
this['errText'] = errText;
|
169
|
+
return this;
|
170
|
+
};
|
171
|
+
VaultCreateResource.prototype.withRetCode = function (retCode) {
|
172
|
+
this['retCode'] = retCode;
|
173
|
+
return this;
|
174
|
+
};
|
175
|
+
VaultCreateResource.prototype.withOrders = function (orders) {
|
176
|
+
this['orders'] = orders;
|
177
|
+
return this;
|
178
|
+
};
|
179
|
+
return VaultCreateResource;
|
180
|
+
}());
|
181
|
+
exports.VaultCreateResource = VaultCreateResource;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VaultDissociate = void 0;
|
4
|
+
var VaultDissociate = /** @class */ (function () {
|
5
|
+
function VaultDissociate(policyId) {
|
6
|
+
this['policy_id'] = policyId;
|
7
|
+
}
|
8
|
+
VaultDissociate.prototype.withPolicyId = function (policyId) {
|
9
|
+
this['policy_id'] = policyId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(VaultDissociate.prototype, "policyId", {
|
13
|
+
get: function () {
|
14
|
+
return this['policy_id'];
|
15
|
+
},
|
16
|
+
set: function (policyId) {
|
17
|
+
this['policy_id'] = policyId;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
return VaultDissociate;
|
23
|
+
}());
|
24
|
+
exports.VaultDissociate = VaultDissociate;
|
@@ -0,0 +1,63 @@
|
|
1
|
+
import { Billing } from './Billing';
|
2
|
+
import { ResourceResp } from './ResourceResp';
|
3
|
+
import { Tag } from './Tag';
|
4
|
+
import { VaultBindRules } from './VaultBindRules';
|
5
|
+
export declare class VaultGet {
|
6
|
+
billing: Billing;
|
7
|
+
description?: string;
|
8
|
+
id: string;
|
9
|
+
name: string;
|
10
|
+
private 'project_id';
|
11
|
+
private 'provider_id';
|
12
|
+
resources: Array<ResourceResp>;
|
13
|
+
tags?: Array<Tag>;
|
14
|
+
private 'enterprise_project_id'?;
|
15
|
+
private 'auto_bind'?;
|
16
|
+
private 'bind_rules'?;
|
17
|
+
private 'user_id'?;
|
18
|
+
private 'created_at'?;
|
19
|
+
private 'auto_expand'?;
|
20
|
+
private 'smn_notify'?;
|
21
|
+
threshold?: number;
|
22
|
+
private 'updated_at';
|
23
|
+
version?: string;
|
24
|
+
constructor(billing?: any, id?: any, name?: any, projectId?: any, providerId?: any, resources?: any, updatedAt?: any);
|
25
|
+
withBilling(billing: Billing): VaultGet;
|
26
|
+
withDescription(description: string): VaultGet;
|
27
|
+
withId(id: string): VaultGet;
|
28
|
+
withName(name: string): VaultGet;
|
29
|
+
withProjectId(projectId: string): VaultGet;
|
30
|
+
set projectId(projectId: string | undefined);
|
31
|
+
get projectId(): string | undefined;
|
32
|
+
withProviderId(providerId: string): VaultGet;
|
33
|
+
set providerId(providerId: string | undefined);
|
34
|
+
get providerId(): string | undefined;
|
35
|
+
withResources(resources: Array<ResourceResp>): VaultGet;
|
36
|
+
withTags(tags: Array<Tag>): VaultGet;
|
37
|
+
withEnterpriseProjectId(enterpriseProjectId: string): VaultGet;
|
38
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
39
|
+
get enterpriseProjectId(): string | undefined;
|
40
|
+
withAutoBind(autoBind: boolean): VaultGet;
|
41
|
+
set autoBind(autoBind: boolean | undefined);
|
42
|
+
get autoBind(): boolean | undefined;
|
43
|
+
withBindRules(bindRules: VaultBindRules): VaultGet;
|
44
|
+
set bindRules(bindRules: VaultBindRules | undefined);
|
45
|
+
get bindRules(): VaultBindRules | undefined;
|
46
|
+
withUserId(userId: string): VaultGet;
|
47
|
+
set userId(userId: string | undefined);
|
48
|
+
get userId(): string | undefined;
|
49
|
+
withCreatedAt(createdAt: string): VaultGet;
|
50
|
+
set createdAt(createdAt: string | undefined);
|
51
|
+
get createdAt(): string | undefined;
|
52
|
+
withAutoExpand(autoExpand: boolean): VaultGet;
|
53
|
+
set autoExpand(autoExpand: boolean | undefined);
|
54
|
+
get autoExpand(): boolean | undefined;
|
55
|
+
withSmnNotify(smnNotify: boolean): VaultGet;
|
56
|
+
set smnNotify(smnNotify: boolean | undefined);
|
57
|
+
get smnNotify(): boolean | undefined;
|
58
|
+
withThreshold(threshold: number): VaultGet;
|
59
|
+
withUpdatedAt(updatedAt: string): VaultGet;
|
60
|
+
set updatedAt(updatedAt: string | undefined);
|
61
|
+
get updatedAt(): string | undefined;
|
62
|
+
withVersion(version: string): VaultGet;
|
63
|
+
}
|