@nutanix-scratch/dataprotection-js-client 4.0.1-beta.1 → 4.1.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 +51 -34
- package/dist/Ntnx-Dataprotection-js-client-prod.js +1 -1
- package/dist/Ntnx-Dataprotection-js-client.js +486 -277
- package/dist/es/ApiClient.d.ts +14 -1
- package/dist/es/ApiClient.js +257 -206
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +10 -10
- package/dist/es/apis/protectedresources-endpoints.d.ts +7 -7
- package/dist/es/apis/protectedresources-endpoints.js +23 -23
- package/dist/es/apis/recoverypoints-endpoints.d.ts +64 -24
- package/dist/es/apis/recoverypoints-endpoints.js +301 -59
- package/dist/es/index.d.ts +79 -41
- package/dist/es/index.js +258 -106
- 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/es/models/{dataprotection/v4/config/IpAddress.js → common/v1/config/IPAddress.js} +131 -58
- 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/es/models/common/v1/config/MapOfStringWrapper.js +275 -0
- 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 +24 -22
- package/dist/es/models/common/v1/config/TenantAwareModel.js +55 -23
- 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 +4 -44
- package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.js +58 -151
- 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/{CreateConsistencyGroupApiResponse.js → ClusterInfoApiResponse.js} +90 -58
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.d.ts +62 -51
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.js +100 -54
- 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/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 +40 -28
- package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.js +83 -45
- 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 -21
- 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/{SynchronousReplicaPromoteApiResponse.js → GetVmRecoveryPointApiResponse.js} +90 -58
- 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/HypervisorType.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/config/HypervisorType.js +85 -0
- 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/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 +114 -46
- package/dist/es/models/dataprotection/v4/config/ProtectedResource.js +129 -41
- 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 +11 -11
- 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 +32 -42
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +67 -97
- package/dist/es/models/dataprotection/v4/config/RecoveryInfo.d.ts +29 -20
- package/dist/es/models/dataprotection/v4/config/RecoveryInfo.js +56 -21
- package/dist/es/models/dataprotection/v4/config/RecoveryPoint.d.ts +123 -40
- package/dist/es/models/dataprotection/v4/config/RecoveryPoint.js +167 -48
- 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 +54 -32
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +60 -28
- 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 +59 -27
- package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.d.ts +26 -24
- package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.js +60 -27
- 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/SynchronousReplicationRole.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/config/SynchronousReplicationRole.js +97 -0
- 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 +39 -63
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.js +186 -181
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +50 -22
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +156 -26
- 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/{config/UpdateConsistencyGroupApiResponse.js → content/ChangedVmRegionsApiResponse.js} +90 -58
- 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/{lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js → es/models/dataprotection/v4/content/GetVssMetadataApiResponse.js} +90 -61
- package/dist/es/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.d.ts +62 -0
- package/dist/es/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.js +284 -0
- package/dist/{lib/models/dataprotection/v4/config → es/models/dataprotection/v4/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 +59 -50
- package/dist/es/models/dataprotection/v4/error/AppMessage.js +65 -33
- package/dist/es/models/dataprotection/v4/error/ErrorResponse.d.ts +23 -19
- package/dist/es/models/dataprotection/v4/error/ErrorResponse.js +58 -27
- 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 +24 -22
- package/dist/es/models/prism/v4/config/TaskReference.js +56 -26
- package/dist/es/models/validation/ValidationError.js +6 -6
- package/dist/es/models/vmm/v4/ahv/config/CategoryReference.d.ts +52 -0
- package/dist/{lib/models/dataprotection/v4/config/ClusterReference.js → es/models/vmm/v4/ahv/config/CategoryReference.js} +82 -91
- package/dist/es/models/vmm/v4/ahv/config/OwnerReference.d.ts +52 -0
- package/dist/{lib/models/dataprotection/v4/config/VpcReference.js → es/models/vmm/v4/ahv/config/OwnerReference.js} +82 -91
- package/dist/es/models/vmm/v4/ahv/config/OwnershipInfo.d.ts +56 -0
- package/dist/es/models/{dataprotection/v4/config/Subnet.js → vmm/v4/ahv/config/OwnershipInfo.js} +93 -61
- package/dist/es/models/vmm/v4/ahv/config/SubnetReference.d.ts +52 -0
- package/dist/es/models/vmm/v4/ahv/config/SubnetReference.js +277 -0
- package/dist/es/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.d.ts +127 -0
- package/dist/es/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.js +439 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.d.ts +75 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.js +323 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.d.ts +88 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.js +391 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.d.ts +72 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.js +334 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.d.ts +85 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.js +310 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.d.ts +52 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.js +277 -0
- package/dist/es/utils/ValidationUtils.js +6 -6
- package/dist/lib/ApiClient.d.ts +14 -1
- package/dist/lib/ApiClient.js +257 -206
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +10 -10
- package/dist/lib/apis/protectedresources-endpoints.d.ts +7 -7
- package/dist/lib/apis/protectedresources-endpoints.js +23 -23
- package/dist/lib/apis/recoverypoints-endpoints.d.ts +64 -24
- package/dist/lib/apis/recoverypoints-endpoints.js +301 -59
- package/dist/lib/index.d.ts +79 -41
- package/dist/lib/index.js +258 -106
- 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/lib/models/{dataprotection/v4/config/IpAddress.js → common/v1/config/IPAddress.js} +131 -58
- 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/lib/models/common/v1/config/MapOfStringWrapper.js +275 -0
- 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 +24 -22
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +55 -23
- 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 +4 -44
- package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.js +58 -151
- 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/{CreateConsistencyGroupApiResponse.js → ClusterInfoApiResponse.js} +90 -58
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.d.ts +62 -51
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.js +100 -54
- 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/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 +40 -28
- package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.js +83 -45
- 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 -21
- 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/{SynchronousReplicaPromoteApiResponse.js → GetVmRecoveryPointApiResponse.js} +90 -58
- 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/HypervisorType.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/HypervisorType.js +85 -0
- 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/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 +114 -46
- package/dist/lib/models/dataprotection/v4/config/ProtectedResource.js +129 -41
- 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 +11 -11
- 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 +32 -42
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +67 -97
- package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.d.ts +29 -20
- package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.js +56 -21
- package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.d.ts +123 -40
- package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.js +167 -48
- 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 +54 -32
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +60 -28
- 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 +59 -27
- package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.d.ts +26 -24
- package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.js +60 -27
- 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/SynchronousReplicationRole.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/SynchronousReplicationRole.js +97 -0
- 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 +39 -63
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.js +186 -181
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +50 -22
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +156 -26
- 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/{config/UpdateConsistencyGroupApiResponse.js → content/ChangedVmRegionsApiResponse.js} +90 -58
- 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/{es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js → lib/models/dataprotection/v4/content/GetVssMetadataApiResponse.js} +90 -61
- package/dist/lib/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.d.ts +62 -0
- package/dist/lib/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.js +284 -0
- package/dist/{es/models/dataprotection/v4/config → lib/models/dataprotection/v4/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 +59 -50
- package/dist/lib/models/dataprotection/v4/error/AppMessage.js +65 -33
- package/dist/lib/models/dataprotection/v4/error/ErrorResponse.d.ts +23 -19
- package/dist/lib/models/dataprotection/v4/error/ErrorResponse.js +58 -27
- 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 +24 -22
- package/dist/lib/models/prism/v4/config/TaskReference.js +56 -26
- package/dist/lib/models/validation/ValidationError.js +6 -6
- package/dist/lib/models/vmm/v4/ahv/config/CategoryReference.d.ts +52 -0
- package/dist/{es/models/dataprotection/v4/config/ClusterReference.js → lib/models/vmm/v4/ahv/config/CategoryReference.js} +82 -91
- package/dist/lib/models/vmm/v4/ahv/config/OwnerReference.d.ts +52 -0
- package/dist/{es/models/dataprotection/v4/config/VpcReference.js → lib/models/vmm/v4/ahv/config/OwnerReference.js} +82 -91
- package/dist/lib/models/vmm/v4/ahv/config/OwnershipInfo.d.ts +56 -0
- package/dist/lib/models/{dataprotection/v4/config/Subnet.js → vmm/v4/ahv/config/OwnershipInfo.js} +93 -61
- package/dist/lib/models/vmm/v4/ahv/config/SubnetReference.d.ts +52 -0
- package/dist/lib/models/vmm/v4/ahv/config/SubnetReference.js +277 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.d.ts +127 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.js +439 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.d.ts +75 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.js +323 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.d.ts +88 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.js +391 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.d.ts +72 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.js +334 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.d.ts +85 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.js +310 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.d.ts +52 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.js +277 -0
- package/dist/lib/utils/ValidationUtils.js +6 -6
- package/package.json +4 -4
- 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/ComputeChangedRegionsResponseModel.js +0 -311
- package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.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/IpAddress.d.ts +0 -60
- package/dist/es/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js +0 -311
- 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/SynchronousReplicaPromoteApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +0 -59
- 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/ComputeChangedRegionsResponseModel.js +0 -311
- package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.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/IpAddress.d.ts +0 -60
- package/dist/lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js +0 -311
- 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/SynchronousReplicaPromoteApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +0 -59
- 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.
|
|
44
|
+
* OpenAPI spec version: 4.1.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:
|
|
48
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
41
49
|
*
|
|
42
50
|
* Do not edit the class manually.
|
|
43
51
|
*
|
|
44
52
|
*/
|
|
45
53
|
/**
|
|
46
54
|
* RecoveryPoints service.
|
|
47
|
-
* @version 4.
|
|
55
|
+
* @version 4.1.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.
|
|
115
|
+
return this.apiClient.callApi('/api/dataprotection/v4.1/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.
|
|
151
|
+
return this.apiClient.callApi('/api/dataprotection/v4.1/config/recovery-points/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Discover cluster details for a recovery point
|
|
156
|
+
* It returns cluster details where the given recovery point is located, and a certificate to access the endpoint. The certificate must be set as a NTNX_IGW_SESSION cookie in the header. For example, Cookie: NTNX_IGW_SESSION='certificate'
|
|
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.1/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,54 +221,121 @@ 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.
|
|
234
|
+
return this.apiClient.callApi('/api/dataprotection/v4.1/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.1/config/recovery-points/{recoveryPointExtId}/vm-recovery-points/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
180
277
|
}
|
|
181
278
|
|
|
182
279
|
/**
|
|
183
|
-
*
|
|
184
|
-
*
|
|
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 to store compressed files. This cabinet file must be saved to the backup media during a backup operation, as it will be required during a restore operation. This API returns the VSS metadata (cabinet file) of a VM recovery point under a composite recovery point that is identified by an external identifier. This external identifier was saved during the recovery point creation operation.
|
|
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.1/content/recovery-points/{recoveryPointExtId}/vm-recovery-points/{vmRecoveryPointExtId}/vss-metadata', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* List recovery points
|
|
323
|
+
* List of recovery points.
|
|
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>
|
|
189
|
-
* For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'
|
|
190
|
-
*
|
|
191
|
-
* - creationTime<br>
|
|
192
|
-
* - extId<br>
|
|
193
|
-
* - name<br>
|
|
194
|
-
* - ownerExtId<br>
|
|
195
|
-
* - recoveryPointType<br>
|
|
196
|
-
* - vmRecoveryPoints<br>
|
|
197
|
-
* - volumeGroupRecoveryPoints
|
|
198
|
-
* @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.<br>
|
|
199
|
-
* The orderby can be applied to the following fields:<br>
|
|
200
|
-
* - creationTime<br>
|
|
201
|
-
* - expirationTime<br>
|
|
202
|
-
* - name<br>
|
|
203
|
-
* - ownerExtId
|
|
329
|
+
* For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.
|
|
330
|
+
* @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.
|
|
204
331
|
* @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
|
|
205
|
-
|
|
206
|
-
- expirationTime
|
|
207
|
-
- extId
|
|
208
|
-
- name
|
|
209
|
-
- recoveryPointType
|
|
210
|
-
* @param {Object} args Additional Arguments
|
|
332
|
+
* @param {Object} args Additional Arguments
|
|
211
333
|
* @return {Promise<ListRecoveryPointsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListRecoveryPointsApiResponse } and HTTP response
|
|
212
334
|
*/
|
|
213
335
|
}, {
|
|
214
336
|
key: "listRecoveryPoints",
|
|
215
337
|
value: function listRecoveryPoints(opts) {
|
|
216
|
-
var
|
|
338
|
+
var _this7 = this;
|
|
217
339
|
var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
|
|
218
340
|
opts = opts || {};
|
|
219
341
|
var postBody = null;
|
|
@@ -231,17 +353,19 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
231
353
|
} : {});
|
|
232
354
|
var headersToInclude = {};
|
|
233
355
|
Object.keys(argMap).forEach(function (header) {
|
|
234
|
-
if (!_classPrivateFieldGet(_headersToSkip,
|
|
356
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this7).has(header.toLowerCase())) {
|
|
235
357
|
headersToInclude[header] = argMap[header];
|
|
236
358
|
}
|
|
237
359
|
});
|
|
238
|
-
var headerParams = _objectSpread({
|
|
360
|
+
var headerParams = _objectSpread({
|
|
361
|
+
'X-Cluster-Id': opts['xClusterId']
|
|
362
|
+
}, headersToInclude);
|
|
239
363
|
var formParams = {};
|
|
240
|
-
var authNames = ['basicAuthScheme'];
|
|
364
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
241
365
|
var contentTypes = [];
|
|
242
366
|
var accepts = ['application/json'];
|
|
243
367
|
var returnType = _ListRecoveryPointsApiResponse["default"];
|
|
244
|
-
return this.apiClient.callApi('/api/dataprotection/v4.
|
|
368
|
+
return this.apiClient.callApi('/api/dataprotection/v4.1/config/recovery-points', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
245
369
|
}
|
|
246
370
|
|
|
247
371
|
/**
|
|
@@ -255,7 +379,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
255
379
|
}, {
|
|
256
380
|
key: "replicateRecoveryPoint",
|
|
257
381
|
value: function replicateRecoveryPoint(extId, body) {
|
|
258
|
-
var
|
|
382
|
+
var _this8 = this;
|
|
259
383
|
var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
|
|
260
384
|
var postBody = null;
|
|
261
385
|
if (body instanceof _RecoveryPointReplicationSpec["default"] && typeof body.toJson === 'function') {
|
|
@@ -277,18 +401,18 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
277
401
|
var queryParams = {};
|
|
278
402
|
var headersToInclude = {};
|
|
279
403
|
Object.keys(argMap).forEach(function (header) {
|
|
280
|
-
if (!_classPrivateFieldGet(_headersToSkip,
|
|
404
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this8).has(header.toLowerCase())) {
|
|
281
405
|
headersToInclude[header] = argMap[header];
|
|
282
406
|
}
|
|
283
407
|
});
|
|
284
408
|
var headerParams = _objectSpread({}, headersToInclude);
|
|
285
409
|
var formParams = {};
|
|
286
410
|
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
287
|
-
var authNames = ['basicAuthScheme'];
|
|
411
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
288
412
|
var contentTypes = ['application/json'];
|
|
289
413
|
var accepts = ['application/json'];
|
|
290
414
|
var returnType = _RecoveryPointReplicateApiResponse["default"];
|
|
291
|
-
return this.apiClient.callApi('/api/dataprotection/v4.
|
|
415
|
+
return this.apiClient.callApi('/api/dataprotection/v4.1/config/recovery-points/{extId}/$actions/replicate', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
292
416
|
}
|
|
293
417
|
|
|
294
418
|
/**
|
|
@@ -302,7 +426,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
302
426
|
}, {
|
|
303
427
|
key: "restoreRecoveryPoint",
|
|
304
428
|
value: function restoreRecoveryPoint(extId, body) {
|
|
305
|
-
var
|
|
429
|
+
var _this9 = this;
|
|
306
430
|
var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
|
|
307
431
|
var postBody = null;
|
|
308
432
|
if (body instanceof _RecoveryPointRestorationSpec["default"] && typeof body.toJson === 'function') {
|
|
@@ -320,18 +444,18 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
320
444
|
var queryParams = {};
|
|
321
445
|
var headersToInclude = {};
|
|
322
446
|
Object.keys(argMap).forEach(function (header) {
|
|
323
|
-
if (!_classPrivateFieldGet(_headersToSkip,
|
|
447
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this9).has(header.toLowerCase())) {
|
|
324
448
|
headersToInclude[header] = argMap[header];
|
|
325
449
|
}
|
|
326
450
|
});
|
|
327
451
|
var headerParams = _objectSpread({}, headersToInclude);
|
|
328
452
|
var formParams = {};
|
|
329
453
|
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
330
|
-
var authNames = ['basicAuthScheme'];
|
|
454
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
331
455
|
var contentTypes = ['application/json'];
|
|
332
456
|
var accepts = ['application/json'];
|
|
333
457
|
var returnType = _RecoveryPointRestoreApiResponse["default"];
|
|
334
|
-
return this.apiClient.callApi('/api/dataprotection/v4.
|
|
458
|
+
return this.apiClient.callApi('/api/dataprotection/v4.1/config/recovery-points/{extId}/$actions/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
335
459
|
}
|
|
336
460
|
|
|
337
461
|
/**
|
|
@@ -345,7 +469,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
345
469
|
}, {
|
|
346
470
|
key: "setRecoveryPointExpirationTime",
|
|
347
471
|
value: function setRecoveryPointExpirationTime(extId, body) {
|
|
348
|
-
var
|
|
472
|
+
var _this0 = this;
|
|
349
473
|
var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
|
|
350
474
|
var postBody = null;
|
|
351
475
|
if (body instanceof _ExpirationTimeSpec["default"] && typeof body.toJson === 'function') {
|
|
@@ -367,18 +491,136 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
|
|
|
367
491
|
var queryParams = {};
|
|
368
492
|
var headersToInclude = {};
|
|
369
493
|
Object.keys(argMap).forEach(function (header) {
|
|
370
|
-
if (!_classPrivateFieldGet(_headersToSkip,
|
|
494
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this0).has(header.toLowerCase())) {
|
|
371
495
|
headersToInclude[header] = argMap[header];
|
|
372
496
|
}
|
|
373
497
|
});
|
|
374
498
|
var headerParams = _objectSpread({}, headersToInclude);
|
|
375
499
|
var formParams = {};
|
|
376
500
|
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
377
|
-
var authNames = ['basicAuthScheme'];
|
|
501
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
378
502
|
var contentTypes = ['application/json'];
|
|
379
503
|
var accepts = ['application/json'];
|
|
380
504
|
var returnType = _UpdateRecoveryPointExpirationTimeApiResponse["default"];
|
|
381
|
-
return this.apiClient.callApi('/api/dataprotection/v4.
|
|
505
|
+
return this.apiClient.callApi('/api/dataprotection/v4.1/config/recovery-points/{extId}/$actions/set-expiration-time', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* Compute VM recovery points changed regions
|
|
510
|
+
* 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.
|
|
511
|
+
* @param { Partial<VmRecoveryPointChangedRegionsComputeSpec> } body specification
|
|
512
|
+
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
513
|
+
* @param { String } vmRecoveryPointExtId The external identifier that can be used to identify a VM recovery point.
|
|
514
|
+
* @param { String } extId Disk recovery point identifier.
|
|
515
|
+
* @param {Object} args Additional Arguments
|
|
516
|
+
* @return {Promise<ChangedVmRegionsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ChangedVmRegionsApiResponse } and HTTP response
|
|
517
|
+
*/
|
|
518
|
+
}, {
|
|
519
|
+
key: "vmRecoveryPointComputeChangedRegions",
|
|
520
|
+
value: function vmRecoveryPointComputeChangedRegions(recoveryPointExtId, vmRecoveryPointExtId, extId, body) {
|
|
521
|
+
var _this1 = this;
|
|
522
|
+
var argMap = (arguments.length <= 4 ? 0 : arguments.length - 4) > 0 ? arguments.length <= 4 ? undefined : arguments[4] : {};
|
|
523
|
+
var postBody = null;
|
|
524
|
+
if (body instanceof _VmRecoveryPointChangedRegionsComputeSpec["default"] && typeof body.toJson === 'function') {
|
|
525
|
+
postBody = body.toJson();
|
|
526
|
+
} else {
|
|
527
|
+
postBody = body;
|
|
528
|
+
}
|
|
529
|
+
// verify the required parameter 'recoveryPointExtId' is set
|
|
530
|
+
if (typeof recoveryPointExtId === 'undefined' || recoveryPointExtId === null) {
|
|
531
|
+
throw new Error("Missing the required parameter 'recoveryPointExtId' when calling vmRecoveryPointComputeChangedRegions");
|
|
532
|
+
}
|
|
533
|
+
// verify the required parameter 'vmRecoveryPointExtId' is set
|
|
534
|
+
if (typeof vmRecoveryPointExtId === 'undefined' || vmRecoveryPointExtId === null) {
|
|
535
|
+
throw new Error("Missing the required parameter 'vmRecoveryPointExtId' when calling vmRecoveryPointComputeChangedRegions");
|
|
536
|
+
}
|
|
537
|
+
// verify the required parameter 'extId' is set
|
|
538
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
539
|
+
throw new Error("Missing the required parameter 'extId' when calling vmRecoveryPointComputeChangedRegions");
|
|
540
|
+
}
|
|
541
|
+
// verify the required parameter 'body' is set
|
|
542
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
543
|
+
throw new Error("Invalid body when calling vmRecoveryPointComputeChangedRegions");
|
|
544
|
+
}
|
|
545
|
+
var pathParams = {
|
|
546
|
+
'recoveryPointExtId': recoveryPointExtId,
|
|
547
|
+
'vmRecoveryPointExtId': vmRecoveryPointExtId,
|
|
548
|
+
'extId': extId
|
|
549
|
+
};
|
|
550
|
+
var queryParams = {};
|
|
551
|
+
var headersToInclude = {};
|
|
552
|
+
Object.keys(argMap).forEach(function (header) {
|
|
553
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this1).has(header.toLowerCase())) {
|
|
554
|
+
headersToInclude[header] = argMap[header];
|
|
555
|
+
}
|
|
556
|
+
});
|
|
557
|
+
var headerParams = _objectSpread({}, headersToInclude);
|
|
558
|
+
var formParams = {};
|
|
559
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
560
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
561
|
+
var contentTypes = ['application/json'];
|
|
562
|
+
var accepts = ['application/json'];
|
|
563
|
+
var returnType = _ChangedVmRegionsApiResponse["default"];
|
|
564
|
+
return this.apiClient.callApi('/api/dataprotection/v4.1/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);
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Compute Volume Group recovery points changed regions
|
|
569
|
+
* 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.
|
|
570
|
+
* @param { Partial<VolumeGroupRecoveryPointChangedRegionsComputeSpec> } body specification
|
|
571
|
+
* @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
572
|
+
* @param { String } volumeGroupRecoveryPointExtId External identifier of the volume group recovery point.
|
|
573
|
+
* @param { String } extId Disk recovery point identifier.
|
|
574
|
+
* @param {Object} args Additional Arguments
|
|
575
|
+
* @return {Promise<ChangedVolumeGroupRegionsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ChangedVolumeGroupRegionsApiResponse } and HTTP response
|
|
576
|
+
*/
|
|
577
|
+
}, {
|
|
578
|
+
key: "volumeGroupRecoveryPointComputeChangedRegions",
|
|
579
|
+
value: function volumeGroupRecoveryPointComputeChangedRegions(recoveryPointExtId, volumeGroupRecoveryPointExtId, extId, body) {
|
|
580
|
+
var _this10 = this;
|
|
581
|
+
var argMap = (arguments.length <= 4 ? 0 : arguments.length - 4) > 0 ? arguments.length <= 4 ? undefined : arguments[4] : {};
|
|
582
|
+
var postBody = null;
|
|
583
|
+
if (body instanceof _VolumeGroupRecoveryPointChangedRegionsComputeSpec["default"] && typeof body.toJson === 'function') {
|
|
584
|
+
postBody = body.toJson();
|
|
585
|
+
} else {
|
|
586
|
+
postBody = body;
|
|
587
|
+
}
|
|
588
|
+
// verify the required parameter 'recoveryPointExtId' is set
|
|
589
|
+
if (typeof recoveryPointExtId === 'undefined' || recoveryPointExtId === null) {
|
|
590
|
+
throw new Error("Missing the required parameter 'recoveryPointExtId' when calling volumeGroupRecoveryPointComputeChangedRegions");
|
|
591
|
+
}
|
|
592
|
+
// verify the required parameter 'volumeGroupRecoveryPointExtId' is set
|
|
593
|
+
if (typeof volumeGroupRecoveryPointExtId === 'undefined' || volumeGroupRecoveryPointExtId === null) {
|
|
594
|
+
throw new Error("Missing the required parameter 'volumeGroupRecoveryPointExtId' when calling volumeGroupRecoveryPointComputeChangedRegions");
|
|
595
|
+
}
|
|
596
|
+
// verify the required parameter 'extId' is set
|
|
597
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
598
|
+
throw new Error("Missing the required parameter 'extId' when calling volumeGroupRecoveryPointComputeChangedRegions");
|
|
599
|
+
}
|
|
600
|
+
// verify the required parameter 'body' is set
|
|
601
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
602
|
+
throw new Error("Invalid body when calling volumeGroupRecoveryPointComputeChangedRegions");
|
|
603
|
+
}
|
|
604
|
+
var pathParams = {
|
|
605
|
+
'recoveryPointExtId': recoveryPointExtId,
|
|
606
|
+
'volumeGroupRecoveryPointExtId': volumeGroupRecoveryPointExtId,
|
|
607
|
+
'extId': extId
|
|
608
|
+
};
|
|
609
|
+
var queryParams = {};
|
|
610
|
+
var headersToInclude = {};
|
|
611
|
+
Object.keys(argMap).forEach(function (header) {
|
|
612
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this10).has(header.toLowerCase())) {
|
|
613
|
+
headersToInclude[header] = argMap[header];
|
|
614
|
+
}
|
|
615
|
+
});
|
|
616
|
+
var headerParams = _objectSpread({}, headersToInclude);
|
|
617
|
+
var formParams = {};
|
|
618
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
619
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
620
|
+
var contentTypes = ['application/json'];
|
|
621
|
+
var accepts = ['application/json'];
|
|
622
|
+
var returnType = _ChangedVolumeGroupRegionsApiResponse["default"];
|
|
623
|
+
return this.apiClient.callApi('/api/dataprotection/v4.1/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
624
|
}
|
|
383
625
|
}], [{
|
|
384
626
|
key: "ApiClient",
|