@nutanix-scratch/dataprotection-js-client 4.0.1-alpha.4 → 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 +64 -41
- package/dist/Ntnx-Dataprotection-js-client-prod.js +1 -11
- package/dist/Ntnx-Dataprotection-js-client.js +669 -1486
- package/dist/es/ApiClient.d.ts +9 -1
- package/dist/es/ApiClient.js +476 -261
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +23 -25
- package/dist/es/apis/protectedresources-endpoints.d.ts +52 -0
- package/dist/es/apis/protectedresources-endpoints.js +192 -0
- package/dist/es/apis/recoverypoints-endpoints.d.ts +186 -0
- package/dist/es/apis/recoverypoints-endpoints.js +655 -0
- package/dist/es/index.d.ts +95 -99
- package/dist/es/index.js +268 -285
- package/dist/es/models/common/v1/config/Flag.d.ts +33 -27
- package/dist/es/models/common/v1/config/Flag.js +86 -44
- package/dist/es/models/common/v1/config/IPAddress.d.ts +77 -0
- package/dist/es/models/common/v1/config/IPAddress.js +323 -0
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +41 -27
- package/dist/es/models/common/v1/config/IPv4Address.js +85 -46
- 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 +36 -27
- package/dist/es/models/common/v1/config/KVPair.js +94 -50
- 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 +42 -39
- package/dist/es/models/common/v1/config/Message.js +78 -48
- package/dist/es/models/common/v1/config/MessageSeverity.js +15 -16
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +25 -23
- package/dist/es/models/common/v1/config/TenantAwareModel.js +75 -45
- package/dist/es/models/common/v1/response/ApiLink.d.ts +29 -27
- package/dist/es/models/common/v1/response/ApiLink.js +75 -45
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +82 -47
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +95 -53
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +26 -20
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +100 -63
- package/dist/{lib/models/dataprotection/v4/config/PowerState.d.ts → es/models/dataprotection/v4/common/BackupType.d.ts} +6 -6
- package/dist/es/models/dataprotection/v4/common/BackupType.js +85 -0
- package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +49 -54
- package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.js +113 -112
- 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/es/models/dataprotection/v4/common/ClusterInfo.js +312 -0
- package/dist/es/models/dataprotection/v4/common/DiskRecoveryPoint.d.ts +64 -0
- package/dist/es/models/dataprotection/v4/common/DiskRecoveryPoint.js +314 -0
- package/dist/es/models/dataprotection/v4/common/RecoveryPointStatus.js +11 -24
- package/dist/es/models/dataprotection/v4/common/RecoveryPointType.js +9 -10
- 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 +23 -21
- package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.js +75 -45
- package/dist/es/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +64 -0
- package/dist/es/models/dataprotection/v4/config/AmazonS3Bucket.js +321 -0
- package/dist/es/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +64 -0
- package/dist/es/models/dataprotection/v4/config/AzureBlobStorageContainer.js +321 -0
- 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 +76 -33
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.js +201 -73
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +43 -45
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.js +107 -110
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +11 -12
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +32 -37
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +119 -91
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +6 -1
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.js +71 -44
- package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts +99 -0
- package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js +343 -0
- package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +66 -26
- package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +87 -62
- package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +39 -27
- package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.js +100 -64
- package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +65 -26
- package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js +87 -58
- package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +66 -26
- package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +87 -62
- package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +23 -21
- package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +75 -45
- package/dist/es/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +62 -0
- package/dist/es/models/dataprotection/v4/config/ExpirationTimeSpec.js +280 -0
- package/dist/es/models/dataprotection/v4/config/GetProtectedResourceApiResponse.d.ts +99 -0
- package/dist/es/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js +343 -0
- package/dist/es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts +99 -0
- package/dist/es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js +343 -0
- 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 +106 -58
- package/dist/es/models/dataprotection/v4/config/HostType.js +10 -11
- package/dist/es/models/dataprotection/v4/config/IpAddress.d.ts +29 -24
- package/dist/es/models/dataprotection/v4/config/IpAddress.js +76 -43
- package/dist/es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts +100 -0
- package/dist/es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js +370 -0
- package/dist/es/models/dataprotection/v4/config/LocationReference.d.ts +25 -23
- package/dist/es/models/dataprotection/v4/config/LocationReference.js +76 -46
- package/dist/es/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.d.ts +99 -0
- package/dist/es/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js +343 -0
- package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +52 -0
- package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.js +277 -0
- package/dist/es/models/dataprotection/v4/config/ObjectStorageType.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/config/ObjectStorageType.js +91 -0
- package/dist/es/models/dataprotection/v4/config/{ValidationSeverity.d.ts → ProtectedEntityType.d.ts} +6 -6
- package/dist/es/models/dataprotection/v4/config/ProtectedEntityType.js +85 -0
- package/dist/es/models/dataprotection/v4/config/ProtectedResource.d.ts +120 -40
- package/dist/es/models/dataprotection/v4/config/ProtectedResource.js +226 -89
- package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +66 -26
- package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +87 -58
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +17 -30
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +66 -26
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +87 -58
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +34 -29
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +81 -47
- package/dist/es/models/dataprotection/v4/config/RecoveryInfo.d.ts +30 -21
- package/dist/es/models/dataprotection/v4/config/RecoveryInfo.js +75 -42
- package/dist/es/models/dataprotection/v4/config/RecoveryPoint.d.ts +111 -74
- package/dist/es/models/dataprotection/v4/config/RecoveryPoint.js +165 -190
- package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +10 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.js +156 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +66 -26
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +87 -62
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +46 -25
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +161 -106
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +63 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.js +374 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +10 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +152 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +59 -39
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +90 -60
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +66 -26
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +87 -62
- package/dist/es/models/dataprotection/v4/config/ReplicationState.d.ts +53 -41
- package/dist/es/models/dataprotection/v4/config/ReplicationState.js +123 -85
- package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.d.ts +27 -25
- package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.js +79 -48
- package/dist/es/models/dataprotection/v4/config/SiteProtectionInfo.d.ts +90 -0
- package/dist/es/models/dataprotection/v4/config/SiteProtectionInfo.js +344 -0
- package/dist/es/models/dataprotection/v4/config/SiteReference.d.ts +29 -27
- package/dist/es/models/dataprotection/v4/config/SiteReference.js +74 -44
- package/dist/es/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.d.ts +66 -26
- package/dist/es/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js +87 -58
- 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 +99 -0
- package/dist/es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.js +365 -0
- package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +66 -26
- package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +87 -58
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +10 -0
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.js +154 -0
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +24 -48
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +95 -139
- package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +23 -21
- package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +73 -43
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +83 -31
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +269 -110
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +36 -34
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +97 -69
- package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +40 -40
- package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.js +122 -95
- package/dist/es/models/dataprotection/v4/config/Witness.d.ts +56 -34
- package/dist/es/models/dataprotection/v4/config/Witness.js +123 -65
- package/dist/es/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +11 -12
- 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/content/ChangedRegion.js +363 -0
- 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/content/GetVssMetadataApiResponse.js +342 -0
- 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/es/models/dataprotection/v4/{config/PowerState.d.ts → content/RegionType.d.ts} +6 -6
- package/dist/es/models/dataprotection/v4/content/RegionType.js +85 -0
- 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 +68 -51
- package/dist/es/models/dataprotection/v4/error/AppMessage.js +101 -59
- package/dist/es/models/dataprotection/v4/error/ErrorResponse.d.ts +24 -20
- package/dist/es/models/dataprotection/v4/error/ErrorResponse.js +88 -66
- package/dist/es/models/dataprotection/v4/error/SchemaValidationError.d.ts +64 -44
- package/dist/es/models/dataprotection/v4/error/SchemaValidationError.js +98 -52
- package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +41 -33
- package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +85 -46
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +23 -21
- package/dist/es/models/prism/v4/config/TaskReference.js +74 -47
- package/dist/es/models/validation/ValidationError.js +12 -14
- package/dist/es/models/validation/ValidationScopes.js +1 -2
- package/dist/es/utils/ValidationUtils.js +12 -14
- package/dist/lib/ApiClient.d.ts +9 -1
- package/dist/lib/ApiClient.js +476 -261
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +23 -25
- package/dist/lib/apis/protectedresources-endpoints.d.ts +52 -0
- package/dist/lib/apis/protectedresources-endpoints.js +192 -0
- package/dist/lib/apis/recoverypoints-endpoints.d.ts +186 -0
- package/dist/lib/apis/recoverypoints-endpoints.js +655 -0
- package/dist/lib/index.d.ts +95 -99
- package/dist/lib/index.js +268 -285
- package/dist/lib/models/common/v1/config/Flag.d.ts +33 -27
- package/dist/lib/models/common/v1/config/Flag.js +86 -44
- package/dist/lib/models/common/v1/config/IPAddress.d.ts +77 -0
- package/dist/lib/models/common/v1/config/IPAddress.js +323 -0
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +41 -27
- package/dist/lib/models/common/v1/config/IPv4Address.js +85 -46
- 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 +36 -27
- package/dist/lib/models/common/v1/config/KVPair.js +94 -50
- 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 +42 -39
- package/dist/lib/models/common/v1/config/Message.js +78 -48
- package/dist/lib/models/common/v1/config/MessageSeverity.js +15 -16
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +25 -23
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +75 -45
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +29 -27
- package/dist/lib/models/common/v1/response/ApiLink.js +75 -45
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +82 -47
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +95 -53
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +26 -20
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +100 -63
- package/dist/lib/models/dataprotection/v4/{config/HypervisorType.d.ts → common/BackupType.d.ts} +6 -6
- package/dist/lib/models/dataprotection/v4/common/BackupType.js +85 -0
- package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +49 -54
- package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.js +113 -112
- 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/lib/models/dataprotection/v4/common/ClusterInfo.js +312 -0
- package/dist/lib/models/dataprotection/v4/common/DiskRecoveryPoint.d.ts +64 -0
- package/dist/lib/models/dataprotection/v4/common/DiskRecoveryPoint.js +314 -0
- package/dist/lib/models/dataprotection/v4/common/RecoveryPointStatus.js +11 -24
- package/dist/lib/models/dataprotection/v4/common/RecoveryPointType.js +9 -10
- 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 +23 -21
- package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.js +75 -45
- package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +64 -0
- package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.js +321 -0
- package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +64 -0
- package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.js +321 -0
- 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 +76 -33
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.js +201 -73
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +43 -45
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.js +107 -110
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +11 -12
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +32 -37
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +119 -91
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +6 -1
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.js +71 -44
- package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts +99 -0
- package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js +343 -0
- package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +66 -26
- package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +87 -62
- package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +39 -27
- package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.js +100 -64
- package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +65 -26
- package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js +87 -58
- package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +66 -26
- package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +87 -62
- package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +23 -21
- package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +75 -45
- package/dist/lib/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +62 -0
- package/dist/lib/models/dataprotection/v4/config/ExpirationTimeSpec.js +280 -0
- package/dist/lib/models/dataprotection/v4/config/GetProtectedResourceApiResponse.d.ts +99 -0
- package/dist/lib/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js +343 -0
- package/dist/lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts +99 -0
- package/dist/lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js +343 -0
- 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 +106 -58
- package/dist/lib/models/dataprotection/v4/config/HostType.js +10 -11
- package/dist/lib/models/dataprotection/v4/config/IpAddress.d.ts +29 -24
- package/dist/lib/models/dataprotection/v4/config/IpAddress.js +76 -43
- package/dist/lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts +100 -0
- package/dist/lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js +370 -0
- package/dist/lib/models/dataprotection/v4/config/LocationReference.d.ts +25 -23
- package/dist/lib/models/dataprotection/v4/config/LocationReference.js +76 -46
- package/dist/lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.d.ts +99 -0
- package/dist/lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js +343 -0
- package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +52 -0
- package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.js +277 -0
- package/dist/lib/models/dataprotection/v4/config/ObjectStorageType.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/ObjectStorageType.js +91 -0
- package/dist/lib/models/dataprotection/v4/config/ProtectedEntityType.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/ProtectedEntityType.js +85 -0
- package/dist/lib/models/dataprotection/v4/config/ProtectedResource.d.ts +120 -40
- package/dist/lib/models/dataprotection/v4/config/ProtectedResource.js +226 -89
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +66 -26
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +87 -58
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +17 -30
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +66 -26
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +87 -58
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +34 -29
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +81 -47
- package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.d.ts +30 -21
- package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.js +75 -42
- package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.d.ts +111 -74
- package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.js +165 -190
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +10 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.js +156 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +66 -26
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +87 -62
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +46 -25
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +161 -106
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +63 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.js +374 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +10 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +152 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +59 -39
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +90 -60
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +66 -26
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +87 -62
- package/dist/lib/models/dataprotection/v4/config/ReplicationState.d.ts +53 -41
- package/dist/lib/models/dataprotection/v4/config/ReplicationState.js +123 -85
- package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.d.ts +27 -25
- package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.js +79 -48
- package/dist/lib/models/dataprotection/v4/config/SiteProtectionInfo.d.ts +90 -0
- package/dist/lib/models/dataprotection/v4/config/SiteProtectionInfo.js +344 -0
- package/dist/lib/models/dataprotection/v4/config/SiteReference.d.ts +29 -27
- package/dist/lib/models/dataprotection/v4/config/SiteReference.js +74 -44
- package/dist/lib/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.d.ts +66 -26
- package/dist/lib/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js +87 -58
- 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 +99 -0
- package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.js +365 -0
- package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +66 -26
- package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +87 -58
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +10 -0
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.js +154 -0
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +24 -48
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +95 -139
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +23 -21
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +73 -43
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +83 -31
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +269 -110
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +36 -34
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +97 -69
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +40 -40
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.js +122 -95
- package/dist/lib/models/dataprotection/v4/config/Witness.d.ts +56 -34
- package/dist/lib/models/dataprotection/v4/config/Witness.js +123 -65
- package/dist/lib/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +11 -12
- 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/content/ChangedRegion.js +363 -0
- 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/content/GetVssMetadataApiResponse.js +342 -0
- 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/HypervisorType.d.ts → lib/models/dataprotection/v4/content/RegionType.d.ts} +6 -6
- package/dist/lib/models/dataprotection/v4/content/RegionType.js +85 -0
- 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 +68 -51
- package/dist/lib/models/dataprotection/v4/error/AppMessage.js +101 -59
- package/dist/lib/models/dataprotection/v4/error/ErrorResponse.d.ts +24 -20
- package/dist/lib/models/dataprotection/v4/error/ErrorResponse.js +88 -66
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.d.ts +64 -44
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.js +98 -52
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +41 -33
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +85 -46
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +23 -21
- package/dist/lib/models/prism/v4/config/TaskReference.js +74 -47
- package/dist/lib/models/validation/ValidationError.js +12 -14
- package/dist/lib/models/validation/ValidationScopes.js +1 -2
- package/dist/lib/utils/ValidationUtils.js +12 -14
- package/package.json +5 -4
- package/dist/es/apis/consistencygroup-endpoints.d.ts +0 -98
- package/dist/es/apis/consistencygroup-endpoints.js +0 -304
- package/dist/es/models/dataprotection/v4/common/VendorSpecificProperty.d.ts +0 -70
- package/dist/es/models/dataprotection/v4/common/VendorSpecificProperty.js +0 -286
- package/dist/es/models/dataprotection/v4/config/Category.d.ts +0 -70
- package/dist/es/models/dataprotection/v4/config/Category.js +0 -286
- package/dist/es/models/dataprotection/v4/config/ChangedRegions.d.ts +0 -62
- package/dist/es/models/dataprotection/v4/config/ChangedRegions.js +0 -295
- package/dist/es/models/dataprotection/v4/config/ChangedRegionsListApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/ChangedRegionsListApiResponse.js +0 -314
- package/dist/es/models/dataprotection/v4/config/ClusterReference.d.ts +0 -69
- package/dist/es/models/dataprotection/v4/config/ClusterReference.js +0 -285
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupApiResponse.js +0 -314
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupListApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupListApiResponse.js +0 -341
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrateApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrateApiResponse.js +0 -318
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupRecoveryPointSpec.d.ts +0 -67
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupRecoveryPointSpec.js +0 -285
- package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupRecoveryPointApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupRecoveryPointApiResponse.js +0 -318
- package/dist/es/models/dataprotection/v4/config/DataProtectionInfo.d.ts +0 -58
- package/dist/es/models/dataprotection/v4/config/DataProtectionInfo.js +0 -278
- package/dist/es/models/dataprotection/v4/config/DisasterRecoveryLocation.d.ts +0 -68
- package/dist/es/models/dataprotection/v4/config/DisasterRecoveryLocation.js +0 -297
- package/dist/es/models/dataprotection/v4/config/Disk.d.ts +0 -62
- package/dist/es/models/dataprotection/v4/config/Disk.js +0 -285
- package/dist/es/models/dataprotection/v4/config/DiskRecoveryPoint.d.ts +0 -37
- package/dist/es/models/dataprotection/v4/config/DiskRecoveryPoint.js +0 -254
- package/dist/es/models/dataprotection/v4/config/DiskRecoveryPointApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/DiskRecoveryPointApiResponse.js +0 -314
- package/dist/es/models/dataprotection/v4/config/DiskRecoveryPointListApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/DiskRecoveryPointListApiResponse.js +0 -336
- package/dist/es/models/dataprotection/v4/config/HardwareArchitecture.d.ts +0 -19
- package/dist/es/models/dataprotection/v4/config/HardwareArchitecture.js +0 -86
- package/dist/es/models/dataprotection/v4/config/HypervisorType.js +0 -92
- package/dist/es/models/dataprotection/v4/config/PowerState.js +0 -86
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceApiResponse.js +0 -314
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceEntityType.d.ts +0 -19
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceEntityType.js +0 -86
- package/dist/es/models/dataprotection/v4/config/RecoveryPointApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/RecoveryPointApiResponse.js +0 -314
- package/dist/es/models/dataprotection/v4/config/RecoveryPointListApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/RecoveryPointListApiResponse.js +0 -336
- package/dist/es/models/dataprotection/v4/config/Regions.d.ts +0 -62
- package/dist/es/models/dataprotection/v4/config/Regions.js +0 -282
- package/dist/es/models/dataprotection/v4/config/SetExpirationTimeSpec.d.ts +0 -57
- package/dist/es/models/dataprotection/v4/config/SetExpirationTimeSpec.js +0 -246
- package/dist/es/models/dataprotection/v4/config/Subnet.d.ts +0 -48
- package/dist/es/models/dataprotection/v4/config/Subnet.js +0 -242
- package/dist/es/models/dataprotection/v4/config/SyncedVolumeGroupByIdApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/SyncedVolumeGroupByIdApiResponse.js +0 -314
- package/dist/es/models/dataprotection/v4/config/VMRecoveryPoint.d.ts +0 -49
- package/dist/es/models/dataprotection/v4/config/VMRecoveryPoint.js +0 -295
- package/dist/es/models/dataprotection/v4/config/VMRecoveryPointApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/VMRecoveryPointApiResponse.js +0 -314
- package/dist/es/models/dataprotection/v4/config/VMRecoveryPointListApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/VMRecoveryPointListApiResponse.js +0 -336
- package/dist/es/models/dataprotection/v4/config/ValidateRecoveryPointResult.d.ts +0 -79
- package/dist/es/models/dataprotection/v4/config/ValidateRecoveryPointResult.js +0 -320
- package/dist/es/models/dataprotection/v4/config/ValidateRestoreVmRecoveryPointApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/ValidateRestoreVmRecoveryPointApiResponse.js +0 -336
- package/dist/es/models/dataprotection/v4/config/ValidationSeverity.js +0 -86
- package/dist/es/models/dataprotection/v4/config/Vm.d.ts +0 -140
- package/dist/es/models/dataprotection/v4/config/Vm.js +0 -545
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestorationSpec.d.ts +0 -70
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestorationSpec.js +0 -319
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreApiResponse.js +0 -318
- package/dist/es/models/dataprotection/v4/config/VmSubRecoveryPoint.d.ts +0 -98
- package/dist/es/models/dataprotection/v4/config/VmSubRecoveryPoint.js +0 -405
- package/dist/es/models/dataprotection/v4/config/VmSubRecoveryPointProjection.d.ts +0 -9
- package/dist/es/models/dataprotection/v4/config/VmSubRecoveryPointProjection.js +0 -132
- package/dist/es/models/dataprotection/v4/config/VolumeGroup.d.ts +0 -62
- package/dist/es/models/dataprotection/v4/config/VolumeGroup.js +0 -285
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointApiResponse.js +0 -314
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointListApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointListApiResponse.js +0 -336
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestorationSpec.d.ts +0 -62
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestorationSpec.js +0 -288
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreApiResponse.js +0 -318
- package/dist/es/models/dataprotection/v4/config/VolumeGroupSubRecoveryPoint.d.ts +0 -98
- package/dist/es/models/dataprotection/v4/config/VolumeGroupSubRecoveryPoint.js +0 -407
- package/dist/es/models/dataprotection/v4/config/VolumeGroupSubRecoveryPointProjection.d.ts +0 -9
- package/dist/es/models/dataprotection/v4/config/VolumeGroupSubRecoveryPointProjection.js +0 -132
- package/dist/es/models/dataprotection/v4/config/VpcReference.d.ts +0 -69
- package/dist/es/models/dataprotection/v4/config/VpcReference.js +0 -285
- package/dist/es/models/dataprotection/v4/config/WitnessApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/WitnessApiResponse.js +0 -314
- package/dist/es/models/storage/v4/config/Task.d.ts +0 -50
- package/dist/es/models/storage/v4/config/Task.js +0 -254
- package/dist/lib/apis/consistencygroup-endpoints.d.ts +0 -98
- package/dist/lib/apis/consistencygroup-endpoints.js +0 -304
- package/dist/lib/models/dataprotection/v4/common/VendorSpecificProperty.d.ts +0 -70
- package/dist/lib/models/dataprotection/v4/common/VendorSpecificProperty.js +0 -286
- package/dist/lib/models/dataprotection/v4/config/Category.d.ts +0 -70
- package/dist/lib/models/dataprotection/v4/config/Category.js +0 -286
- package/dist/lib/models/dataprotection/v4/config/ChangedRegions.d.ts +0 -62
- package/dist/lib/models/dataprotection/v4/config/ChangedRegions.js +0 -295
- package/dist/lib/models/dataprotection/v4/config/ChangedRegionsListApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/ChangedRegionsListApiResponse.js +0 -314
- package/dist/lib/models/dataprotection/v4/config/ClusterReference.d.ts +0 -69
- package/dist/lib/models/dataprotection/v4/config/ClusterReference.js +0 -285
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupApiResponse.js +0 -314
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupListApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupListApiResponse.js +0 -341
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrateApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrateApiResponse.js +0 -318
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupRecoveryPointSpec.d.ts +0 -67
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupRecoveryPointSpec.js +0 -285
- package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupRecoveryPointApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupRecoveryPointApiResponse.js +0 -318
- package/dist/lib/models/dataprotection/v4/config/DataProtectionInfo.d.ts +0 -58
- package/dist/lib/models/dataprotection/v4/config/DataProtectionInfo.js +0 -278
- package/dist/lib/models/dataprotection/v4/config/DisasterRecoveryLocation.d.ts +0 -68
- package/dist/lib/models/dataprotection/v4/config/DisasterRecoveryLocation.js +0 -297
- package/dist/lib/models/dataprotection/v4/config/Disk.d.ts +0 -62
- package/dist/lib/models/dataprotection/v4/config/Disk.js +0 -285
- package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPoint.d.ts +0 -37
- package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPoint.js +0 -254
- package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPointApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPointApiResponse.js +0 -314
- package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPointListApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPointListApiResponse.js +0 -336
- package/dist/lib/models/dataprotection/v4/config/HardwareArchitecture.d.ts +0 -19
- package/dist/lib/models/dataprotection/v4/config/HardwareArchitecture.js +0 -86
- package/dist/lib/models/dataprotection/v4/config/HypervisorType.js +0 -92
- package/dist/lib/models/dataprotection/v4/config/PowerState.js +0 -86
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceApiResponse.js +0 -314
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceEntityType.d.ts +0 -19
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceEntityType.js +0 -86
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointApiResponse.js +0 -314
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointListApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointListApiResponse.js +0 -336
- package/dist/lib/models/dataprotection/v4/config/Regions.d.ts +0 -62
- package/dist/lib/models/dataprotection/v4/config/Regions.js +0 -282
- package/dist/lib/models/dataprotection/v4/config/SetExpirationTimeSpec.d.ts +0 -57
- package/dist/lib/models/dataprotection/v4/config/SetExpirationTimeSpec.js +0 -246
- package/dist/lib/models/dataprotection/v4/config/Subnet.d.ts +0 -48
- package/dist/lib/models/dataprotection/v4/config/Subnet.js +0 -242
- package/dist/lib/models/dataprotection/v4/config/SyncedVolumeGroupByIdApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/SyncedVolumeGroupByIdApiResponse.js +0 -314
- package/dist/lib/models/dataprotection/v4/config/VMRecoveryPoint.d.ts +0 -49
- package/dist/lib/models/dataprotection/v4/config/VMRecoveryPoint.js +0 -295
- package/dist/lib/models/dataprotection/v4/config/VMRecoveryPointApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/VMRecoveryPointApiResponse.js +0 -314
- package/dist/lib/models/dataprotection/v4/config/VMRecoveryPointListApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/VMRecoveryPointListApiResponse.js +0 -336
- package/dist/lib/models/dataprotection/v4/config/ValidateRecoveryPointResult.d.ts +0 -79
- package/dist/lib/models/dataprotection/v4/config/ValidateRecoveryPointResult.js +0 -320
- package/dist/lib/models/dataprotection/v4/config/ValidateRestoreVmRecoveryPointApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/ValidateRestoreVmRecoveryPointApiResponse.js +0 -336
- package/dist/lib/models/dataprotection/v4/config/ValidationSeverity.d.ts +0 -19
- package/dist/lib/models/dataprotection/v4/config/ValidationSeverity.js +0 -86
- package/dist/lib/models/dataprotection/v4/config/Vm.d.ts +0 -140
- package/dist/lib/models/dataprotection/v4/config/Vm.js +0 -545
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestorationSpec.d.ts +0 -70
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestorationSpec.js +0 -319
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreApiResponse.js +0 -318
- package/dist/lib/models/dataprotection/v4/config/VmSubRecoveryPoint.d.ts +0 -98
- package/dist/lib/models/dataprotection/v4/config/VmSubRecoveryPoint.js +0 -405
- package/dist/lib/models/dataprotection/v4/config/VmSubRecoveryPointProjection.d.ts +0 -9
- package/dist/lib/models/dataprotection/v4/config/VmSubRecoveryPointProjection.js +0 -132
- package/dist/lib/models/dataprotection/v4/config/VolumeGroup.d.ts +0 -62
- package/dist/lib/models/dataprotection/v4/config/VolumeGroup.js +0 -285
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointApiResponse.js +0 -314
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointListApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointListApiResponse.js +0 -336
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestorationSpec.d.ts +0 -62
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestorationSpec.js +0 -288
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreApiResponse.js +0 -318
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupSubRecoveryPoint.d.ts +0 -98
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupSubRecoveryPoint.js +0 -407
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupSubRecoveryPointProjection.d.ts +0 -9
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupSubRecoveryPointProjection.js +0 -132
- package/dist/lib/models/dataprotection/v4/config/VpcReference.d.ts +0 -69
- package/dist/lib/models/dataprotection/v4/config/VpcReference.js +0 -285
- package/dist/lib/models/dataprotection/v4/config/WitnessApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/WitnessApiResponse.js +0 -314
- package/dist/lib/models/storage/v4/config/Task.d.ts +0 -50
- package/dist/lib/models/storage/v4/config/Task.js +0 -254
package/dist/es/Paginable.d.ts
CHANGED
package/dist/es/Paginable.js
CHANGED
|
@@ -5,32 +5,32 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = require("./ApiClient");
|
|
8
|
-
function _typeof(
|
|
9
|
-
function _createForOfIteratorHelper(
|
|
10
|
-
function _unsupportedIterableToArray(
|
|
11
|
-
function _arrayLikeToArray(
|
|
12
|
-
function _classCallCheck(
|
|
13
|
-
function _defineProperties(
|
|
14
|
-
function _createClass(
|
|
15
|
-
function _toPropertyKey(
|
|
16
|
-
function _toPrimitive(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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(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
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
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 Data Protection APIs
|
|
18
|
+
*
|
|
19
|
+
* OpenAPI spec version: 4.0.1
|
|
20
|
+
*
|
|
21
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
22
|
+
*
|
|
23
|
+
* Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
|
|
24
|
+
*
|
|
25
|
+
* Do not edit the class manually.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
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
|
-
var Paginable = /*#__PURE__*/function () {
|
|
33
|
+
var Paginable = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
35
35
|
* Constructs a new <code>Paginable</code>.
|
|
36
36
|
* @alias module:Paginable
|
|
@@ -47,7 +47,7 @@ var Paginable = /*#__PURE__*/function () {
|
|
|
47
47
|
* @param {module:Paginable} obj Optional instance to populate.
|
|
48
48
|
* @return {module:Paginable} The populated <code>Paginable</code> instance.
|
|
49
49
|
*/
|
|
50
|
-
_createClass(Paginable, [{
|
|
50
|
+
return _createClass(Paginable, [{
|
|
51
51
|
key: "getFirstPage",
|
|
52
52
|
value:
|
|
53
53
|
/**
|
|
@@ -229,14 +229,12 @@ var Paginable = /*#__PURE__*/function () {
|
|
|
229
229
|
return obj;
|
|
230
230
|
}
|
|
231
231
|
}]);
|
|
232
|
-
return Paginable;
|
|
233
232
|
}();
|
|
234
233
|
/**
|
|
235
234
|
* The link to first page, if any
|
|
236
235
|
* @type {String}
|
|
237
236
|
* @memberOf Paginable
|
|
238
237
|
*/
|
|
239
|
-
exports["default"] = Paginable;
|
|
240
238
|
Paginable.prototype.linkFirst = null;
|
|
241
239
|
|
|
242
240
|
/**
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ProtectedResources service.
|
|
3
|
+
* @version 4.0.1
|
|
4
|
+
* @class ProtectedResourcesApi
|
|
5
|
+
*/
|
|
6
|
+
export class ProtectedResourcesApi {
|
|
7
|
+
/**
|
|
8
|
+
* Make the default {@link ApiClient} class available for developers to be able to extend it and bring
|
|
9
|
+
* their own fetch methods into the SDK
|
|
10
|
+
*/
|
|
11
|
+
static get ApiClient(): typeof ApiClient;
|
|
12
|
+
/**
|
|
13
|
+
* Constructs a new ProtectedResourcesApi.
|
|
14
|
+
* @alias module:api/ProtectedResourcesApi
|
|
15
|
+
* @class
|
|
16
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
17
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
18
|
+
*/
|
|
19
|
+
constructor(apiClient?: any);
|
|
20
|
+
apiClient: any;
|
|
21
|
+
/**
|
|
22
|
+
* Get a protected resource
|
|
23
|
+
* Get the details of the specified protected resource such as the restorable time ranges available on the local Prism Central and the state of replication to the targets specified in the applied protection policies. This applies only if the entity is protected in a minutely or synchronous schedule. Other protection schedules are not served by this endpoint yet, and are considered not protected.
|
|
24
|
+
* @param { String } extId The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
|
|
25
|
+
* @param {Object} args Additional Arguments
|
|
26
|
+
* @return {Promise<GetProtectedResourceApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetProtectedResourceApiResponse } and HTTP response
|
|
27
|
+
*/
|
|
28
|
+
getProtectedResourceById(extId: string, ...args: any): Promise<GetProtectedResourceApiResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Promote protected resource
|
|
31
|
+
* Promotes the specified synced entity at the target site. This is only relevant if the synced entity is protected in a synchronous schedule.
|
|
32
|
+
* @param { String } extId The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
|
|
33
|
+
* @param {Object} args Additional Arguments
|
|
34
|
+
* @return {Promise<ProtectedResourcePromoteApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ProtectedResourcePromoteApiResponse } and HTTP response
|
|
35
|
+
*/
|
|
36
|
+
promoteProtectedResource(extId: string, ...args: any): Promise<ProtectedResourcePromoteApiResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Restore protected resource
|
|
39
|
+
* Restore the specified protected resource from its state at the given timestamp on the given cluster. This is only relevant if the entity is protected in a minutely schedule at the given timestamp.
|
|
40
|
+
* @param { Required<Pick<ProtectedResourceRestoreSpec, 'clusterExtId'>> & Partial<ProtectedResourceRestoreSpec> } body specification
|
|
41
|
+
* @param { String } extId The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
|
|
42
|
+
* @param {Object} args Additional Arguments
|
|
43
|
+
* @return {Promise<ProtectedResourceRestoreApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ProtectedResourceRestoreApiResponse } and HTTP response
|
|
44
|
+
*/
|
|
45
|
+
restoreProtectedResource(extId: string, body: Required<Pick<ProtectedResourceRestoreSpec, 'clusterExtId'>> & Partial<ProtectedResourceRestoreSpec>, ...args: any): Promise<ProtectedResourceRestoreApiResponse>;
|
|
46
|
+
#private;
|
|
47
|
+
}
|
|
48
|
+
import GetProtectedResourceApiResponse from "../models/dataprotection/v4/config/GetProtectedResourceApiResponse";
|
|
49
|
+
import ProtectedResourcePromoteApiResponse from "../models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse";
|
|
50
|
+
import ProtectedResourceRestoreSpec from "../models/dataprotection/v4/config/ProtectedResourceRestoreSpec";
|
|
51
|
+
import ProtectedResourceRestoreApiResponse from "../models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse";
|
|
52
|
+
import { ApiClient } from "../ApiClient";
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.ProtectedResourcesApi = void 0;
|
|
8
|
+
var _ApiClient = require("../ApiClient");
|
|
9
|
+
var _GetProtectedResourceApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/GetProtectedResourceApiResponse"));
|
|
10
|
+
var _ProtectedResourceRestoreApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse"));
|
|
11
|
+
var _ProtectedResourcePromoteApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse"));
|
|
12
|
+
var _ProtectedResourceRestoreSpec = _interopRequireDefault(require("../models/dataprotection/v4/config/ProtectedResourceRestoreSpec"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
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
|
+
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(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
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
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(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
|
+
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
25
|
+
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
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 Data Protection APIs
|
|
28
|
+
*
|
|
29
|
+
* OpenAPI spec version: 4.0.1
|
|
30
|
+
*
|
|
31
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
32
|
+
*
|
|
33
|
+
* Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
|
|
34
|
+
*
|
|
35
|
+
* Do not edit the class manually.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
/**
|
|
39
|
+
* ProtectedResources service.
|
|
40
|
+
* @version 4.0.1
|
|
41
|
+
* @class ProtectedResourcesApi
|
|
42
|
+
*/
|
|
43
|
+
var _headersToSkip = /*#__PURE__*/new WeakMap();
|
|
44
|
+
var ProtectedResourcesApi = exports.ProtectedResourcesApi = /*#__PURE__*/function () {
|
|
45
|
+
/**
|
|
46
|
+
* Constructs a new ProtectedResourcesApi.
|
|
47
|
+
* @alias module:api/ProtectedResourcesApi
|
|
48
|
+
* @class
|
|
49
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
50
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
51
|
+
*/
|
|
52
|
+
function ProtectedResourcesApi(apiClient) {
|
|
53
|
+
_classCallCheck(this, ProtectedResourcesApi);
|
|
54
|
+
_classPrivateFieldInitSpec(this, _headersToSkip, void 0);
|
|
55
|
+
this.apiClient = apiClient || _ApiClient.ApiClient.instance;
|
|
56
|
+
_classPrivateFieldSet(_headersToSkip, this, new Set());
|
|
57
|
+
_classPrivateFieldGet(_headersToSkip, this).add('authorization');
|
|
58
|
+
_classPrivateFieldGet(_headersToSkip, this).add('cookie');
|
|
59
|
+
_classPrivateFieldGet(_headersToSkip, this).add('host');
|
|
60
|
+
_classPrivateFieldGet(_headersToSkip, this).add('user-agent');
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Get a protected resource
|
|
65
|
+
* Get the details of the specified protected resource such as the restorable time ranges available on the local Prism Central and the state of replication to the targets specified in the applied protection policies. This applies only if the entity is protected in a minutely or synchronous schedule. Other protection schedules are not served by this endpoint yet, and are considered not protected.
|
|
66
|
+
* @param { String } extId The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
|
|
67
|
+
* @param {Object} args Additional Arguments
|
|
68
|
+
* @return {Promise<GetProtectedResourceApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetProtectedResourceApiResponse } and HTTP response
|
|
69
|
+
*/
|
|
70
|
+
return _createClass(ProtectedResourcesApi, [{
|
|
71
|
+
key: "getProtectedResourceById",
|
|
72
|
+
value: function getProtectedResourceById(extId) {
|
|
73
|
+
var _this = this;
|
|
74
|
+
var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
|
|
75
|
+
var postBody = null;
|
|
76
|
+
// verify the required parameter 'extId' is set
|
|
77
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
78
|
+
throw new Error("Missing the required parameter 'extId' when calling getProtectedResourceById");
|
|
79
|
+
}
|
|
80
|
+
var pathParams = {
|
|
81
|
+
'extId': extId
|
|
82
|
+
};
|
|
83
|
+
var queryParams = {};
|
|
84
|
+
var headersToInclude = {};
|
|
85
|
+
Object.keys(argMap).forEach(function (header) {
|
|
86
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this).has(header.toLowerCase())) {
|
|
87
|
+
headersToInclude[header] = argMap[header];
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
var headerParams = _objectSpread({}, headersToInclude);
|
|
91
|
+
var formParams = {};
|
|
92
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
93
|
+
var contentTypes = [];
|
|
94
|
+
var accepts = ['application/json'];
|
|
95
|
+
var returnType = _GetProtectedResourceApiResponse["default"];
|
|
96
|
+
return this.apiClient.callApi('/api/dataprotection/v4.0/config/protected-resources/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Promote protected resource
|
|
101
|
+
* Promotes the specified synced entity at the target site. This is only relevant if the synced entity is protected in a synchronous schedule.
|
|
102
|
+
* @param { String } extId The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
|
|
103
|
+
* @param {Object} args Additional Arguments
|
|
104
|
+
* @return {Promise<ProtectedResourcePromoteApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ProtectedResourcePromoteApiResponse } and HTTP response
|
|
105
|
+
*/
|
|
106
|
+
}, {
|
|
107
|
+
key: "promoteProtectedResource",
|
|
108
|
+
value: function promoteProtectedResource(extId) {
|
|
109
|
+
var _this2 = this;
|
|
110
|
+
var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
|
|
111
|
+
var postBody = null;
|
|
112
|
+
// verify the required parameter 'extId' is set
|
|
113
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
114
|
+
throw new Error("Missing the required parameter 'extId' when calling promoteProtectedResource");
|
|
115
|
+
}
|
|
116
|
+
var pathParams = {
|
|
117
|
+
'extId': extId
|
|
118
|
+
};
|
|
119
|
+
var queryParams = {};
|
|
120
|
+
var headersToInclude = {};
|
|
121
|
+
Object.keys(argMap).forEach(function (header) {
|
|
122
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this2).has(header.toLowerCase())) {
|
|
123
|
+
headersToInclude[header] = argMap[header];
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
var headerParams = _objectSpread({}, headersToInclude);
|
|
127
|
+
var formParams = {};
|
|
128
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
129
|
+
var contentTypes = [];
|
|
130
|
+
var accepts = ['application/json'];
|
|
131
|
+
var returnType = _ProtectedResourcePromoteApiResponse["default"];
|
|
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
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Restore protected resource
|
|
137
|
+
* Restore the specified protected resource from its state at the given timestamp on the given cluster. This is only relevant if the entity is protected in a minutely schedule at the given timestamp.
|
|
138
|
+
* @param { Required<Pick<ProtectedResourceRestoreSpec, 'clusterExtId'>> & Partial<ProtectedResourceRestoreSpec> } body specification
|
|
139
|
+
* @param { String } extId The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
|
|
140
|
+
* @param {Object} args Additional Arguments
|
|
141
|
+
* @return {Promise<ProtectedResourceRestoreApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ProtectedResourceRestoreApiResponse } and HTTP response
|
|
142
|
+
*/
|
|
143
|
+
}, {
|
|
144
|
+
key: "restoreProtectedResource",
|
|
145
|
+
value: function restoreProtectedResource(extId, body) {
|
|
146
|
+
var _this3 = this;
|
|
147
|
+
var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
|
|
148
|
+
var postBody = null;
|
|
149
|
+
if (body instanceof _ProtectedResourceRestoreSpec["default"] && typeof body.toJson === 'function') {
|
|
150
|
+
postBody = body.toJson();
|
|
151
|
+
} else {
|
|
152
|
+
postBody = body;
|
|
153
|
+
}
|
|
154
|
+
// verify the required parameter 'extId' is set
|
|
155
|
+
if (typeof extId === 'undefined' || extId === null) {
|
|
156
|
+
throw new Error("Missing the required parameter 'extId' when calling restoreProtectedResource");
|
|
157
|
+
}
|
|
158
|
+
// verify the required parameter 'body' is set
|
|
159
|
+
if (typeof postBody === 'undefined' || postBody === null) {
|
|
160
|
+
throw new Error("Invalid body when calling restoreProtectedResource");
|
|
161
|
+
}
|
|
162
|
+
var pathParams = {
|
|
163
|
+
'extId': extId
|
|
164
|
+
};
|
|
165
|
+
var queryParams = {};
|
|
166
|
+
var headersToInclude = {};
|
|
167
|
+
Object.keys(argMap).forEach(function (header) {
|
|
168
|
+
if (!_classPrivateFieldGet(_headersToSkip, _this3).has(header.toLowerCase())) {
|
|
169
|
+
headersToInclude[header] = argMap[header];
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
var headerParams = _objectSpread({}, headersToInclude);
|
|
173
|
+
var formParams = {};
|
|
174
|
+
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
175
|
+
var authNames = ['apiKeyAuthScheme', 'basicAuthScheme'];
|
|
176
|
+
var contentTypes = ['application/json'];
|
|
177
|
+
var accepts = ['application/json'];
|
|
178
|
+
var returnType = _ProtectedResourceRestoreApiResponse["default"];
|
|
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
|
+
}
|
|
181
|
+
}], [{
|
|
182
|
+
key: "ApiClient",
|
|
183
|
+
get:
|
|
184
|
+
/**
|
|
185
|
+
* Make the default {@link ApiClient} class available for developers to be able to extend it and bring
|
|
186
|
+
* their own fetch methods into the SDK
|
|
187
|
+
*/
|
|
188
|
+
function get() {
|
|
189
|
+
return _ApiClient.ApiClient;
|
|
190
|
+
}
|
|
191
|
+
}]);
|
|
192
|
+
}();
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RecoveryPoints service.
|
|
3
|
+
* @version 4.0.1
|
|
4
|
+
* @class RecoveryPointsApi
|
|
5
|
+
*/
|
|
6
|
+
export class RecoveryPointsApi {
|
|
7
|
+
/**
|
|
8
|
+
* Make the default {@link ApiClient} class available for developers to be able to extend it and bring
|
|
9
|
+
* their own fetch methods into the SDK
|
|
10
|
+
*/
|
|
11
|
+
static get ApiClient(): typeof ApiClient;
|
|
12
|
+
/**
|
|
13
|
+
* Constructs a new RecoveryPointsApi.
|
|
14
|
+
* @alias module:api/RecoveryPointsApi
|
|
15
|
+
* @class
|
|
16
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
17
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
18
|
+
*/
|
|
19
|
+
constructor(apiClient?: any);
|
|
20
|
+
apiClient: any;
|
|
21
|
+
/**
|
|
22
|
+
* Create a recovery point
|
|
23
|
+
* Create a new recovery point.<br> #### Task Completion Details <br> External identifier of the created recovery point can be found in the task completion details under the key `recoveryPointExtId`.
|
|
24
|
+
* @param { Partial<RecoveryPoint> } body specification
|
|
25
|
+
* @param {Object} args Additional Arguments
|
|
26
|
+
* @return {Promise<CreateRecoveryPointApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link CreateRecoveryPointApiResponse } and HTTP response
|
|
27
|
+
*/
|
|
28
|
+
createRecoveryPoint(body: Partial<RecoveryPoint>, ...args: any): Promise<CreateRecoveryPointApiResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Delete a recovery point
|
|
31
|
+
* Delete the recovery point identified by {extId}.
|
|
32
|
+
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
33
|
+
* @param {Object} args Additional Arguments
|
|
34
|
+
* @return {Promise<DeleteRecoveryPointApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link DeleteRecoveryPointApiResponse } and HTTP response
|
|
35
|
+
*/
|
|
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>;
|
|
46
|
+
/**
|
|
47
|
+
* Get a recovery point
|
|
48
|
+
* Query the recovery point identified by {extId}.
|
|
49
|
+
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
50
|
+
* @param {Object} args Additional Arguments
|
|
51
|
+
* @return {Promise<GetRecoveryPointApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetRecoveryPointApiResponse } and HTTP response
|
|
52
|
+
*/
|
|
53
|
+
getRecoveryPointById(extId: string, ...args: any): Promise<GetRecoveryPointApiResponse>;
|
|
54
|
+
/**
|
|
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
|
|
74
|
+
* List of recovery point.
|
|
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]
|
|
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.
|
|
78
|
+
|
|
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.
|
|
80
|
+
|
|
81
|
+
* @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>
|
|
82
|
+
* 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'.<br>
|
|
83
|
+
* The filter can be applied to the following fields:<br>
|
|
84
|
+
* - creationTime<br>
|
|
85
|
+
* - extId<br>
|
|
86
|
+
* - locationAgnosticId<br>
|
|
87
|
+
* - name<br>
|
|
88
|
+
* - ownerExtId<br>
|
|
89
|
+
* - recoveryPointType<br>
|
|
90
|
+
* - vmRecoveryPoints<br>
|
|
91
|
+
* - volumeGroupRecoveryPoints
|
|
92
|
+
* @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>
|
|
93
|
+
* The orderby can be applied to the following fields:<br>
|
|
94
|
+
* - creationTime<br>
|
|
95
|
+
* - expirationTime<br>
|
|
96
|
+
* - name<br>
|
|
97
|
+
* - ownerExtId
|
|
98
|
+
* @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.
|
|
99
|
+
- creationTime
|
|
100
|
+
- expirationTime
|
|
101
|
+
- extId
|
|
102
|
+
- name
|
|
103
|
+
- recoveryPointType
|
|
104
|
+
|
|
105
|
+
* @param {Object} args Additional Arguments
|
|
106
|
+
* @return {Promise<ListRecoveryPointsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListRecoveryPointsApiResponse } and HTTP response
|
|
107
|
+
*/
|
|
108
|
+
listRecoveryPoints(opts: {
|
|
109
|
+
xClusterId: string;
|
|
110
|
+
$page: number;
|
|
111
|
+
$limit: number;
|
|
112
|
+
$filter: string;
|
|
113
|
+
$orderby: string;
|
|
114
|
+
$select: string;
|
|
115
|
+
}, ...args: any): Promise<ListRecoveryPointsApiResponse>;
|
|
116
|
+
/**
|
|
117
|
+
* Replicate a recovery point
|
|
118
|
+
* Replicate the recovery point identified by {extId}.<br> #### Task Completion Details <br> External identifier of the replicated recovery point can be found in the task completion details under the key `recoveryPointExtId`.
|
|
119
|
+
* @param { Partial<RecoveryPointReplicationSpec> } body specification
|
|
120
|
+
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
121
|
+
* @param {Object} args Additional Arguments
|
|
122
|
+
* @return {Promise<RecoveryPointReplicateApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link RecoveryPointReplicateApiResponse } and HTTP response
|
|
123
|
+
*/
|
|
124
|
+
replicateRecoveryPoint(extId: string, body: Partial<RecoveryPointReplicationSpec>, ...args: any): Promise<RecoveryPointReplicateApiResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* Restore recovery point
|
|
127
|
+
* Restore a recovery point identified by {extId}.<br> #### Task Completion Details <br> A comma separated list of the created VM and volume group external identifiers can be found in the task completion details under the keys `vmExtIds` and `volumeGroupExtIds` respectively.
|
|
128
|
+
* @param { Partial<RecoveryPointRestorationSpec> } body specification
|
|
129
|
+
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
130
|
+
* @param {Object} args Additional Arguments
|
|
131
|
+
* @return {Promise<RecoveryPointRestoreApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link RecoveryPointRestoreApiResponse } and HTTP response
|
|
132
|
+
*/
|
|
133
|
+
restoreRecoveryPoint(extId: string, body: Partial<RecoveryPointRestorationSpec>, ...args: any): Promise<RecoveryPointRestoreApiResponse>;
|
|
134
|
+
/**
|
|
135
|
+
* Set the expiration time of the recovery point
|
|
136
|
+
* Set the expiration time for the recovery point identified by {extId}.
|
|
137
|
+
* @param { Required<Pick<ExpirationTimeSpec, 'expirationTime'>> & Partial<ExpirationTimeSpec> } body specification
|
|
138
|
+
* @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
|
|
139
|
+
* @param {Object} args Additional Arguments
|
|
140
|
+
* @return {Promise<UpdateRecoveryPointExpirationTimeApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link UpdateRecoveryPointExpirationTimeApiResponse } and HTTP response
|
|
141
|
+
*/
|
|
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>;
|
|
165
|
+
#private;
|
|
166
|
+
}
|
|
167
|
+
import RecoveryPoint from "../models/dataprotection/v4/config/RecoveryPoint";
|
|
168
|
+
import CreateRecoveryPointApiResponse from "../models/dataprotection/v4/config/CreateRecoveryPointApiResponse";
|
|
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";
|
|
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";
|
|
175
|
+
import ListRecoveryPointsApiResponse from "../models/dataprotection/v4/config/ListRecoveryPointsApiResponse";
|
|
176
|
+
import RecoveryPointReplicationSpec from "../models/dataprotection/v4/config/RecoveryPointReplicationSpec";
|
|
177
|
+
import RecoveryPointReplicateApiResponse from "../models/dataprotection/v4/config/RecoveryPointReplicateApiResponse";
|
|
178
|
+
import RecoveryPointRestorationSpec from "../models/dataprotection/v4/config/RecoveryPointRestorationSpec";
|
|
179
|
+
import RecoveryPointRestoreApiResponse from "../models/dataprotection/v4/config/RecoveryPointRestoreApiResponse";
|
|
180
|
+
import ExpirationTimeSpec from "../models/dataprotection/v4/config/ExpirationTimeSpec";
|
|
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";
|
|
186
|
+
import { ApiClient } from "../ApiClient";
|