@nutanix-scratch/dataprotection-js-client 4.0.1-beta.1 → 4.0.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/LICENSE.txt +202 -49
- package/README.md +35 -19
- package/dist/Ntnx-Dataprotection-js-client-prod.js +1 -1
- package/dist/Ntnx-Dataprotection-js-client.js +377 -223
- package/dist/es/ApiClient.d.ts +8 -1
- package/dist/es/ApiClient.js +249 -189
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +10 -10
- package/dist/es/apis/protectedresources-endpoints.d.ts +1 -1
- package/dist/es/apis/protectedresources-endpoints.js +17 -17
- package/dist/es/apis/recoverypoints-endpoints.d.ts +62 -2
- package/dist/es/apis/recoverypoints-endpoints.js +298 -37
- package/dist/es/index.d.ts +57 -29
- package/dist/es/index.js +181 -69
- package/dist/es/models/common/v1/config/Flag.d.ts +32 -26
- package/dist/es/models/common/v1/config/Flag.js +66 -22
- package/dist/es/models/common/v1/config/IPAddress.d.ts +77 -0
- package/dist/{lib/models/dataprotection/v4/config/Subnet.js → es/models/common/v1/config/IPAddress.js} +128 -45
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +40 -26
- package/dist/es/models/common/v1/config/IPv4Address.js +65 -24
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +76 -0
- package/dist/es/models/common/v1/config/IPv6Address.js +329 -0
- package/dist/es/models/common/v1/config/KVPair.d.ts +35 -26
- package/dist/es/models/common/v1/config/KVPair.js +71 -25
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
- package/dist/{lib/models/dataprotection/v4/config/VpcReference.js → es/models/common/v1/config/MapOfStringWrapper.js} +94 -105
- package/dist/es/models/common/v1/config/Message.d.ts +41 -38
- package/dist/es/models/common/v1/config/Message.js +58 -26
- package/dist/es/models/common/v1/config/MessageSeverity.js +8 -8
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +22 -20
- package/dist/es/models/common/v1/config/TenantAwareModel.js +52 -20
- package/dist/es/models/common/v1/response/ApiLink.d.ts +28 -26
- package/dist/es/models/common/v1/response/ApiLink.js +54 -22
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +79 -44
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +72 -28
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +24 -18
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +72 -32
- package/dist/es/models/dataprotection/v4/common/BackupType.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/common/BackupType.js +85 -0
- package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +49 -42
- package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.js +91 -42
- package/dist/es/models/dataprotection/v4/common/BaseVmRecoveryPoint.d.ts +97 -0
- package/dist/es/models/dataprotection/v4/common/BaseVmRecoveryPoint.js +513 -0
- package/dist/es/models/dataprotection/v4/common/ClusterInfo.d.ts +81 -0
- package/dist/{lib/models/dataprotection/v4/config/RedirectionResponse.js → es/models/dataprotection/v4/common/ClusterInfo.js} +113 -80
- package/dist/es/models/dataprotection/v4/common/DiskRecoveryPoint.d.ts +64 -0
- package/dist/es/models/dataprotection/v4/{config → common}/DiskRecoveryPoint.js +63 -35
- package/dist/es/models/dataprotection/v4/common/RecoveryPointStatus.js +10 -22
- package/dist/es/models/dataprotection/v4/common/RecoveryPointType.js +8 -8
- package/dist/es/models/dataprotection/v4/common/VssProperties.d.ts +97 -0
- package/dist/es/models/dataprotection/v4/common/VssProperties.js +407 -0
- package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.d.ts +22 -20
- package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.js +53 -23
- package/dist/es/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +28 -26
- package/dist/es/models/dataprotection/v4/config/AmazonS3Bucket.js +60 -22
- package/dist/es/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +28 -26
- package/dist/es/models/dataprotection/v4/config/AzureBlobStorageContainer.js +60 -22
- package/dist/es/models/dataprotection/v4/config/ClusterInfoApiResponse.d.ts +99 -0
- package/dist/es/models/dataprotection/v4/config/ClusterInfoApiResponse.js +343 -0
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.d.ts +62 -51
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.js +100 -53
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +36 -30
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.js +65 -28
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +10 -10
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +32 -30
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +61 -29
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +4 -3
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.js +44 -21
- package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts +65 -25
- package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +65 -25
- package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +38 -26
- package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.js +62 -24
- package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +64 -25
- package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +65 -25
- package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +22 -20
- package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +53 -23
- package/dist/es/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +20 -18
- package/dist/es/models/dataprotection/v4/config/ExpirationTimeSpec.js +55 -22
- package/dist/es/models/dataprotection/v4/config/GetProtectedResourceApiResponse.d.ts +65 -25
- package/dist/es/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts +65 -25
- package/dist/es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.d.ts +101 -0
- package/dist/es/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.js +343 -0
- package/dist/es/models/dataprotection/v4/config/HostReference.d.ts +26 -20
- package/dist/es/models/dataprotection/v4/config/HostReference.js +79 -31
- package/dist/es/models/dataprotection/v4/config/HostType.js +9 -9
- package/dist/es/models/dataprotection/v4/config/IpAddress.d.ts +23 -21
- package/dist/es/models/dataprotection/v4/config/IpAddress.js +54 -22
- package/dist/es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts +66 -25
- package/dist/es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/LocationReference.d.ts +22 -20
- package/dist/es/models/dataprotection/v4/config/LocationReference.js +52 -20
- package/dist/es/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.d.ts +65 -25
- package/dist/es/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +22 -20
- package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.js +52 -20
- package/dist/es/models/dataprotection/v4/config/ObjectStorageType.js +8 -8
- package/dist/es/models/dataprotection/v4/config/ProtectedEntityType.js +8 -8
- package/dist/es/models/dataprotection/v4/config/ProtectedResource.d.ts +112 -44
- package/dist/es/models/dataprotection/v4/config/ProtectedResource.js +126 -38
- package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +65 -25
- package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +8 -8
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +65 -25
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +28 -38
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +61 -91
- package/dist/es/models/dataprotection/v4/config/RecoveryInfo.d.ts +29 -20
- package/dist/es/models/dataprotection/v4/config/RecoveryInfo.js +55 -20
- package/dist/es/models/dataprotection/v4/config/RecoveryPoint.d.ts +103 -36
- package/dist/es/models/dataprotection/v4/config/RecoveryPoint.js +120 -37
- package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +2 -1
- package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.js +41 -17
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +65 -25
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +28 -26
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +54 -22
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +36 -25
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.js +84 -33
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +2 -1
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +40 -17
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +52 -32
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +56 -24
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +65 -25
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/ReplicationState.d.ts +48 -38
- package/dist/es/models/dataprotection/v4/config/ReplicationState.js +58 -26
- package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.d.ts +26 -24
- package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.js +59 -26
- package/dist/es/models/dataprotection/v4/config/SiteProtectionInfo.d.ts +58 -26
- package/dist/es/models/dataprotection/v4/config/SiteProtectionInfo.js +92 -24
- package/dist/es/models/dataprotection/v4/config/SiteReference.d.ts +28 -26
- package/dist/es/models/dataprotection/v4/config/SiteReference.js +54 -22
- package/dist/es/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.d.ts +65 -25
- package/dist/es/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/SynchronousReplicationRole.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/config/SynchronousReplicationRole.js +97 -0
- package/dist/es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +65 -25
- package/dist/es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +65 -25
- package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +60 -28
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +4 -71
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.js +49 -256
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +24 -22
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +55 -23
- package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +22 -20
- package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +53 -23
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +61 -27
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +180 -39
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +34 -26
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +54 -22
- package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +40 -40
- package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.js +104 -73
- package/dist/es/models/dataprotection/v4/config/Witness.d.ts +54 -32
- package/dist/es/models/dataprotection/v4/config/Witness.js +95 -35
- package/dist/es/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +10 -10
- package/dist/es/models/dataprotection/v4/content/BaseRecoveryPointSpec.d.ts +64 -0
- package/dist/es/models/dataprotection/v4/content/BaseRecoveryPointSpec.js +317 -0
- package/dist/es/models/dataprotection/v4/content/ChangedRegion.d.ts +93 -0
- package/dist/es/models/dataprotection/v4/{config/Region.js → content/ChangedRegion.js} +81 -49
- package/dist/es/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.d.ts +99 -0
- package/dist/es/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.js +365 -0
- package/dist/es/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.d.ts +99 -0
- package/dist/es/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.js +365 -0
- package/dist/es/models/dataprotection/v4/content/ClusterDiscoverOperation.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/content/ClusterDiscoverOperation.js +85 -0
- package/dist/es/models/dataprotection/v4/content/ClusterDiscoverSpec.d.ts +79 -0
- package/dist/es/models/dataprotection/v4/content/ClusterDiscoverSpec.js +341 -0
- package/dist/es/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.d.ts +76 -0
- package/dist/es/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.js +358 -0
- package/dist/es/models/dataprotection/v4/content/DiskRecoveryPointReference.d.ts +64 -0
- package/dist/es/models/dataprotection/v4/content/DiskRecoveryPointReference.js +318 -0
- package/dist/es/models/dataprotection/v4/content/GetVssMetadataApiResponse.d.ts +98 -0
- package/dist/es/models/dataprotection/v4/{config/ComputeChangedRegionsResponseModel.js → content/GetVssMetadataApiResponse.js} +89 -58
- package/dist/es/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.d.ts +62 -0
- package/dist/{lib/models/dataprotection/v4/config/ClusterReference.js → es/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.js} +99 -101
- package/dist/es/models/dataprotection/v4/{config → content}/RegionType.js +8 -8
- package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.d.ts +30 -0
- package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.js +269 -0
- package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointReference.d.ts +30 -0
- package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointReference.js +270 -0
- package/dist/es/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.d.ts +57 -0
- package/dist/es/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.js +360 -0
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.d.ts +30 -0
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.js +269 -0
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.d.ts +30 -0
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.js +270 -0
- package/dist/es/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.d.ts +57 -0
- package/dist/es/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.js +360 -0
- package/dist/es/models/dataprotection/v4/error/AppMessage.d.ts +57 -48
- package/dist/es/models/dataprotection/v4/error/AppMessage.js +62 -30
- package/dist/es/models/dataprotection/v4/error/ErrorResponse.d.ts +23 -19
- package/dist/es/models/dataprotection/v4/error/ErrorResponse.js +58 -22
- package/dist/es/models/dataprotection/v4/error/SchemaValidationError.d.ts +53 -43
- package/dist/es/models/dataprotection/v4/error/SchemaValidationError.js +63 -30
- package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +34 -32
- package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +56 -24
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +22 -20
- package/dist/es/models/prism/v4/config/TaskReference.js +52 -20
- package/dist/es/models/validation/ValidationError.js +6 -6
- package/dist/es/utils/ValidationUtils.js +6 -6
- package/dist/lib/ApiClient.d.ts +8 -1
- package/dist/lib/ApiClient.js +249 -189
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +10 -10
- package/dist/lib/apis/protectedresources-endpoints.d.ts +1 -1
- package/dist/lib/apis/protectedresources-endpoints.js +17 -17
- package/dist/lib/apis/recoverypoints-endpoints.d.ts +62 -2
- package/dist/lib/apis/recoverypoints-endpoints.js +298 -37
- package/dist/lib/index.d.ts +57 -29
- package/dist/lib/index.js +181 -69
- package/dist/lib/models/common/v1/config/Flag.d.ts +32 -26
- package/dist/lib/models/common/v1/config/Flag.js +66 -22
- package/dist/lib/models/common/v1/config/IPAddress.d.ts +77 -0
- package/dist/{es/models/dataprotection/v4/config/Subnet.js → lib/models/common/v1/config/IPAddress.js} +128 -45
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +40 -26
- package/dist/lib/models/common/v1/config/IPv4Address.js +65 -24
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +76 -0
- package/dist/lib/models/common/v1/config/IPv6Address.js +329 -0
- package/dist/lib/models/common/v1/config/KVPair.d.ts +35 -26
- package/dist/lib/models/common/v1/config/KVPair.js +71 -25
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +58 -0
- package/dist/{es/models/dataprotection/v4/config/VpcReference.js → lib/models/common/v1/config/MapOfStringWrapper.js} +94 -105
- package/dist/lib/models/common/v1/config/Message.d.ts +41 -38
- package/dist/lib/models/common/v1/config/Message.js +58 -26
- package/dist/lib/models/common/v1/config/MessageSeverity.js +8 -8
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +22 -20
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +52 -20
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +28 -26
- package/dist/lib/models/common/v1/response/ApiLink.js +54 -22
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +79 -44
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +72 -28
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +24 -18
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +72 -32
- package/dist/lib/models/dataprotection/v4/common/BackupType.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/common/BackupType.js +85 -0
- package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +49 -42
- package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.js +91 -42
- package/dist/lib/models/dataprotection/v4/common/BaseVmRecoveryPoint.d.ts +97 -0
- package/dist/lib/models/dataprotection/v4/common/BaseVmRecoveryPoint.js +513 -0
- package/dist/lib/models/dataprotection/v4/common/ClusterInfo.d.ts +81 -0
- package/dist/{es/models/dataprotection/v4/config/RedirectionResponse.js → lib/models/dataprotection/v4/common/ClusterInfo.js} +113 -80
- package/dist/lib/models/dataprotection/v4/common/DiskRecoveryPoint.d.ts +64 -0
- package/dist/lib/models/dataprotection/v4/{config → common}/DiskRecoveryPoint.js +63 -35
- package/dist/lib/models/dataprotection/v4/common/RecoveryPointStatus.js +10 -22
- package/dist/lib/models/dataprotection/v4/common/RecoveryPointType.js +8 -8
- package/dist/lib/models/dataprotection/v4/common/VssProperties.d.ts +97 -0
- package/dist/lib/models/dataprotection/v4/common/VssProperties.js +407 -0
- package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.d.ts +22 -20
- package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.js +53 -23
- package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +28 -26
- package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.js +60 -22
- package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +28 -26
- package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.js +60 -22
- package/dist/lib/models/dataprotection/v4/config/ClusterInfoApiResponse.d.ts +99 -0
- package/dist/lib/models/dataprotection/v4/config/ClusterInfoApiResponse.js +343 -0
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.d.ts +62 -51
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.js +100 -53
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +36 -30
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.js +65 -28
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +10 -10
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +32 -30
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +61 -29
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +4 -3
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.js +44 -21
- package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts +65 -25
- package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +65 -25
- package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +38 -26
- package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.js +62 -24
- package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +64 -25
- package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +65 -25
- package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +22 -20
- package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +53 -23
- package/dist/lib/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +20 -18
- package/dist/lib/models/dataprotection/v4/config/ExpirationTimeSpec.js +55 -22
- package/dist/lib/models/dataprotection/v4/config/GetProtectedResourceApiResponse.d.ts +65 -25
- package/dist/lib/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts +65 -25
- package/dist/lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.d.ts +101 -0
- package/dist/lib/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.js +343 -0
- package/dist/lib/models/dataprotection/v4/config/HostReference.d.ts +26 -20
- package/dist/lib/models/dataprotection/v4/config/HostReference.js +79 -31
- package/dist/lib/models/dataprotection/v4/config/HostType.js +9 -9
- package/dist/lib/models/dataprotection/v4/config/IpAddress.d.ts +23 -21
- package/dist/lib/models/dataprotection/v4/config/IpAddress.js +54 -22
- package/dist/lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts +66 -25
- package/dist/lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/LocationReference.d.ts +22 -20
- package/dist/lib/models/dataprotection/v4/config/LocationReference.js +52 -20
- package/dist/lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.d.ts +65 -25
- package/dist/lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +22 -20
- package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.js +52 -20
- package/dist/lib/models/dataprotection/v4/config/ObjectStorageType.js +8 -8
- package/dist/lib/models/dataprotection/v4/config/ProtectedEntityType.js +8 -8
- package/dist/lib/models/dataprotection/v4/config/ProtectedResource.d.ts +112 -44
- package/dist/lib/models/dataprotection/v4/config/ProtectedResource.js +126 -38
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +65 -25
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +8 -8
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +65 -25
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +28 -38
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +61 -91
- package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.d.ts +29 -20
- package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.js +55 -20
- package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.d.ts +103 -36
- package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.js +120 -37
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +2 -1
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.js +41 -17
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +65 -25
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +28 -26
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +54 -22
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +36 -25
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.js +84 -33
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +2 -1
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +40 -17
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +52 -32
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +56 -24
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +65 -25
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/ReplicationState.d.ts +48 -38
- package/dist/lib/models/dataprotection/v4/config/ReplicationState.js +58 -26
- package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.d.ts +26 -24
- package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.js +59 -26
- package/dist/lib/models/dataprotection/v4/config/SiteProtectionInfo.d.ts +58 -26
- package/dist/lib/models/dataprotection/v4/config/SiteProtectionInfo.js +92 -24
- package/dist/lib/models/dataprotection/v4/config/SiteReference.d.ts +28 -26
- package/dist/lib/models/dataprotection/v4/config/SiteReference.js +54 -22
- package/dist/lib/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.d.ts +65 -25
- package/dist/lib/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/SynchronousReplicationRole.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/SynchronousReplicationRole.js +97 -0
- package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +65 -25
- package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +65 -25
- package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +60 -28
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +4 -71
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.js +49 -256
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +24 -22
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +55 -23
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +22 -20
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +53 -23
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +61 -27
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +180 -39
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +34 -26
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +54 -22
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +40 -40
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.js +104 -73
- package/dist/lib/models/dataprotection/v4/config/Witness.d.ts +54 -32
- package/dist/lib/models/dataprotection/v4/config/Witness.js +95 -35
- package/dist/lib/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +10 -10
- package/dist/lib/models/dataprotection/v4/content/BaseRecoveryPointSpec.d.ts +64 -0
- package/dist/lib/models/dataprotection/v4/content/BaseRecoveryPointSpec.js +317 -0
- package/dist/lib/models/dataprotection/v4/content/ChangedRegion.d.ts +93 -0
- package/dist/lib/models/dataprotection/v4/{config/Region.js → content/ChangedRegion.js} +81 -49
- package/dist/lib/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.d.ts +99 -0
- package/dist/lib/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.js +365 -0
- package/dist/lib/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.d.ts +99 -0
- package/dist/lib/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.js +365 -0
- package/dist/lib/models/dataprotection/v4/content/ClusterDiscoverOperation.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/content/ClusterDiscoverOperation.js +85 -0
- package/dist/lib/models/dataprotection/v4/content/ClusterDiscoverSpec.d.ts +79 -0
- package/dist/lib/models/dataprotection/v4/content/ClusterDiscoverSpec.js +341 -0
- package/dist/lib/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.d.ts +76 -0
- package/dist/lib/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.js +358 -0
- package/dist/lib/models/dataprotection/v4/content/DiskRecoveryPointReference.d.ts +64 -0
- package/dist/lib/models/dataprotection/v4/content/DiskRecoveryPointReference.js +318 -0
- package/dist/lib/models/dataprotection/v4/content/GetVssMetadataApiResponse.d.ts +98 -0
- package/dist/lib/models/dataprotection/v4/{config/ComputeChangedRegionsResponseModel.js → content/GetVssMetadataApiResponse.js} +89 -58
- package/dist/lib/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.d.ts +62 -0
- package/dist/{es/models/dataprotection/v4/config/ClusterReference.js → lib/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.js} +99 -101
- package/dist/lib/models/dataprotection/v4/{config → content}/RegionType.js +8 -8
- package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.d.ts +30 -0
- package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.js +269 -0
- package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointReference.d.ts +30 -0
- package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointReference.js +270 -0
- package/dist/lib/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.d.ts +57 -0
- package/dist/lib/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.js +360 -0
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.d.ts +30 -0
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.js +269 -0
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.d.ts +30 -0
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.js +270 -0
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.d.ts +57 -0
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.js +360 -0
- package/dist/lib/models/dataprotection/v4/error/AppMessage.d.ts +57 -48
- package/dist/lib/models/dataprotection/v4/error/AppMessage.js +62 -30
- package/dist/lib/models/dataprotection/v4/error/ErrorResponse.d.ts +23 -19
- package/dist/lib/models/dataprotection/v4/error/ErrorResponse.js +58 -22
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.d.ts +53 -43
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.js +63 -30
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +34 -32
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +56 -24
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +22 -20
- package/dist/lib/models/prism/v4/config/TaskReference.js +52 -20
- package/dist/lib/models/validation/ValidationError.js +6 -6
- package/dist/lib/utils/ValidationUtils.js +6 -6
- package/package.json +3 -3
- package/dist/es/models/dataprotection/v4/config/Category.d.ts +0 -76
- package/dist/es/models/dataprotection/v4/config/Category.js +0 -290
- package/dist/es/models/dataprotection/v4/config/ClusterReference.d.ts +0 -72
- package/dist/es/models/dataprotection/v4/config/ComputeChangedRegionsResponse.d.ts +0 -48
- package/dist/es/models/dataprotection/v4/config/ComputeChangedRegionsResponse.js +0 -262
- package/dist/es/models/dataprotection/v4/config/ComputeChangedRegionsResponseModel.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/DisasterRecoveryLocation.d.ts +0 -71
- package/dist/es/models/dataprotection/v4/config/DisasterRecoveryLocation.js +0 -298
- package/dist/es/models/dataprotection/v4/config/DiskRecoveryPoint.d.ts +0 -62
- package/dist/es/models/dataprotection/v4/config/RedirectionResponse.d.ts +0 -60
- package/dist/es/models/dataprotection/v4/config/Region.d.ts +0 -91
- package/dist/es/models/dataprotection/v4/config/RegionResponse.d.ts +0 -60
- package/dist/es/models/dataprotection/v4/config/RegionResponse.js +0 -295
- package/dist/es/models/dataprotection/v4/config/Subnet.d.ts +0 -48
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.d.ts +0 -98
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.js +0 -403
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.d.ts +0 -98
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.js +0 -403
- package/dist/es/models/dataprotection/v4/config/VpcReference.d.ts +0 -72
- package/dist/lib/models/dataprotection/v4/config/Category.d.ts +0 -76
- package/dist/lib/models/dataprotection/v4/config/Category.js +0 -290
- package/dist/lib/models/dataprotection/v4/config/ClusterReference.d.ts +0 -72
- package/dist/lib/models/dataprotection/v4/config/ComputeChangedRegionsResponse.d.ts +0 -48
- package/dist/lib/models/dataprotection/v4/config/ComputeChangedRegionsResponse.js +0 -262
- package/dist/lib/models/dataprotection/v4/config/ComputeChangedRegionsResponseModel.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/DisasterRecoveryLocation.d.ts +0 -71
- package/dist/lib/models/dataprotection/v4/config/DisasterRecoveryLocation.js +0 -298
- package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPoint.d.ts +0 -62
- package/dist/lib/models/dataprotection/v4/config/RedirectionResponse.d.ts +0 -60
- package/dist/lib/models/dataprotection/v4/config/Region.d.ts +0 -91
- package/dist/lib/models/dataprotection/v4/config/RegionResponse.d.ts +0 -60
- package/dist/lib/models/dataprotection/v4/config/RegionResponse.js +0 -295
- package/dist/lib/models/dataprotection/v4/config/Subnet.d.ts +0 -48
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.d.ts +0 -98
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.js +0 -403
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.d.ts +0 -98
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.js +0 -403
- package/dist/lib/models/dataprotection/v4/config/VpcReference.d.ts +0 -72
- /package/dist/es/models/dataprotection/v4/{config → content}/RegionType.d.ts +0 -0
- /package/dist/lib/models/dataprotection/v4/{config → content}/RegionType.d.ts +0 -0
|
@@ -7,44 +7,52 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.RecoveryPointsApi = void 0;
|
|
8
8
|
var _ApiClient = require("../ApiClient");
|
|
9
9
|
var _RecoveryPointReplicateApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/RecoveryPointReplicateApiResponse"));
|
|
10
|
+
var _ClusterDiscoverSpec = _interopRequireDefault(require("../models/dataprotection/v4/content/ClusterDiscoverSpec"));
|
|
11
|
+
var _VmRecoveryPointChangedRegionsComputeSpec = _interopRequireDefault(require("../models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec"));
|
|
12
|
+
var _ClusterInfoApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/ClusterInfoApiResponse"));
|
|
10
13
|
var _ListRecoveryPointsApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/ListRecoveryPointsApiResponse"));
|
|
11
14
|
var _RecoveryPointRestorationSpec = _interopRequireDefault(require("../models/dataprotection/v4/config/RecoveryPointRestorationSpec"));
|
|
12
15
|
var _GetRecoveryPointApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/GetRecoveryPointApiResponse"));
|
|
16
|
+
var _ChangedVmRegionsApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/content/ChangedVmRegionsApiResponse"));
|
|
13
17
|
var _ExpirationTimeSpec = _interopRequireDefault(require("../models/dataprotection/v4/config/ExpirationTimeSpec"));
|
|
14
18
|
var _CreateRecoveryPointApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/CreateRecoveryPointApiResponse"));
|
|
19
|
+
var _GetVssMetadataApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/content/GetVssMetadataApiResponse"));
|
|
15
20
|
var _RecoveryPointRestoreApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/RecoveryPointRestoreApiResponse"));
|
|
16
21
|
var _RecoveryPoint = _interopRequireDefault(require("../models/dataprotection/v4/config/RecoveryPoint"));
|
|
17
22
|
var _DeleteRecoveryPointApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/DeleteRecoveryPointApiResponse"));
|
|
23
|
+
var _GetVmRecoveryPointApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/GetVmRecoveryPointApiResponse"));
|
|
24
|
+
var _VolumeGroupRecoveryPointChangedRegionsComputeSpec = _interopRequireDefault(require("../models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec"));
|
|
25
|
+
var _ChangedVolumeGroupRegionsApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse"));
|
|
18
26
|
var _RecoveryPointReplicationSpec = _interopRequireDefault(require("../models/dataprotection/v4/config/RecoveryPointReplicationSpec"));
|
|
19
27
|
var _UpdateRecoveryPointExpirationTimeApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse"));
|
|
20
|
-
function _interopRequireDefault(
|
|
28
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
21
29
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22
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; }
|
|
23
|
-
function _defineProperty(
|
|
24
|
-
function _classCallCheck(
|
|
25
|
-
function _defineProperties(
|
|
26
|
-
function _createClass(
|
|
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; }
|
|
27
35
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
28
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); }
|
|
29
|
-
function _classPrivateFieldInitSpec(
|
|
30
|
-
function _checkPrivateRedeclaration(
|
|
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"); }
|
|
31
39
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
32
40
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
33
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"); } /*
|
|
34
|
-
* Nutanix
|
|
42
|
+
* Nutanix Data Protection APIs
|
|
35
43
|
*
|
|
36
|
-
* OpenAPI spec version: 4.0.1
|
|
44
|
+
* OpenAPI spec version: 4.0.1
|
|
37
45
|
*
|
|
38
46
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
39
47
|
*
|
|
40
|
-
* Open API Dev Platform Codegen version: 16.
|
|
48
|
+
* Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
|
|
41
49
|
*
|
|
42
50
|
* Do not edit the class manually.
|
|
43
51
|
*
|
|
44
52
|
*/
|
|
45
53
|
/**
|
|
46
54
|
* RecoveryPoints service.
|
|
47
|
-
* @version 4.0.1
|
|
55
|
+
* @version 4.0.1
|
|
48
56
|
* @class RecoveryPointsApi
|
|
49
57
|
*/
|
|
50
58
|
var _headersToSkip = /*#__PURE__*/new WeakMap();
|
|
@@ -100,11 +108,11 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
100
108
|
var headerParams = _objectSpread({}, headersToInclude);
|
|
101
109
|
var formParams = {};
|
|
102
110
|
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
103
|
-
var authNames = ['basicAuthScheme'];
|
|
111
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
104
112
|
var contentTypes = ['application/json'];
|
|
105
113
|
var accepts = ['application/json'];
|
|
106
114
|
var returnType = _CreateRecoveryPointApiResponse["default"];
|
|
107
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0
|
|
115
|
+
return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
108
116
|
}
|
|
109
117
|
|
|
110
118
|
/**
|
|
@@ -136,11 +144,58 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
136
144
|
});
|
|
137
145
|
var headerParams = _objectSpread({}, headersToInclude);
|
|
138
146
|
var formParams = {};
|
|
139
|
-
var authNames = ['basicAuthScheme'];
|
|
147
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
140
148
|
var contentTypes = [];
|
|
141
149
|
var accepts = ['application/json'];
|
|
142
150
|
var returnType = _DeleteRecoveryPointApiResponse["default"];
|
|
143
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0
|
|
151
|
+
return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Discover cluster info for a recovery point
|
|
156
|
+
* It returns cluster details, where given recovery point resides, and a certificate to access endpoint. The certificate must be set as the NTNX_IGW_SESSION cookie in the header. For example: Cookie: NTNX_IGW_SESSION='certificate'
|
|
157
|
+
* @param { Required<Pick<ClusterDiscoverSpec, 'operation' | 'spec'>> & Partial<ClusterDiscoverSpec> } body specification
|
|
158
|
+
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
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");
|
|
176
|
+
}
|
|
177
|
+
// verify the required parameter 'body' is set
|
|
178
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
179
|
+
throw new Error("Invalid body when calling discoverClusterForRecoveryPointId");
|
|
180
|
+
}
|
|
181
|
+
var pathParams = {
|
|
182
|
+
'extId': extId
|
|
183
|
+
};
|
|
184
|
+
var queryParams = {};
|
|
185
|
+
var headersToInclude = {};
|
|
186
|
+
Object.keys(argMap).forEach(function (header) {
|
|
187
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this3).has(header.toLowerCase())) {
|
|
188
|
+
headersToInclude[header] = argMap[header];
|
|
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);
|
|
144
199
|
}
|
|
145
200
|
|
|
146
201
|
/**
|
|
@@ -153,7 +208,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
153
208
|
}, {
|
|
154
209
|
key: "getRecoveryPointById",
|
|
155
210
|
value: function getRecoveryPointById(extId) {
|
|
156
|
-
var
|
|
211
|
+
var _this4 = this;
|
|
157
212
|
var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
|
|
158
213
|
var postBody = null;
|
|
159
214
|
// verify the required parameter 'extId' is set
|
|
@@ -166,23 +221,108 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
166
221
|
var queryParams = {};
|
|
167
222
|
var headersToInclude = {};
|
|
168
223
|
Object.keys(argMap).forEach(function (header) {
|
|
169
|
-
if (!_classPrivateFieldGet(_headersToSkip,
|
|
224
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this4).has(header.toLowerCase())) {
|
|
170
225
|
headersToInclude[header] = argMap[header];
|
|
171
226
|
}
|
|
172
227
|
});
|
|
173
228
|
var headerParams = _objectSpread({}, headersToInclude);
|
|
174
229
|
var formParams = {};
|
|
175
|
-
var authNames = ['basicAuthScheme'];
|
|
230
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
176
231
|
var contentTypes = [];
|
|
177
232
|
var accepts = ['application/json'];
|
|
178
233
|
var returnType = _GetRecoveryPointApiResponse["default"];
|
|
179
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0
|
|
234
|
+
return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Get a VM recovery point
|
|
239
|
+
* Query the VM recovery point identified by {extId}.
|
|
240
|
+
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
241
|
+
* @param { String } extId The external identifier that can be used to identify a VM recovery point.
|
|
242
|
+
* @param {Object} args Additional Arguments
|
|
243
|
+
* @return {Promise<GetVmRecoveryPointApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetVmRecoveryPointApiResponse } and HTTP response
|
|
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");
|
|
258
|
+
}
|
|
259
|
+
var pathParams = {
|
|
260
|
+
'recoveryPointExtId': recoveryPointExtId,
|
|
261
|
+
'extId': extId
|
|
262
|
+
};
|
|
263
|
+
var queryParams = {};
|
|
264
|
+
var headersToInclude = {};
|
|
265
|
+
Object.keys(argMap).forEach(function (header) {
|
|
266
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this5).has(header.toLowerCase())) {
|
|
267
|
+
headersToInclude[header] = argMap[header];
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
var headerParams = _objectSpread({}, headersToInclude);
|
|
271
|
+
var formParams = {};
|
|
272
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
273
|
+
var contentTypes = [];
|
|
274
|
+
var accepts = ['application/json'];
|
|
275
|
+
var returnType = _GetVmRecoveryPointApiResponse["default"];
|
|
276
|
+
return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{recoveryPointExtId}/vm-recovery-points/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Get VSS metadata by VM recovery point ID
|
|
281
|
+
* 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 for storing compressed files. This cabinet file must be saved to the backup media during a backup operation, as required during a restore operation. This API returns the VSS metadata (data of the cabinet file) of a VM recovery point under a composite recovery point identified by an external identifier, which was saved during the create recovery point operation.
|
|
282
|
+
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
283
|
+
* @param { String } vmRecoveryPointExtId The external identifier that can be used to identify a VM recovery point.
|
|
284
|
+
* @param {Object} args Additional Arguments
|
|
285
|
+
* @return {Promise<GetVssMetadataApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetVssMetadataApiResponse } and HTTP response
|
|
286
|
+
*/
|
|
287
|
+
}, {
|
|
288
|
+
key: "getVssMetadataByVmRecoveryPointId",
|
|
289
|
+
value: function getVssMetadataByVmRecoveryPointId(recoveryPointExtId, vmRecoveryPointExtId) {
|
|
290
|
+
var _this6 = this;
|
|
291
|
+
var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
|
|
292
|
+
var postBody = null;
|
|
293
|
+
// verify the required parameter 'recoveryPointExtId' is set
|
|
294
|
+
if (typeof recoveryPointExtId === 'undefined' || recoveryPointExtId === null) {
|
|
295
|
+
throw new Error("Missing the required parameter 'recoveryPointExtId' when calling getVssMetadataByVmRecoveryPointId");
|
|
296
|
+
}
|
|
297
|
+
// verify the required parameter 'vmRecoveryPointExtId' is set
|
|
298
|
+
if (typeof vmRecoveryPointExtId === 'undefined' || vmRecoveryPointExtId === null) {
|
|
299
|
+
throw new Error("Missing the required parameter 'vmRecoveryPointExtId' when calling getVssMetadataByVmRecoveryPointId");
|
|
300
|
+
}
|
|
301
|
+
var pathParams = {
|
|
302
|
+
'recoveryPointExtId': recoveryPointExtId,
|
|
303
|
+
'vmRecoveryPointExtId': vmRecoveryPointExtId
|
|
304
|
+
};
|
|
305
|
+
var queryParams = {};
|
|
306
|
+
var headersToInclude = {};
|
|
307
|
+
Object.keys(argMap).forEach(function (header) {
|
|
308
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this6).has(header.toLowerCase())) {
|
|
309
|
+
headersToInclude[header] = argMap[header];
|
|
310
|
+
}
|
|
311
|
+
});
|
|
312
|
+
var headerParams = _objectSpread({}, headersToInclude);
|
|
313
|
+
var formParams = {};
|
|
314
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
315
|
+
var contentTypes = [];
|
|
316
|
+
var accepts = ['application/octet-stream', 'application/json'];
|
|
317
|
+
var returnType = _GetVssMetadataApiResponse["default"];
|
|
318
|
+
return this.apiClient.callApi('/api/dataprotection/v4.0/content/recovery-points/{recoveryPointExtId}/vm-recovery-points/{vmRecoveryPointExtId}/vss-metadata', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
180
319
|
}
|
|
181
320
|
|
|
182
321
|
/**
|
|
183
|
-
* List recovery
|
|
322
|
+
* List recovery points
|
|
184
323
|
* List of recovery point.
|
|
185
324
|
* @param {Object} opts Optional parameters defined for the operation
|
|
325
|
+
* @param { String } opts.xClusterId Cluster type from which recovery points must be fetched. Valid values: [AOS, MST]
|
|
186
326
|
* @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.
|
|
187
327
|
* @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.
|
|
188
328
|
* @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>
|
|
@@ -190,6 +330,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
190
330
|
* The filter can be applied to the following fields:<br>
|
|
191
331
|
* - creationTime<br>
|
|
192
332
|
* - extId<br>
|
|
333
|
+
* - locationAgnosticId<br>
|
|
193
334
|
* - name<br>
|
|
194
335
|
* - ownerExtId<br>
|
|
195
336
|
* - recoveryPointType<br>
|
|
@@ -213,7 +354,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
213
354
|
}, {
|
|
214
355
|
key: "listRecoveryPoints",
|
|
215
356
|
value: function listRecoveryPoints(opts) {
|
|
216
|
-
var
|
|
357
|
+
var _this7 = this;
|
|
217
358
|
var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
|
|
218
359
|
opts = opts || {};
|
|
219
360
|
var postBody = null;
|
|
@@ -231,17 +372,19 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
231
372
|
} : {});
|
|
232
373
|
var headersToInclude = {};
|
|
233
374
|
Object.keys(argMap).forEach(function (header) {
|
|
234
|
-
if (!_classPrivateFieldGet(_headersToSkip,
|
|
375
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this7).has(header.toLowerCase())) {
|
|
235
376
|
headersToInclude[header] = argMap[header];
|
|
236
377
|
}
|
|
237
378
|
});
|
|
238
|
-
var headerParams = _objectSpread({
|
|
379
|
+
var headerParams = _objectSpread({
|
|
380
|
+
'X-Cluster-Id': opts['xClusterId']
|
|
381
|
+
}, headersToInclude);
|
|
239
382
|
var formParams = {};
|
|
240
|
-
var authNames = ['basicAuthScheme'];
|
|
383
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
241
384
|
var contentTypes = [];
|
|
242
385
|
var accepts = ['application/json'];
|
|
243
386
|
var returnType = _ListRecoveryPointsApiResponse["default"];
|
|
244
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0
|
|
387
|
+
return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
245
388
|
}
|
|
246
389
|
|
|
247
390
|
/**
|
|
@@ -255,7 +398,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
255
398
|
}, {
|
|
256
399
|
key: "replicateRecoveryPoint",
|
|
257
400
|
value: function replicateRecoveryPoint(extId, body) {
|
|
258
|
-
var
|
|
401
|
+
var _this8 = this;
|
|
259
402
|
var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
|
|
260
403
|
var postBody = null;
|
|
261
404
|
if (body instanceof _RecoveryPointReplicationSpec["default"] && typeof body.toJson === 'function') {
|
|
@@ -277,18 +420,18 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
277
420
|
var queryParams = {};
|
|
278
421
|
var headersToInclude = {};
|
|
279
422
|
Object.keys(argMap).forEach(function (header) {
|
|
280
|
-
if (!_classPrivateFieldGet(_headersToSkip,
|
|
423
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this8).has(header.toLowerCase())) {
|
|
281
424
|
headersToInclude[header] = argMap[header];
|
|
282
425
|
}
|
|
283
426
|
});
|
|
284
427
|
var headerParams = _objectSpread({}, headersToInclude);
|
|
285
428
|
var formParams = {};
|
|
286
429
|
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
287
|
-
var authNames = ['basicAuthScheme'];
|
|
430
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
288
431
|
var contentTypes = ['application/json'];
|
|
289
432
|
var accepts = ['application/json'];
|
|
290
433
|
var returnType = _RecoveryPointReplicateApiResponse["default"];
|
|
291
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0
|
|
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);
|
|
292
435
|
}
|
|
293
436
|
|
|
294
437
|
/**
|
|
@@ -302,7 +445,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
302
445
|
}, {
|
|
303
446
|
key: "restoreRecoveryPoint",
|
|
304
447
|
value: function restoreRecoveryPoint(extId, body) {
|
|
305
|
-
var
|
|
448
|
+
var _this9 = this;
|
|
306
449
|
var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
|
|
307
450
|
var postBody = null;
|
|
308
451
|
if (body instanceof _RecoveryPointRestorationSpec["default"] && typeof body.toJson === 'function') {
|
|
@@ -320,18 +463,18 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
320
463
|
var queryParams = {};
|
|
321
464
|
var headersToInclude = {};
|
|
322
465
|
Object.keys(argMap).forEach(function (header) {
|
|
323
|
-
if (!_classPrivateFieldGet(_headersToSkip,
|
|
466
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this9).has(header.toLowerCase())) {
|
|
324
467
|
headersToInclude[header] = argMap[header];
|
|
325
468
|
}
|
|
326
469
|
});
|
|
327
470
|
var headerParams = _objectSpread({}, headersToInclude);
|
|
328
471
|
var formParams = {};
|
|
329
472
|
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
330
|
-
var authNames = ['basicAuthScheme'];
|
|
473
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
331
474
|
var contentTypes = ['application/json'];
|
|
332
475
|
var accepts = ['application/json'];
|
|
333
476
|
var returnType = _RecoveryPointRestoreApiResponse["default"];
|
|
334
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0
|
|
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);
|
|
335
478
|
}
|
|
336
479
|
|
|
337
480
|
/**
|
|
@@ -345,7 +488,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
345
488
|
}, {
|
|
346
489
|
key: "setRecoveryPointExpirationTime",
|
|
347
490
|
value: function setRecoveryPointExpirationTime(extId, body) {
|
|
348
|
-
var
|
|
491
|
+
var _this10 = this;
|
|
349
492
|
var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
|
|
350
493
|
var postBody = null;
|
|
351
494
|
if (body instanceof _ExpirationTimeSpec["default"] && typeof body.toJson === 'function') {
|
|
@@ -367,18 +510,136 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
367
510
|
var queryParams = {};
|
|
368
511
|
var headersToInclude = {};
|
|
369
512
|
Object.keys(argMap).forEach(function (header) {
|
|
370
|
-
if (!_classPrivateFieldGet(_headersToSkip,
|
|
513
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this10).has(header.toLowerCase())) {
|
|
371
514
|
headersToInclude[header] = argMap[header];
|
|
372
515
|
}
|
|
373
516
|
});
|
|
374
517
|
var headerParams = _objectSpread({}, headersToInclude);
|
|
375
518
|
var formParams = {};
|
|
376
519
|
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
377
|
-
var authNames = ['basicAuthScheme'];
|
|
520
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
378
521
|
var contentTypes = ['application/json'];
|
|
379
522
|
var accepts = ['application/json'];
|
|
380
523
|
var returnType = _UpdateRecoveryPointExpirationTimeApiResponse["default"];
|
|
381
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0
|
|
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);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Compute VM recovery points changed regions
|
|
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);
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Compute Volume Group recovery points changed regions
|
|
588
|
+
* 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.
|
|
589
|
+
* @param { Partial<VolumeGroupRecoveryPointChangedRegionsComputeSpec> } body specification
|
|
590
|
+
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
591
|
+
* @param { String } volumeGroupRecoveryPointExtId External identifier of the volume group recovery point.
|
|
592
|
+
* @param { String } extId Disk recovery point identifier.
|
|
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;
|
|
606
|
+
}
|
|
607
|
+
// verify the required parameter 'recoveryPointExtId' is set
|
|
608
|
+
if (typeof recoveryPointExtId === 'undefined' || recoveryPointExtId === null) {
|
|
609
|
+
throw new Error("Missing the required parameter 'recoveryPointExtId' when calling volumeGroupRecoveryPointComputeChangedRegions");
|
|
610
|
+
}
|
|
611
|
+
// verify the required parameter 'volumeGroupRecoveryPointExtId' is set
|
|
612
|
+
if (typeof volumeGroupRecoveryPointExtId === 'undefined' || volumeGroupRecoveryPointExtId === null) {
|
|
613
|
+
throw new Error("Missing the required parameter 'volumeGroupRecoveryPointExtId' when calling volumeGroupRecoveryPointComputeChangedRegions");
|
|
614
|
+
}
|
|
615
|
+
// verify the required parameter 'extId' is set
|
|
616
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
617
|
+
throw new Error("Missing the required parameter 'extId' when calling volumeGroupRecoveryPointComputeChangedRegions");
|
|
618
|
+
}
|
|
619
|
+
// verify the required parameter 'body' is set
|
|
620
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
621
|
+
throw new Error("Invalid body when calling volumeGroupRecoveryPointComputeChangedRegions");
|
|
622
|
+
}
|
|
623
|
+
var pathParams = {
|
|
624
|
+
'recoveryPointExtId': recoveryPointExtId,
|
|
625
|
+
'volumeGroupRecoveryPointExtId': volumeGroupRecoveryPointExtId,
|
|
626
|
+
'extId': extId
|
|
627
|
+
};
|
|
628
|
+
var queryParams = {};
|
|
629
|
+
var headersToInclude = {};
|
|
630
|
+
Object.keys(argMap).forEach(function (header) {
|
|
631
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this12).has(header.toLowerCase())) {
|
|
632
|
+
headersToInclude[header] = argMap[header];
|
|
633
|
+
}
|
|
634
|
+
});
|
|
635
|
+
var headerParams = _objectSpread({}, headersToInclude);
|
|
636
|
+
var formParams = {};
|
|
637
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
638
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
639
|
+
var contentTypes = ['application/json'];
|
|
640
|
+
var accepts = ['application/json'];
|
|
641
|
+
var returnType = _ChangedVolumeGroupRegionsApiResponse["default"];
|
|
642
|
+
return this.apiClient.callApi('/api/dataprotection/v4.0/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);
|
|
382
643
|
}
|
|
383
644
|
}], [{
|
|
384
645
|
key: "ApiClient",
|