@nutanix-scratch/dataprotection-js-client 4.0.1-alpha.4 → 4.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -28
- package/dist/Ntnx-Dataprotection-js-client-prod.js +1 -11
- package/dist/Ntnx-Dataprotection-js-client.js +530 -1501
- package/dist/es/ApiClient.d.ts +2 -1
- package/dist/es/ApiClient.js +401 -246
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +17 -19
- 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 +126 -0
- package/dist/es/apis/recoverypoints-endpoints.js +394 -0
- package/dist/es/index.d.ts +55 -87
- package/dist/es/index.js +169 -298
- package/dist/es/models/common/v1/config/Flag.d.ts +5 -5
- package/dist/es/models/common/v1/config/Flag.js +25 -27
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +5 -5
- package/dist/es/models/common/v1/config/IPv4Address.js +25 -27
- package/dist/es/models/common/v1/config/KVPair.d.ts +5 -5
- package/dist/es/models/common/v1/config/KVPair.js +28 -30
- package/dist/es/models/common/v1/config/Message.d.ts +5 -5
- package/dist/es/models/common/v1/config/Message.js +25 -27
- package/dist/es/models/common/v1/config/MessageSeverity.js +9 -10
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +8 -8
- package/dist/es/models/common/v1/config/TenantAwareModel.js +29 -31
- package/dist/es/models/common/v1/response/ApiLink.d.ts +5 -5
- package/dist/es/models/common/v1/response/ApiLink.js +26 -28
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +8 -8
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +29 -31
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +5 -5
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +36 -39
- package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +2 -14
- package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.js +33 -81
- package/dist/es/models/dataprotection/v4/common/RecoveryPointStatus.js +3 -4
- package/dist/es/models/dataprotection/v4/common/RecoveryPointType.js +3 -4
- package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.js +31 -31
- package/dist/es/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +62 -0
- package/dist/es/models/{storage/v4/config/Task.js → dataprotection/v4/config/AmazonS3Bucket.js} +101 -72
- package/dist/es/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +62 -0
- package/dist/{lib/models/storage/v4/config/Task.js → es/models/dataprotection/v4/config/AzureBlobStorageContainer.js} +101 -72
- package/dist/es/models/dataprotection/v4/config/Category.d.ts +17 -11
- package/dist/es/models/dataprotection/v4/config/Category.js +33 -29
- package/dist/es/models/dataprotection/v4/config/ClusterReference.d.ts +12 -9
- package/dist/es/models/dataprotection/v4/config/ClusterReference.js +29 -28
- package/dist/es/models/{storage/v4/config/Task.d.ts → dataprotection/v4/config/ComputeChangedRegionsResponse.d.ts} +17 -19
- package/dist/es/models/dataprotection/v4/config/ComputeChangedRegionsResponse.js +262 -0
- package/dist/{lib/models/dataprotection/v4/config/ConsistencyGroupMigrateApiResponse.d.ts → es/models/dataprotection/v4/config/ComputeChangedRegionsResponseModel.d.ts} +12 -12
- package/dist/es/models/dataprotection/v4/config/{WitnessApiResponse.js → ComputeChangedRegionsResponseModel.js} +57 -60
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.d.ts +39 -7
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.js +123 -42
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +18 -26
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.js +48 -88
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +3 -4
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +15 -22
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +65 -69
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +5 -1
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.js +39 -35
- package/dist/es/models/dataprotection/v4/config/{VmRecoveryPointRestoreApiResponse.d.ts → CreateConsistencyGroupApiResponse.d.ts} +12 -12
- package/dist/{lib/models/dataprotection/v4/config/ConsistencyGroupApiResponse.js → es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js} +54 -57
- package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +35 -42
- package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +10 -10
- package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.js +44 -46
- package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js +35 -38
- package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +35 -42
- package/dist/es/models/dataprotection/v4/config/DisasterRecoveryLocation.d.ts +12 -9
- package/dist/es/models/dataprotection/v4/config/DisasterRecoveryLocation.js +29 -28
- package/dist/es/models/dataprotection/v4/config/DiskRecoveryPoint.d.ts +44 -19
- package/dist/es/models/dataprotection/v4/config/DiskRecoveryPoint.js +137 -105
- package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +31 -31
- package/dist/es/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +60 -0
- package/dist/es/models/dataprotection/v4/config/{SetExpirationTimeSpec.js → ExpirationTimeSpec.js} +51 -50
- package/dist/es/models/dataprotection/v4/config/{ConsistencyGroupListApiResponse.d.ts → GetProtectedResourceApiResponse.d.ts} +12 -12
- package/dist/{lib/models/dataprotection/v4/config/ProtectedResourceApiResponse.js → es/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js} +54 -57
- package/dist/{lib/models/dataprotection/v4/config/ConsistencyGroupApiResponse.d.ts → es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts} +12 -12
- package/dist/{lib/models/dataprotection/v4/config/RecoveryPointApiResponse.js → es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js} +54 -57
- package/dist/es/models/dataprotection/v4/config/HostReference.d.ts +2 -2
- package/dist/es/models/dataprotection/v4/config/HostReference.js +34 -34
- package/dist/es/models/dataprotection/v4/config/HostType.js +3 -4
- package/dist/es/models/dataprotection/v4/config/IpAddress.d.ts +12 -9
- package/dist/es/models/dataprotection/v4/config/IpAddress.js +29 -28
- package/dist/{lib/models/dataprotection/v4/config/ChangedRegionsListApiResponse.d.ts → es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts} +12 -12
- package/dist/{lib/models/dataprotection/v4/config/RecoveryPointListApiResponse.js → es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js} +59 -57
- package/dist/es/models/dataprotection/v4/config/LocationReference.d.ts +8 -8
- package/dist/es/models/dataprotection/v4/config/LocationReference.js +30 -32
- package/dist/es/models/dataprotection/v4/config/{ConsistencyGroupMigrateApiResponse.d.ts → MigrateConsistencyGroupApiResponse.d.ts} +12 -12
- package/dist/{lib/models/dataprotection/v4/config/WitnessApiResponse.js → es/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js} +57 -60
- package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +50 -0
- package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.js +245 -0
- package/dist/{lib/models/dataprotection/v4/config/HypervisorType.d.ts → es/models/dataprotection/v4/config/ObjectStorageType.d.ts} +6 -6
- package/dist/{lib/models/dataprotection/v4/config/HypervisorType.js → es/models/dataprotection/v4/config/ObjectStorageType.js} +26 -27
- package/dist/es/models/dataprotection/v4/config/{ValidationSeverity.d.ts → ProtectedEntityType.d.ts} +6 -6
- package/dist/{lib/models/dataprotection/v4/config/ProtectedResourceEntityType.js → es/models/dataprotection/v4/config/ProtectedEntityType.js} +21 -22
- package/dist/es/models/dataprotection/v4/config/ProtectedResource.d.ts +21 -9
- package/dist/es/models/dataprotection/v4/config/ProtectedResource.js +111 -62
- package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +35 -38
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +11 -24
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +35 -38
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +24 -9
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +95 -31
- package/dist/es/models/dataprotection/v4/config/RecoveryInfo.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/RecoveryInfo.js +25 -27
- package/dist/es/models/dataprotection/v4/config/RecoveryPoint.d.ts +14 -44
- package/dist/es/models/dataprotection/v4/config/RecoveryPoint.js +59 -167
- package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +9 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.js +132 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +35 -42
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +37 -18
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +114 -91
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +52 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.js +323 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +9 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +129 -0
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +14 -14
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +42 -44
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +35 -42
- package/dist/es/models/dataprotection/v4/config/RedirectionResponse.d.ts +60 -0
- package/dist/es/models/dataprotection/v4/config/RedirectionResponse.js +279 -0
- package/dist/es/models/dataprotection/v4/config/Region.d.ts +91 -0
- package/dist/{lib/models/dataprotection/v4/config/Regions.js → es/models/dataprotection/v4/config/Region.js} +107 -58
- package/dist/es/models/dataprotection/v4/config/RegionResponse.d.ts +60 -0
- package/dist/es/models/dataprotection/v4/config/{ChangedRegions.js → RegionResponse.js} +58 -58
- package/dist/es/models/dataprotection/v4/config/{PowerState.d.ts → RegionType.d.ts} +6 -6
- package/dist/es/models/dataprotection/v4/config/{PowerState.js → RegionType.js} +23 -24
- package/dist/es/models/dataprotection/v4/config/ReplicationState.d.ts +19 -17
- package/dist/es/models/dataprotection/v4/config/ReplicationState.js +72 -66
- package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.js +25 -27
- package/dist/{lib/models/dataprotection/v4/config/DataProtectionInfo.d.ts → es/models/dataprotection/v4/config/SiteProtectionInfo.d.ts} +12 -12
- package/dist/{lib/models/dataprotection/v4/config/DataProtectionInfo.js → es/models/dataprotection/v4/config/SiteProtectionInfo.js} +45 -47
- package/dist/es/models/dataprotection/v4/config/SiteReference.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/SiteReference.js +25 -27
- package/dist/es/models/dataprotection/v4/config/Subnet.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/Subnet.js +25 -27
- package/dist/es/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js +35 -38
- package/dist/{lib/models/dataprotection/v4/config/VmRecoveryPointRestoreApiResponse.d.ts → es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts} +12 -12
- package/dist/es/models/dataprotection/v4/config/{VMRecoveryPointListApiResponse.js → UpdateConsistencyGroupApiResponse.js} +57 -60
- package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +35 -38
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +77 -0
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.js +361 -0
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.d.ts +98 -0
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.js +403 -0
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +12 -38
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +49 -125
- package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +29 -29
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +40 -22
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +126 -108
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.d.ts +98 -0
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.js +403 -0
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +12 -18
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +49 -53
- package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.js +27 -31
- package/dist/es/models/dataprotection/v4/config/VpcReference.d.ts +13 -10
- package/dist/es/models/dataprotection/v4/config/VpcReference.js +30 -29
- package/dist/es/models/dataprotection/v4/config/Witness.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/config/Witness.js +39 -41
- package/dist/es/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +3 -4
- package/dist/es/models/dataprotection/v4/error/AppMessage.d.ts +20 -12
- package/dist/es/models/dataprotection/v4/error/AppMessage.js +49 -39
- package/dist/es/models/dataprotection/v4/error/ErrorResponse.d.ts +5 -5
- package/dist/es/models/dataprotection/v4/error/ErrorResponse.js +36 -50
- package/dist/es/models/dataprotection/v4/error/SchemaValidationError.d.ts +20 -10
- package/dist/es/models/dataprotection/v4/error/SchemaValidationError.js +45 -32
- package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +14 -8
- package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +37 -30
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +5 -5
- package/dist/es/models/prism/v4/config/TaskReference.js +27 -32
- package/dist/es/models/validation/ValidationError.js +8 -10
- package/dist/es/models/validation/ValidationScopes.js +1 -2
- package/dist/es/utils/ValidationUtils.js +8 -10
- package/dist/lib/ApiClient.d.ts +2 -1
- package/dist/lib/ApiClient.js +401 -246
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +17 -19
- 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 +126 -0
- package/dist/lib/apis/recoverypoints-endpoints.js +394 -0
- package/dist/lib/index.d.ts +55 -87
- package/dist/lib/index.js +169 -298
- package/dist/lib/models/common/v1/config/Flag.d.ts +5 -5
- package/dist/lib/models/common/v1/config/Flag.js +25 -27
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +5 -5
- package/dist/lib/models/common/v1/config/IPv4Address.js +25 -27
- package/dist/lib/models/common/v1/config/KVPair.d.ts +5 -5
- package/dist/lib/models/common/v1/config/KVPair.js +28 -30
- package/dist/lib/models/common/v1/config/Message.d.ts +5 -5
- package/dist/lib/models/common/v1/config/Message.js +25 -27
- package/dist/lib/models/common/v1/config/MessageSeverity.js +9 -10
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +8 -8
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +29 -31
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +5 -5
- package/dist/lib/models/common/v1/response/ApiLink.js +26 -28
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +8 -8
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +29 -31
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +5 -5
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +36 -39
- package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +2 -14
- package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.js +33 -81
- package/dist/lib/models/dataprotection/v4/common/RecoveryPointStatus.js +3 -4
- package/dist/lib/models/dataprotection/v4/common/RecoveryPointType.js +3 -4
- package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.js +31 -31
- package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +62 -0
- package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.js +283 -0
- package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +62 -0
- package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.js +283 -0
- package/dist/lib/models/dataprotection/v4/config/Category.d.ts +17 -11
- package/dist/lib/models/dataprotection/v4/config/Category.js +33 -29
- package/dist/lib/models/dataprotection/v4/config/ClusterReference.d.ts +12 -9
- package/dist/lib/models/dataprotection/v4/config/ClusterReference.js +29 -28
- package/dist/lib/models/{storage/v4/config/Task.d.ts → dataprotection/v4/config/ComputeChangedRegionsResponse.d.ts} +17 -19
- package/dist/lib/models/dataprotection/v4/config/ComputeChangedRegionsResponse.js +262 -0
- package/dist/lib/models/dataprotection/v4/config/ComputeChangedRegionsResponseModel.d.ts +59 -0
- package/dist/lib/models/dataprotection/v4/config/ComputeChangedRegionsResponseModel.js +311 -0
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.d.ts +39 -7
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.js +123 -42
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +18 -26
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.js +48 -88
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +3 -4
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +15 -22
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +65 -69
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +5 -1
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.js +39 -35
- package/dist/{es/models/dataprotection/v4/config/DiskRecoveryPointApiResponse.d.ts → lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts} +12 -12
- package/dist/{es/models/dataprotection/v4/config/ConsistencyGroupApiResponse.js → lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js} +54 -57
- package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +35 -42
- package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +10 -10
- package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.js +44 -46
- package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js +35 -38
- package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +35 -42
- package/dist/lib/models/dataprotection/v4/config/DisasterRecoveryLocation.d.ts +12 -9
- package/dist/lib/models/dataprotection/v4/config/DisasterRecoveryLocation.js +29 -28
- package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPoint.d.ts +44 -19
- package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPoint.js +137 -105
- package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +31 -31
- package/dist/lib/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +60 -0
- package/dist/lib/models/dataprotection/v4/config/{SetExpirationTimeSpec.js → ExpirationTimeSpec.js} +51 -50
- package/dist/lib/models/dataprotection/v4/config/{ConsistencyGroupListApiResponse.d.ts → GetProtectedResourceApiResponse.d.ts} +12 -12
- package/dist/{es/models/dataprotection/v4/config/ProtectedResourceApiResponse.js → lib/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js} +54 -57
- package/dist/{es/models/dataprotection/v4/config/ConsistencyGroupApiResponse.d.ts → lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts} +12 -12
- package/dist/{es/models/dataprotection/v4/config/RecoveryPointApiResponse.js → lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js} +54 -57
- package/dist/lib/models/dataprotection/v4/config/HostReference.d.ts +2 -2
- package/dist/lib/models/dataprotection/v4/config/HostReference.js +34 -34
- package/dist/lib/models/dataprotection/v4/config/HostType.js +3 -4
- package/dist/lib/models/dataprotection/v4/config/IpAddress.d.ts +12 -9
- package/dist/lib/models/dataprotection/v4/config/IpAddress.js +29 -28
- package/dist/{es/models/dataprotection/v4/config/ChangedRegionsListApiResponse.d.ts → lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts} +12 -12
- package/dist/{es/models/dataprotection/v4/config/RecoveryPointListApiResponse.js → lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js} +59 -57
- package/dist/lib/models/dataprotection/v4/config/LocationReference.d.ts +8 -8
- package/dist/lib/models/dataprotection/v4/config/LocationReference.js +30 -32
- package/dist/lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.d.ts +59 -0
- package/dist/{es/models/dataprotection/v4/config/ConsistencyGroupMigrateApiResponse.js → lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js} +54 -61
- package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +50 -0
- package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.js +245 -0
- package/dist/{es/models/dataprotection/v4/config/HypervisorType.d.ts → lib/models/dataprotection/v4/config/ObjectStorageType.d.ts} +6 -6
- package/dist/{es/models/dataprotection/v4/config/HypervisorType.js → lib/models/dataprotection/v4/config/ObjectStorageType.js} +26 -27
- package/dist/lib/models/dataprotection/v4/config/ProtectedEntityType.d.ts +19 -0
- package/dist/{es/models/dataprotection/v4/config/ProtectedResourceEntityType.js → lib/models/dataprotection/v4/config/ProtectedEntityType.js} +21 -22
- package/dist/lib/models/dataprotection/v4/config/ProtectedResource.d.ts +21 -9
- package/dist/lib/models/dataprotection/v4/config/ProtectedResource.js +111 -62
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +35 -38
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +11 -24
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +35 -38
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +24 -9
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +95 -31
- package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.js +25 -27
- package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.d.ts +14 -44
- package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.js +59 -167
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +9 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.js +132 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +35 -42
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +37 -18
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +114 -91
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +52 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.js +323 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +9 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +129 -0
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +14 -14
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +42 -44
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +35 -42
- package/dist/lib/models/dataprotection/v4/config/RedirectionResponse.d.ts +60 -0
- package/dist/lib/models/dataprotection/v4/config/RedirectionResponse.js +279 -0
- package/dist/lib/models/dataprotection/v4/config/Region.d.ts +91 -0
- package/dist/{es/models/dataprotection/v4/config/Regions.js → lib/models/dataprotection/v4/config/Region.js} +107 -58
- package/dist/lib/models/dataprotection/v4/config/RegionResponse.d.ts +60 -0
- package/dist/lib/models/dataprotection/v4/config/{ChangedRegions.js → RegionResponse.js} +58 -58
- package/dist/lib/models/dataprotection/v4/config/{PowerState.d.ts → RegionType.d.ts} +6 -6
- package/dist/lib/models/dataprotection/v4/config/{PowerState.js → RegionType.js} +23 -24
- package/dist/lib/models/dataprotection/v4/config/ReplicationState.d.ts +19 -17
- package/dist/lib/models/dataprotection/v4/config/ReplicationState.js +72 -66
- package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.js +25 -27
- package/dist/{es/models/dataprotection/v4/config/DataProtectionInfo.d.ts → lib/models/dataprotection/v4/config/SiteProtectionInfo.d.ts} +12 -12
- package/dist/{es/models/dataprotection/v4/config/DataProtectionInfo.js → lib/models/dataprotection/v4/config/SiteProtectionInfo.js} +45 -47
- package/dist/lib/models/dataprotection/v4/config/SiteReference.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/SiteReference.js +25 -27
- package/dist/lib/models/dataprotection/v4/config/Subnet.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/Subnet.js +25 -27
- package/dist/lib/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js +35 -38
- package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +59 -0
- package/dist/lib/models/dataprotection/v4/config/{VMRecoveryPointListApiResponse.js → UpdateConsistencyGroupApiResponse.js} +57 -60
- package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +35 -38
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +77 -0
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.js +361 -0
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.d.ts +98 -0
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.js +403 -0
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +12 -38
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +49 -125
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +29 -29
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +40 -22
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +126 -108
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.d.ts +98 -0
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.js +403 -0
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +12 -18
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +49 -53
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.js +27 -31
- package/dist/lib/models/dataprotection/v4/config/VpcReference.d.ts +13 -10
- package/dist/lib/models/dataprotection/v4/config/VpcReference.js +30 -29
- package/dist/lib/models/dataprotection/v4/config/Witness.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/config/Witness.js +39 -41
- package/dist/lib/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +3 -4
- package/dist/lib/models/dataprotection/v4/error/AppMessage.d.ts +20 -12
- package/dist/lib/models/dataprotection/v4/error/AppMessage.js +49 -39
- package/dist/lib/models/dataprotection/v4/error/ErrorResponse.d.ts +5 -5
- package/dist/lib/models/dataprotection/v4/error/ErrorResponse.js +36 -50
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.d.ts +20 -10
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.js +45 -32
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +14 -8
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +37 -30
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +5 -5
- package/dist/lib/models/prism/v4/config/TaskReference.js +27 -32
- package/dist/lib/models/validation/ValidationError.js +8 -10
- package/dist/lib/models/validation/ValidationScopes.js +1 -2
- package/dist/lib/utils/ValidationUtils.js +8 -10
- package/package.json +3 -2
- 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/ChangedRegions.d.ts +0 -62
- package/dist/es/models/dataprotection/v4/config/ChangedRegionsListApiResponse.js +0 -314
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupListApiResponse.js +0 -341
- 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/Disk.d.ts +0 -62
- package/dist/es/models/dataprotection/v4/config/Disk.js +0 -285
- 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/ProtectedResourceApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceEntityType.d.ts +0 -19
- package/dist/es/models/dataprotection/v4/config/RecoveryPointApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/RecoveryPointListApiResponse.d.ts +0 -59
- package/dist/es/models/dataprotection/v4/config/Regions.d.ts +0 -62
- package/dist/es/models/dataprotection/v4/config/SetExpirationTimeSpec.d.ts +0 -57
- 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/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.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/WitnessApiResponse.d.ts +0 -59
- 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/ChangedRegions.d.ts +0 -62
- package/dist/lib/models/dataprotection/v4/config/ChangedRegionsListApiResponse.js +0 -314
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupListApiResponse.js +0 -341
- 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/Disk.d.ts +0 -62
- package/dist/lib/models/dataprotection/v4/config/Disk.js +0 -285
- 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/ProtectedResourceApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceEntityType.d.ts +0 -19
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointListApiResponse.d.ts +0 -59
- package/dist/lib/models/dataprotection/v4/config/Regions.d.ts +0 -62
- package/dist/lib/models/dataprotection/v4/config/SetExpirationTimeSpec.d.ts +0 -57
- 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/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.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/WitnessApiResponse.d.ts +0 -59
|
@@ -4,80 +4,96 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
+
var _RegionType = _interopRequireDefault(require("./RegionType"));
|
|
7
8
|
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
8
9
|
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
9
10
|
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
10
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
function _typeof(
|
|
12
|
+
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); }
|
|
12
13
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
13
14
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
14
15
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
15
16
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
16
|
-
function _iterableToArrayLimit(
|
|
17
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
17
18
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
18
|
-
function ownKeys(
|
|
19
|
-
function _objectSpread(
|
|
19
|
+
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; }
|
|
20
|
+
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; }
|
|
20
21
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21
22
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
22
23
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
23
24
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
24
|
-
function _toPropertyKey(
|
|
25
|
-
function _toPrimitive(
|
|
25
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
26
|
+
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); }
|
|
26
27
|
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
27
28
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } } /*
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
* Nutanix Dataprotection Versioned APIs
|
|
30
|
+
*
|
|
31
|
+
* OpenAPI spec version: 4.0.1-beta-1
|
|
32
|
+
*
|
|
33
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
34
|
+
*
|
|
35
|
+
* Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
|
|
36
|
+
*
|
|
37
|
+
* Do not edit the class manually.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
39
40
|
/**
|
|
40
|
-
* The
|
|
41
|
-
* @module Ntnx/
|
|
42
|
-
* @version 4.0.1-
|
|
43
|
-
* @class
|
|
41
|
+
* The Region model module.
|
|
42
|
+
* @module Ntnx/Region
|
|
43
|
+
* @version 4.0.1-beta-1
|
|
44
|
+
* @class Region
|
|
45
|
+
*
|
|
46
|
+
* @param { Number } offset The start offset of the region in bytes.
|
|
47
|
+
*
|
|
48
|
+
* @param { Number } length The length of the region in bytes.
|
|
49
|
+
*
|
|
50
|
+
* @param { RegionType } regionType
|
|
44
51
|
*/
|
|
45
|
-
var
|
|
46
|
-
var
|
|
52
|
+
var _Region_brand = /*#__PURE__*/new WeakSet();
|
|
53
|
+
var Region = exports["default"] = /*#__PURE__*/function () {
|
|
47
54
|
/**
|
|
48
|
-
* Constructs a new <code>
|
|
49
|
-
* Changed
|
|
50
|
-
* @alias module:Ntnx/
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
55
|
+
* Constructs a new <code>Region</code>.
|
|
56
|
+
* Changed region comprising of offset, length, and type of the region.
|
|
57
|
+
* @alias module:Ntnx/Region
|
|
58
|
+
*
|
|
59
|
+
* @param { Number } offset The start offset of the region in bytes.
|
|
60
|
+
*
|
|
61
|
+
* @param { Number } length The length of the region in bytes.
|
|
62
|
+
*
|
|
63
|
+
* @param { RegionType } regionType
|
|
64
|
+
*/
|
|
65
|
+
function Region(offset, length, regionType) {
|
|
66
|
+
_classCallCheck(this, Region);
|
|
54
67
|
/*
|
|
55
68
|
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
56
69
|
* @param {Object} obj
|
|
57
70
|
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
58
71
|
* Otherwise, just returns the input object.
|
|
59
72
|
*/
|
|
60
|
-
_classPrivateMethodInitSpec(this,
|
|
61
|
-
this
|
|
73
|
+
_classPrivateMethodInitSpec(this, _Region_brand);
|
|
74
|
+
this.offset = offset;
|
|
75
|
+
this.length = length;
|
|
76
|
+
this.regionType = regionType;
|
|
77
|
+
this.$objectType = "dataprotection.v4.config.Region";
|
|
62
78
|
this.$reserved = {
|
|
63
|
-
'$
|
|
79
|
+
'$fv': "v4.r0.b1"
|
|
64
80
|
};
|
|
65
81
|
this.$unknownFields = {};
|
|
66
82
|
}
|
|
67
83
|
|
|
68
84
|
/**
|
|
69
|
-
* Constructs a <code>
|
|
85
|
+
* Constructs a <code>Region</code> from a plain JavaScript object, optionally creating a new instance.
|
|
70
86
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
71
87
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
72
|
-
* @param {module:Ntnx/
|
|
88
|
+
* @param {module:Ntnx/Region} obj Optional instance to populate.
|
|
73
89
|
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
74
|
-
* @return {module:Ntnx/
|
|
90
|
+
* @return {module:Ntnx/Region} The populated <code>Region</code> instance.
|
|
75
91
|
*/
|
|
76
|
-
_createClass(
|
|
92
|
+
return _createClass(Region, [{
|
|
77
93
|
key: "getOffset",
|
|
78
94
|
value:
|
|
79
95
|
/**
|
|
80
|
-
* Returns The
|
|
96
|
+
* Returns The start offset of the region in bytes.
|
|
81
97
|
* @return {}
|
|
82
98
|
*/
|
|
83
99
|
function getOffset() {
|
|
@@ -85,8 +101,8 @@ var Regions = /*#__PURE__*/function () {
|
|
|
85
101
|
}
|
|
86
102
|
|
|
87
103
|
/**
|
|
88
|
-
* Sets The
|
|
89
|
-
* @param {} offset The
|
|
104
|
+
* Sets The start offset of the region in bytes.
|
|
105
|
+
* @param {} offset The start offset of the region in bytes.
|
|
90
106
|
*/
|
|
91
107
|
}, {
|
|
92
108
|
key: "setOffset",
|
|
@@ -95,7 +111,7 @@ var Regions = /*#__PURE__*/function () {
|
|
|
95
111
|
}
|
|
96
112
|
|
|
97
113
|
/**
|
|
98
|
-
* Returns The length of the
|
|
114
|
+
* Returns The length of the region in bytes.
|
|
99
115
|
* @return {}
|
|
100
116
|
*/
|
|
101
117
|
}, {
|
|
@@ -105,14 +121,32 @@ var Regions = /*#__PURE__*/function () {
|
|
|
105
121
|
}
|
|
106
122
|
|
|
107
123
|
/**
|
|
108
|
-
* Sets The length of the
|
|
109
|
-
* @param {} length The length of the
|
|
124
|
+
* Sets The length of the region in bytes.
|
|
125
|
+
* @param {} length The length of the region in bytes.
|
|
110
126
|
*/
|
|
111
127
|
}, {
|
|
112
128
|
key: "setLength",
|
|
113
129
|
value: function setLength(length) {
|
|
114
130
|
this.length = length;
|
|
115
131
|
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @return {}
|
|
135
|
+
*/
|
|
136
|
+
}, {
|
|
137
|
+
key: "getRegionType",
|
|
138
|
+
value: function getRegionType() {
|
|
139
|
+
return this.regionType;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @param {} regionType
|
|
144
|
+
*/
|
|
145
|
+
}, {
|
|
146
|
+
key: "setRegionType",
|
|
147
|
+
value: function setRegionType(regionType) {
|
|
148
|
+
this.regionType = regionType;
|
|
149
|
+
}
|
|
116
150
|
}, {
|
|
117
151
|
key: "get$Reserved",
|
|
118
152
|
value: function get$Reserved() {
|
|
@@ -132,20 +166,24 @@ var Regions = /*#__PURE__*/function () {
|
|
|
132
166
|
key: "toJson",
|
|
133
167
|
value: function toJson(forMutation) {
|
|
134
168
|
if (forMutation === false) {
|
|
135
|
-
return _objectSpread(_objectSpread(_objectSpread({}, typeof this.getOffset() !== 'undefined' && this.getOffset() !== null ? {
|
|
169
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getOffset() !== 'undefined' && this.getOffset() !== null ? {
|
|
136
170
|
'offset': this.getOffset()
|
|
137
171
|
} : {}), typeof this.getLength() !== 'undefined' && this.getLength() !== null ? {
|
|
138
172
|
'length': this.getLength()
|
|
173
|
+
} : {}), typeof this.getRegionType() !== 'undefined' && this.getRegionType() !== null ? {
|
|
174
|
+
'regionType': this.getRegionType()
|
|
139
175
|
} : {}), {}, {
|
|
140
176
|
'$reserved': this.get$Reserved(),
|
|
141
177
|
'$objectType': this.get$ObjectType(),
|
|
142
178
|
'$unknownFields': this.get$UnknownFields()
|
|
143
179
|
});
|
|
144
180
|
}
|
|
145
|
-
return _objectSpread(_objectSpread(_objectSpread({}, typeof this.getOffset() !== 'undefined' && this.getOffset() !== null ? {
|
|
181
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getOffset() !== 'undefined' && this.getOffset() !== null ? {
|
|
146
182
|
'offset': this.getOffset()
|
|
147
183
|
} : {}), typeof this.getLength() !== 'undefined' && this.getLength() !== null ? {
|
|
148
184
|
'length': this.getLength()
|
|
185
|
+
} : {}), typeof this.getRegionType() !== 'undefined' && this.getRegionType() !== null ? {
|
|
186
|
+
'regionType': this.getRegionType()
|
|
149
187
|
} : {}), {}, {
|
|
150
188
|
'$reserved': this.get$Reserved(),
|
|
151
189
|
'$objectType': this.get$ObjectType(),
|
|
@@ -159,7 +197,7 @@ var Regions = /*#__PURE__*/function () {
|
|
|
159
197
|
var propList = [];
|
|
160
198
|
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
|
|
161
199
|
//cases validate() and validate(scope)
|
|
162
|
-
propList = [];
|
|
200
|
+
propList = ["offset", "length", "regionType"];
|
|
163
201
|
} else if (arguments.length === 1) {
|
|
164
202
|
//case validate(properties)
|
|
165
203
|
propList = arguments[0];
|
|
@@ -197,6 +235,11 @@ var Regions = /*#__PURE__*/function () {
|
|
|
197
235
|
return new _ValidationError["default"]("length", "undefined or null");
|
|
198
236
|
}
|
|
199
237
|
}
|
|
238
|
+
if (property === "regionType") {
|
|
239
|
+
if (typeof this.regionType === 'undefined' || this.regionType === null) {
|
|
240
|
+
return new _ValidationError["default"]("regionType", "undefined or null");
|
|
241
|
+
}
|
|
242
|
+
}
|
|
200
243
|
if (property === "$reserved") {
|
|
201
244
|
if (typeof this.$reserved === 'undefined' || this.$reserved === null) {
|
|
202
245
|
return new _ValidationError["default"]("$reserved", "undefined or null");
|
|
@@ -220,13 +263,16 @@ var Regions = /*#__PURE__*/function () {
|
|
|
220
263
|
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
221
264
|
var items, item, i, itemArr, discriminator;
|
|
222
265
|
if (data) {
|
|
223
|
-
obj = obj || new
|
|
266
|
+
obj = obj || new Region();
|
|
224
267
|
if (data.hasOwnProperty('offset') && data.offset !== null && data.offset !== undefined) {
|
|
225
268
|
obj.setOffset(data['offset']);
|
|
226
269
|
}
|
|
227
270
|
if (data.hasOwnProperty('length') && data.length !== null && data.length !== undefined) {
|
|
228
271
|
obj.setLength(data['length']);
|
|
229
272
|
}
|
|
273
|
+
if (data.hasOwnProperty('regionType') && data.regionType !== null && data.regionType !== undefined) {
|
|
274
|
+
obj.setRegionType(_RegionType["default"].constructFromObject(data['regionType']));
|
|
275
|
+
}
|
|
230
276
|
if (data.hasOwnProperty('$reserved')) {
|
|
231
277
|
obj.$reserved = data['$reserved'];
|
|
232
278
|
}
|
|
@@ -248,14 +294,12 @@ var Regions = /*#__PURE__*/function () {
|
|
|
248
294
|
return obj;
|
|
249
295
|
}
|
|
250
296
|
}]);
|
|
251
|
-
return Regions;
|
|
252
297
|
}();
|
|
253
298
|
/**
|
|
254
|
-
* The
|
|
255
|
-
* @memberof
|
|
299
|
+
* The start offset of the region in bytes.
|
|
300
|
+
* @memberof Region
|
|
256
301
|
*/
|
|
257
|
-
|
|
258
|
-
function _toJsonMapType2(obj, forMutation) {
|
|
302
|
+
function _toJsonMapType(obj, forMutation) {
|
|
259
303
|
if (obj instanceof Map) {
|
|
260
304
|
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
261
305
|
var _ref2 = _slicedToArray(_ref, 2),
|
|
@@ -270,13 +314,18 @@ function _toJsonMapType2(obj, forMutation) {
|
|
|
270
314
|
}
|
|
271
315
|
return obj;
|
|
272
316
|
}
|
|
273
|
-
|
|
317
|
+
Region.prototype.offset = undefined;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* The length of the region in bytes.
|
|
321
|
+
* @memberof Region
|
|
322
|
+
*/
|
|
323
|
+
Region.prototype.length = undefined;
|
|
274
324
|
|
|
275
325
|
/**
|
|
276
|
-
*
|
|
277
|
-
* @memberof Regions
|
|
326
|
+
* @memberof Region
|
|
278
327
|
*/
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
328
|
+
Region.prototype.regionType = undefined;
|
|
329
|
+
Region.prototype.$reserved = undefined;
|
|
330
|
+
Region.prototype.$objectType = undefined;
|
|
331
|
+
Region.prototype.$unknownFields = undefined;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The RegionResponse model module.
|
|
3
|
+
* @module Ntnx/RegionResponse
|
|
4
|
+
* @version 4.0.1-beta-1
|
|
5
|
+
* @class RegionResponse
|
|
6
|
+
*/
|
|
7
|
+
export default class RegionResponse {
|
|
8
|
+
/**
|
|
9
|
+
* Constructs a <code>RegionResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
10
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
11
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
12
|
+
* @param {module:Ntnx/RegionResponse} obj Optional instance to populate.
|
|
13
|
+
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
14
|
+
* @return {module:Ntnx/RegionResponse} The populated <code>RegionResponse</code> instance.
|
|
15
|
+
*/
|
|
16
|
+
static constructFromObject(data: any, obj: any, callFromChild?: boolean): any;
|
|
17
|
+
$objectType: string;
|
|
18
|
+
$reserved: {
|
|
19
|
+
$fv: string;
|
|
20
|
+
};
|
|
21
|
+
$unknownFields: {};
|
|
22
|
+
/**
|
|
23
|
+
* @return {}
|
|
24
|
+
*/
|
|
25
|
+
getRegions(): any;
|
|
26
|
+
/**
|
|
27
|
+
* @param {} regions
|
|
28
|
+
*/
|
|
29
|
+
setRegions(regions: any): void;
|
|
30
|
+
regions: any;
|
|
31
|
+
/**
|
|
32
|
+
* Returns The offset from where the client must continue the request. This field is not set when there are no more changed regions to be returned. Note: the nextOffset can be outside the endOffset specified by the client in the request. This helps clients reach the next changed offset faster.
|
|
33
|
+
* @return {}
|
|
34
|
+
*/
|
|
35
|
+
getNextOffset(): any;
|
|
36
|
+
/**
|
|
37
|
+
* Sets The offset from where the client must continue the request. This field is not set when there are no more changed regions to be returned. Note: the nextOffset can be outside the endOffset specified by the client in the request. This helps clients reach the next changed offset faster.
|
|
38
|
+
* @param {} nextOffset The offset from where the client must continue the request. This field is not set when there are no more changed regions to be returned. Note: the nextOffset can be outside the endOffset specified by the client in the request. This helps clients reach the next changed offset faster.
|
|
39
|
+
*/
|
|
40
|
+
setNextOffset(nextOffset: any): void;
|
|
41
|
+
nextOffset: any;
|
|
42
|
+
get$Reserved(): {
|
|
43
|
+
$fv: string;
|
|
44
|
+
};
|
|
45
|
+
get$ObjectType(): string;
|
|
46
|
+
get$UnknownFields(): {};
|
|
47
|
+
toJson(forMutation: any): {
|
|
48
|
+
$reserved: {
|
|
49
|
+
$fv: string;
|
|
50
|
+
};
|
|
51
|
+
$objectType: string;
|
|
52
|
+
$unknownFields: {};
|
|
53
|
+
nextOffset?: any;
|
|
54
|
+
regions?: any;
|
|
55
|
+
};
|
|
56
|
+
validate(scope: any, properties: any, ...args: any[]): Promise<any>;
|
|
57
|
+
validateProperty(scope: any, property: any): ValidationError;
|
|
58
|
+
#private;
|
|
59
|
+
}
|
|
60
|
+
import ValidationError from "../../../validation/ValidationError";
|
|
@@ -4,81 +4,79 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _Region = _interopRequireDefault(require("./Region"));
|
|
8
8
|
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
9
9
|
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
10
10
|
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
-
function _typeof(
|
|
12
|
+
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); }
|
|
13
13
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
14
14
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
15
15
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
16
16
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
17
|
-
function _iterableToArrayLimit(
|
|
17
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
18
18
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
19
|
-
function ownKeys(
|
|
20
|
-
function _objectSpread(
|
|
19
|
+
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; }
|
|
20
|
+
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; }
|
|
21
21
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
22
22
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
23
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
24
24
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
|
-
function _toPropertyKey(
|
|
26
|
-
function _toPrimitive(
|
|
25
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
26
|
+
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); }
|
|
27
27
|
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
28
28
|
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } } /*
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
29
|
+
* Nutanix Dataprotection Versioned APIs
|
|
30
|
+
*
|
|
31
|
+
* OpenAPI spec version: 4.0.1-beta-1
|
|
32
|
+
*
|
|
33
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
34
|
+
*
|
|
35
|
+
* Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
|
|
36
|
+
*
|
|
37
|
+
* Do not edit the class manually.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
40
|
/**
|
|
41
|
-
* The
|
|
42
|
-
* @module Ntnx/
|
|
43
|
-
* @version 4.0.1-
|
|
44
|
-
* @class
|
|
41
|
+
* The RegionResponse model module.
|
|
42
|
+
* @module Ntnx/RegionResponse
|
|
43
|
+
* @version 4.0.1-beta-1
|
|
44
|
+
* @class RegionResponse
|
|
45
45
|
*/
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var _RegionResponse_brand = /*#__PURE__*/new WeakSet();
|
|
47
|
+
var RegionResponse = exports["default"] = /*#__PURE__*/function () {
|
|
48
48
|
/**
|
|
49
|
-
* Constructs a new <code>
|
|
50
|
-
*
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
_classCallCheck(this, ChangedRegions);
|
|
49
|
+
* Constructs a new <code>RegionResponse</code>.
|
|
50
|
+
* @alias module:Ntnx/RegionResponse
|
|
51
|
+
*/
|
|
52
|
+
function RegionResponse() {
|
|
53
|
+
_classCallCheck(this, RegionResponse);
|
|
55
54
|
/*
|
|
56
55
|
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
57
56
|
* @param {Object} obj
|
|
58
57
|
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
59
58
|
* Otherwise, just returns the input object.
|
|
60
59
|
*/
|
|
61
|
-
_classPrivateMethodInitSpec(this,
|
|
62
|
-
this.$objectType = "dataprotection.v4.config.
|
|
60
|
+
_classPrivateMethodInitSpec(this, _RegionResponse_brand);
|
|
61
|
+
this.$objectType = "dataprotection.v4.config.RegionResponse";
|
|
63
62
|
this.$reserved = {
|
|
64
|
-
'$
|
|
63
|
+
'$fv': "v4.r0.b1"
|
|
65
64
|
};
|
|
66
65
|
this.$unknownFields = {};
|
|
67
66
|
}
|
|
68
67
|
|
|
69
68
|
/**
|
|
70
|
-
* Constructs a <code>
|
|
69
|
+
* Constructs a <code>RegionResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
71
70
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
72
71
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
73
|
-
* @param {module:Ntnx/
|
|
72
|
+
* @param {module:Ntnx/RegionResponse} obj Optional instance to populate.
|
|
74
73
|
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
75
|
-
* @return {module:Ntnx/
|
|
74
|
+
* @return {module:Ntnx/RegionResponse} The populated <code>RegionResponse</code> instance.
|
|
76
75
|
*/
|
|
77
|
-
_createClass(
|
|
76
|
+
return _createClass(RegionResponse, [{
|
|
78
77
|
key: "getRegions",
|
|
79
78
|
value:
|
|
80
79
|
/**
|
|
81
|
-
* Returns Changed Regions list comprising of offset and regions length pertaining to the Disk Recovery Point.
|
|
82
80
|
* @return {}
|
|
83
81
|
*/
|
|
84
82
|
function getRegions() {
|
|
@@ -86,8 +84,7 @@ var ChangedRegions = /*#__PURE__*/function () {
|
|
|
86
84
|
}
|
|
87
85
|
|
|
88
86
|
/**
|
|
89
|
-
*
|
|
90
|
-
* @param {} regions Changed Regions list comprising of offset and regions length pertaining to the Disk Recovery Point.
|
|
87
|
+
* @param {} regions
|
|
91
88
|
*/
|
|
92
89
|
}, {
|
|
93
90
|
key: "setRegions",
|
|
@@ -96,7 +93,7 @@ var ChangedRegions = /*#__PURE__*/function () {
|
|
|
96
93
|
}
|
|
97
94
|
|
|
98
95
|
/**
|
|
99
|
-
* Returns The offset from where the client must continue the request. This field
|
|
96
|
+
* Returns The offset from where the client must continue the request. This field is not set when there are no more changed regions to be returned. Note: the nextOffset can be outside the endOffset specified by the client in the request. This helps clients reach the next changed offset faster.
|
|
100
97
|
* @return {}
|
|
101
98
|
*/
|
|
102
99
|
}, {
|
|
@@ -106,8 +103,8 @@ var ChangedRegions = /*#__PURE__*/function () {
|
|
|
106
103
|
}
|
|
107
104
|
|
|
108
105
|
/**
|
|
109
|
-
* Sets The offset from where the client must continue the request. This field
|
|
110
|
-
* @param {} nextOffset The offset from where the client must continue the request. This field
|
|
106
|
+
* Sets The offset from where the client must continue the request. This field is not set when there are no more changed regions to be returned. Note: the nextOffset can be outside the endOffset specified by the client in the request. This helps clients reach the next changed offset faster.
|
|
107
|
+
* @param {} nextOffset The offset from where the client must continue the request. This field is not set when there are no more changed regions to be returned. Note: the nextOffset can be outside the endOffset specified by the client in the request. This helps clients reach the next changed offset faster.
|
|
111
108
|
*/
|
|
112
109
|
}, {
|
|
113
110
|
key: "setNextOffset",
|
|
@@ -196,6 +193,12 @@ var ChangedRegions = /*#__PURE__*/function () {
|
|
|
196
193
|
if (typeof this.regions === 'undefined' || this.regions === null) {
|
|
197
194
|
return new _ValidationError["default"]("regions", "undefined or null");
|
|
198
195
|
}
|
|
196
|
+
if (!_ValidationUtils["default"].validateMaxItems(this.regions, 20000)) {
|
|
197
|
+
return new _ValidationError["default"]("regions", "does not satisfy required maxItems constraint: 20000");
|
|
198
|
+
}
|
|
199
|
+
if (!_ValidationUtils["default"].validateMinItems(this.regions, 1)) {
|
|
200
|
+
return new _ValidationError["default"]("regions", "does not satisfy required minItems constraint: 1");
|
|
201
|
+
}
|
|
199
202
|
}
|
|
200
203
|
if (property === "nextOffset") {
|
|
201
204
|
if (typeof this.nextOffset === 'undefined' || this.nextOffset === null) {
|
|
@@ -225,12 +228,12 @@ var ChangedRegions = /*#__PURE__*/function () {
|
|
|
225
228
|
var callFromChild = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
226
229
|
var items, item, i, itemArr, discriminator;
|
|
227
230
|
if (data) {
|
|
228
|
-
obj = obj || new
|
|
231
|
+
obj = obj || new RegionResponse();
|
|
229
232
|
if (data.hasOwnProperty('regions') && data.regions !== null && data.regions !== undefined) {
|
|
230
233
|
itemArr = [];
|
|
231
234
|
items = data.regions;
|
|
232
235
|
for (i = 0; i < items.length; i++) {
|
|
233
|
-
item =
|
|
236
|
+
item = _Region["default"].constructFromObject(items[i], undefined);
|
|
234
237
|
itemArr.push(item);
|
|
235
238
|
}
|
|
236
239
|
obj.setRegions(itemArr);
|
|
@@ -259,14 +262,11 @@ var ChangedRegions = /*#__PURE__*/function () {
|
|
|
259
262
|
return obj;
|
|
260
263
|
}
|
|
261
264
|
}]);
|
|
262
|
-
return ChangedRegions;
|
|
263
265
|
}();
|
|
264
266
|
/**
|
|
265
|
-
*
|
|
266
|
-
* @memberof ChangedRegions
|
|
267
|
+
* @memberof RegionResponse
|
|
267
268
|
*/
|
|
268
|
-
|
|
269
|
-
function _toJsonMapType2(obj, forMutation) {
|
|
269
|
+
function _toJsonMapType(obj, forMutation) {
|
|
270
270
|
if (obj instanceof Map) {
|
|
271
271
|
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
272
272
|
var _ref2 = _slicedToArray(_ref, 2),
|
|
@@ -281,15 +281,15 @@ function _toJsonMapType2(obj, forMutation) {
|
|
|
281
281
|
}
|
|
282
282
|
return obj;
|
|
283
283
|
}
|
|
284
|
-
|
|
284
|
+
RegionResponse.prototype.regions = undefined;
|
|
285
285
|
|
|
286
286
|
/**
|
|
287
|
-
* The offset from where the client must continue the request. This field
|
|
288
|
-
* @memberof
|
|
287
|
+
* The offset from where the client must continue the request. This field is not set when there are no more changed regions to be returned. Note: the nextOffset can be outside the endOffset specified by the client in the request. This helps clients reach the next changed offset faster.
|
|
288
|
+
* @memberof RegionResponse
|
|
289
289
|
*/
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
290
|
+
RegionResponse.prototype.nextOffset = undefined;
|
|
291
|
+
RegionResponse.prototype.$reserved = undefined;
|
|
292
|
+
RegionResponse.prototype.$objectType = undefined;
|
|
293
|
+
RegionResponse.prototype.$unknownFields = undefined;
|
|
294
294
|
|
|
295
|
-
// Implement OneOfdataprotection.v4.config.
|
|
295
|
+
// Implement OneOfdataprotection.v4.config.ComputeChangedRegionsResponseresponse interface:
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export default
|
|
1
|
+
export default RegionType;
|
|
2
2
|
/**
|
|
3
3
|
* *
|
|
4
4
|
*/
|
|
5
|
-
type
|
|
6
|
-
declare namespace
|
|
5
|
+
type RegionType = string;
|
|
6
|
+
declare namespace RegionType {
|
|
7
7
|
/**
|
|
8
|
-
* Returns a <code>
|
|
8
|
+
* Returns a <code>RegionType</code> enum value from a JavaScript object name.
|
|
9
9
|
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
10
|
-
* @return {
|
|
10
|
+
* @return {RegionType} The enum <code>RegionType</code> value.
|
|
11
11
|
*/
|
|
12
12
|
function constructFromObject(obj: any): string;
|
|
13
13
|
/**
|
|
14
|
-
* Validates <code>
|
|
14
|
+
* Validates <code>RegionType</code> enum value.
|
|
15
15
|
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
16
16
|
* @return {null} Throws error for invalid value.
|
|
17
17
|
*/
|