@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
package/dist/es/Paginable.js
CHANGED
|
@@ -6,21 +6,21 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = require("./ApiClient");
|
|
8
8
|
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); }
|
|
9
|
-
function _createForOfIteratorHelper(
|
|
10
|
-
function _unsupportedIterableToArray(
|
|
11
|
-
function _arrayLikeToArray(
|
|
12
|
-
function _classCallCheck(
|
|
13
|
-
function _defineProperties(
|
|
14
|
-
function _createClass(
|
|
9
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
10
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
11
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
12
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
13
|
+
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); } }
|
|
14
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
16
|
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); } /*
|
|
17
|
-
* Nutanix
|
|
17
|
+
* Nutanix Data Protection APIs
|
|
18
18
|
*
|
|
19
|
-
* OpenAPI spec version: 4.0.1
|
|
19
|
+
* OpenAPI spec version: 4.0.1
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
22
22
|
*
|
|
23
|
-
* Open API Dev Platform Codegen version: 16.
|
|
23
|
+
* Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
|
|
24
24
|
*
|
|
25
25
|
* Do not edit the class manually.
|
|
26
26
|
*
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* A model that represents a paginable response from a list endpoint.
|
|
30
30
|
* @module Paginable
|
|
31
|
-
* @version 4.0.1
|
|
31
|
+
* @version 4.0.1
|
|
32
32
|
*/
|
|
33
33
|
var Paginable = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -10,34 +10,34 @@ var _GetProtectedResourceApiResponse = _interopRequireDefault(require("../models
|
|
|
10
10
|
var _ProtectedResourceRestoreApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse"));
|
|
11
11
|
var _ProtectedResourcePromoteApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse"));
|
|
12
12
|
var _ProtectedResourceRestoreSpec = _interopRequireDefault(require("../models/dataprotection/v4/config/ProtectedResourceRestoreSpec"));
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
14
|
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; }
|
|
15
15
|
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; }
|
|
16
|
-
function _defineProperty(
|
|
17
|
-
function _classCallCheck(
|
|
18
|
-
function _defineProperties(
|
|
19
|
-
function _createClass(
|
|
16
|
+
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; }
|
|
17
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
18
|
+
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); } }
|
|
19
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
20
20
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
21
21
|
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); }
|
|
22
|
-
function _classPrivateFieldInitSpec(
|
|
23
|
-
function _checkPrivateRedeclaration(
|
|
22
|
+
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
23
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
24
24
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
25
25
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
26
26
|
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
|
-
* Nutanix
|
|
27
|
+
* Nutanix Data Protection APIs
|
|
28
28
|
*
|
|
29
|
-
* OpenAPI spec version: 4.0.1
|
|
29
|
+
* OpenAPI spec version: 4.0.1
|
|
30
30
|
*
|
|
31
31
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
32
32
|
*
|
|
33
|
-
* Open API Dev Platform Codegen version: 16.
|
|
33
|
+
* Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
|
|
34
34
|
*
|
|
35
35
|
* Do not edit the class manually.
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
38
|
/**
|
|
39
39
|
* ProtectedResources service.
|
|
40
|
-
* @version 4.0.1
|
|
40
|
+
* @version 4.0.1
|
|
41
41
|
* @class ProtectedResourcesApi
|
|
42
42
|
*/
|
|
43
43
|
var _headersToSkip = /*#__PURE__*/new WeakMap();
|
|
@@ -89,11 +89,11 @@ var ProtectedResourcesApi = exports.ProtectedResourcesApi = /*#__PURE__*/functio
|
|
|
89
89
|
});
|
|
90
90
|
var headerParams = _objectSpread({}, headersToInclude);
|
|
91
91
|
var formParams = {};
|
|
92
|
-
var authNames = ['basicAuthScheme'];
|
|
92
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
93
93
|
var contentTypes = [];
|
|
94
94
|
var accepts = ['application/json'];
|
|
95
95
|
var returnType = _GetProtectedResourceApiResponse["default"];
|
|
96
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0
|
|
96
|
+
return this.apiClient.callApi('/api/dataprotection/v4.0/config/protected-resources/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
/**
|
|
@@ -125,11 +125,11 @@ var ProtectedResourcesApi = exports.ProtectedResourcesApi = /*#__PURE__*/functio
|
|
|
125
125
|
});
|
|
126
126
|
var headerParams = _objectSpread({}, headersToInclude);
|
|
127
127
|
var formParams = {};
|
|
128
|
-
var authNames = ['basicAuthScheme'];
|
|
128
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
129
129
|
var contentTypes = [];
|
|
130
130
|
var accepts = ['application/json'];
|
|
131
131
|
var returnType = _ProtectedResourcePromoteApiResponse["default"];
|
|
132
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0
|
|
132
|
+
return this.apiClient.callApi('/api/dataprotection/v4.0/config/protected-resources/{extId}/$actions/promote', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
/**
|
|
@@ -172,11 +172,11 @@ var ProtectedResourcesApi = exports.ProtectedResourcesApi = /*#__PURE__*/functio
|
|
|
172
172
|
var headerParams = _objectSpread({}, headersToInclude);
|
|
173
173
|
var formParams = {};
|
|
174
174
|
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
175
|
-
var authNames = ['basicAuthScheme'];
|
|
175
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
176
176
|
var contentTypes = ['application/json'];
|
|
177
177
|
var accepts = ['application/json'];
|
|
178
178
|
var returnType = _ProtectedResourceRestoreApiResponse["default"];
|
|
179
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0
|
|
179
|
+
return this.apiClient.callApi('/api/dataprotection/v4.0/config/protected-resources/{extId}/$actions/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
180
180
|
}
|
|
181
181
|
}], [{
|
|
182
182
|
key: "ApiClient",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* RecoveryPoints service.
|
|
3
|
-
* @version 4.0.1
|
|
3
|
+
* @version 4.0.1
|
|
4
4
|
* @class RecoveryPointsApi
|
|
5
5
|
*/
|
|
6
6
|
export class RecoveryPointsApi {
|
|
@@ -34,6 +34,15 @@ export class RecoveryPointsApi {
|
|
|
34
34
|
* @return {Promise<DeleteRecoveryPointApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link DeleteRecoveryPointApiResponse } and HTTP response
|
|
35
35
|
*/
|
|
36
36
|
deleteRecoveryPointById(extId: string, ...args: any): Promise<DeleteRecoveryPointApiResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Discover cluster info for a recovery point
|
|
39
|
+
* 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'
|
|
40
|
+
* @param { Required<Pick<ClusterDiscoverSpec, 'operation' | 'spec'>> & Partial<ClusterDiscoverSpec> } body specification
|
|
41
|
+
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
42
|
+
* @param {Object} args Additional Arguments
|
|
43
|
+
* @return {Promise<ClusterInfoApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ClusterInfoApiResponse } and HTTP response
|
|
44
|
+
*/
|
|
45
|
+
discoverClusterForRecoveryPointId(extId: string, body: Required<Pick<ClusterDiscoverSpec, 'operation' | 'spec'>> & Partial<ClusterDiscoverSpec>, ...args: any): Promise<ClusterInfoApiResponse>;
|
|
37
46
|
/**
|
|
38
47
|
* Get a recovery point
|
|
39
48
|
* Query the recovery point identified by {extId}.
|
|
@@ -43,9 +52,28 @@ export class RecoveryPointsApi {
|
|
|
43
52
|
*/
|
|
44
53
|
getRecoveryPointById(extId: string, ...args: any): Promise<GetRecoveryPointApiResponse>;
|
|
45
54
|
/**
|
|
46
|
-
*
|
|
55
|
+
* Get a VM recovery point
|
|
56
|
+
* Query the VM recovery point identified by {extId}.
|
|
57
|
+
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
58
|
+
* @param { String } extId The external identifier that can be used to identify a VM recovery point.
|
|
59
|
+
* @param {Object} args Additional Arguments
|
|
60
|
+
* @return {Promise<GetVmRecoveryPointApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetVmRecoveryPointApiResponse } and HTTP response
|
|
61
|
+
*/
|
|
62
|
+
getVmRecoveryPointById(recoveryPointExtId: string, extId: string, ...args: any): Promise<GetVmRecoveryPointApiResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Get VSS metadata by VM recovery point ID
|
|
65
|
+
* The metadata documents of Volume Shadow Copy Service(VSS) writers and requesters are called VSS metadata. During a VSS backup operation, the VSS metadata is compressed into a cabinet file, which is in a .cab file format designed 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.
|
|
66
|
+
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
67
|
+
* @param { String } vmRecoveryPointExtId The external identifier that can be used to identify a VM recovery point.
|
|
68
|
+
* @param {Object} args Additional Arguments
|
|
69
|
+
* @return {Promise<GetVssMetadataApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetVssMetadataApiResponse } and HTTP response
|
|
70
|
+
*/
|
|
71
|
+
getVssMetadataByVmRecoveryPointId(recoveryPointExtId: string, vmRecoveryPointExtId: string, ...args: any): Promise<GetVssMetadataApiResponse>;
|
|
72
|
+
/**
|
|
73
|
+
* List recovery points
|
|
47
74
|
* List of recovery point.
|
|
48
75
|
* @param {Object} opts Optional parameters defined for the operation
|
|
76
|
+
* @param { String } opts.xClusterId Cluster type from which recovery points must be fetched. Valid values: [AOS, MST]
|
|
49
77
|
* @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.
|
|
50
78
|
|
|
51
79
|
* @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.
|
|
@@ -55,6 +83,7 @@ export class RecoveryPointsApi {
|
|
|
55
83
|
* The filter can be applied to the following fields:<br>
|
|
56
84
|
* - creationTime<br>
|
|
57
85
|
* - extId<br>
|
|
86
|
+
* - locationAgnosticId<br>
|
|
58
87
|
* - name<br>
|
|
59
88
|
* - ownerExtId<br>
|
|
60
89
|
* - recoveryPointType<br>
|
|
@@ -77,6 +106,7 @@ export class RecoveryPointsApi {
|
|
|
77
106
|
* @return {Promise<ListRecoveryPointsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListRecoveryPointsApiResponse } and HTTP response
|
|
78
107
|
*/
|
|
79
108
|
listRecoveryPoints(opts: {
|
|
109
|
+
xClusterId: string;
|
|
80
110
|
$page: number;
|
|
81
111
|
$limit: number;
|
|
82
112
|
$filter: string;
|
|
@@ -110,12 +140,38 @@ export class RecoveryPointsApi {
|
|
|
110
140
|
* @return {Promise<UpdateRecoveryPointExpirationTimeApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link UpdateRecoveryPointExpirationTimeApiResponse } and HTTP response
|
|
111
141
|
*/
|
|
112
142
|
setRecoveryPointExpirationTime(extId: string, body: Required<Pick<ExpirationTimeSpec, 'expirationTime'>> & Partial<ExpirationTimeSpec>, ...args: any): Promise<UpdateRecoveryPointExpirationTimeApiResponse>;
|
|
143
|
+
/**
|
|
144
|
+
* Compute VM recovery points changed regions
|
|
145
|
+
* 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.
|
|
146
|
+
* @param { Partial<VmRecoveryPointChangedRegionsComputeSpec> } body specification
|
|
147
|
+
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
148
|
+
* @param { String } vmRecoveryPointExtId The external identifier that can be used to identify a VM recovery point.
|
|
149
|
+
* @param { String } extId Disk recovery point identifier.
|
|
150
|
+
* @param {Object} args Additional Arguments
|
|
151
|
+
* @return {Promise<ChangedVmRegionsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ChangedVmRegionsApiResponse } and HTTP response
|
|
152
|
+
*/
|
|
153
|
+
vmRecoveryPointComputeChangedRegions(recoveryPointExtId: string, vmRecoveryPointExtId: string, extId: string, body: Partial<VmRecoveryPointChangedRegionsComputeSpec>, ...args: any): Promise<ChangedVmRegionsApiResponse>;
|
|
154
|
+
/**
|
|
155
|
+
* Compute Volume Group recovery points changed regions
|
|
156
|
+
* 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.
|
|
157
|
+
* @param { Partial<VolumeGroupRecoveryPointChangedRegionsComputeSpec> } body specification
|
|
158
|
+
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
159
|
+
* @param { String } volumeGroupRecoveryPointExtId External identifier of the volume group recovery point.
|
|
160
|
+
* @param { String } extId Disk recovery point identifier.
|
|
161
|
+
* @param {Object} args Additional Arguments
|
|
162
|
+
* @return {Promise<ChangedVolumeGroupRegionsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ChangedVolumeGroupRegionsApiResponse } and HTTP response
|
|
163
|
+
*/
|
|
164
|
+
volumeGroupRecoveryPointComputeChangedRegions(recoveryPointExtId: string, volumeGroupRecoveryPointExtId: string, extId: string, body: Partial<VolumeGroupRecoveryPointChangedRegionsComputeSpec>, ...args: any): Promise<ChangedVolumeGroupRegionsApiResponse>;
|
|
113
165
|
#private;
|
|
114
166
|
}
|
|
115
167
|
import RecoveryPoint from "../models/dataprotection/v4/config/RecoveryPoint";
|
|
116
168
|
import CreateRecoveryPointApiResponse from "../models/dataprotection/v4/config/CreateRecoveryPointApiResponse";
|
|
117
169
|
import DeleteRecoveryPointApiResponse from "../models/dataprotection/v4/config/DeleteRecoveryPointApiResponse";
|
|
170
|
+
import ClusterDiscoverSpec from "../models/dataprotection/v4/content/ClusterDiscoverSpec";
|
|
171
|
+
import ClusterInfoApiResponse from "../models/dataprotection/v4/config/ClusterInfoApiResponse";
|
|
118
172
|
import GetRecoveryPointApiResponse from "../models/dataprotection/v4/config/GetRecoveryPointApiResponse";
|
|
173
|
+
import GetVmRecoveryPointApiResponse from "../models/dataprotection/v4/config/GetVmRecoveryPointApiResponse";
|
|
174
|
+
import GetVssMetadataApiResponse from "../models/dataprotection/v4/content/GetVssMetadataApiResponse";
|
|
119
175
|
import ListRecoveryPointsApiResponse from "../models/dataprotection/v4/config/ListRecoveryPointsApiResponse";
|
|
120
176
|
import RecoveryPointReplicationSpec from "../models/dataprotection/v4/config/RecoveryPointReplicationSpec";
|
|
121
177
|
import RecoveryPointReplicateApiResponse from "../models/dataprotection/v4/config/RecoveryPointReplicateApiResponse";
|
|
@@ -123,4 +179,8 @@ import RecoveryPointRestorationSpec from "../models/dataprotection/v4/config/Rec
|
|
|
123
179
|
import RecoveryPointRestoreApiResponse from "../models/dataprotection/v4/config/RecoveryPointRestoreApiResponse";
|
|
124
180
|
import ExpirationTimeSpec from "../models/dataprotection/v4/config/ExpirationTimeSpec";
|
|
125
181
|
import UpdateRecoveryPointExpirationTimeApiResponse from "../models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse";
|
|
182
|
+
import VmRecoveryPointChangedRegionsComputeSpec from "../models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec";
|
|
183
|
+
import ChangedVmRegionsApiResponse from "../models/dataprotection/v4/content/ChangedVmRegionsApiResponse";
|
|
184
|
+
import VolumeGroupRecoveryPointChangedRegionsComputeSpec from "../models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec";
|
|
185
|
+
import ChangedVolumeGroupRegionsApiResponse from "../models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse";
|
|
126
186
|
import { ApiClient } from "../ApiClient";
|