@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,291 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.RecoveryPlanJobsApi = void 0;
|
|
7
|
+
var _ApiClient = require("../ApiClient");
|
|
8
|
+
var _GetRecoveryPlanJobApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/GetRecoveryPlanJobApiResponse"));
|
|
9
|
+
var _DeleteRecoveryPlanJobApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/DeleteRecoveryPlanJobApiResponse"));
|
|
10
|
+
var _ListRecoveryPlanJobValidationErrorsApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/ListRecoveryPlanJobValidationErrorsApiResponse"));
|
|
11
|
+
var _ListRecoveryPlanJobsApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/ListRecoveryPlanJobsApiResponse"));
|
|
12
|
+
var _ListRecoveryPlanJobExecutionStepsApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/ListRecoveryPlanJobExecutionStepsApiResponse"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
/*
|
|
15
|
+
* Nutanix Data Protection APIs
|
|
16
|
+
*
|
|
17
|
+
* OpenAPI spec version: 4.2.1
|
|
18
|
+
*
|
|
19
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
20
|
+
*
|
|
21
|
+
* Open API Dev Platform Codegen version: 17.5.0.10128-RELEASE
|
|
22
|
+
*
|
|
23
|
+
* Do not edit the class manually.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* RecoveryPlanJobs service.
|
|
29
|
+
* @version 4.2.1
|
|
30
|
+
* @class RecoveryPlanJobsApi
|
|
31
|
+
*/
|
|
32
|
+
class RecoveryPlanJobsApi {
|
|
33
|
+
#headersToSkip;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Make the default {@link ApiClient} class available for developers to be able to extend it and bring
|
|
37
|
+
* their own fetch methods into the SDK
|
|
38
|
+
*/
|
|
39
|
+
static get ApiClient() {
|
|
40
|
+
return _ApiClient.ApiClient;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Constructs a new RecoveryPlanJobsApi.
|
|
45
|
+
* @alias module:api/RecoveryPlanJobsApi
|
|
46
|
+
* @class
|
|
47
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
48
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
49
|
+
*/
|
|
50
|
+
constructor(apiClient) {
|
|
51
|
+
this.apiClient = apiClient || _ApiClient.ApiClient.instance;
|
|
52
|
+
this.#headersToSkip = new Set();
|
|
53
|
+
this.#headersToSkip.add('authorization');
|
|
54
|
+
this.#headersToSkip.add('cookie');
|
|
55
|
+
this.#headersToSkip.add('host');
|
|
56
|
+
this.#headersToSkip.add('user-agent');
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Delete Recovery Plan Job
|
|
61
|
+
* Delete the Recovery Plan Job for the provided {extId}.
|
|
62
|
+
* @param { String } extId The external identifier of the recovery plan job.
|
|
63
|
+
* @param {Object} args Additional Arguments
|
|
64
|
+
* @return {Promise<DeleteRecoveryPlanJobApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link DeleteRecoveryPlanJobApiResponse } and HTTP response
|
|
65
|
+
*/
|
|
66
|
+
deleteRecoveryPlanJobById(extId, ...args) {
|
|
67
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
68
|
+
const postBody = null;
|
|
69
|
+
// verify the required parameter 'extId' is set
|
|
70
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
71
|
+
throw new Error("Missing the required parameter 'extId' when calling deleteRecoveryPlanJobById");
|
|
72
|
+
}
|
|
73
|
+
const pathParams = {
|
|
74
|
+
'extId': extId
|
|
75
|
+
};
|
|
76
|
+
const queryParams = {};
|
|
77
|
+
let headersToInclude = {};
|
|
78
|
+
Object.keys(argMap).forEach(header => {
|
|
79
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
80
|
+
headersToInclude[header] = argMap[header];
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
const headerParams = {
|
|
84
|
+
...headersToInclude
|
|
85
|
+
};
|
|
86
|
+
const formParams = {};
|
|
87
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
88
|
+
const contentTypes = [];
|
|
89
|
+
const accepts = ['application/json'];
|
|
90
|
+
const returnType = _DeleteRecoveryPlanJobApiResponse.default;
|
|
91
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/config/recovery-plan-jobs/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Get Recovery Plan Job
|
|
96
|
+
* Get the recovery plan job for the provided {extId}.
|
|
97
|
+
* @param { String } extId The external identifier of the recovery plan job.
|
|
98
|
+
* @param {Object} args Additional Arguments
|
|
99
|
+
* @return {Promise<GetRecoveryPlanJobApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetRecoveryPlanJobApiResponse } and HTTP response
|
|
100
|
+
*/
|
|
101
|
+
getRecoveryPlanJobById(extId, ...args) {
|
|
102
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
103
|
+
const postBody = null;
|
|
104
|
+
// verify the required parameter 'extId' is set
|
|
105
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
106
|
+
throw new Error("Missing the required parameter 'extId' when calling getRecoveryPlanJobById");
|
|
107
|
+
}
|
|
108
|
+
const pathParams = {
|
|
109
|
+
'extId': extId
|
|
110
|
+
};
|
|
111
|
+
const queryParams = {};
|
|
112
|
+
let headersToInclude = {};
|
|
113
|
+
Object.keys(argMap).forEach(header => {
|
|
114
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
115
|
+
headersToInclude[header] = argMap[header];
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
const headerParams = {
|
|
119
|
+
...headersToInclude
|
|
120
|
+
};
|
|
121
|
+
const formParams = {};
|
|
122
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
123
|
+
const contentTypes = [];
|
|
124
|
+
const accepts = ['application/json'];
|
|
125
|
+
const returnType = _GetRecoveryPlanJobApiResponse.default;
|
|
126
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/config/recovery-plan-jobs/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* List Recovery Plan Job Execution Steps
|
|
131
|
+
* Status of the steps executed in a recovery plan job.
|
|
132
|
+
* @param { String } recoveryPlanJobExtId The external identifier of the recovery plan job.
|
|
133
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
134
|
+
* @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
|
|
135
|
+
* @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
|
|
136
|
+
* @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
|
|
137
|
+
* For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.
|
|
138
|
+
* @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.
|
|
139
|
+
* @param {Object} args Additional Arguments
|
|
140
|
+
* @return {Promise<ListRecoveryPlanJobExecutionStepsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListRecoveryPlanJobExecutionStepsApiResponse } and HTTP response
|
|
141
|
+
*/
|
|
142
|
+
listExecutionStepsByRecoveryPlanJobId(recoveryPlanJobExtId, opts, ...args) {
|
|
143
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
144
|
+
opts = opts || {};
|
|
145
|
+
const postBody = null;
|
|
146
|
+
// verify the required parameter 'recoveryPlanJobExtId' is set
|
|
147
|
+
if (typeof recoveryPlanJobExtId === 'undefined' || recoveryPlanJobExtId === null) {
|
|
148
|
+
throw new Error("Missing the required parameter 'recoveryPlanJobExtId' when calling listExecutionStepsByRecoveryPlanJobId");
|
|
149
|
+
}
|
|
150
|
+
const pathParams = {
|
|
151
|
+
'recoveryPlanJobExtId': recoveryPlanJobExtId
|
|
152
|
+
};
|
|
153
|
+
const queryParams = {
|
|
154
|
+
...(opts.hasOwnProperty('$page') ? {
|
|
155
|
+
'$page': opts['$page']
|
|
156
|
+
} : {}),
|
|
157
|
+
...(opts.hasOwnProperty('$limit') ? {
|
|
158
|
+
'$limit': opts['$limit']
|
|
159
|
+
} : {}),
|
|
160
|
+
...(opts.hasOwnProperty('$filter') ? {
|
|
161
|
+
'$filter': opts['$filter']
|
|
162
|
+
} : {}),
|
|
163
|
+
...(opts.hasOwnProperty('$orderby') ? {
|
|
164
|
+
'$orderby': opts['$orderby']
|
|
165
|
+
} : {})
|
|
166
|
+
};
|
|
167
|
+
let headersToInclude = {};
|
|
168
|
+
Object.keys(argMap).forEach(header => {
|
|
169
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
170
|
+
headersToInclude[header] = argMap[header];
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
const headerParams = {
|
|
174
|
+
...headersToInclude
|
|
175
|
+
};
|
|
176
|
+
const formParams = {};
|
|
177
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
178
|
+
const contentTypes = [];
|
|
179
|
+
const accepts = ['application/json'];
|
|
180
|
+
const returnType = _ListRecoveryPlanJobExecutionStepsApiResponse.default;
|
|
181
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/config/recovery-plan-jobs/{recoveryPlanJobExtId}/execution-steps', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* List Recovery Plan Jobs
|
|
186
|
+
* List recovery plan jobs.
|
|
187
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
188
|
+
* @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
|
|
189
|
+
* @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
|
|
190
|
+
* @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
|
|
191
|
+
* For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.
|
|
192
|
+
* @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.
|
|
193
|
+
* @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
|
|
194
|
+
* @param {Object} args Additional Arguments
|
|
195
|
+
* @return {Promise<ListRecoveryPlanJobsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListRecoveryPlanJobsApiResponse } and HTTP response
|
|
196
|
+
*/
|
|
197
|
+
listRecoveryPlanJobs(opts, ...args) {
|
|
198
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
199
|
+
opts = opts || {};
|
|
200
|
+
const postBody = null;
|
|
201
|
+
const pathParams = {};
|
|
202
|
+
const queryParams = {
|
|
203
|
+
...(opts.hasOwnProperty('$page') ? {
|
|
204
|
+
'$page': opts['$page']
|
|
205
|
+
} : {}),
|
|
206
|
+
...(opts.hasOwnProperty('$limit') ? {
|
|
207
|
+
'$limit': opts['$limit']
|
|
208
|
+
} : {}),
|
|
209
|
+
...(opts.hasOwnProperty('$filter') ? {
|
|
210
|
+
'$filter': opts['$filter']
|
|
211
|
+
} : {}),
|
|
212
|
+
...(opts.hasOwnProperty('$orderby') ? {
|
|
213
|
+
'$orderby': opts['$orderby']
|
|
214
|
+
} : {}),
|
|
215
|
+
...(opts.hasOwnProperty('$select') ? {
|
|
216
|
+
'$select': opts['$select']
|
|
217
|
+
} : {})
|
|
218
|
+
};
|
|
219
|
+
let headersToInclude = {};
|
|
220
|
+
Object.keys(argMap).forEach(header => {
|
|
221
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
222
|
+
headersToInclude[header] = argMap[header];
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
const headerParams = {
|
|
226
|
+
...headersToInclude
|
|
227
|
+
};
|
|
228
|
+
const formParams = {};
|
|
229
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
230
|
+
const contentTypes = [];
|
|
231
|
+
const accepts = ['application/json'];
|
|
232
|
+
const returnType = _ListRecoveryPlanJobsApiResponse.default;
|
|
233
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/config/recovery-plan-jobs', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* List Recovery Plan Job Validation Errors
|
|
238
|
+
* Status of the validation errors that occurred in a recovery plan job. It returns the list of validation errors and warnings. Each error includes an error code (e.g., DP-303001) that can be used to identify the specific issue and resolution steps.<br><br> The error guide is present in the Recovery Plan Validation Errors Guide. For detailed error code descriptions, causes, impacts, and resolution steps, refer to <a href='https://portal.nutanix.com/page/documents/list?type=software&filterKey=software&filterVal=Nutanix%20Disaster%20Recovery' target='_blank'>Nutanix Disaster Recovery Documentation</a>.
|
|
239
|
+
* @param { String } recoveryPlanJobExtId The external identifier of the recovery plan job.
|
|
240
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
241
|
+
* @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
|
|
242
|
+
* @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
|
|
243
|
+
* @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
|
|
244
|
+
* For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.
|
|
245
|
+
* @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.
|
|
246
|
+
* @param {Object} args Additional Arguments
|
|
247
|
+
* @return {Promise<ListRecoveryPlanJobValidationErrorsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListRecoveryPlanJobValidationErrorsApiResponse } and HTTP response
|
|
248
|
+
*/
|
|
249
|
+
listValidationErrorsByRecoveryPlanJobId(recoveryPlanJobExtId, opts, ...args) {
|
|
250
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
251
|
+
opts = opts || {};
|
|
252
|
+
const postBody = null;
|
|
253
|
+
// verify the required parameter 'recoveryPlanJobExtId' is set
|
|
254
|
+
if (typeof recoveryPlanJobExtId === 'undefined' || recoveryPlanJobExtId === null) {
|
|
255
|
+
throw new Error("Missing the required parameter 'recoveryPlanJobExtId' when calling listValidationErrorsByRecoveryPlanJobId");
|
|
256
|
+
}
|
|
257
|
+
const pathParams = {
|
|
258
|
+
'recoveryPlanJobExtId': recoveryPlanJobExtId
|
|
259
|
+
};
|
|
260
|
+
const queryParams = {
|
|
261
|
+
...(opts.hasOwnProperty('$page') ? {
|
|
262
|
+
'$page': opts['$page']
|
|
263
|
+
} : {}),
|
|
264
|
+
...(opts.hasOwnProperty('$limit') ? {
|
|
265
|
+
'$limit': opts['$limit']
|
|
266
|
+
} : {}),
|
|
267
|
+
...(opts.hasOwnProperty('$filter') ? {
|
|
268
|
+
'$filter': opts['$filter']
|
|
269
|
+
} : {}),
|
|
270
|
+
...(opts.hasOwnProperty('$orderby') ? {
|
|
271
|
+
'$orderby': opts['$orderby']
|
|
272
|
+
} : {})
|
|
273
|
+
};
|
|
274
|
+
let headersToInclude = {};
|
|
275
|
+
Object.keys(argMap).forEach(header => {
|
|
276
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
277
|
+
headersToInclude[header] = argMap[header];
|
|
278
|
+
}
|
|
279
|
+
});
|
|
280
|
+
const headerParams = {
|
|
281
|
+
...headersToInclude
|
|
282
|
+
};
|
|
283
|
+
const formParams = {};
|
|
284
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
285
|
+
const contentTypes = [];
|
|
286
|
+
const accepts = ['application/json'];
|
|
287
|
+
const returnType = _ListRecoveryPlanJobValidationErrorsApiResponse.default;
|
|
288
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/config/recovery-plan-jobs/{recoveryPlanJobExtId}/validation-errors', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
exports.RecoveryPlanJobsApi = RecoveryPlanJobsApi;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* RecoveryPoints service.
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.2.1
|
|
4
4
|
* @class RecoveryPointsApi
|
|
5
5
|
*/
|
|
6
6
|
export class RecoveryPointsApi {
|
|
@@ -62,7 +62,7 @@ export class RecoveryPointsApi {
|
|
|
62
62
|
getVmRecoveryPointById(recoveryPointExtId: string, extId: string, ...args: any): Promise<GetVmRecoveryPointApiResponse>;
|
|
63
63
|
/**
|
|
64
64
|
* Get VSS metadata by VM recovery point ID
|
|
65
|
-
* The metadata documents of Volume Shadow Copy Service (VSS) writers and requesters are called VSS metadata. During a VSS backup operation, the VSS metadata is compressed into a cabinet file, which is in a .cab file format designed to store compressed files. This cabinet file must be saved to the backup media during a backup operation, as it
|
|
65
|
+
* The metadata documents of Volume Shadow Copy Service (VSS) writers and requesters are called VSS metadata. During a VSS backup operation, the VSS metadata is compressed into a cabinet file, which is in a .cab file format designed to store compressed files. This cabinet file must be saved to the backup media during a backup operation, as it is required during a restore operation. This API returns the VSS metadata (cabinet file) of a VM recovery point under a composite recovery point that is identified by an external identifier. This external identifier was saved during the recovery point creation operation.
|
|
66
66
|
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
67
67
|
* @param { String } vmRecoveryPointExtId The external identifier that can be used to identify a VM recovery point.
|
|
68
68
|
* @param {Object} args Additional Arguments
|