@nutanix-scratch/dataprotection-js-client 4.1.1 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -33
- package/dist/Ntnx-Dataprotection-js-client-prod.js +1 -1
- package/dist/Ntnx-Dataprotection-js-client.js +1273 -541
- package/dist/es/ApiClient.d.ts +29 -7
- package/dist/es/ApiClient.js +854 -667
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +144 -183
- package/dist/es/apis/consistencygroups-endpoints.d.ts +84 -0
- package/dist/es/apis/consistencygroups-endpoints.js +267 -0
- package/dist/es/apis/dataprotectionclustercapabilities-endpoints.d.ts +46 -0
- package/dist/es/apis/dataprotectionclustercapabilities-endpoints.js +107 -0
- package/dist/es/apis/protectedresources-endpoints.d.ts +1 -1
- package/dist/es/apis/protectedresources-endpoints.js +128 -146
- package/dist/es/apis/recoveryplanactions-endpoints.d.ts +76 -0
- package/dist/es/apis/recoveryplanactions-endpoints.js +282 -0
- package/dist/es/apis/recoveryplanjobs-endpoints.d.ts +108 -0
- package/dist/es/apis/recoveryplanjobs-endpoints.js +291 -0
- package/dist/es/apis/recoverypoints-endpoints.d.ts +2 -2
- package/dist/es/apis/recoverypoints-endpoints.js +530 -552
- package/dist/es/index.d.ts +133 -1
- package/dist/es/index.js +849 -321
- package/dist/es/models/common/v1/config/EntityReference.d.ts +79 -0
- package/dist/es/models/common/v1/config/EntityReference.js +355 -0
- package/dist/es/models/common/v1/config/EntityType.d.ts +19 -0
- package/dist/es/models/common/v1/config/EntityType.js +239 -0
- package/dist/es/models/common/v1/config/Flag.d.ts +2 -8
- package/dist/es/models/common/v1/config/Flag.js +170 -211
- package/dist/es/models/common/v1/config/IPAddress.d.ts +2 -20
- package/dist/es/models/common/v1/config/IPAddress.js +170 -217
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +2 -8
- package/dist/es/models/common/v1/config/IPv4Address.js +174 -215
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +2 -8
- package/dist/es/models/common/v1/config/IPv6Address.js +174 -215
- package/dist/es/models/common/v1/config/KVPair.d.ts +2 -8
- package/dist/es/models/common/v1/config/KVPair.js +225 -270
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +139 -178
- package/dist/es/models/common/v1/config/Message.d.ts +2 -10
- package/dist/es/models/common/v1/config/Message.js +213 -258
- package/dist/es/models/common/v1/config/MessageSeverity.js +7 -9
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +2 -7
- package/dist/es/models/common/v1/config/TenantAwareModel.js +137 -177
- package/dist/es/models/common/v1/response/ApiLink.d.ts +2 -8
- package/dist/es/models/common/v1/response/ApiLink.js +165 -206
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +281 -344
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +154 -202
- package/dist/es/models/dataprotection/v4/common/BackupType.js +7 -9
- package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +12 -21
- package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.js +280 -301
- package/dist/es/models/dataprotection/v4/common/BaseVmRecoveryPoint.d.ts +1 -32
- package/dist/es/models/dataprotection/v4/common/BaseVmRecoveryPoint.js +294 -335
- package/dist/es/models/dataprotection/v4/common/ClusterInfo.d.ts +5 -29
- package/dist/es/models/dataprotection/v4/common/ClusterInfo.js +166 -207
- package/dist/es/models/dataprotection/v4/common/DiskRecoveryPoint.d.ts +2 -8
- package/dist/es/models/dataprotection/v4/common/DiskRecoveryPoint.js +163 -206
- package/dist/es/models/dataprotection/v4/common/RecoveryPointStatus.js +7 -9
- package/dist/es/models/dataprotection/v4/common/RecoveryPointType.js +7 -9
- package/dist/es/models/dataprotection/v4/common/VssProperties.d.ts +2 -10
- package/dist/es/models/dataprotection/v4/common/VssProperties.js +222 -267
- package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.js +75 -106
- package/dist/es/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +2 -8
- package/dist/es/models/dataprotection/v4/config/AmazonS3Bucket.js +171 -212
- package/dist/es/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +2 -8
- package/dist/es/models/dataprotection/v4/config/AzureBlobStorageContainer.js +171 -212
- package/dist/es/models/dataprotection/v4/config/Capability.d.ts +71 -0
- package/dist/es/models/dataprotection/v4/config/Capability.js +279 -0
- package/dist/es/models/dataprotection/v4/config/ClusterInfoApiResponse.d.ts +2 -43
- package/dist/es/models/dataprotection/v4/config/ClusterInfoApiResponse.js +187 -242
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.d.ts +1 -26
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.js +246 -301
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +2 -8
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.js +166 -207
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +7 -9
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +2 -8
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +171 -212
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.js +74 -103
- package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts +58 -0
- package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js +288 -0
- package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +2 -43
- package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +187 -242
- package/dist/es/models/dataprotection/v4/config/CreationTimeRange.d.ts +58 -0
- package/dist/es/models/dataprotection/v4/config/CreationTimeRange.js +272 -0
- package/dist/es/models/dataprotection/v4/config/DataProtectionCapabilityName.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/config/DataProtectionCapabilityName.js +77 -0
- package/dist/es/models/dataprotection/v4/config/DataProtectionClusterCapability.d.ts +34 -0
- package/dist/es/models/dataprotection/v4/config/DataProtectionClusterCapability.js +277 -0
- package/dist/es/models/dataprotection/v4/config/DataProtectionClusterCapabilityProjection.d.ts +10 -0
- package/dist/es/models/dataprotection/v4/config/DataProtectionClusterCapabilityProjection.js +124 -0
- package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +2 -8
- package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.js +171 -212
- package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +57 -0
- package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js +290 -0
- package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPlanJobApiResponse.d.ts +58 -0
- package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPlanJobApiResponse.js +288 -0
- package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +2 -43
- package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +187 -242
- package/dist/es/models/dataprotection/v4/config/DisasterRecoveryLocation.d.ts +72 -0
- package/dist/es/models/dataprotection/v4/config/DisasterRecoveryLocation.js +292 -0
- package/dist/es/models/dataprotection/v4/config/EntityRecoveryResult.d.ts +79 -0
- package/dist/es/models/dataprotection/v4/config/EntityRecoveryResult.js +352 -0
- package/dist/es/models/dataprotection/v4/config/EntityReference.d.ts +57 -0
- package/dist/es/models/dataprotection/v4/config/EntityReference.js +243 -0
- package/dist/es/models/dataprotection/v4/config/ErrorGroup.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/config/ErrorGroup.js +113 -0
- package/dist/es/models/dataprotection/v4/config/ErrorMessage.d.ts +53 -0
- package/dist/es/models/dataprotection/v4/config/ErrorMessage.js +335 -0
- package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +2 -7
- package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +143 -182
- package/dist/es/models/dataprotection/v4/config/ExecutionStepEntityReference.d.ts +68 -0
- package/dist/es/models/dataprotection/v4/config/ExecutionStepEntityReference.js +311 -0
- package/dist/es/models/dataprotection/v4/config/ExecutionStepEntityType.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/config/ExecutionStepEntityType.js +143 -0
- package/dist/es/models/dataprotection/v4/config/ExecutionStepResult.d.ts +58 -0
- package/dist/es/models/dataprotection/v4/config/ExecutionStepResult.js +253 -0
- package/dist/es/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +7 -12
- package/dist/es/models/dataprotection/v4/config/ExpirationTimeSpec.js +143 -182
- package/dist/es/models/dataprotection/v4/config/FailoverDirection.d.ts +90 -0
- package/dist/es/models/dataprotection/v4/config/FailoverDirection.js +354 -0
- package/dist/es/models/dataprotection/v4/config/ForceDeleteAllRecoveryPointsSpec.d.ts +55 -0
- package/dist/es/models/dataprotection/v4/config/ForceDeleteAllRecoveryPointsSpec.js +274 -0
- package/dist/es/models/dataprotection/v4/config/GetConsistencyGroupApiResponse.d.ts +58 -0
- package/dist/es/models/dataprotection/v4/config/GetConsistencyGroupApiResponse.js +288 -0
- package/dist/es/models/dataprotection/v4/config/GetProtectedResourceApiResponse.d.ts +3 -44
- package/dist/es/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js +187 -242
- package/dist/es/models/dataprotection/v4/config/GetRecoveryPlanJobApiResponse.d.ts +58 -0
- package/dist/es/models/dataprotection/v4/config/GetRecoveryPlanJobApiResponse.js +288 -0
- package/dist/es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts +2 -43
- package/dist/es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js +187 -242
- package/dist/es/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.d.ts +2 -45
- package/dist/es/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.js +187 -242
- package/dist/es/models/dataprotection/v4/config/HostReference.d.ts +1 -17
- package/dist/es/models/dataprotection/v4/config/HostReference.js +153 -197
- package/dist/es/models/dataprotection/v4/config/HostType.js +7 -9
- package/dist/es/models/dataprotection/v4/config/HypervisorType.js +7 -9
- package/dist/es/models/dataprotection/v4/config/ListConsistencyGroupsApiResponse.d.ts +59 -0
- package/dist/es/models/dataprotection/v4/config/ListConsistencyGroupsApiResponse.js +315 -0
- package/dist/es/models/dataprotection/v4/config/ListDPClusterCapabilitiesApiResponse.d.ts +59 -0
- package/dist/es/models/dataprotection/v4/config/ListDPClusterCapabilitiesApiResponse.js +315 -0
- package/dist/es/models/dataprotection/v4/config/ListRecoveryPlanJobExecutionStepsApiResponse.d.ts +59 -0
- package/dist/es/models/dataprotection/v4/config/ListRecoveryPlanJobExecutionStepsApiResponse.js +315 -0
- package/dist/es/models/dataprotection/v4/config/ListRecoveryPlanJobValidationErrorsApiResponse.d.ts +59 -0
- package/dist/es/models/dataprotection/v4/config/ListRecoveryPlanJobValidationErrorsApiResponse.js +315 -0
- package/dist/es/models/dataprotection/v4/config/ListRecoveryPlanJobsApiResponse.d.ts +59 -0
- package/dist/es/models/dataprotection/v4/config/ListRecoveryPlanJobsApiResponse.js +315 -0
- package/dist/es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts +2 -43
- package/dist/es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js +213 -268
- package/dist/es/models/dataprotection/v4/config/LocationReference.d.ts +2 -7
- package/dist/es/models/dataprotection/v4/config/LocationReference.js +142 -181
- package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +2 -7
- package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.js +140 -179
- package/dist/es/models/dataprotection/v4/config/ObjectStorageType.js +7 -9
- package/dist/es/models/dataprotection/v4/config/OperationType.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/config/OperationType.js +251 -0
- package/dist/es/models/dataprotection/v4/config/PhaseSummary.d.ts +33 -0
- package/dist/es/models/dataprotection/v4/config/PhaseSummary.js +274 -0
- package/dist/es/models/dataprotection/v4/config/ProtectedEntityType.js +7 -9
- package/dist/es/models/dataprotection/v4/config/ProtectedResource.d.ts +4 -72
- package/dist/es/models/dataprotection/v4/config/ProtectedResource.js +307 -369
- package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +2 -43
- package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +187 -242
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +8 -10
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +2 -43
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +187 -242
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +5 -11
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +169 -210
- package/dist/es/models/dataprotection/v4/config/RecoveryInfo.d.ts +2 -13
- package/dist/es/models/dataprotection/v4/config/RecoveryInfo.js +149 -192
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanActionType.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanActionType.js +95 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanJob.d.ts +166 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanJob.js +738 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanJobExecutionStatus.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanJobExecutionStatus.js +107 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanJobExecutionStep.d.ts +132 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanJobExecutionStep.js +624 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanJobExecutionStepProjection.d.ts +10 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanJobExecutionStepProjection.js +129 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanJobPhaseType.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanJobPhaseType.js +89 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanJobProjection.d.ts +10 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanJobProjection.js +128 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanValidationError.d.ts +32 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanValidationError.js +322 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanValidationErrorProjection.d.ts +10 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPlanValidationErrorProjection.js +126 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPoint.d.ts +23 -101
- package/dist/es/models/dataprotection/v4/config/RecoveryPoint.js +337 -348
- package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.js +75 -103
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +2 -43
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +187 -242
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +5 -11
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +172 -213
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +1 -18
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.js +196 -246
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +73 -102
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +8 -33
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +222 -273
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +2 -43
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +187 -242
- package/dist/es/models/dataprotection/v4/config/RecycleBinEntry.d.ts +77 -0
- package/dist/es/models/dataprotection/v4/config/RecycleBinEntry.js +405 -0
- package/dist/es/models/dataprotection/v4/config/RecycleBinVm.d.ts +44 -0
- package/dist/es/models/dataprotection/v4/config/RecycleBinVm.js +352 -0
- package/dist/es/models/dataprotection/v4/config/RecycleBinVmProjection.d.ts +10 -0
- package/dist/es/models/dataprotection/v4/config/RecycleBinVmProjection.js +124 -0
- package/dist/es/models/dataprotection/v4/config/RecycleBinVolumeGroup.d.ts +44 -0
- package/dist/es/models/dataprotection/v4/config/RecycleBinVolumeGroup.js +352 -0
- package/dist/es/models/dataprotection/v4/config/RecycleBinVolumeGroupProjection.d.ts +10 -0
- package/dist/es/models/dataprotection/v4/config/RecycleBinVolumeGroupProjection.js +124 -0
- package/dist/es/models/dataprotection/v4/config/ReplicationState.d.ts +2 -16
- package/dist/es/models/dataprotection/v4/config/ReplicationState.js +221 -266
- package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.d.ts +2 -8
- package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.js +166 -207
- package/dist/es/models/dataprotection/v4/config/RootCauseAnalysis.d.ts +69 -0
- package/dist/es/models/dataprotection/v4/config/RootCauseAnalysis.js +329 -0
- package/dist/es/models/dataprotection/v4/config/Severity.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/config/Severity.js +83 -0
- package/dist/es/models/dataprotection/v4/config/SiteProtectionInfo.d.ts +2 -26
- package/dist/es/models/dataprotection/v4/config/SiteProtectionInfo.js +185 -228
- package/dist/es/models/dataprotection/v4/config/SiteReference.d.ts +2 -8
- package/dist/es/models/dataprotection/v4/config/SiteReference.js +171 -212
- package/dist/es/models/dataprotection/v4/config/StageSummary.d.ts +22 -0
- package/dist/es/models/dataprotection/v4/config/StageSummary.js +230 -0
- package/dist/es/models/dataprotection/v4/config/Summary.d.ts +59 -0
- package/dist/es/models/dataprotection/v4/config/Summary.js +277 -0
- package/dist/es/models/dataprotection/v4/config/SynchronousReplicationRole.js +8 -10
- package/dist/es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +58 -0
- package/dist/es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.js +310 -0
- package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +2 -43
- package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +187 -242
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +1 -33
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.js +183 -206
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +8 -15
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +211 -258
- package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +2 -7
- package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +143 -182
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +18 -32
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +283 -306
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +2 -13
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +166 -207
- package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +1 -29
- package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.js +148 -192
- package/dist/es/models/dataprotection/v4/config/Witness.d.ts +1 -34
- package/dist/es/models/dataprotection/v4/config/Witness.js +226 -278
- package/dist/es/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +7 -9
- package/dist/es/models/dataprotection/v4/content/BaseRecoveryPointSpec.d.ts +2 -8
- package/dist/es/models/dataprotection/v4/content/BaseRecoveryPointSpec.js +171 -212
- package/dist/es/models/dataprotection/v4/content/ChangedRegion.d.ts +2 -9
- package/dist/es/models/dataprotection/v4/content/ChangedRegion.js +189 -232
- package/dist/es/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.d.ts +2 -43
- package/dist/es/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.js +209 -264
- package/dist/es/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.d.ts +2 -43
- package/dist/es/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.js +209 -264
- package/dist/es/models/dataprotection/v4/content/ClusterDiscoverOperation.js +9 -11
- package/dist/es/models/dataprotection/v4/content/ClusterDiscoverSpec.d.ts +2 -8
- package/dist/es/models/dataprotection/v4/content/ClusterDiscoverSpec.js +179 -224
- package/dist/es/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.d.ts +3 -9
- package/dist/es/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.js +197 -246
- package/dist/es/models/dataprotection/v4/content/DiskRecoveryPointReference.d.ts +2 -8
- package/dist/es/models/dataprotection/v4/content/DiskRecoveryPointReference.js +172 -213
- package/dist/es/models/dataprotection/v4/content/FileWrapper.d.ts +36 -0
- package/dist/es/models/dataprotection/v4/content/FileWrapper.js +200 -0
- package/dist/es/models/dataprotection/v4/content/GetVssMetadataApiResponse.d.ts +8 -48
- package/dist/es/models/dataprotection/v4/content/GetVssMetadataApiResponse.js +188 -242
- package/dist/es/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.d.ts +3 -8
- package/dist/es/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.js +143 -182
- package/dist/es/models/dataprotection/v4/content/RegionType.js +7 -9
- package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.d.ts +1 -9
- package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.js +130 -169
- package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointReference.d.ts +1 -9
- package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointReference.js +130 -169
- package/dist/es/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.d.ts +4 -15
- package/dist/es/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.js +190 -231
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.d.ts +1 -9
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.js +130 -169
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.d.ts +1 -9
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.js +131 -170
- package/dist/es/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.d.ts +4 -15
- package/dist/es/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.js +190 -231
- package/dist/es/models/dataprotection/v4/error/AppMessage.d.ts +2 -12
- package/dist/es/models/dataprotection/v4/error/AppMessage.js +264 -313
- package/dist/es/models/dataprotection/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/es/models/dataprotection/v4/error/ErrorResponse.js +195 -222
- package/dist/es/models/dataprotection/v4/error/SchemaValidationError.d.ts +2 -18
- package/dist/es/models/dataprotection/v4/error/SchemaValidationError.js +249 -300
- package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
- package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +191 -234
- package/dist/es/models/dataprotection/v4/operations/BaseRecoveryPlanActionSpec.d.ts +73 -0
- package/dist/es/models/dataprotection/v4/operations/BaseRecoveryPlanActionSpec.js +297 -0
- package/dist/es/models/dataprotection/v4/operations/CleanupRecoveryPlanResourcesApiResponse.d.ts +58 -0
- package/dist/es/models/dataprotection/v4/operations/CleanupRecoveryPlanResourcesApiResponse.js +288 -0
- package/dist/es/models/dataprotection/v4/operations/PlannedFailoverRecoveryPlanApiResponse.d.ts +58 -0
- package/dist/es/models/dataprotection/v4/operations/PlannedFailoverRecoveryPlanApiResponse.js +288 -0
- package/dist/es/models/dataprotection/v4/operations/PlannedFailoverSpec.d.ts +37 -0
- package/dist/es/models/dataprotection/v4/operations/PlannedFailoverSpec.js +274 -0
- package/dist/es/models/dataprotection/v4/operations/TestFailoverRecoveryPlanApiResponse.d.ts +58 -0
- package/dist/es/models/dataprotection/v4/operations/TestFailoverRecoveryPlanApiResponse.js +288 -0
- package/dist/es/models/dataprotection/v4/operations/TestFailoverSpec.d.ts +26 -0
- package/dist/es/models/dataprotection/v4/operations/TestFailoverSpec.js +237 -0
- package/dist/es/models/dataprotection/v4/operations/UnplannedFailoverRecoveryPlanApiResponse.d.ts +58 -0
- package/dist/es/models/dataprotection/v4/operations/UnplannedFailoverRecoveryPlanApiResponse.js +288 -0
- package/dist/es/models/dataprotection/v4/operations/UnplannedFailoverSpec.d.ts +37 -0
- package/dist/es/models/dataprotection/v4/operations/UnplannedFailoverSpec.js +274 -0
- package/dist/es/models/dataprotection/v4/operations/ValidateRecoveryPlanApiResponse.d.ts +58 -0
- package/dist/es/models/dataprotection/v4/operations/ValidateRecoveryPlanApiResponse.js +288 -0
- package/dist/es/models/dataprotection/v4/operations/ValidateSpec.d.ts +24 -0
- package/dist/es/models/dataprotection/v4/operations/ValidateSpec.js +129 -0
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +2 -7
- package/dist/es/models/prism/v4/config/TaskReference.js +150 -183
- package/dist/es/models/validation/ValidationError.js +26 -42
- package/dist/es/models/validation/ValidationScopes.js +3 -3
- package/dist/es/models/vmm/v4/ahv/config/CategoryReference.d.ts +2 -7
- package/dist/es/models/vmm/v4/ahv/config/CategoryReference.js +142 -181
- package/dist/es/models/vmm/v4/ahv/config/GuestStaticIpSpec.d.ts +57 -0
- package/dist/es/models/vmm/v4/ahv/config/GuestStaticIpSpec.js +277 -0
- package/dist/es/models/vmm/v4/ahv/config/OwnerReference.d.ts +2 -7
- package/dist/es/models/vmm/v4/ahv/config/OwnerReference.js +142 -181
- package/dist/es/models/vmm/v4/ahv/config/OwnershipInfo.d.ts +2 -12
- package/dist/es/models/vmm/v4/ahv/config/OwnershipInfo.js +138 -177
- package/dist/es/models/vmm/v4/ahv/config/SubnetReference.d.ts +2 -7
- package/dist/es/models/vmm/v4/ahv/config/SubnetReference.js +142 -181
- package/dist/es/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.d.ts +12 -39
- package/dist/es/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.js +283 -300
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreGuestNicInfoOverrideSpec.d.ts +48 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreGuestNicInfoOverrideSpec.js +245 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreGuestToolsSpecification.d.ts +47 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreGuestToolsSpecification.js +236 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.d.ts +2 -20
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.js +173 -218
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.d.ts +12 -9
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.js +252 -269
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.d.ts +2 -15
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.js +183 -228
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.d.ts +2 -31
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.js +162 -203
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.d.ts +2 -7
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.js +142 -181
- package/dist/es/utils/ValidationUtils.js +39 -69
- package/dist/lib/ApiClient.d.ts +29 -7
- package/dist/lib/ApiClient.js +854 -667
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +144 -183
- package/dist/lib/apis/consistencygroups-endpoints.d.ts +84 -0
- package/dist/lib/apis/consistencygroups-endpoints.js +267 -0
- package/dist/lib/apis/dataprotectionclustercapabilities-endpoints.d.ts +46 -0
- package/dist/lib/apis/dataprotectionclustercapabilities-endpoints.js +107 -0
- package/dist/lib/apis/protectedresources-endpoints.d.ts +1 -1
- package/dist/lib/apis/protectedresources-endpoints.js +128 -146
- package/dist/lib/apis/recoveryplanactions-endpoints.d.ts +76 -0
- package/dist/lib/apis/recoveryplanactions-endpoints.js +282 -0
- package/dist/lib/apis/recoveryplanjobs-endpoints.d.ts +108 -0
- package/dist/lib/apis/recoveryplanjobs-endpoints.js +291 -0
- package/dist/lib/apis/recoverypoints-endpoints.d.ts +2 -2
- package/dist/lib/apis/recoverypoints-endpoints.js +530 -552
- package/dist/lib/index.d.ts +133 -1
- package/dist/lib/index.js +849 -321
- package/dist/lib/models/common/v1/config/EntityReference.d.ts +79 -0
- package/dist/lib/models/common/v1/config/EntityReference.js +355 -0
- package/dist/lib/models/common/v1/config/EntityType.d.ts +19 -0
- package/dist/lib/models/common/v1/config/EntityType.js +239 -0
- package/dist/lib/models/common/v1/config/Flag.d.ts +2 -8
- package/dist/lib/models/common/v1/config/Flag.js +170 -211
- package/dist/lib/models/common/v1/config/IPAddress.d.ts +2 -20
- package/dist/lib/models/common/v1/config/IPAddress.js +170 -217
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +2 -8
- package/dist/lib/models/common/v1/config/IPv4Address.js +174 -215
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +2 -8
- package/dist/lib/models/common/v1/config/IPv6Address.js +174 -215
- package/dist/lib/models/common/v1/config/KVPair.d.ts +2 -8
- package/dist/lib/models/common/v1/config/KVPair.js +225 -270
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +2 -7
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +139 -178
- package/dist/lib/models/common/v1/config/Message.d.ts +2 -10
- package/dist/lib/models/common/v1/config/Message.js +213 -258
- package/dist/lib/models/common/v1/config/MessageSeverity.js +7 -9
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +2 -7
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +137 -177
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +2 -8
- package/dist/lib/models/common/v1/response/ApiLink.js +165 -206
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +2 -40
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +281 -344
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -15
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +154 -202
- package/dist/lib/models/dataprotection/v4/common/BackupType.js +7 -9
- package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +12 -21
- package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.js +280 -301
- package/dist/lib/models/dataprotection/v4/common/BaseVmRecoveryPoint.d.ts +1 -32
- package/dist/lib/models/dataprotection/v4/common/BaseVmRecoveryPoint.js +294 -335
- package/dist/lib/models/dataprotection/v4/common/ClusterInfo.d.ts +5 -29
- package/dist/lib/models/dataprotection/v4/common/ClusterInfo.js +166 -207
- package/dist/lib/models/dataprotection/v4/common/DiskRecoveryPoint.d.ts +2 -8
- package/dist/lib/models/dataprotection/v4/common/DiskRecoveryPoint.js +163 -206
- package/dist/lib/models/dataprotection/v4/common/RecoveryPointStatus.js +7 -9
- package/dist/lib/models/dataprotection/v4/common/RecoveryPointType.js +7 -9
- package/dist/lib/models/dataprotection/v4/common/VssProperties.d.ts +2 -10
- package/dist/lib/models/dataprotection/v4/common/VssProperties.js +222 -267
- package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.js +75 -106
- package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +2 -8
- package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.js +171 -212
- package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +2 -8
- package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.js +171 -212
- package/dist/lib/models/dataprotection/v4/config/Capability.d.ts +71 -0
- package/dist/lib/models/dataprotection/v4/config/Capability.js +279 -0
- package/dist/lib/models/dataprotection/v4/config/ClusterInfoApiResponse.d.ts +2 -43
- package/dist/lib/models/dataprotection/v4/config/ClusterInfoApiResponse.js +187 -242
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.d.ts +1 -26
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.js +246 -301
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +2 -8
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.js +166 -207
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +7 -9
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +2 -8
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +171 -212
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.js +74 -103
- package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts +58 -0
- package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js +288 -0
- package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +2 -43
- package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +187 -242
- package/dist/lib/models/dataprotection/v4/config/CreationTimeRange.d.ts +58 -0
- package/dist/lib/models/dataprotection/v4/config/CreationTimeRange.js +272 -0
- package/dist/lib/models/dataprotection/v4/config/DataProtectionCapabilityName.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/DataProtectionCapabilityName.js +77 -0
- package/dist/lib/models/dataprotection/v4/config/DataProtectionClusterCapability.d.ts +34 -0
- package/dist/lib/models/dataprotection/v4/config/DataProtectionClusterCapability.js +277 -0
- package/dist/lib/models/dataprotection/v4/config/DataProtectionClusterCapabilityProjection.d.ts +10 -0
- package/dist/lib/models/dataprotection/v4/config/DataProtectionClusterCapabilityProjection.js +124 -0
- package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +2 -8
- package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.js +171 -212
- package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +57 -0
- package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js +290 -0
- package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPlanJobApiResponse.d.ts +58 -0
- package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPlanJobApiResponse.js +288 -0
- package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +2 -43
- package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +187 -242
- package/dist/lib/models/dataprotection/v4/config/DisasterRecoveryLocation.d.ts +72 -0
- package/dist/lib/models/dataprotection/v4/config/DisasterRecoveryLocation.js +292 -0
- package/dist/lib/models/dataprotection/v4/config/EntityRecoveryResult.d.ts +79 -0
- package/dist/lib/models/dataprotection/v4/config/EntityRecoveryResult.js +352 -0
- package/dist/lib/models/dataprotection/v4/config/EntityReference.d.ts +57 -0
- package/dist/lib/models/dataprotection/v4/config/EntityReference.js +243 -0
- package/dist/lib/models/dataprotection/v4/config/ErrorGroup.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/ErrorGroup.js +113 -0
- package/dist/lib/models/dataprotection/v4/config/ErrorMessage.d.ts +53 -0
- package/dist/lib/models/dataprotection/v4/config/ErrorMessage.js +335 -0
- package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +2 -7
- package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +143 -182
- package/dist/lib/models/dataprotection/v4/config/ExecutionStepEntityReference.d.ts +68 -0
- package/dist/lib/models/dataprotection/v4/config/ExecutionStepEntityReference.js +311 -0
- package/dist/lib/models/dataprotection/v4/config/ExecutionStepEntityType.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/ExecutionStepEntityType.js +143 -0
- package/dist/lib/models/dataprotection/v4/config/ExecutionStepResult.d.ts +58 -0
- package/dist/lib/models/dataprotection/v4/config/ExecutionStepResult.js +253 -0
- package/dist/lib/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +7 -12
- package/dist/lib/models/dataprotection/v4/config/ExpirationTimeSpec.js +143 -182
- package/dist/lib/models/dataprotection/v4/config/FailoverDirection.d.ts +90 -0
- package/dist/lib/models/dataprotection/v4/config/FailoverDirection.js +354 -0
- package/dist/lib/models/dataprotection/v4/config/ForceDeleteAllRecoveryPointsSpec.d.ts +55 -0
- package/dist/lib/models/dataprotection/v4/config/ForceDeleteAllRecoveryPointsSpec.js +274 -0
- package/dist/lib/models/dataprotection/v4/config/GetConsistencyGroupApiResponse.d.ts +58 -0
- package/dist/lib/models/dataprotection/v4/config/GetConsistencyGroupApiResponse.js +288 -0
- package/dist/lib/models/dataprotection/v4/config/GetProtectedResourceApiResponse.d.ts +3 -44
- package/dist/lib/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js +187 -242
- package/dist/lib/models/dataprotection/v4/config/GetRecoveryPlanJobApiResponse.d.ts +58 -0
- package/dist/lib/models/dataprotection/v4/config/GetRecoveryPlanJobApiResponse.js +288 -0
- package/dist/lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts +2 -43
- package/dist/lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js +187 -242
- package/dist/lib/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.d.ts +2 -45
- package/dist/lib/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.js +187 -242
- package/dist/lib/models/dataprotection/v4/config/HostReference.d.ts +1 -17
- package/dist/lib/models/dataprotection/v4/config/HostReference.js +153 -197
- package/dist/lib/models/dataprotection/v4/config/HostType.js +7 -9
- package/dist/lib/models/dataprotection/v4/config/HypervisorType.js +7 -9
- package/dist/lib/models/dataprotection/v4/config/ListConsistencyGroupsApiResponse.d.ts +59 -0
- package/dist/lib/models/dataprotection/v4/config/ListConsistencyGroupsApiResponse.js +315 -0
- package/dist/lib/models/dataprotection/v4/config/ListDPClusterCapabilitiesApiResponse.d.ts +59 -0
- package/dist/lib/models/dataprotection/v4/config/ListDPClusterCapabilitiesApiResponse.js +315 -0
- package/dist/lib/models/dataprotection/v4/config/ListRecoveryPlanJobExecutionStepsApiResponse.d.ts +59 -0
- package/dist/lib/models/dataprotection/v4/config/ListRecoveryPlanJobExecutionStepsApiResponse.js +315 -0
- package/dist/lib/models/dataprotection/v4/config/ListRecoveryPlanJobValidationErrorsApiResponse.d.ts +59 -0
- package/dist/lib/models/dataprotection/v4/config/ListRecoveryPlanJobValidationErrorsApiResponse.js +315 -0
- package/dist/lib/models/dataprotection/v4/config/ListRecoveryPlanJobsApiResponse.d.ts +59 -0
- package/dist/lib/models/dataprotection/v4/config/ListRecoveryPlanJobsApiResponse.js +315 -0
- package/dist/lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts +2 -43
- package/dist/lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js +213 -268
- package/dist/lib/models/dataprotection/v4/config/LocationReference.d.ts +2 -7
- package/dist/lib/models/dataprotection/v4/config/LocationReference.js +142 -181
- package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +2 -7
- package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.js +140 -179
- package/dist/lib/models/dataprotection/v4/config/ObjectStorageType.js +7 -9
- package/dist/lib/models/dataprotection/v4/config/OperationType.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/OperationType.js +251 -0
- package/dist/lib/models/dataprotection/v4/config/PhaseSummary.d.ts +33 -0
- package/dist/lib/models/dataprotection/v4/config/PhaseSummary.js +274 -0
- package/dist/lib/models/dataprotection/v4/config/ProtectedEntityType.js +7 -9
- package/dist/lib/models/dataprotection/v4/config/ProtectedResource.d.ts +4 -72
- package/dist/lib/models/dataprotection/v4/config/ProtectedResource.js +307 -369
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +2 -43
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +187 -242
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +8 -10
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +2 -43
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +187 -242
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +5 -11
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +169 -210
- package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.d.ts +2 -13
- package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.js +149 -192
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanActionType.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanActionType.js +95 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanJob.d.ts +166 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanJob.js +738 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanJobExecutionStatus.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanJobExecutionStatus.js +107 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanJobExecutionStep.d.ts +132 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanJobExecutionStep.js +624 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanJobExecutionStepProjection.d.ts +10 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanJobExecutionStepProjection.js +129 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanJobPhaseType.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanJobPhaseType.js +89 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanJobProjection.d.ts +10 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanJobProjection.js +128 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanValidationError.d.ts +32 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanValidationError.js +322 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanValidationErrorProjection.d.ts +10 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPlanValidationErrorProjection.js +126 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.d.ts +23 -101
- package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.js +337 -348
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.js +75 -103
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +2 -43
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +187 -242
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +5 -11
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +172 -213
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +1 -18
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.js +196 -246
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +73 -102
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +8 -33
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +222 -273
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +2 -43
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +187 -242
- package/dist/lib/models/dataprotection/v4/config/RecycleBinEntry.d.ts +77 -0
- package/dist/lib/models/dataprotection/v4/config/RecycleBinEntry.js +405 -0
- package/dist/lib/models/dataprotection/v4/config/RecycleBinVm.d.ts +44 -0
- package/dist/lib/models/dataprotection/v4/config/RecycleBinVm.js +352 -0
- package/dist/lib/models/dataprotection/v4/config/RecycleBinVmProjection.d.ts +10 -0
- package/dist/lib/models/dataprotection/v4/config/RecycleBinVmProjection.js +124 -0
- package/dist/lib/models/dataprotection/v4/config/RecycleBinVolumeGroup.d.ts +44 -0
- package/dist/lib/models/dataprotection/v4/config/RecycleBinVolumeGroup.js +352 -0
- package/dist/lib/models/dataprotection/v4/config/RecycleBinVolumeGroupProjection.d.ts +10 -0
- package/dist/lib/models/dataprotection/v4/config/RecycleBinVolumeGroupProjection.js +124 -0
- package/dist/lib/models/dataprotection/v4/config/ReplicationState.d.ts +2 -16
- package/dist/lib/models/dataprotection/v4/config/ReplicationState.js +221 -266
- package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.d.ts +2 -8
- package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.js +166 -207
- package/dist/lib/models/dataprotection/v4/config/RootCauseAnalysis.d.ts +69 -0
- package/dist/lib/models/dataprotection/v4/config/RootCauseAnalysis.js +329 -0
- package/dist/lib/models/dataprotection/v4/config/Severity.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/Severity.js +83 -0
- package/dist/lib/models/dataprotection/v4/config/SiteProtectionInfo.d.ts +2 -26
- package/dist/lib/models/dataprotection/v4/config/SiteProtectionInfo.js +185 -228
- package/dist/lib/models/dataprotection/v4/config/SiteReference.d.ts +2 -8
- package/dist/lib/models/dataprotection/v4/config/SiteReference.js +171 -212
- package/dist/lib/models/dataprotection/v4/config/StageSummary.d.ts +22 -0
- package/dist/lib/models/dataprotection/v4/config/StageSummary.js +230 -0
- package/dist/lib/models/dataprotection/v4/config/Summary.d.ts +59 -0
- package/dist/lib/models/dataprotection/v4/config/Summary.js +277 -0
- package/dist/lib/models/dataprotection/v4/config/SynchronousReplicationRole.js +8 -10
- package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +58 -0
- package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.js +310 -0
- package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +2 -43
- package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +187 -242
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +1 -33
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.js +183 -206
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +8 -15
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +211 -258
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +2 -7
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +143 -182
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +18 -32
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +283 -306
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +2 -13
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +166 -207
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +1 -29
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.js +148 -192
- package/dist/lib/models/dataprotection/v4/config/Witness.d.ts +1 -34
- package/dist/lib/models/dataprotection/v4/config/Witness.js +226 -278
- package/dist/lib/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +7 -9
- package/dist/lib/models/dataprotection/v4/content/BaseRecoveryPointSpec.d.ts +2 -8
- package/dist/lib/models/dataprotection/v4/content/BaseRecoveryPointSpec.js +171 -212
- package/dist/lib/models/dataprotection/v4/content/ChangedRegion.d.ts +2 -9
- package/dist/lib/models/dataprotection/v4/content/ChangedRegion.js +189 -232
- package/dist/lib/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.d.ts +2 -43
- package/dist/lib/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.js +209 -264
- package/dist/lib/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.d.ts +2 -43
- package/dist/lib/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.js +209 -264
- package/dist/lib/models/dataprotection/v4/content/ClusterDiscoverOperation.js +9 -11
- package/dist/lib/models/dataprotection/v4/content/ClusterDiscoverSpec.d.ts +2 -8
- package/dist/lib/models/dataprotection/v4/content/ClusterDiscoverSpec.js +179 -224
- package/dist/lib/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.d.ts +3 -9
- package/dist/lib/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.js +197 -246
- package/dist/lib/models/dataprotection/v4/content/DiskRecoveryPointReference.d.ts +2 -8
- package/dist/lib/models/dataprotection/v4/content/DiskRecoveryPointReference.js +172 -213
- package/dist/lib/models/dataprotection/v4/content/FileWrapper.d.ts +36 -0
- package/dist/lib/models/dataprotection/v4/content/FileWrapper.js +200 -0
- package/dist/lib/models/dataprotection/v4/content/GetVssMetadataApiResponse.d.ts +8 -48
- package/dist/lib/models/dataprotection/v4/content/GetVssMetadataApiResponse.js +188 -242
- package/dist/lib/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.d.ts +3 -8
- package/dist/lib/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.js +143 -182
- package/dist/lib/models/dataprotection/v4/content/RegionType.js +7 -9
- package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.d.ts +1 -9
- package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.js +130 -169
- package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointReference.d.ts +1 -9
- package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointReference.js +130 -169
- package/dist/lib/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.d.ts +4 -15
- package/dist/lib/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.js +190 -231
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.d.ts +1 -9
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.js +130 -169
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.d.ts +1 -9
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.js +131 -170
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.d.ts +4 -15
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.js +190 -231
- package/dist/lib/models/dataprotection/v4/error/AppMessage.d.ts +2 -12
- package/dist/lib/models/dataprotection/v4/error/AppMessage.js +264 -313
- package/dist/lib/models/dataprotection/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/lib/models/dataprotection/v4/error/ErrorResponse.js +195 -222
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.d.ts +2 -18
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.js +249 -300
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +2 -9
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +191 -234
- package/dist/lib/models/dataprotection/v4/operations/BaseRecoveryPlanActionSpec.d.ts +73 -0
- package/dist/lib/models/dataprotection/v4/operations/BaseRecoveryPlanActionSpec.js +297 -0
- package/dist/lib/models/dataprotection/v4/operations/CleanupRecoveryPlanResourcesApiResponse.d.ts +58 -0
- package/dist/lib/models/dataprotection/v4/operations/CleanupRecoveryPlanResourcesApiResponse.js +288 -0
- package/dist/lib/models/dataprotection/v4/operations/PlannedFailoverRecoveryPlanApiResponse.d.ts +58 -0
- package/dist/lib/models/dataprotection/v4/operations/PlannedFailoverRecoveryPlanApiResponse.js +288 -0
- package/dist/lib/models/dataprotection/v4/operations/PlannedFailoverSpec.d.ts +37 -0
- package/dist/lib/models/dataprotection/v4/operations/PlannedFailoverSpec.js +274 -0
- package/dist/lib/models/dataprotection/v4/operations/TestFailoverRecoveryPlanApiResponse.d.ts +58 -0
- package/dist/lib/models/dataprotection/v4/operations/TestFailoverRecoveryPlanApiResponse.js +288 -0
- package/dist/lib/models/dataprotection/v4/operations/TestFailoverSpec.d.ts +26 -0
- package/dist/lib/models/dataprotection/v4/operations/TestFailoverSpec.js +237 -0
- package/dist/lib/models/dataprotection/v4/operations/UnplannedFailoverRecoveryPlanApiResponse.d.ts +58 -0
- package/dist/lib/models/dataprotection/v4/operations/UnplannedFailoverRecoveryPlanApiResponse.js +288 -0
- package/dist/lib/models/dataprotection/v4/operations/UnplannedFailoverSpec.d.ts +37 -0
- package/dist/lib/models/dataprotection/v4/operations/UnplannedFailoverSpec.js +274 -0
- package/dist/lib/models/dataprotection/v4/operations/ValidateRecoveryPlanApiResponse.d.ts +58 -0
- package/dist/lib/models/dataprotection/v4/operations/ValidateRecoveryPlanApiResponse.js +288 -0
- package/dist/lib/models/dataprotection/v4/operations/ValidateSpec.d.ts +24 -0
- package/dist/lib/models/dataprotection/v4/operations/ValidateSpec.js +129 -0
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +2 -7
- package/dist/lib/models/prism/v4/config/TaskReference.js +150 -183
- package/dist/lib/models/validation/ValidationError.js +26 -42
- package/dist/lib/models/validation/ValidationScopes.js +3 -3
- package/dist/lib/models/vmm/v4/ahv/config/CategoryReference.d.ts +2 -7
- package/dist/lib/models/vmm/v4/ahv/config/CategoryReference.js +142 -181
- package/dist/lib/models/vmm/v4/ahv/config/GuestStaticIpSpec.d.ts +57 -0
- package/dist/lib/models/vmm/v4/ahv/config/GuestStaticIpSpec.js +277 -0
- package/dist/lib/models/vmm/v4/ahv/config/OwnerReference.d.ts +2 -7
- package/dist/lib/models/vmm/v4/ahv/config/OwnerReference.js +142 -181
- package/dist/lib/models/vmm/v4/ahv/config/OwnershipInfo.d.ts +2 -12
- package/dist/lib/models/vmm/v4/ahv/config/OwnershipInfo.js +138 -177
- package/dist/lib/models/vmm/v4/ahv/config/SubnetReference.d.ts +2 -7
- package/dist/lib/models/vmm/v4/ahv/config/SubnetReference.js +142 -181
- package/dist/lib/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.d.ts +12 -39
- package/dist/lib/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.js +283 -300
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreGuestNicInfoOverrideSpec.d.ts +48 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreGuestNicInfoOverrideSpec.js +245 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreGuestToolsSpecification.d.ts +47 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreGuestToolsSpecification.js +236 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.d.ts +2 -20
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.js +173 -218
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.d.ts +12 -9
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.js +252 -269
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.d.ts +2 -15
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.js +183 -228
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.d.ts +2 -31
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.js +162 -203
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.d.ts +2 -7
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.js +142 -181
- package/dist/lib/utils/ValidationUtils.js +39 -69
- package/package.json +1 -1
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _EntityReference = _interopRequireDefault(require("../../../common/v1/config/EntityReference"));
|
|
8
|
+
var _TenantAwareModel = _interopRequireDefault(require("../../../common/v1/config/TenantAwareModel"));
|
|
9
|
+
var _ExternalizableAbstractModel = _interopRequireDefault(require("../../../common/v1/response/ExternalizableAbstractModel"));
|
|
10
|
+
var _ErrorGroup = _interopRequireDefault(require("./ErrorGroup"));
|
|
11
|
+
var _ErrorMessage = _interopRequireDefault(require("./ErrorMessage"));
|
|
12
|
+
var _RootCauseAnalysis = _interopRequireDefault(require("./RootCauseAnalysis"));
|
|
13
|
+
var _Severity = _interopRequireDefault(require("./Severity"));
|
|
14
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
15
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
16
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
18
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
19
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
20
|
+
* Nutanix Data Protection APIs
|
|
21
|
+
*
|
|
22
|
+
* OpenAPI spec version: 4.2.1
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
25
|
+
*
|
|
26
|
+
* Open API Dev Platform Codegen version: 17.5.0.10128-RELEASE
|
|
27
|
+
*
|
|
28
|
+
* Do not edit the class manually.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* The RecoveryPlanValidationError model module.
|
|
33
|
+
* @module Ntnx/RecoveryPlanValidationError
|
|
34
|
+
* @version 4.2.1
|
|
35
|
+
* @class RecoveryPlanValidationError
|
|
36
|
+
* @extends ErrorMessage
|
|
37
|
+
*/
|
|
38
|
+
var _RecoveryPlanValidationError_brand = /*#__PURE__*/new WeakSet();
|
|
39
|
+
class RecoveryPlanValidationError extends _ErrorMessage.default {
|
|
40
|
+
/**
|
|
41
|
+
* Constructs a new <code>RecoveryPlanValidationError</code>.
|
|
42
|
+
* Message used to report recovery plan job errors or warnings.
|
|
43
|
+
* @alias module:Ntnx/RecoveryPlanValidationError
|
|
44
|
+
* @extends module:Ntnx/ErrorMessage
|
|
45
|
+
*/
|
|
46
|
+
constructor() {
|
|
47
|
+
super();
|
|
48
|
+
/*
|
|
49
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
50
|
+
* @param {Object} obj
|
|
51
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
52
|
+
* Otherwise, just returns the input object.
|
|
53
|
+
*/
|
|
54
|
+
_classPrivateMethodInitSpec(this, _RecoveryPlanValidationError_brand);
|
|
55
|
+
this.$objectType = "dataprotection.v4.config.RecoveryPlanValidationError";
|
|
56
|
+
/** @type {object<string, any>} */
|
|
57
|
+
this.$reserved = {
|
|
58
|
+
'$fv': "v4.r2"
|
|
59
|
+
};
|
|
60
|
+
/** @type {object<string, any>} */
|
|
61
|
+
this.$unknownFields = {};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Constructs a <code>RecoveryPlanValidationError</code> from a plain JavaScript object, optionally creating a new instance.
|
|
66
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
67
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
68
|
+
* @param {module:Ntnx/RecoveryPlanValidationError} obj Optional instance to populate.
|
|
69
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
70
|
+
* @return {module:Ntnx/RecoveryPlanValidationError} The populated <code>RecoveryPlanValidationError</code> instance.
|
|
71
|
+
*/
|
|
72
|
+
static constructFromObject(data, obj = null, callFromChild = false) {
|
|
73
|
+
let items, item, i, itemArr, discriminator;
|
|
74
|
+
if (data) {
|
|
75
|
+
obj = obj || new RecoveryPlanValidationError();
|
|
76
|
+
_ErrorMessage.default.constructFromObject(data, obj, true);
|
|
77
|
+
if (data.hasOwnProperty('affectedEntities') && data.affectedEntities !== null && data.affectedEntities !== undefined) {
|
|
78
|
+
itemArr = [];
|
|
79
|
+
items = data.affectedEntities;
|
|
80
|
+
for (i = 0; i < items.length; i++) {
|
|
81
|
+
item = _EntityReference.default.constructFromObject(items[i], undefined);
|
|
82
|
+
itemArr.push(item);
|
|
83
|
+
}
|
|
84
|
+
obj.setAffectedEntities(itemArr);
|
|
85
|
+
}
|
|
86
|
+
if (data.hasOwnProperty('rootCauseAnalysis') && data.rootCauseAnalysis !== null && data.rootCauseAnalysis !== undefined) {
|
|
87
|
+
obj.setRootCauseAnalysis(_RootCauseAnalysis.default.constructFromObject(data['rootCauseAnalysis']));
|
|
88
|
+
}
|
|
89
|
+
if (!callFromChild) {
|
|
90
|
+
obj.$unknownFields = {
|
|
91
|
+
...data.$unknownFields
|
|
92
|
+
};
|
|
93
|
+
for (const property in data) {
|
|
94
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
95
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
96
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
97
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
98
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
99
|
+
obj.$unknownFields[property] = data[property];
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Converts a given snake_case string to camelCase.
|
|
109
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
110
|
+
* @returns {string} - The converted string in camelCase format.
|
|
111
|
+
*/
|
|
112
|
+
static snakeToCamel(snakeStr) {
|
|
113
|
+
return snakeStr.replace(/(_\w)/g, match => match[1].toUpperCase());
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Returns List of affected entities.
|
|
118
|
+
* @return {EntityReference[]}
|
|
119
|
+
*/
|
|
120
|
+
getAffectedEntities() {
|
|
121
|
+
return this.affectedEntities;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Sets List of affected entities.
|
|
126
|
+
* @param {EntityReference[]} affectedEntities List of affected entities.
|
|
127
|
+
*/
|
|
128
|
+
setAffectedEntities(affectedEntities) {
|
|
129
|
+
this.affectedEntities = affectedEntities;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @return {RootCauseAnalysis}
|
|
134
|
+
*/
|
|
135
|
+
getRootCauseAnalysis() {
|
|
136
|
+
return this.rootCauseAnalysis;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @param {RootCauseAnalysis} rootCauseAnalysis
|
|
141
|
+
*/
|
|
142
|
+
setRootCauseAnalysis(rootCauseAnalysis) {
|
|
143
|
+
this.rootCauseAnalysis = rootCauseAnalysis;
|
|
144
|
+
}
|
|
145
|
+
toJson(forMutation) {
|
|
146
|
+
if (forMutation === false) {
|
|
147
|
+
return {
|
|
148
|
+
...(typeof this.getAffectedEntities() !== 'undefined' && this.getAffectedEntities() !== null ? {
|
|
149
|
+
'affectedEntities': this.getAffectedEntities().map(item => item.toJson(false))
|
|
150
|
+
} : {}),
|
|
151
|
+
...(typeof this.getRootCauseAnalysis() !== 'undefined' && this.getRootCauseAnalysis() !== null ? {
|
|
152
|
+
'rootCauseAnalysis': this.getRootCauseAnalysis().toJson(false)
|
|
153
|
+
} : {}),
|
|
154
|
+
...(typeof this.getErrorCode() !== 'undefined' && this.getErrorCode() !== null ? {
|
|
155
|
+
'errorCode': this.getErrorCode()
|
|
156
|
+
} : {}),
|
|
157
|
+
...(typeof this.getErrorGroup() !== 'undefined' && this.getErrorGroup() !== null ? {
|
|
158
|
+
'errorGroup': this.getErrorGroup()
|
|
159
|
+
} : {}),
|
|
160
|
+
...(typeof this.getMessage() !== 'undefined' && this.getMessage() !== null ? {
|
|
161
|
+
'message': this.getMessage()
|
|
162
|
+
} : {}),
|
|
163
|
+
...(typeof this.getSeverity() !== 'undefined' && this.getSeverity() !== null ? {
|
|
164
|
+
'severity': this.getSeverity()
|
|
165
|
+
} : {}),
|
|
166
|
+
...(typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
167
|
+
'extId': this.getExtId()
|
|
168
|
+
} : {}),
|
|
169
|
+
...(typeof this.getLinks() !== 'undefined' && this.getLinks() !== null ? {
|
|
170
|
+
'links': this.getLinks().map(item => item.toJson(false))
|
|
171
|
+
} : {}),
|
|
172
|
+
...(typeof this.getTenantId() !== 'undefined' && this.getTenantId() !== null ? {
|
|
173
|
+
'tenantId': this.getTenantId()
|
|
174
|
+
} : {}),
|
|
175
|
+
'$reserved': this.get$Reserved(),
|
|
176
|
+
'$objectType': this.get$ObjectType(),
|
|
177
|
+
...(typeof this.get$UnknownFields() !== 'undefined' && this.get$UnknownFields() !== null ? this.get$UnknownFields() : {}),
|
|
178
|
+
'$unknownFields': {}
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
return {
|
|
182
|
+
...(typeof this.getAffectedEntities() !== 'undefined' && this.getAffectedEntities() !== null ? {
|
|
183
|
+
'affectedEntities': this.getAffectedEntities().map(item => item.toJson(false))
|
|
184
|
+
} : {}),
|
|
185
|
+
...(typeof this.getRootCauseAnalysis() !== 'undefined' && this.getRootCauseAnalysis() !== null ? {
|
|
186
|
+
'rootCauseAnalysis': this.getRootCauseAnalysis().toJson(false)
|
|
187
|
+
} : {}),
|
|
188
|
+
...(typeof this.getErrorCode() !== 'undefined' && this.getErrorCode() !== null ? {
|
|
189
|
+
'errorCode': this.getErrorCode()
|
|
190
|
+
} : {}),
|
|
191
|
+
...(typeof this.getErrorGroup() !== 'undefined' && this.getErrorGroup() !== null ? {
|
|
192
|
+
'errorGroup': this.getErrorGroup()
|
|
193
|
+
} : {}),
|
|
194
|
+
...(typeof this.getMessage() !== 'undefined' && this.getMessage() !== null ? {
|
|
195
|
+
'message': this.getMessage()
|
|
196
|
+
} : {}),
|
|
197
|
+
...(typeof this.getSeverity() !== 'undefined' && this.getSeverity() !== null ? {
|
|
198
|
+
'severity': this.getSeverity()
|
|
199
|
+
} : {}),
|
|
200
|
+
'$reserved': this.get$Reserved(),
|
|
201
|
+
'$objectType': this.get$ObjectType(),
|
|
202
|
+
...(typeof this.get$UnknownFields() !== 'undefined' && this.get$UnknownFields() !== null ? this.get$UnknownFields() : {}),
|
|
203
|
+
'$unknownFields': {}
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
validate(scope, properties) {
|
|
207
|
+
let propList = [];
|
|
208
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes.default) {
|
|
209
|
+
//cases validate() and validate(scope)
|
|
210
|
+
propList = [];
|
|
211
|
+
} else if (arguments.length === 1) {
|
|
212
|
+
//case validate(properties)
|
|
213
|
+
propList = arguments[0];
|
|
214
|
+
scope = null;
|
|
215
|
+
} else {
|
|
216
|
+
//case validate(scope, properties)
|
|
217
|
+
propList = arguments[1];
|
|
218
|
+
}
|
|
219
|
+
let res = [];
|
|
220
|
+
let err = null;
|
|
221
|
+
propList.forEach(property => {
|
|
222
|
+
err = this.validateProperty(property, scope);
|
|
223
|
+
if (err) {
|
|
224
|
+
res.push(err);
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
return new Promise(function (resolve, reject) {
|
|
228
|
+
if (res.length !== 0) {
|
|
229
|
+
reject(err);
|
|
230
|
+
} else {
|
|
231
|
+
resolve();
|
|
232
|
+
}
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
validateProperty(scope, property) {
|
|
236
|
+
if (property === "affectedEntities") {
|
|
237
|
+
if (typeof this.affectedEntities === 'undefined' || this.affectedEntities === null) {
|
|
238
|
+
return new _ValidationError.default("affectedEntities", "undefined or null");
|
|
239
|
+
}
|
|
240
|
+
if (!_ValidationUtils.default.validateMaxItems(this.affectedEntities, 100)) {
|
|
241
|
+
return new _ValidationError.default("affectedEntities", "does not satisfy required maxItems constraint: 100");
|
|
242
|
+
}
|
|
243
|
+
if (!_ValidationUtils.default.validateMinItems(this.affectedEntities, 1)) {
|
|
244
|
+
return new _ValidationError.default("affectedEntities", "does not satisfy required minItems constraint: 1");
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
if (property === "rootCauseAnalysis") {
|
|
248
|
+
if (typeof this.rootCauseAnalysis === 'undefined' || this.rootCauseAnalysis === null) {
|
|
249
|
+
return new _ValidationError.default("rootCauseAnalysis", "undefined or null");
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
return new _ValidationError.default(property, "no such property exists");
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* List of affected entities.
|
|
258
|
+
* @memberof RecoveryPlanValidationError
|
|
259
|
+
*/
|
|
260
|
+
exports.default = RecoveryPlanValidationError;
|
|
261
|
+
function _toJsonMapType(obj, forMutation) {
|
|
262
|
+
if (obj instanceof Map) {
|
|
263
|
+
return Object.fromEntries(Array.from(obj, ([k, v]) => [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v]));
|
|
264
|
+
} else if (typeof obj === 'object' && obj != null && obj.constructor === Object) {
|
|
265
|
+
return Object.fromEntries(Array.from(Object.entries(obj), entry => {
|
|
266
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
267
|
+
}));
|
|
268
|
+
}
|
|
269
|
+
return obj;
|
|
270
|
+
}
|
|
271
|
+
/*
|
|
272
|
+
* toJson method for a date type which serializes a Date object to proper Date or DateTime formatting
|
|
273
|
+
* @param {Object} obj Object to serialize
|
|
274
|
+
* @param {boolean} isDateOnly Boolean variable to identify Date or DateTime format for serialization
|
|
275
|
+
* @returns {Object|string} Returns serialized date object or original input object
|
|
276
|
+
*/
|
|
277
|
+
function _handleDateType(obj, isDateOnly) {
|
|
278
|
+
if (obj instanceof Date && isDateOnly !== undefined) {
|
|
279
|
+
return isDateOnly ? obj.toISOString().slice(0, 10) : obj.toISOString();
|
|
280
|
+
}
|
|
281
|
+
return obj;
|
|
282
|
+
}
|
|
283
|
+
RecoveryPlanValidationError.prototype.affectedEntities = undefined;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* @memberof RecoveryPlanValidationError
|
|
287
|
+
*/
|
|
288
|
+
RecoveryPlanValidationError.prototype.rootCauseAnalysis = undefined;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Error code for API request failure.
|
|
292
|
+
* @memberof RecoveryPlanValidationError
|
|
293
|
+
*/
|
|
294
|
+
_ErrorMessage.default.prototype.errorCode = undefined;
|
|
295
|
+
/**
|
|
296
|
+
* @memberof RecoveryPlanValidationError
|
|
297
|
+
*/
|
|
298
|
+
_ErrorMessage.default.prototype.errorGroup = undefined;
|
|
299
|
+
/**
|
|
300
|
+
* Summary of the error.
|
|
301
|
+
* @memberof RecoveryPlanValidationError
|
|
302
|
+
*/
|
|
303
|
+
_ErrorMessage.default.prototype.message = undefined;
|
|
304
|
+
/**
|
|
305
|
+
* @memberof RecoveryPlanValidationError
|
|
306
|
+
*/
|
|
307
|
+
_ErrorMessage.default.prototype.severity = undefined;
|
|
308
|
+
/**
|
|
309
|
+
* A globally unique identifier of an instance that is suitable for external consumption.
|
|
310
|
+
* @memberof RecoveryPlanValidationError
|
|
311
|
+
*/
|
|
312
|
+
_ExternalizableAbstractModel.default.prototype.extId = undefined;
|
|
313
|
+
/**
|
|
314
|
+
* A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
|
|
315
|
+
* @memberof RecoveryPlanValidationError
|
|
316
|
+
*/
|
|
317
|
+
_ExternalizableAbstractModel.default.prototype.links = undefined;
|
|
318
|
+
/**
|
|
319
|
+
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
320
|
+
* @memberof RecoveryPlanValidationError
|
|
321
|
+
*/
|
|
322
|
+
_TenantAwareModel.default.prototype.tenantId = undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The RecoveryPlanValidationErrorProjection model module.
|
|
3
|
+
* @module Ntnx/RecoveryPlanValidationErrorProjection
|
|
4
|
+
* @version 4.2.1
|
|
5
|
+
* @class RecoveryPlanValidationErrorProjection
|
|
6
|
+
* @extends RecoveryPlanValidationError
|
|
7
|
+
*/
|
|
8
|
+
export default class RecoveryPlanValidationErrorProjection extends RecoveryPlanValidationError {
|
|
9
|
+
}
|
|
10
|
+
import RecoveryPlanValidationError from "./RecoveryPlanValidationError";
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _EntityReference = _interopRequireDefault(require("../../../common/v1/config/EntityReference"));
|
|
8
|
+
var _TenantAwareModel = _interopRequireDefault(require("../../../common/v1/config/TenantAwareModel"));
|
|
9
|
+
var _ExternalizableAbstractModel = _interopRequireDefault(require("../../../common/v1/response/ExternalizableAbstractModel"));
|
|
10
|
+
var _ErrorMessage = _interopRequireDefault(require("./ErrorMessage"));
|
|
11
|
+
var _RecoveryPlanValidationError = _interopRequireDefault(require("./RecoveryPlanValidationError"));
|
|
12
|
+
var _RootCauseAnalysis = _interopRequireDefault(require("./RootCauseAnalysis"));
|
|
13
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
14
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
15
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
+
/*
|
|
18
|
+
* Nutanix Data Protection APIs
|
|
19
|
+
*
|
|
20
|
+
* OpenAPI spec version: 4.2.1
|
|
21
|
+
*
|
|
22
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
23
|
+
*
|
|
24
|
+
* Open API Dev Platform Codegen version: 17.5.0.10128-RELEASE
|
|
25
|
+
*
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* The RecoveryPlanValidationErrorProjection model module.
|
|
32
|
+
* @module Ntnx/RecoveryPlanValidationErrorProjection
|
|
33
|
+
* @version 4.2.1
|
|
34
|
+
* @class RecoveryPlanValidationErrorProjection
|
|
35
|
+
* @extends RecoveryPlanValidationError
|
|
36
|
+
*/
|
|
37
|
+
class RecoveryPlanValidationErrorProjection extends _RecoveryPlanValidationError.default {
|
|
38
|
+
/**
|
|
39
|
+
* Constructs a new <code>RecoveryPlanValidationErrorProjection</code>.
|
|
40
|
+
* @alias module:Ntnx/RecoveryPlanValidationErrorProjection
|
|
41
|
+
* @extends module:Ntnx/RecoveryPlanValidationError
|
|
42
|
+
*/
|
|
43
|
+
constructor() {
|
|
44
|
+
super();
|
|
45
|
+
this.$objectType = "dataprotection.v4.config.RecoveryPlanValidationErrorProjection";
|
|
46
|
+
/** @type {object<string, any>} */
|
|
47
|
+
this.$reserved = {
|
|
48
|
+
'$fv': "v4.r2"
|
|
49
|
+
};
|
|
50
|
+
/** @type {object<string, any>} */
|
|
51
|
+
this.$unknownFields = {};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Constructs a <code>RecoveryPlanValidationErrorProjection</code> from a plain JavaScript object, optionally creating a new instance.
|
|
56
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
57
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
58
|
+
* @param {module:Ntnx/RecoveryPlanValidationErrorProjection} obj Optional instance to populate.
|
|
59
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
60
|
+
* @return {module:Ntnx/RecoveryPlanValidationErrorProjection} The populated <code>RecoveryPlanValidationErrorProjection</code> instance.
|
|
61
|
+
*/
|
|
62
|
+
static constructFromObject(data, obj = null, callFromChild = false) {
|
|
63
|
+
let items, item, i, itemArr, discriminator;
|
|
64
|
+
if (data) {
|
|
65
|
+
obj = obj || new RecoveryPlanValidationErrorProjection();
|
|
66
|
+
_RecoveryPlanValidationError.default.constructFromObject(data, obj, true);
|
|
67
|
+
if (!callFromChild) {
|
|
68
|
+
obj.$unknownFields = {
|
|
69
|
+
...data.$unknownFields
|
|
70
|
+
};
|
|
71
|
+
for (const property in data) {
|
|
72
|
+
// Check if the `property` is not already present in `obj` keys, either in snake_case or camelCase,
|
|
73
|
+
// as the model's fields are generated in camelCase, but the server might return snake_case (e.g., due to standards like OIDC).
|
|
74
|
+
// Also, ensure the `property` does not start with '$' and end with 'ItemDiscriminator'.
|
|
75
|
+
// If all conditions are true, add the `property` from `data` to `obj.$unknownFields` as an unknown field.
|
|
76
|
+
if (!Object.keys(obj).includes(property) && !Object.keys(obj).includes(this.snakeToCamel(property)) && !(property[0] === "$" && property.endsWith("ItemDiscriminator"))) {
|
|
77
|
+
obj.$unknownFields[property] = data[property];
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return obj;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Converts a given snake_case string to camelCase.
|
|
87
|
+
* @param {string} snakeStr - The input string in snake_case format.
|
|
88
|
+
* @returns {string} - The converted string in camelCase format.
|
|
89
|
+
*/
|
|
90
|
+
static snakeToCamel(snakeStr) {
|
|
91
|
+
return snakeStr.replace(/(_\w)/g, match => match[1].toUpperCase());
|
|
92
|
+
}
|
|
93
|
+
validate(scope, properties) {
|
|
94
|
+
let propList = [];
|
|
95
|
+
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes.default) {
|
|
96
|
+
//cases validate() and validate(scope)
|
|
97
|
+
propList = [];
|
|
98
|
+
} else if (arguments.length === 1) {
|
|
99
|
+
//case validate(properties)
|
|
100
|
+
propList = arguments[0];
|
|
101
|
+
scope = null;
|
|
102
|
+
} else {
|
|
103
|
+
//case validate(scope, properties)
|
|
104
|
+
propList = arguments[1];
|
|
105
|
+
}
|
|
106
|
+
let res = [];
|
|
107
|
+
let err = null;
|
|
108
|
+
propList.forEach(property => {
|
|
109
|
+
err = this.validateProperty(property, scope);
|
|
110
|
+
if (err) {
|
|
111
|
+
res.push(err);
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
return new Promise(function (resolve, reject) {
|
|
115
|
+
if (res.length !== 0) {
|
|
116
|
+
reject(err);
|
|
117
|
+
} else {
|
|
118
|
+
resolve();
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
validateProperty(scope, property) {
|
|
123
|
+
return new _ValidationError.default(property, "no such property exists");
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.default = RecoveryPlanValidationErrorProjection;
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The RecoveryPoint model module.
|
|
3
3
|
* @module Ntnx/RecoveryPoint
|
|
4
|
-
* @version 4.
|
|
4
|
+
* @version 4.2.1
|
|
5
5
|
* @class RecoveryPoint
|
|
6
6
|
* @extends BaseRecoveryPoint
|
|
7
7
|
*/
|
|
8
8
|
export default class RecoveryPoint extends BaseRecoveryPoint {
|
|
9
9
|
/**
|
|
10
|
-
* Returns A read only field inserted into recovery point at the time of recovery point creation, indicating the external identifier of the user who created this recovery point.
|
|
10
|
+
* Returns A read only field inserted into the recovery point at the time of recovery point creation, indicating the external identifier of the user who created this recovery point.
|
|
11
11
|
* @return {string}
|
|
12
12
|
*/
|
|
13
13
|
getOwnerExtId(): string;
|
|
14
14
|
/**
|
|
15
|
-
* Sets A read only field inserted into recovery point at the time of recovery point creation, indicating the external identifier of the user who created this recovery point.
|
|
16
|
-
* @param {string} ownerExtId A read only field inserted into recovery point at the time of recovery point creation, indicating the external identifier of the user who created this recovery point.
|
|
15
|
+
* Sets A read only field inserted into the recovery point at the time of recovery point creation, indicating the external identifier of the user who created this recovery point.
|
|
16
|
+
* @param {string} ownerExtId A read only field inserted into the recovery point at the time of recovery point creation, indicating the external identifier of the user who created this recovery point.
|
|
17
17
|
*/
|
|
18
18
|
setOwnerExtId(ownerExtId: string): void;
|
|
19
19
|
ownerExtId: string;
|
|
20
20
|
/**
|
|
21
|
-
* Returns List of location references where the
|
|
21
|
+
* Returns List of location references where the recovery point is presently located.
|
|
22
22
|
* @return {LocationReference[]}
|
|
23
23
|
*/
|
|
24
24
|
getLocationReferences(): LocationReference[];
|
|
25
25
|
/**
|
|
26
|
-
* Sets List of location references where the
|
|
27
|
-
* @param {LocationReference[]} locationReferences List of location references where the
|
|
26
|
+
* Sets List of location references where the recovery point is presently located.
|
|
27
|
+
* @param {LocationReference[]} locationReferences List of location references where the recovery point is presently located.
|
|
28
28
|
*/
|
|
29
29
|
setLocationReferences(locationReferences: LocationReference[]): void;
|
|
30
30
|
locationReferences: LocationReference[];
|
|
31
31
|
/**
|
|
32
|
-
* Returns List of VM recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of
|
|
32
|
+
* Returns List of VM recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of VMs and volume groups.
|
|
33
33
|
* @return {VmRecoveryPoint[]}
|
|
34
34
|
*/
|
|
35
35
|
getVmRecoveryPoints(): VmRecoveryPoint[];
|
|
36
36
|
/**
|
|
37
|
-
* Sets List of VM recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of
|
|
38
|
-
* @param {VmRecoveryPoint[]} vmRecoveryPoints List of VM recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of
|
|
37
|
+
* Sets List of VM recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of VMs and volume groups.
|
|
38
|
+
* @param {VmRecoveryPoint[]} vmRecoveryPoints List of VM recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of VMs and volume groups.
|
|
39
39
|
*/
|
|
40
40
|
setVmRecoveryPoints(vmRecoveryPoints: VmRecoveryPoint[]): void;
|
|
41
41
|
vmRecoveryPoints: VmRecoveryPoint[];
|
|
42
42
|
/**
|
|
43
|
-
* Returns List of volume group recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of
|
|
43
|
+
* Returns List of volume group recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of VMs and volume groups.
|
|
44
44
|
* @return {VolumeGroupRecoveryPoint[]}
|
|
45
45
|
*/
|
|
46
46
|
getVolumeGroupRecoveryPoints(): VolumeGroupRecoveryPoint[];
|
|
47
47
|
/**
|
|
48
|
-
* Sets List of volume group recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of
|
|
49
|
-
* @param {VolumeGroupRecoveryPoint[]} volumeGroupRecoveryPoints List of volume group recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of
|
|
48
|
+
* Sets List of volume group recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of VMs and volume groups.
|
|
49
|
+
* @param {VolumeGroupRecoveryPoint[]} volumeGroupRecoveryPoints List of volume group recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of VMs and volume groups.
|
|
50
50
|
*/
|
|
51
51
|
setVolumeGroupRecoveryPoints(volumeGroupRecoveryPoints: VolumeGroupRecoveryPoint[]): void;
|
|
52
52
|
volumeGroupRecoveryPoints: VolumeGroupRecoveryPoint[];
|
|
@@ -61,97 +61,19 @@ export default class RecoveryPoint extends BaseRecoveryPoint {
|
|
|
61
61
|
*/
|
|
62
62
|
setIsSecure(isSecure: boolean): void;
|
|
63
63
|
isSecure: boolean;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
rel?: string;
|
|
74
|
-
href?: string;
|
|
75
|
-
}[];
|
|
76
|
-
extId?: string;
|
|
77
|
-
recoveryPointType?: string;
|
|
78
|
-
status?: string;
|
|
79
|
-
expirationTime?: any;
|
|
80
|
-
creationTime?: any;
|
|
81
|
-
name?: string;
|
|
82
|
-
locationAgnosticId?: string;
|
|
83
|
-
isSecure?: boolean;
|
|
84
|
-
volumeGroupRecoveryPoints?: {
|
|
85
|
-
$reserved: any;
|
|
86
|
-
$objectType: string;
|
|
87
|
-
$unknownFields: any;
|
|
88
|
-
tenantId?: string;
|
|
89
|
-
links?: {
|
|
90
|
-
$reserved: any;
|
|
91
|
-
$objectType: string;
|
|
92
|
-
$unknownFields: any;
|
|
93
|
-
rel?: string;
|
|
94
|
-
href?: string;
|
|
95
|
-
}[];
|
|
96
|
-
extId?: string;
|
|
97
|
-
diskRecoveryPoints?: {
|
|
98
|
-
$reserved: any;
|
|
99
|
-
$objectType: string;
|
|
100
|
-
$unknownFields: any;
|
|
101
|
-
diskExtId?: string;
|
|
102
|
-
diskRecoveryPointExtId?: string;
|
|
103
|
-
}[];
|
|
104
|
-
volumeGroupCategories?: string[];
|
|
105
|
-
volumeGroupExtId?: string;
|
|
106
|
-
locationAgnosticId?: string;
|
|
107
|
-
consistencyGroupExtId?: string;
|
|
108
|
-
}[];
|
|
109
|
-
vmRecoveryPoints?: {
|
|
110
|
-
$reserved: any;
|
|
111
|
-
$objectType: string; /**
|
|
112
|
-
* Returns List of volume group recovery point that are a part of the specified top-level recovery point. Note that a recovery point can contain a maximum number of 32 entities. These entities can be a combination of VM(s) and volume group(s).
|
|
113
|
-
* @return {VolumeGroupRecoveryPoint[]}
|
|
114
|
-
*/
|
|
115
|
-
$unknownFields: any;
|
|
116
|
-
tenantId?: string;
|
|
117
|
-
links?: {
|
|
118
|
-
$reserved: any;
|
|
119
|
-
$objectType: string;
|
|
120
|
-
$unknownFields: any;
|
|
121
|
-
rel?: string;
|
|
122
|
-
href?: string;
|
|
123
|
-
}[];
|
|
124
|
-
extId?: string;
|
|
125
|
-
recoveryPointType?: string;
|
|
126
|
-
status?: string;
|
|
127
|
-
expirationTime?: any;
|
|
128
|
-
creationTime?: any;
|
|
129
|
-
name?: string;
|
|
130
|
-
locationAgnosticId?: string;
|
|
131
|
-
applicationConsistentProperties?: any;
|
|
132
|
-
vmCategories?: string[];
|
|
133
|
-
vmExtId?: string;
|
|
134
|
-
diskRecoveryPoints?: {
|
|
135
|
-
$reserved: any;
|
|
136
|
-
$objectType: string;
|
|
137
|
-
$unknownFields: any;
|
|
138
|
-
diskExtId?: string;
|
|
139
|
-
diskRecoveryPointExtId?: string;
|
|
140
|
-
}[];
|
|
141
|
-
consistencyGroupExtId?: string;
|
|
142
|
-
hypervisorType?: string;
|
|
143
|
-
}[];
|
|
144
|
-
locationReferences?: {
|
|
145
|
-
$reserved: any;
|
|
146
|
-
$objectType: string;
|
|
147
|
-
$unknownFields: any;
|
|
148
|
-
locationExtId?: string;
|
|
149
|
-
}[];
|
|
150
|
-
ownerExtId?: string;
|
|
151
|
-
};
|
|
64
|
+
/**
|
|
65
|
+
* @return {DisasterRecoveryLocation}
|
|
66
|
+
*/
|
|
67
|
+
getSourceLocation(): DisasterRecoveryLocation;
|
|
68
|
+
/**
|
|
69
|
+
* @param {DisasterRecoveryLocation} sourceLocation
|
|
70
|
+
*/
|
|
71
|
+
setSourceLocation(sourceLocation: DisasterRecoveryLocation): void;
|
|
72
|
+
sourceLocation: DisasterRecoveryLocation;
|
|
152
73
|
#private;
|
|
153
74
|
}
|
|
154
75
|
import BaseRecoveryPoint from "../common/BaseRecoveryPoint";
|
|
155
76
|
import LocationReference from "./LocationReference";
|
|
156
77
|
import VmRecoveryPoint from "./VmRecoveryPoint";
|
|
157
78
|
import VolumeGroupRecoveryPoint from "./VolumeGroupRecoveryPoint";
|
|
79
|
+
import DisasterRecoveryLocation from "./DisasterRecoveryLocation";
|