@nutanix-scratch/dataprotection-js-client 4.0.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 +55 -48
- package/dist/Ntnx-Dataprotection-js-client-prod.js +1 -1
- package/dist/Ntnx-Dataprotection-js-client.js +1327 -540
- package/dist/es/ApiClient.d.ts +35 -7
- package/dist/es/ApiClient.js +862 -684
- 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 +7 -7
- package/dist/es/apis/protectedresources-endpoints.js +129 -147
- 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 +7 -27
- package/dist/es/apis/recoverypoints-endpoints.js +530 -571
- package/dist/es/index.d.ts +149 -7
- package/dist/es/index.js +883 -315
- 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 +5 -10
- package/dist/es/models/common/v1/config/TenantAwareModel.js +138 -178
- 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 +155 -203
- 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 +281 -302
- package/dist/es/models/dataprotection/v4/common/BaseVmRecoveryPoint.d.ts +1 -32
- package/dist/es/models/dataprotection/v4/common/BaseVmRecoveryPoint.js +295 -336
- 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 +4 -46
- package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.js +72 -226
- 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 +247 -303
- 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 +2 -43
- package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js +187 -242
- 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 +12 -18
- package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.js +178 -219
- package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +2 -43
- package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js +190 -245
- package/dist/{lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.d.ts → es/models/dataprotection/v4/config/DeleteRecoveryPlanJobApiResponse.d.ts} +9 -50
- 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/{IpAddress.d.ts → EntityReference.d.ts} +21 -26
- 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 +146 -183
- 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 +154 -198
- package/dist/es/models/dataprotection/v4/config/HostType.js +7 -9
- package/dist/es/models/dataprotection/v4/config/HypervisorType.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/config/HypervisorType.js +83 -0
- 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 +7 -75
- package/dist/es/models/dataprotection/v4/config/ProtectedResource.js +309 -371
- 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 +10 -12
- 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 +10 -16
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +172 -213
- package/dist/es/models/dataprotection/v4/config/RecoveryInfo.d.ts +2 -13
- package/dist/es/models/dataprotection/v4/config/RecoveryInfo.js +150 -193
- 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 +34 -96
- package/dist/es/models/dataprotection/v4/config/RecoveryPoint.js +348 -323
- 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 +197 -247
- 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 -31
- 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 +222 -267
- package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.d.ts +2 -8
- package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.js +167 -208
- 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 +11 -13
- package/dist/es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +2 -43
- package/dist/es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.js +209 -264
- 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 +12 -1
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.js +291 -102
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +26 -7
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +232 -181
- 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 +284 -307
- 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 +149 -193
- package/dist/es/models/dataprotection/v4/config/Witness.d.ts +1 -34
- package/dist/es/models/dataprotection/v4/config/Witness.js +227 -279
- 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 +3 -9
- package/dist/es/models/dataprotection/v4/content/ClusterDiscoverSpec.js +180 -225
- package/dist/es/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.d.ts +11 -17
- package/dist/es/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.js +201 -250
- 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 +131 -170
- package/dist/es/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.d.ts +10 -21
- package/dist/es/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.js +192 -233
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.d.ts +4 -12
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.js +131 -170
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.d.ts +4 -12
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.js +132 -171
- package/dist/es/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.d.ts +10 -21
- package/dist/es/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.js +193 -234
- package/dist/es/models/dataprotection/v4/error/AppMessage.d.ts +5 -15
- package/dist/es/models/dataprotection/v4/error/AppMessage.js +265 -314
- package/dist/es/models/dataprotection/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/es/models/dataprotection/v4/error/ErrorResponse.js +192 -224
- 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/{config/MigrateConsistencyGroupApiResponse.d.ts → operations/CleanupRecoveryPlanResourcesApiResponse.d.ts} +9 -50
- 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/{config/SynchronousReplicaPromoteApiResponse.d.ts → operations/TestFailoverRecoveryPlanApiResponse.d.ts} +9 -50
- 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 +5 -10
- package/dist/es/models/prism/v4/config/TaskReference.js +151 -186
- 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 +47 -0
- package/dist/es/models/vmm/v4/ahv/config/CategoryReference.js +238 -0
- 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 +47 -0
- package/dist/es/models/vmm/v4/ahv/config/OwnerReference.js +238 -0
- package/dist/es/models/vmm/v4/ahv/config/OwnershipInfo.d.ts +46 -0
- package/dist/es/models/vmm/v4/ahv/config/OwnershipInfo.js +233 -0
- package/dist/es/models/vmm/v4/ahv/config/SubnetReference.d.ts +47 -0
- package/dist/es/models/vmm/v4/ahv/config/SubnetReference.js +238 -0
- package/dist/es/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.d.ts +100 -0
- package/dist/es/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.js +422 -0
- 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 +57 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.js +278 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.d.ts +91 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.js +374 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.d.ts +59 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.js +289 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.d.ts +56 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.js +269 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.d.ts +47 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.js +238 -0
- package/dist/es/utils/ValidationUtils.js +39 -69
- package/dist/lib/ApiClient.d.ts +35 -7
- package/dist/lib/ApiClient.js +862 -684
- 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 +7 -7
- package/dist/lib/apis/protectedresources-endpoints.js +129 -147
- 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 +7 -27
- package/dist/lib/apis/recoverypoints-endpoints.js +530 -571
- package/dist/lib/index.d.ts +149 -7
- package/dist/lib/index.js +883 -315
- 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 +5 -10
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +138 -178
- 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 +155 -203
- 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 +281 -302
- package/dist/lib/models/dataprotection/v4/common/BaseVmRecoveryPoint.d.ts +1 -32
- package/dist/lib/models/dataprotection/v4/common/BaseVmRecoveryPoint.js +295 -336
- 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 +4 -46
- package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.js +72 -226
- 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 +247 -303
- 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 +2 -43
- package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js +187 -242
- 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 +12 -18
- package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.js +178 -219
- package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js +190 -245
- 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/{IpAddress.d.ts → EntityReference.d.ts} +21 -26
- 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 +146 -183
- 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 +154 -198
- package/dist/lib/models/dataprotection/v4/config/HostType.js +7 -9
- package/dist/lib/models/dataprotection/v4/config/HypervisorType.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/HypervisorType.js +83 -0
- 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 +7 -75
- package/dist/lib/models/dataprotection/v4/config/ProtectedResource.js +309 -371
- 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 +10 -12
- 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 +10 -16
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +172 -213
- package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.d.ts +2 -13
- package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.js +150 -193
- 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 +34 -96
- package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.js +348 -323
- 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 +197 -247
- 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 -31
- 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 +222 -267
- package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.d.ts +2 -8
- package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.js +167 -208
- 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 +11 -13
- package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +2 -43
- package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.js +209 -264
- 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 +12 -1
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.js +291 -102
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +26 -7
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +232 -181
- 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 +284 -307
- 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 +149 -193
- package/dist/lib/models/dataprotection/v4/config/Witness.d.ts +1 -34
- package/dist/lib/models/dataprotection/v4/config/Witness.js +227 -279
- 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 +3 -9
- package/dist/lib/models/dataprotection/v4/content/ClusterDiscoverSpec.js +180 -225
- package/dist/lib/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.d.ts +11 -17
- package/dist/lib/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.js +201 -250
- 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 +131 -170
- package/dist/lib/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.d.ts +10 -21
- package/dist/lib/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.js +192 -233
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.d.ts +4 -12
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.js +131 -170
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.d.ts +4 -12
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.js +132 -171
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.d.ts +10 -21
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.js +193 -234
- package/dist/lib/models/dataprotection/v4/error/AppMessage.d.ts +5 -15
- package/dist/lib/models/dataprotection/v4/error/AppMessage.js +265 -314
- package/dist/lib/models/dataprotection/v4/error/ErrorResponse.d.ts +2 -7
- package/dist/lib/models/dataprotection/v4/error/ErrorResponse.js +192 -224
- 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/{config/SynchronousReplicaPromoteApiResponse.d.ts → operations/TestFailoverRecoveryPlanApiResponse.d.ts} +9 -50
- 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 +5 -10
- package/dist/lib/models/prism/v4/config/TaskReference.js +151 -186
- 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 +47 -0
- package/dist/lib/models/vmm/v4/ahv/config/CategoryReference.js +238 -0
- 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 +47 -0
- package/dist/lib/models/vmm/v4/ahv/config/OwnerReference.js +238 -0
- package/dist/lib/models/vmm/v4/ahv/config/OwnershipInfo.d.ts +46 -0
- package/dist/lib/models/vmm/v4/ahv/config/OwnershipInfo.js +233 -0
- package/dist/lib/models/vmm/v4/ahv/config/SubnetReference.d.ts +47 -0
- package/dist/lib/models/vmm/v4/ahv/config/SubnetReference.js +238 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.d.ts +100 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.js +422 -0
- 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 +57 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.js +278 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.d.ts +91 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.js +374 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.d.ts +59 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.js +289 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.d.ts +56 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.js +269 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.d.ts +47 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.js +238 -0
- package/dist/lib/utils/ValidationUtils.js +39 -69
- package/package.json +2 -2
- package/dist/es/models/dataprotection/v4/config/IpAddress.js +0 -282
- package/dist/es/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js +0 -343
- package/dist/es/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js +0 -343
- package/dist/lib/models/dataprotection/v4/config/IpAddress.js +0 -282
- package/dist/lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js +0 -343
- package/dist/lib/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js +0 -343
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -25,38 +24,36 @@ var _VolumeGroupRecoveryPointChangedRegionsComputeSpec = _interopRequireDefault(
|
|
|
25
24
|
var _ChangedVolumeGroupRegionsApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse"));
|
|
26
25
|
var _RecoveryPointReplicationSpec = _interopRequireDefault(require("../models/dataprotection/v4/config/RecoveryPointReplicationSpec"));
|
|
27
26
|
var _UpdateRecoveryPointExpirationTimeApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse"));
|
|
28
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : {
|
|
29
|
-
|
|
30
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
31
|
-
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
32
|
-
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
33
|
-
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
34
|
-
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
35
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
36
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
37
|
-
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
38
|
-
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
39
|
-
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
40
|
-
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
41
|
-
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
27
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
28
|
+
/*
|
|
42
29
|
* Nutanix Data Protection APIs
|
|
43
30
|
*
|
|
44
|
-
* OpenAPI spec version: 4.
|
|
31
|
+
* OpenAPI spec version: 4.2.1
|
|
45
32
|
*
|
|
46
33
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
47
34
|
*
|
|
48
|
-
* Open API Dev Platform Codegen version:
|
|
35
|
+
* Open API Dev Platform Codegen version: 17.5.0.10128-RELEASE
|
|
49
36
|
*
|
|
50
37
|
* Do not edit the class manually.
|
|
51
38
|
*
|
|
52
39
|
*/
|
|
40
|
+
|
|
53
41
|
/**
|
|
54
42
|
* RecoveryPoints service.
|
|
55
|
-
* @version 4.
|
|
43
|
+
* @version 4.2.1
|
|
56
44
|
* @class RecoveryPointsApi
|
|
57
45
|
*/
|
|
58
|
-
|
|
59
|
-
|
|
46
|
+
class RecoveryPointsApi {
|
|
47
|
+
#headersToSkip;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Make the default {@link ApiClient} class available for developers to be able to extend it and bring
|
|
51
|
+
* their own fetch methods into the SDK
|
|
52
|
+
*/
|
|
53
|
+
static get ApiClient() {
|
|
54
|
+
return _ApiClient.ApiClient;
|
|
55
|
+
}
|
|
56
|
+
|
|
60
57
|
/**
|
|
61
58
|
* Constructs a new RecoveryPointsApi.
|
|
62
59
|
* @alias module:api/RecoveryPointsApi
|
|
@@ -64,15 +61,13 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
64
61
|
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
65
62
|
* default to {@link module:ApiClient#instance} if unspecified.
|
|
66
63
|
*/
|
|
67
|
-
|
|
68
|
-
_classCallCheck(this, RecoveryPointsApi);
|
|
69
|
-
_classPrivateFieldInitSpec(this, _headersToSkip, void 0);
|
|
64
|
+
constructor(apiClient) {
|
|
70
65
|
this.apiClient = apiClient || _ApiClient.ApiClient.instance;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
66
|
+
this.#headersToSkip = new Set();
|
|
67
|
+
this.#headersToSkip.add('authorization');
|
|
68
|
+
this.#headersToSkip.add('cookie');
|
|
69
|
+
this.#headersToSkip.add('host');
|
|
70
|
+
this.#headersToSkip.add('user-agent');
|
|
76
71
|
}
|
|
77
72
|
|
|
78
73
|
/**
|
|
@@ -82,574 +77,538 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
82
77
|
* @param {Object} args Additional Arguments
|
|
83
78
|
* @return {Promise<CreateRecoveryPointApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CreateRecoveryPointApiResponse } and HTTP response
|
|
84
79
|
*/
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
postBody = body.toJson();
|
|
93
|
-
} else {
|
|
94
|
-
postBody = body;
|
|
95
|
-
}
|
|
96
|
-
// verify the required parameter 'body' is set
|
|
97
|
-
if (typeof postBody === 'undefined' || postBody === null) {
|
|
98
|
-
throw new Error("Invalid body when calling createRecoveryPoint");
|
|
99
|
-
}
|
|
100
|
-
var pathParams = {};
|
|
101
|
-
var queryParams = {};
|
|
102
|
-
var headersToInclude = {};
|
|
103
|
-
Object.keys(argMap).forEach(function (header) {
|
|
104
|
-
if (!_classPrivateFieldGet(_headersToSkip, _this).has(header.toLowerCase())) {
|
|
105
|
-
headersToInclude[header] = argMap[header];
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
109
|
-
var formParams = {};
|
|
110
|
-
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
111
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
112
|
-
var contentTypes = ['application/json'];
|
|
113
|
-
var accepts = ['application/json'];
|
|
114
|
-
var returnType = _CreateRecoveryPointApiResponse["default"];
|
|
115
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
80
|
+
createRecoveryPoint(body, ...args) {
|
|
81
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
82
|
+
let postBody = null;
|
|
83
|
+
if (body instanceof _RecoveryPoint.default && typeof body.toJson === 'function') {
|
|
84
|
+
postBody = body.toJson();
|
|
85
|
+
} else {
|
|
86
|
+
postBody = body;
|
|
116
87
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
* Delete the recovery point identified by {extId}.
|
|
121
|
-
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
122
|
-
* @param {Object} args Additional Arguments
|
|
123
|
-
* @return {Promise<DeleteRecoveryPointApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link DeleteRecoveryPointApiResponse } and HTTP response
|
|
124
|
-
*/
|
|
125
|
-
}, {
|
|
126
|
-
key: "deleteRecoveryPointById",
|
|
127
|
-
value: function deleteRecoveryPointById(extId) {
|
|
128
|
-
var _this2 = this;
|
|
129
|
-
var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
|
|
130
|
-
var postBody = null;
|
|
131
|
-
// verify the required parameter 'extId' is set
|
|
132
|
-
if (typeof extId === 'undefined' || extId === null) {
|
|
133
|
-
throw new Error("Missing the required parameter 'extId' when calling deleteRecoveryPointById");
|
|
134
|
-
}
|
|
135
|
-
var pathParams = {
|
|
136
|
-
'extId': extId
|
|
137
|
-
};
|
|
138
|
-
var queryParams = {};
|
|
139
|
-
var headersToInclude = {};
|
|
140
|
-
Object.keys(argMap).forEach(function (header) {
|
|
141
|
-
if (!_classPrivateFieldGet(_headersToSkip, _this2).has(header.toLowerCase())) {
|
|
142
|
-
headersToInclude[header] = argMap[header];
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
146
|
-
var formParams = {};
|
|
147
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
148
|
-
var contentTypes = [];
|
|
149
|
-
var accepts = ['application/json'];
|
|
150
|
-
var returnType = _DeleteRecoveryPointApiResponse["default"];
|
|
151
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
88
|
+
// verify the required parameter 'body' is set
|
|
89
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
90
|
+
throw new Error("Invalid body when calling createRecoveryPoint");
|
|
152
91
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
* @param {Object} args Additional Arguments
|
|
160
|
-
* @return {Promise<ClusterInfoApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ClusterInfoApiResponse } and HTTP response
|
|
161
|
-
*/
|
|
162
|
-
}, {
|
|
163
|
-
key: "discoverClusterForRecoveryPointId",
|
|
164
|
-
value: function discoverClusterForRecoveryPointId(extId, body) {
|
|
165
|
-
var _this3 = this;
|
|
166
|
-
var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
|
|
167
|
-
var postBody = null;
|
|
168
|
-
if (body instanceof _ClusterDiscoverSpec["default"] && typeof body.toJson === 'function') {
|
|
169
|
-
postBody = body.toJson();
|
|
170
|
-
} else {
|
|
171
|
-
postBody = body;
|
|
172
|
-
}
|
|
173
|
-
// verify the required parameter 'extId' is set
|
|
174
|
-
if (typeof extId === 'undefined' || extId === null) {
|
|
175
|
-
throw new Error("Missing the required parameter 'extId' when calling discoverClusterForRecoveryPointId");
|
|
92
|
+
const pathParams = {};
|
|
93
|
+
const queryParams = {};
|
|
94
|
+
let headersToInclude = {};
|
|
95
|
+
Object.keys(argMap).forEach(header => {
|
|
96
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
97
|
+
headersToInclude[header] = argMap[header];
|
|
176
98
|
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
});
|
|
191
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
192
|
-
var formParams = {};
|
|
193
|
-
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
194
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
195
|
-
var contentTypes = ['application/json'];
|
|
196
|
-
var accepts = ['application/json'];
|
|
197
|
-
var returnType = _ClusterInfoApiResponse["default"];
|
|
198
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{extId}/$actions/discover-cluster', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
199
|
-
}
|
|
99
|
+
});
|
|
100
|
+
const headerParams = {
|
|
101
|
+
...headersToInclude
|
|
102
|
+
};
|
|
103
|
+
const formParams = {};
|
|
104
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
105
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
106
|
+
const contentTypes = ['application/json'];
|
|
107
|
+
const accepts = ['application/json'];
|
|
108
|
+
const returnType = _CreateRecoveryPointApiResponse.default;
|
|
109
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/config/recovery-points', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
110
|
+
}
|
|
200
111
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
// verify the required parameter 'extId' is set
|
|
215
|
-
if (typeof extId === 'undefined' || extId === null) {
|
|
216
|
-
throw new Error("Missing the required parameter 'extId' when calling getRecoveryPointById");
|
|
217
|
-
}
|
|
218
|
-
var pathParams = {
|
|
219
|
-
'extId': extId
|
|
220
|
-
};
|
|
221
|
-
var queryParams = {};
|
|
222
|
-
var headersToInclude = {};
|
|
223
|
-
Object.keys(argMap).forEach(function (header) {
|
|
224
|
-
if (!_classPrivateFieldGet(_headersToSkip, _this4).has(header.toLowerCase())) {
|
|
225
|
-
headersToInclude[header] = argMap[header];
|
|
226
|
-
}
|
|
227
|
-
});
|
|
228
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
229
|
-
var formParams = {};
|
|
230
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
231
|
-
var contentTypes = [];
|
|
232
|
-
var accepts = ['application/json'];
|
|
233
|
-
var returnType = _GetRecoveryPointApiResponse["default"];
|
|
234
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
112
|
+
/**
|
|
113
|
+
* Delete a recovery point
|
|
114
|
+
* Delete the recovery point identified by {extId}.
|
|
115
|
+
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
116
|
+
* @param {Object} args Additional Arguments
|
|
117
|
+
* @return {Promise<DeleteRecoveryPointApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link DeleteRecoveryPointApiResponse } and HTTP response
|
|
118
|
+
*/
|
|
119
|
+
deleteRecoveryPointById(extId, ...args) {
|
|
120
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
121
|
+
const postBody = null;
|
|
122
|
+
// verify the required parameter 'extId' is set
|
|
123
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
124
|
+
throw new Error("Missing the required parameter 'extId' when calling deleteRecoveryPointById");
|
|
235
125
|
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
*/
|
|
245
|
-
}, {
|
|
246
|
-
key: "getVmRecoveryPointById",
|
|
247
|
-
value: function getVmRecoveryPointById(recoveryPointExtId, extId) {
|
|
248
|
-
var _this5 = this;
|
|
249
|
-
var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
|
|
250
|
-
var postBody = null;
|
|
251
|
-
// verify the required parameter 'recoveryPointExtId' is set
|
|
252
|
-
if (typeof recoveryPointExtId === 'undefined' || recoveryPointExtId === null) {
|
|
253
|
-
throw new Error("Missing the required parameter 'recoveryPointExtId' when calling getVmRecoveryPointById");
|
|
254
|
-
}
|
|
255
|
-
// verify the required parameter 'extId' is set
|
|
256
|
-
if (typeof extId === 'undefined' || extId === null) {
|
|
257
|
-
throw new Error("Missing the required parameter 'extId' when calling getVmRecoveryPointById");
|
|
126
|
+
const pathParams = {
|
|
127
|
+
'extId': extId
|
|
128
|
+
};
|
|
129
|
+
const queryParams = {};
|
|
130
|
+
let headersToInclude = {};
|
|
131
|
+
Object.keys(argMap).forEach(header => {
|
|
132
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
133
|
+
headersToInclude[header] = argMap[header];
|
|
258
134
|
}
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
135
|
+
});
|
|
136
|
+
const headerParams = {
|
|
137
|
+
...headersToInclude
|
|
138
|
+
};
|
|
139
|
+
const formParams = {};
|
|
140
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
141
|
+
const contentTypes = [];
|
|
142
|
+
const accepts = ['application/json'];
|
|
143
|
+
const returnType = _DeleteRecoveryPointApiResponse.default;
|
|
144
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/config/recovery-points/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Discover cluster details for a recovery point
|
|
149
|
+
* It returns cluster details where the given recovery point is located, and a certificate to access the endpoint. The certificate must be set as a NTNX_IGW_SESSION cookie in the header. For example, Cookie: NTNX_IGW_SESSION='certificate'
|
|
150
|
+
* @param { Required<Pick<ClusterDiscoverSpec, 'operation' | 'spec'>> & Partial<ClusterDiscoverSpec> } body specification
|
|
151
|
+
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
152
|
+
* @param {Object} args Additional Arguments
|
|
153
|
+
* @return {Promise<ClusterInfoApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ClusterInfoApiResponse } and HTTP response
|
|
154
|
+
*/
|
|
155
|
+
discoverClusterForRecoveryPointId(extId, body, ...args) {
|
|
156
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
157
|
+
let postBody = null;
|
|
158
|
+
if (body instanceof _ClusterDiscoverSpec.default && typeof body.toJson === 'function') {
|
|
159
|
+
postBody = body.toJson();
|
|
160
|
+
} else {
|
|
161
|
+
postBody = body;
|
|
277
162
|
}
|
|
163
|
+
// verify the required parameter 'extId' is set
|
|
164
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
165
|
+
throw new Error("Missing the required parameter 'extId' when calling discoverClusterForRecoveryPointId");
|
|
166
|
+
}
|
|
167
|
+
// verify the required parameter 'body' is set
|
|
168
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
169
|
+
throw new Error("Invalid body when calling discoverClusterForRecoveryPointId");
|
|
170
|
+
}
|
|
171
|
+
const pathParams = {
|
|
172
|
+
'extId': extId
|
|
173
|
+
};
|
|
174
|
+
const queryParams = {};
|
|
175
|
+
let headersToInclude = {};
|
|
176
|
+
Object.keys(argMap).forEach(header => {
|
|
177
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
178
|
+
headersToInclude[header] = argMap[header];
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
const headerParams = {
|
|
182
|
+
...headersToInclude
|
|
183
|
+
};
|
|
184
|
+
const formParams = {};
|
|
185
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
186
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
187
|
+
const contentTypes = ['application/json'];
|
|
188
|
+
const accepts = ['application/json'];
|
|
189
|
+
const returnType = _ClusterInfoApiResponse.default;
|
|
190
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/config/recovery-points/{extId}/$actions/discover-cluster', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
191
|
+
}
|
|
278
192
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
193
|
+
/**
|
|
194
|
+
* Get a recovery point
|
|
195
|
+
* Query the recovery point identified by {extId}.
|
|
196
|
+
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
197
|
+
* @param {Object} args Additional Arguments
|
|
198
|
+
* @return {Promise<GetRecoveryPointApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetRecoveryPointApiResponse } and HTTP response
|
|
199
|
+
*/
|
|
200
|
+
getRecoveryPointById(extId, ...args) {
|
|
201
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
202
|
+
const postBody = null;
|
|
203
|
+
// verify the required parameter 'extId' is set
|
|
204
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
205
|
+
throw new Error("Missing the required parameter 'extId' when calling getRecoveryPointById");
|
|
206
|
+
}
|
|
207
|
+
const pathParams = {
|
|
208
|
+
'extId': extId
|
|
209
|
+
};
|
|
210
|
+
const queryParams = {};
|
|
211
|
+
let headersToInclude = {};
|
|
212
|
+
Object.keys(argMap).forEach(header => {
|
|
213
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
214
|
+
headersToInclude[header] = argMap[header];
|
|
296
215
|
}
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
216
|
+
});
|
|
217
|
+
const headerParams = {
|
|
218
|
+
...headersToInclude
|
|
219
|
+
};
|
|
220
|
+
const formParams = {};
|
|
221
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
222
|
+
const contentTypes = [];
|
|
223
|
+
const accepts = ['application/json'];
|
|
224
|
+
const returnType = _GetRecoveryPointApiResponse.default;
|
|
225
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/config/recovery-points/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Get a VM recovery point
|
|
230
|
+
* Query the VM recovery point identified by {extId}.
|
|
231
|
+
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
232
|
+
* @param { String } extId The external identifier that can be used to identify a VM recovery point.
|
|
233
|
+
* @param {Object} args Additional Arguments
|
|
234
|
+
* @return {Promise<GetVmRecoveryPointApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetVmRecoveryPointApiResponse } and HTTP response
|
|
235
|
+
*/
|
|
236
|
+
getVmRecoveryPointById(recoveryPointExtId, extId, ...args) {
|
|
237
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
238
|
+
const postBody = null;
|
|
239
|
+
// verify the required parameter 'recoveryPointExtId' is set
|
|
240
|
+
if (typeof recoveryPointExtId === 'undefined' || recoveryPointExtId === null) {
|
|
241
|
+
throw new Error("Missing the required parameter 'recoveryPointExtId' when calling getVmRecoveryPointById");
|
|
242
|
+
}
|
|
243
|
+
// verify the required parameter 'extId' is set
|
|
244
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
245
|
+
throw new Error("Missing the required parameter 'extId' when calling getVmRecoveryPointById");
|
|
246
|
+
}
|
|
247
|
+
const pathParams = {
|
|
248
|
+
'recoveryPointExtId': recoveryPointExtId,
|
|
249
|
+
'extId': extId
|
|
250
|
+
};
|
|
251
|
+
const queryParams = {};
|
|
252
|
+
let headersToInclude = {};
|
|
253
|
+
Object.keys(argMap).forEach(header => {
|
|
254
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
255
|
+
headersToInclude[header] = argMap[header];
|
|
300
256
|
}
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
257
|
+
});
|
|
258
|
+
const headerParams = {
|
|
259
|
+
...headersToInclude
|
|
260
|
+
};
|
|
261
|
+
const formParams = {};
|
|
262
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
263
|
+
const contentTypes = [];
|
|
264
|
+
const accepts = ['application/json'];
|
|
265
|
+
const returnType = _GetVmRecoveryPointApiResponse.default;
|
|
266
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/config/recovery-points/{recoveryPointExtId}/vm-recovery-points/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Get VSS metadata by VM recovery point ID
|
|
271
|
+
* 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.
|
|
272
|
+
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
273
|
+
* @param { String } vmRecoveryPointExtId The external identifier that can be used to identify a VM recovery point.
|
|
274
|
+
* @param {Object} args Additional Arguments
|
|
275
|
+
* @return {Promise<GetVssMetadataApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetVssMetadataApiResponse } and HTTP response
|
|
276
|
+
*/
|
|
277
|
+
getVssMetadataByVmRecoveryPointId(recoveryPointExtId, vmRecoveryPointExtId, ...args) {
|
|
278
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
279
|
+
const postBody = null;
|
|
280
|
+
// verify the required parameter 'recoveryPointExtId' is set
|
|
281
|
+
if (typeof recoveryPointExtId === 'undefined' || recoveryPointExtId === null) {
|
|
282
|
+
throw new Error("Missing the required parameter 'recoveryPointExtId' when calling getVssMetadataByVmRecoveryPointId");
|
|
283
|
+
}
|
|
284
|
+
// verify the required parameter 'vmRecoveryPointExtId' is set
|
|
285
|
+
if (typeof vmRecoveryPointExtId === 'undefined' || vmRecoveryPointExtId === null) {
|
|
286
|
+
throw new Error("Missing the required parameter 'vmRecoveryPointExtId' when calling getVssMetadataByVmRecoveryPointId");
|
|
319
287
|
}
|
|
288
|
+
const pathParams = {
|
|
289
|
+
'recoveryPointExtId': recoveryPointExtId,
|
|
290
|
+
'vmRecoveryPointExtId': vmRecoveryPointExtId
|
|
291
|
+
};
|
|
292
|
+
const queryParams = {};
|
|
293
|
+
let headersToInclude = {};
|
|
294
|
+
Object.keys(argMap).forEach(header => {
|
|
295
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
296
|
+
headersToInclude[header] = argMap[header];
|
|
297
|
+
}
|
|
298
|
+
});
|
|
299
|
+
const headerParams = {
|
|
300
|
+
...headersToInclude
|
|
301
|
+
};
|
|
302
|
+
const formParams = {};
|
|
303
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
304
|
+
const contentTypes = [];
|
|
305
|
+
const accepts = ['application/octet-stream', 'application/json'];
|
|
306
|
+
const returnType = _GetVssMetadataApiResponse.default;
|
|
307
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/content/recovery-points/{recoveryPointExtId}/vm-recovery-points/{vmRecoveryPointExtId}/vss-metadata', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
308
|
+
}
|
|
320
309
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
* - expirationTime<br>
|
|
343
|
-
* - name<br>
|
|
344
|
-
* - ownerExtId
|
|
345
|
-
* @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.
|
|
346
|
-
- creationTime
|
|
347
|
-
- expirationTime
|
|
348
|
-
- extId
|
|
349
|
-
- name
|
|
350
|
-
- recoveryPointType
|
|
351
|
-
* @param {Object} args Additional Arguments
|
|
352
|
-
* @return {Promise<ListRecoveryPointsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListRecoveryPointsApiResponse } and HTTP response
|
|
353
|
-
*/
|
|
354
|
-
}, {
|
|
355
|
-
key: "listRecoveryPoints",
|
|
356
|
-
value: function listRecoveryPoints(opts) {
|
|
357
|
-
var _this7 = this;
|
|
358
|
-
var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
|
|
359
|
-
opts = opts || {};
|
|
360
|
-
var postBody = null;
|
|
361
|
-
var pathParams = {};
|
|
362
|
-
var queryParams = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, opts.hasOwnProperty('$page') ? {
|
|
310
|
+
/**
|
|
311
|
+
* List recovery points
|
|
312
|
+
* List of recovery points.
|
|
313
|
+
* @param {Object} opts Optional parameters defined for the operation
|
|
314
|
+
* @param { String } opts.xClusterId Cluster type from which recovery points must be fetched. Valid values: [AOS, MST]
|
|
315
|
+
* @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.
|
|
316
|
+
* @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.
|
|
317
|
+
* @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>
|
|
318
|
+
* 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'.
|
|
319
|
+
* @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.
|
|
320
|
+
* @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.
|
|
321
|
+
* @param {Object} args Additional Arguments
|
|
322
|
+
* @return {Promise<ListRecoveryPointsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListRecoveryPointsApiResponse } and HTTP response
|
|
323
|
+
*/
|
|
324
|
+
listRecoveryPoints(opts, ...args) {
|
|
325
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
326
|
+
opts = opts || {};
|
|
327
|
+
const postBody = null;
|
|
328
|
+
const pathParams = {};
|
|
329
|
+
const queryParams = {
|
|
330
|
+
...(opts.hasOwnProperty('$page') ? {
|
|
363
331
|
'$page': opts['$page']
|
|
364
|
-
} : {}),
|
|
332
|
+
} : {}),
|
|
333
|
+
...(opts.hasOwnProperty('$limit') ? {
|
|
365
334
|
'$limit': opts['$limit']
|
|
366
|
-
} : {}),
|
|
335
|
+
} : {}),
|
|
336
|
+
...(opts.hasOwnProperty('$filter') ? {
|
|
367
337
|
'$filter': opts['$filter']
|
|
368
|
-
} : {}),
|
|
338
|
+
} : {}),
|
|
339
|
+
...(opts.hasOwnProperty('$orderby') ? {
|
|
369
340
|
'$orderby': opts['$orderby']
|
|
370
|
-
} : {}),
|
|
341
|
+
} : {}),
|
|
342
|
+
...(opts.hasOwnProperty('$select') ? {
|
|
371
343
|
'$select': opts['$select']
|
|
372
|
-
} : {})
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
});
|
|
379
|
-
var headerParams = _objectSpread({
|
|
380
|
-
'X-Cluster-Id': opts['xClusterId']
|
|
381
|
-
}, headersToInclude);
|
|
382
|
-
var formParams = {};
|
|
383
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
384
|
-
var contentTypes = [];
|
|
385
|
-
var accepts = ['application/json'];
|
|
386
|
-
var returnType = _ListRecoveryPointsApiResponse["default"];
|
|
387
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* Replicate a recovery point
|
|
392
|
-
* Replicate the recovery point identified by {extId}.<br> #### Task Completion Details <br> External identifier of the replicated recovery point can be found in the task completion details under the key `recoveryPointExtId`.
|
|
393
|
-
* @param { Partial<RecoveryPointReplicationSpec> } body specification
|
|
394
|
-
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
395
|
-
* @param {Object} args Additional Arguments
|
|
396
|
-
* @return {Promise<RecoveryPointReplicateApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link RecoveryPointReplicateApiResponse } and HTTP response
|
|
397
|
-
*/
|
|
398
|
-
}, {
|
|
399
|
-
key: "replicateRecoveryPoint",
|
|
400
|
-
value: function replicateRecoveryPoint(extId, body) {
|
|
401
|
-
var _this8 = this;
|
|
402
|
-
var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
|
|
403
|
-
var postBody = null;
|
|
404
|
-
if (body instanceof _RecoveryPointReplicationSpec["default"] && typeof body.toJson === 'function') {
|
|
405
|
-
postBody = body.toJson();
|
|
406
|
-
} else {
|
|
407
|
-
postBody = body;
|
|
408
|
-
}
|
|
409
|
-
// verify the required parameter 'extId' is set
|
|
410
|
-
if (typeof extId === 'undefined' || extId === null) {
|
|
411
|
-
throw new Error("Missing the required parameter 'extId' when calling replicateRecoveryPoint");
|
|
412
|
-
}
|
|
413
|
-
// verify the required parameter 'body' is set
|
|
414
|
-
if (typeof postBody === 'undefined' || postBody === null) {
|
|
415
|
-
throw new Error("Invalid body when calling replicateRecoveryPoint");
|
|
344
|
+
} : {})
|
|
345
|
+
};
|
|
346
|
+
let headersToInclude = {};
|
|
347
|
+
Object.keys(argMap).forEach(header => {
|
|
348
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
349
|
+
headersToInclude[header] = argMap[header];
|
|
416
350
|
}
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
430
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
431
|
-
var contentTypes = ['application/json'];
|
|
432
|
-
var accepts = ['application/json'];
|
|
433
|
-
var returnType = _RecoveryPointReplicateApiResponse["default"];
|
|
434
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{extId}/$actions/replicate', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
435
|
-
}
|
|
351
|
+
});
|
|
352
|
+
const headerParams = {
|
|
353
|
+
'X-Cluster-Id': opts['xClusterId'],
|
|
354
|
+
...headersToInclude
|
|
355
|
+
};
|
|
356
|
+
const formParams = {};
|
|
357
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
358
|
+
const contentTypes = [];
|
|
359
|
+
const accepts = ['application/json'];
|
|
360
|
+
const returnType = _ListRecoveryPointsApiResponse.default;
|
|
361
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/config/recovery-points', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
362
|
+
}
|
|
436
363
|
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
postBody = body.toJson();
|
|
453
|
-
} else {
|
|
454
|
-
postBody = body;
|
|
455
|
-
}
|
|
456
|
-
// verify the required parameter 'extId' is set
|
|
457
|
-
if (typeof extId === 'undefined' || extId === null) {
|
|
458
|
-
throw new Error("Missing the required parameter 'extId' when calling restoreRecoveryPoint");
|
|
459
|
-
}
|
|
460
|
-
var pathParams = {
|
|
461
|
-
'extId': extId
|
|
462
|
-
};
|
|
463
|
-
var queryParams = {};
|
|
464
|
-
var headersToInclude = {};
|
|
465
|
-
Object.keys(argMap).forEach(function (header) {
|
|
466
|
-
if (!_classPrivateFieldGet(_headersToSkip, _this9).has(header.toLowerCase())) {
|
|
467
|
-
headersToInclude[header] = argMap[header];
|
|
468
|
-
}
|
|
469
|
-
});
|
|
470
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
471
|
-
var formParams = {};
|
|
472
|
-
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
473
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
474
|
-
var contentTypes = ['application/json'];
|
|
475
|
-
var accepts = ['application/json'];
|
|
476
|
-
var returnType = _RecoveryPointRestoreApiResponse["default"];
|
|
477
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{extId}/$actions/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
364
|
+
/**
|
|
365
|
+
* Replicate a recovery point
|
|
366
|
+
* Replicate the recovery point identified by {extId}.<br> #### Task Completion Details <br> External identifier of the replicated recovery point can be found in the task completion details under the key `recoveryPointExtId`.
|
|
367
|
+
* @param { Partial<RecoveryPointReplicationSpec> } body specification
|
|
368
|
+
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
369
|
+
* @param {Object} args Additional Arguments
|
|
370
|
+
* @return {Promise<RecoveryPointReplicateApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link RecoveryPointReplicateApiResponse } and HTTP response
|
|
371
|
+
*/
|
|
372
|
+
replicateRecoveryPoint(extId, body, ...args) {
|
|
373
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
374
|
+
let postBody = null;
|
|
375
|
+
if (body instanceof _RecoveryPointReplicationSpec.default && typeof body.toJson === 'function') {
|
|
376
|
+
postBody = body.toJson();
|
|
377
|
+
} else {
|
|
378
|
+
postBody = body;
|
|
478
379
|
}
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
* Set the expiration time for the recovery point identified by {extId}.
|
|
483
|
-
* @param { Required<Pick<ExpirationTimeSpec, 'expirationTime'>> & Partial<ExpirationTimeSpec> } body specification
|
|
484
|
-
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
485
|
-
* @param {Object} args Additional Arguments
|
|
486
|
-
* @return {Promise<UpdateRecoveryPointExpirationTimeApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link UpdateRecoveryPointExpirationTimeApiResponse } and HTTP response
|
|
487
|
-
*/
|
|
488
|
-
}, {
|
|
489
|
-
key: "setRecoveryPointExpirationTime",
|
|
490
|
-
value: function setRecoveryPointExpirationTime(extId, body) {
|
|
491
|
-
var _this10 = this;
|
|
492
|
-
var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
|
|
493
|
-
var postBody = null;
|
|
494
|
-
if (body instanceof _ExpirationTimeSpec["default"] && typeof body.toJson === 'function') {
|
|
495
|
-
postBody = body.toJson();
|
|
496
|
-
} else {
|
|
497
|
-
postBody = body;
|
|
498
|
-
}
|
|
499
|
-
// verify the required parameter 'extId' is set
|
|
500
|
-
if (typeof extId === 'undefined' || extId === null) {
|
|
501
|
-
throw new Error("Missing the required parameter 'extId' when calling setRecoveryPointExpirationTime");
|
|
502
|
-
}
|
|
503
|
-
// verify the required parameter 'body' is set
|
|
504
|
-
if (typeof postBody === 'undefined' || postBody === null) {
|
|
505
|
-
throw new Error("Invalid body when calling setRecoveryPointExpirationTime");
|
|
506
|
-
}
|
|
507
|
-
var pathParams = {
|
|
508
|
-
'extId': extId
|
|
509
|
-
};
|
|
510
|
-
var queryParams = {};
|
|
511
|
-
var headersToInclude = {};
|
|
512
|
-
Object.keys(argMap).forEach(function (header) {
|
|
513
|
-
if (!_classPrivateFieldGet(_headersToSkip, _this10).has(header.toLowerCase())) {
|
|
514
|
-
headersToInclude[header] = argMap[header];
|
|
515
|
-
}
|
|
516
|
-
});
|
|
517
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
518
|
-
var formParams = {};
|
|
519
|
-
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
520
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
521
|
-
var contentTypes = ['application/json'];
|
|
522
|
-
var accepts = ['application/json'];
|
|
523
|
-
var returnType = _UpdateRecoveryPointExpirationTimeApiResponse["default"];
|
|
524
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{extId}/$actions/set-expiration-time', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
380
|
+
// verify the required parameter 'extId' is set
|
|
381
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
382
|
+
throw new Error("Missing the required parameter 'extId' when calling replicateRecoveryPoint");
|
|
525
383
|
}
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
* Displays the calculated metadata with the changed region details between any two VM disk recovery points of a file. This API can be used for incremental and differential backups, as well as for a full backup, because it indicates the regions that are zeros, helping to avoid copying zero regions.
|
|
530
|
-
* @param { Partial<VmRecoveryPointChangedRegionsComputeSpec> } body specification
|
|
531
|
-
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
532
|
-
* @param { String } vmRecoveryPointExtId The external identifier that can be used to identify a VM recovery point.
|
|
533
|
-
* @param { String } extId Disk recovery point identifier.
|
|
534
|
-
* @param {Object} args Additional Arguments
|
|
535
|
-
* @return {Promise<ChangedVmRegionsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ChangedVmRegionsApiResponse } and HTTP response
|
|
536
|
-
*/
|
|
537
|
-
}, {
|
|
538
|
-
key: "vmRecoveryPointComputeChangedRegions",
|
|
539
|
-
value: function vmRecoveryPointComputeChangedRegions(recoveryPointExtId, vmRecoveryPointExtId, extId, body) {
|
|
540
|
-
var _this11 = this;
|
|
541
|
-
var argMap = (arguments.length <= 4 ? 0 : arguments.length - 4) > 0 ? arguments.length <= 4 ? undefined : arguments[4] : {};
|
|
542
|
-
var postBody = null;
|
|
543
|
-
if (body instanceof _VmRecoveryPointChangedRegionsComputeSpec["default"] && typeof body.toJson === 'function') {
|
|
544
|
-
postBody = body.toJson();
|
|
545
|
-
} else {
|
|
546
|
-
postBody = body;
|
|
547
|
-
}
|
|
548
|
-
// verify the required parameter 'recoveryPointExtId' is set
|
|
549
|
-
if (typeof recoveryPointExtId === 'undefined' || recoveryPointExtId === null) {
|
|
550
|
-
throw new Error("Missing the required parameter 'recoveryPointExtId' when calling vmRecoveryPointComputeChangedRegions");
|
|
551
|
-
}
|
|
552
|
-
// verify the required parameter 'vmRecoveryPointExtId' is set
|
|
553
|
-
if (typeof vmRecoveryPointExtId === 'undefined' || vmRecoveryPointExtId === null) {
|
|
554
|
-
throw new Error("Missing the required parameter 'vmRecoveryPointExtId' when calling vmRecoveryPointComputeChangedRegions");
|
|
555
|
-
}
|
|
556
|
-
// verify the required parameter 'extId' is set
|
|
557
|
-
if (typeof extId === 'undefined' || extId === null) {
|
|
558
|
-
throw new Error("Missing the required parameter 'extId' when calling vmRecoveryPointComputeChangedRegions");
|
|
559
|
-
}
|
|
560
|
-
// verify the required parameter 'body' is set
|
|
561
|
-
if (typeof postBody === 'undefined' || postBody === null) {
|
|
562
|
-
throw new Error("Invalid body when calling vmRecoveryPointComputeChangedRegions");
|
|
563
|
-
}
|
|
564
|
-
var pathParams = {
|
|
565
|
-
'recoveryPointExtId': recoveryPointExtId,
|
|
566
|
-
'vmRecoveryPointExtId': vmRecoveryPointExtId,
|
|
567
|
-
'extId': extId
|
|
568
|
-
};
|
|
569
|
-
var queryParams = {};
|
|
570
|
-
var headersToInclude = {};
|
|
571
|
-
Object.keys(argMap).forEach(function (header) {
|
|
572
|
-
if (!_classPrivateFieldGet(_headersToSkip, _this11).has(header.toLowerCase())) {
|
|
573
|
-
headersToInclude[header] = argMap[header];
|
|
574
|
-
}
|
|
575
|
-
});
|
|
576
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
577
|
-
var formParams = {};
|
|
578
|
-
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
579
|
-
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
580
|
-
var contentTypes = ['application/json'];
|
|
581
|
-
var accepts = ['application/json'];
|
|
582
|
-
var returnType = _ChangedVmRegionsApiResponse["default"];
|
|
583
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0/content/recovery-points/{recoveryPointExtId}/vm-recovery-points/{vmRecoveryPointExtId}/disk-recovery-points/{extId}/$actions/compute-changed-regions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
384
|
+
// verify the required parameter 'body' is set
|
|
385
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
386
|
+
throw new Error("Invalid body when calling replicateRecoveryPoint");
|
|
584
387
|
}
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
* @param {Object} args Additional Arguments
|
|
594
|
-
* @return {Promise<ChangedVolumeGroupRegionsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ChangedVolumeGroupRegionsApiResponse } and HTTP response
|
|
595
|
-
*/
|
|
596
|
-
}, {
|
|
597
|
-
key: "volumeGroupRecoveryPointComputeChangedRegions",
|
|
598
|
-
value: function volumeGroupRecoveryPointComputeChangedRegions(recoveryPointExtId, volumeGroupRecoveryPointExtId, extId, body) {
|
|
599
|
-
var _this12 = this;
|
|
600
|
-
var argMap = (arguments.length <= 4 ? 0 : arguments.length - 4) > 0 ? arguments.length <= 4 ? undefined : arguments[4] : {};
|
|
601
|
-
var postBody = null;
|
|
602
|
-
if (body instanceof _VolumeGroupRecoveryPointChangedRegionsComputeSpec["default"] && typeof body.toJson === 'function') {
|
|
603
|
-
postBody = body.toJson();
|
|
604
|
-
} else {
|
|
605
|
-
postBody = body;
|
|
388
|
+
const pathParams = {
|
|
389
|
+
'extId': extId
|
|
390
|
+
};
|
|
391
|
+
const queryParams = {};
|
|
392
|
+
let headersToInclude = {};
|
|
393
|
+
Object.keys(argMap).forEach(header => {
|
|
394
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
395
|
+
headersToInclude[header] = argMap[header];
|
|
606
396
|
}
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
397
|
+
});
|
|
398
|
+
const headerParams = {
|
|
399
|
+
...headersToInclude
|
|
400
|
+
};
|
|
401
|
+
const formParams = {};
|
|
402
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
403
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
404
|
+
const contentTypes = ['application/json'];
|
|
405
|
+
const accepts = ['application/json'];
|
|
406
|
+
const returnType = _RecoveryPointReplicateApiResponse.default;
|
|
407
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/config/recovery-points/{extId}/$actions/replicate', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Restore recovery point
|
|
412
|
+
* Restore a recovery point identified by {extId}.<br> #### Task Completion Details <br> A comma separated list of the created VM and volume group external identifiers can be found in the task completion details under the keys `vmExtIds` and `volumeGroupExtIds` respectively.
|
|
413
|
+
* @param { Partial<RecoveryPointRestorationSpec> } body specification
|
|
414
|
+
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
415
|
+
* @param {Object} args Additional Arguments
|
|
416
|
+
* @return {Promise<RecoveryPointRestoreApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link RecoveryPointRestoreApiResponse } and HTTP response
|
|
417
|
+
*/
|
|
418
|
+
restoreRecoveryPoint(extId, body, ...args) {
|
|
419
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
420
|
+
let postBody = null;
|
|
421
|
+
if (body instanceof _RecoveryPointRestorationSpec.default && typeof body.toJson === 'function') {
|
|
422
|
+
postBody = body.toJson();
|
|
423
|
+
} else {
|
|
424
|
+
postBody = body;
|
|
425
|
+
}
|
|
426
|
+
// verify the required parameter 'extId' is set
|
|
427
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
428
|
+
throw new Error("Missing the required parameter 'extId' when calling restoreRecoveryPoint");
|
|
429
|
+
}
|
|
430
|
+
const pathParams = {
|
|
431
|
+
'extId': extId
|
|
432
|
+
};
|
|
433
|
+
const queryParams = {};
|
|
434
|
+
let headersToInclude = {};
|
|
435
|
+
Object.keys(argMap).forEach(header => {
|
|
436
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
437
|
+
headersToInclude[header] = argMap[header];
|
|
614
438
|
}
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
439
|
+
});
|
|
440
|
+
const headerParams = {
|
|
441
|
+
...headersToInclude
|
|
442
|
+
};
|
|
443
|
+
const formParams = {};
|
|
444
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
445
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
446
|
+
const contentTypes = ['application/json'];
|
|
447
|
+
const accepts = ['application/json'];
|
|
448
|
+
const returnType = _RecoveryPointRestoreApiResponse.default;
|
|
449
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/config/recovery-points/{extId}/$actions/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* Set the expiration time of the recovery point
|
|
454
|
+
* Set the expiration time for the recovery point identified by {extId}.
|
|
455
|
+
* @param { Required<Pick<ExpirationTimeSpec, 'expirationTime'>> & Partial<ExpirationTimeSpec> } body specification
|
|
456
|
+
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
457
|
+
* @param {Object} args Additional Arguments
|
|
458
|
+
* @return {Promise<UpdateRecoveryPointExpirationTimeApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link UpdateRecoveryPointExpirationTimeApiResponse } and HTTP response
|
|
459
|
+
*/
|
|
460
|
+
setRecoveryPointExpirationTime(extId, body, ...args) {
|
|
461
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
462
|
+
let postBody = null;
|
|
463
|
+
if (body instanceof _ExpirationTimeSpec.default && typeof body.toJson === 'function') {
|
|
464
|
+
postBody = body.toJson();
|
|
465
|
+
} else {
|
|
466
|
+
postBody = body;
|
|
467
|
+
}
|
|
468
|
+
// verify the required parameter 'extId' is set
|
|
469
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
470
|
+
throw new Error("Missing the required parameter 'extId' when calling setRecoveryPointExpirationTime");
|
|
471
|
+
}
|
|
472
|
+
// verify the required parameter 'body' is set
|
|
473
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
474
|
+
throw new Error("Invalid body when calling setRecoveryPointExpirationTime");
|
|
475
|
+
}
|
|
476
|
+
const pathParams = {
|
|
477
|
+
'extId': extId
|
|
478
|
+
};
|
|
479
|
+
const queryParams = {};
|
|
480
|
+
let headersToInclude = {};
|
|
481
|
+
Object.keys(argMap).forEach(header => {
|
|
482
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
483
|
+
headersToInclude[header] = argMap[header];
|
|
618
484
|
}
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
485
|
+
});
|
|
486
|
+
const headerParams = {
|
|
487
|
+
...headersToInclude
|
|
488
|
+
};
|
|
489
|
+
const formParams = {};
|
|
490
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
491
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
492
|
+
const contentTypes = ['application/json'];
|
|
493
|
+
const accepts = ['application/json'];
|
|
494
|
+
const returnType = _UpdateRecoveryPointExpirationTimeApiResponse.default;
|
|
495
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/config/recovery-points/{extId}/$actions/set-expiration-time', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* Compute VM recovery points changed regions
|
|
500
|
+
* Displays the calculated metadata with the changed region details between any two VM disk recovery points of a file. This API can be used for incremental and differential backups, as well as for a full backup, because it indicates the regions that are zeros, helping to avoid copying zero regions.
|
|
501
|
+
* @param { Partial<VmRecoveryPointChangedRegionsComputeSpec> } body specification
|
|
502
|
+
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
503
|
+
* @param { String } vmRecoveryPointExtId The external identifier that can be used to identify a VM recovery point.
|
|
504
|
+
* @param { String } extId Disk recovery point identifier.
|
|
505
|
+
* @param {Object} args Additional Arguments
|
|
506
|
+
* @return {Promise<ChangedVmRegionsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ChangedVmRegionsApiResponse } and HTTP response
|
|
507
|
+
*/
|
|
508
|
+
vmRecoveryPointComputeChangedRegions(recoveryPointExtId, vmRecoveryPointExtId, extId, body, ...args) {
|
|
509
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
510
|
+
let postBody = null;
|
|
511
|
+
if (body instanceof _VmRecoveryPointChangedRegionsComputeSpec.default && typeof body.toJson === 'function') {
|
|
512
|
+
postBody = body.toJson();
|
|
513
|
+
} else {
|
|
514
|
+
postBody = body;
|
|
515
|
+
}
|
|
516
|
+
// verify the required parameter 'recoveryPointExtId' is set
|
|
517
|
+
if (typeof recoveryPointExtId === 'undefined' || recoveryPointExtId === null) {
|
|
518
|
+
throw new Error("Missing the required parameter 'recoveryPointExtId' when calling vmRecoveryPointComputeChangedRegions");
|
|
519
|
+
}
|
|
520
|
+
// verify the required parameter 'vmRecoveryPointExtId' is set
|
|
521
|
+
if (typeof vmRecoveryPointExtId === 'undefined' || vmRecoveryPointExtId === null) {
|
|
522
|
+
throw new Error("Missing the required parameter 'vmRecoveryPointExtId' when calling vmRecoveryPointComputeChangedRegions");
|
|
523
|
+
}
|
|
524
|
+
// verify the required parameter 'extId' is set
|
|
525
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
526
|
+
throw new Error("Missing the required parameter 'extId' when calling vmRecoveryPointComputeChangedRegions");
|
|
527
|
+
}
|
|
528
|
+
// verify the required parameter 'body' is set
|
|
529
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
530
|
+
throw new Error("Invalid body when calling vmRecoveryPointComputeChangedRegions");
|
|
531
|
+
}
|
|
532
|
+
const pathParams = {
|
|
533
|
+
'recoveryPointExtId': recoveryPointExtId,
|
|
534
|
+
'vmRecoveryPointExtId': vmRecoveryPointExtId,
|
|
535
|
+
'extId': extId
|
|
536
|
+
};
|
|
537
|
+
const queryParams = {};
|
|
538
|
+
let headersToInclude = {};
|
|
539
|
+
Object.keys(argMap).forEach(header => {
|
|
540
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
541
|
+
headersToInclude[header] = argMap[header];
|
|
622
542
|
}
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
543
|
+
});
|
|
544
|
+
const headerParams = {
|
|
545
|
+
...headersToInclude
|
|
546
|
+
};
|
|
547
|
+
const formParams = {};
|
|
548
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
549
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
550
|
+
const contentTypes = ['application/json'];
|
|
551
|
+
const accepts = ['application/json'];
|
|
552
|
+
const returnType = _ChangedVmRegionsApiResponse.default;
|
|
553
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/content/recovery-points/{recoveryPointExtId}/vm-recovery-points/{vmRecoveryPointExtId}/disk-recovery-points/{extId}/$actions/compute-changed-regions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* Compute Volume Group recovery points changed regions
|
|
558
|
+
* Displays the calculated metadata with the changed region details between any two volume group disk recovery points of a file. This API can be used for incremental and differential backups, as well as for a full backup, because it indicates the regions that are zeros, helping to avoid copying zero regions.
|
|
559
|
+
* @param { Partial<VolumeGroupRecoveryPointChangedRegionsComputeSpec> } body specification
|
|
560
|
+
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
561
|
+
* @param { String } volumeGroupRecoveryPointExtId External identifier of the volume group recovery point.
|
|
562
|
+
* @param { String } extId Disk recovery point identifier.
|
|
563
|
+
* @param {Object} args Additional Arguments
|
|
564
|
+
* @return {Promise<ChangedVolumeGroupRegionsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ChangedVolumeGroupRegionsApiResponse } and HTTP response
|
|
565
|
+
*/
|
|
566
|
+
volumeGroupRecoveryPointComputeChangedRegions(recoveryPointExtId, volumeGroupRecoveryPointExtId, extId, body, ...args) {
|
|
567
|
+
let argMap = args.length > 0 ? args[0] : {};
|
|
568
|
+
let postBody = null;
|
|
569
|
+
if (body instanceof _VolumeGroupRecoveryPointChangedRegionsComputeSpec.default && typeof body.toJson === 'function') {
|
|
570
|
+
postBody = body.toJson();
|
|
571
|
+
} else {
|
|
572
|
+
postBody = body;
|
|
573
|
+
}
|
|
574
|
+
// verify the required parameter 'recoveryPointExtId' is set
|
|
575
|
+
if (typeof recoveryPointExtId === 'undefined' || recoveryPointExtId === null) {
|
|
576
|
+
throw new Error("Missing the required parameter 'recoveryPointExtId' when calling volumeGroupRecoveryPointComputeChangedRegions");
|
|
577
|
+
}
|
|
578
|
+
// verify the required parameter 'volumeGroupRecoveryPointExtId' is set
|
|
579
|
+
if (typeof volumeGroupRecoveryPointExtId === 'undefined' || volumeGroupRecoveryPointExtId === null) {
|
|
580
|
+
throw new Error("Missing the required parameter 'volumeGroupRecoveryPointExtId' when calling volumeGroupRecoveryPointComputeChangedRegions");
|
|
643
581
|
}
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
/**
|
|
648
|
-
* Make the default {@link ApiClient} class available for developers to be able to extend it and bring
|
|
649
|
-
* their own fetch methods into the SDK
|
|
650
|
-
*/
|
|
651
|
-
function get() {
|
|
652
|
-
return _ApiClient.ApiClient;
|
|
582
|
+
// verify the required parameter 'extId' is set
|
|
583
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
584
|
+
throw new Error("Missing the required parameter 'extId' when calling volumeGroupRecoveryPointComputeChangedRegions");
|
|
653
585
|
}
|
|
654
|
-
|
|
655
|
-
|
|
586
|
+
// verify the required parameter 'body' is set
|
|
587
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
588
|
+
throw new Error("Invalid body when calling volumeGroupRecoveryPointComputeChangedRegions");
|
|
589
|
+
}
|
|
590
|
+
const pathParams = {
|
|
591
|
+
'recoveryPointExtId': recoveryPointExtId,
|
|
592
|
+
'volumeGroupRecoveryPointExtId': volumeGroupRecoveryPointExtId,
|
|
593
|
+
'extId': extId
|
|
594
|
+
};
|
|
595
|
+
const queryParams = {};
|
|
596
|
+
let headersToInclude = {};
|
|
597
|
+
Object.keys(argMap).forEach(header => {
|
|
598
|
+
if (!this.#headersToSkip.has(header.toLowerCase())) {
|
|
599
|
+
headersToInclude[header] = argMap[header];
|
|
600
|
+
}
|
|
601
|
+
});
|
|
602
|
+
const headerParams = {
|
|
603
|
+
...headersToInclude
|
|
604
|
+
};
|
|
605
|
+
const formParams = {};
|
|
606
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
607
|
+
const authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
608
|
+
const contentTypes = ['application/json'];
|
|
609
|
+
const accepts = ['application/json'];
|
|
610
|
+
const returnType = _ChangedVolumeGroupRegionsApiResponse.default;
|
|
611
|
+
return this.apiClient.callApi('/api/dataprotection/v4.2/content/recovery-points/{recoveryPointExtId}/volume-group-recovery-points/{volumeGroupRecoveryPointExtId}/disk-recovery-points/{extId}/$actions/compute-changed-regions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
exports.RecoveryPointsApi = RecoveryPointsApi;
|