@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
|
@@ -9,48 +9,51 @@ var _ValidationScopes = _interopRequireDefault(require("../../../validation/Vali
|
|
|
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
41
|
* The ConsistencyGroupMember model module.
|
|
42
42
|
* @module Ntnx/ConsistencyGroupMember
|
|
43
|
-
* @version 4.0.1-
|
|
43
|
+
* @version 4.0.1-beta-1
|
|
44
44
|
* @class ConsistencyGroupMember
|
|
45
|
+
*
|
|
46
|
+
* @param { ConsistencyGroupMemberType } entityType
|
|
45
47
|
*/
|
|
46
|
-
var
|
|
47
|
-
var ConsistencyGroupMember = /*#__PURE__*/function () {
|
|
48
|
+
var _ConsistencyGroupMember_brand = /*#__PURE__*/new WeakSet();
|
|
49
|
+
var ConsistencyGroupMember = exports["default"] = /*#__PURE__*/function () {
|
|
48
50
|
/**
|
|
49
51
|
* Constructs a new <code>ConsistencyGroupMember</code>.
|
|
50
52
|
* External identifier of the members (VM or volume group) of the Consistency group object.
|
|
51
53
|
* @alias module:Ntnx/ConsistencyGroupMember
|
|
52
|
-
*
|
|
53
|
-
|
|
54
|
+
*
|
|
55
|
+
* @param { ConsistencyGroupMemberType } entityType
|
|
56
|
+
*/
|
|
54
57
|
function ConsistencyGroupMember(entityType) {
|
|
55
58
|
_classCallCheck(this, ConsistencyGroupMember);
|
|
56
59
|
/*
|
|
@@ -59,11 +62,11 @@ var ConsistencyGroupMember = /*#__PURE__*/function () {
|
|
|
59
62
|
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
60
63
|
* Otherwise, just returns the input object.
|
|
61
64
|
*/
|
|
62
|
-
_classPrivateMethodInitSpec(this,
|
|
65
|
+
_classPrivateMethodInitSpec(this, _ConsistencyGroupMember_brand);
|
|
63
66
|
this.entityType = entityType;
|
|
64
67
|
this.$objectType = "dataprotection.v4.config.ConsistencyGroupMember";
|
|
65
68
|
this.$reserved = {
|
|
66
|
-
'$
|
|
69
|
+
'$fv': "v4.r0.b1"
|
|
67
70
|
};
|
|
68
71
|
this.$unknownFields = {};
|
|
69
72
|
}
|
|
@@ -76,45 +79,25 @@ var ConsistencyGroupMember = /*#__PURE__*/function () {
|
|
|
76
79
|
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
77
80
|
* @return {module:Ntnx/ConsistencyGroupMember} The populated <code>ConsistencyGroupMember</code> instance.
|
|
78
81
|
*/
|
|
79
|
-
_createClass(ConsistencyGroupMember, [{
|
|
80
|
-
key: "
|
|
82
|
+
return _createClass(ConsistencyGroupMember, [{
|
|
83
|
+
key: "getEntityExtId",
|
|
81
84
|
value:
|
|
82
85
|
/**
|
|
83
86
|
* Returns External identifier of the members (VM or volume group) of the Consistency group object.
|
|
84
87
|
* @return {}
|
|
85
88
|
*/
|
|
86
|
-
function
|
|
87
|
-
return this.
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Sets External identifier of the members (VM or volume group) of the Consistency group object.
|
|
92
|
-
* @param {} extId External identifier of the members (VM or volume group) of the Consistency group object.
|
|
93
|
-
*/
|
|
94
|
-
}, {
|
|
95
|
-
key: "setExtId",
|
|
96
|
-
value: function setExtId(extId) {
|
|
97
|
-
this.extId = extId;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Returns External identifier of the members (VM or volume group) of the Consistency group object.
|
|
102
|
-
* @return {}
|
|
103
|
-
*/
|
|
104
|
-
}, {
|
|
105
|
-
key: "getEntityId",
|
|
106
|
-
value: function getEntityId() {
|
|
107
|
-
return this.entityId;
|
|
89
|
+
function getEntityExtId() {
|
|
90
|
+
return this.entityExtId;
|
|
108
91
|
}
|
|
109
92
|
|
|
110
93
|
/**
|
|
111
94
|
* Sets External identifier of the members (VM or volume group) of the Consistency group object.
|
|
112
|
-
* @param {}
|
|
95
|
+
* @param {} entityExtId External identifier of the members (VM or volume group) of the Consistency group object.
|
|
113
96
|
*/
|
|
114
97
|
}, {
|
|
115
|
-
key: "
|
|
116
|
-
value: function
|
|
117
|
-
this.
|
|
98
|
+
key: "setEntityExtId",
|
|
99
|
+
value: function setEntityExtId(entityExtId) {
|
|
100
|
+
this.entityExtId = entityExtId;
|
|
118
101
|
}
|
|
119
102
|
|
|
120
103
|
/**
|
|
@@ -153,10 +136,8 @@ var ConsistencyGroupMember = /*#__PURE__*/function () {
|
|
|
153
136
|
key: "toJson",
|
|
154
137
|
value: function toJson(forMutation) {
|
|
155
138
|
if (forMutation === false) {
|
|
156
|
-
return _objectSpread(_objectSpread(_objectSpread(
|
|
157
|
-
'
|
|
158
|
-
} : {}), typeof this.getEntityId() !== 'undefined' && this.getEntityId() !== null ? {
|
|
159
|
-
'entityId': this.getEntityId()
|
|
139
|
+
return _objectSpread(_objectSpread(_objectSpread({}, typeof this.getEntityExtId() !== 'undefined' && this.getEntityExtId() !== null ? {
|
|
140
|
+
'entityExtId': this.getEntityExtId()
|
|
160
141
|
} : {}), typeof this.getEntityType() !== 'undefined' && this.getEntityType() !== null ? {
|
|
161
142
|
'entityType': this.getEntityType()
|
|
162
143
|
} : {}), {}, {
|
|
@@ -165,10 +146,8 @@ var ConsistencyGroupMember = /*#__PURE__*/function () {
|
|
|
165
146
|
'$unknownFields': this.get$UnknownFields()
|
|
166
147
|
});
|
|
167
148
|
}
|
|
168
|
-
return _objectSpread(_objectSpread(_objectSpread(
|
|
169
|
-
'
|
|
170
|
-
} : {}), typeof this.getEntityId() !== 'undefined' && this.getEntityId() !== null ? {
|
|
171
|
-
'entityId': this.getEntityId()
|
|
149
|
+
return _objectSpread(_objectSpread(_objectSpread({}, typeof this.getEntityExtId() !== 'undefined' && this.getEntityExtId() !== null ? {
|
|
150
|
+
'entityExtId': this.getEntityExtId()
|
|
172
151
|
} : {}), typeof this.getEntityType() !== 'undefined' && this.getEntityType() !== null ? {
|
|
173
152
|
'entityType': this.getEntityType()
|
|
174
153
|
} : {}), {}, {
|
|
@@ -212,20 +191,12 @@ var ConsistencyGroupMember = /*#__PURE__*/function () {
|
|
|
212
191
|
}, {
|
|
213
192
|
key: "validateProperty",
|
|
214
193
|
value: function validateProperty(scope, property) {
|
|
215
|
-
if (property === "
|
|
216
|
-
if (typeof this.
|
|
217
|
-
return new _ValidationError["default"]("
|
|
218
|
-
}
|
|
219
|
-
if (!_ValidationUtils["default"].validatePattern(this.extId, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
220
|
-
return new _ValidationError["default"]("extId", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
if (property === "entityId") {
|
|
224
|
-
if (typeof this.entityId === 'undefined' || this.entityId === null) {
|
|
225
|
-
return new _ValidationError["default"]("entityId", "undefined or null");
|
|
194
|
+
if (property === "entityExtId") {
|
|
195
|
+
if (typeof this.entityExtId === 'undefined' || this.entityExtId === null) {
|
|
196
|
+
return new _ValidationError["default"]("entityExtId", "undefined or null");
|
|
226
197
|
}
|
|
227
|
-
if (!_ValidationUtils["default"].validatePattern(this.
|
|
228
|
-
return new _ValidationError["default"]("
|
|
198
|
+
if (!_ValidationUtils["default"].validatePattern(this.entityExtId, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
199
|
+
return new _ValidationError["default"]("entityExtId", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
229
200
|
}
|
|
230
201
|
}
|
|
231
202
|
if (property === "entityType") {
|
|
@@ -257,11 +228,8 @@ var ConsistencyGroupMember = /*#__PURE__*/function () {
|
|
|
257
228
|
var items, item, i, itemArr, discriminator;
|
|
258
229
|
if (data) {
|
|
259
230
|
obj = obj || new ConsistencyGroupMember();
|
|
260
|
-
if (data.hasOwnProperty('
|
|
261
|
-
obj.
|
|
262
|
-
}
|
|
263
|
-
if (data.hasOwnProperty('entityId') && data.entityId !== null && data.entityId !== undefined) {
|
|
264
|
-
obj.setEntityId(data['entityId']);
|
|
231
|
+
if (data.hasOwnProperty('entityExtId') && data.entityExtId !== null && data.entityExtId !== undefined) {
|
|
232
|
+
obj.setEntityExtId(data['entityExtId']);
|
|
265
233
|
}
|
|
266
234
|
if (data.hasOwnProperty('entityType') && data.entityType !== null && data.entityType !== undefined) {
|
|
267
235
|
obj.setEntityType(_ConsistencyGroupMemberType["default"].constructFromObject(data['entityType']));
|
|
@@ -287,14 +255,12 @@ var ConsistencyGroupMember = /*#__PURE__*/function () {
|
|
|
287
255
|
return obj;
|
|
288
256
|
}
|
|
289
257
|
}]);
|
|
290
|
-
return ConsistencyGroupMember;
|
|
291
258
|
}();
|
|
292
259
|
/**
|
|
293
260
|
* External identifier of the members (VM or volume group) of the Consistency group object.
|
|
294
261
|
* @memberof ConsistencyGroupMember
|
|
295
262
|
*/
|
|
296
|
-
|
|
297
|
-
function _toJsonMapType2(obj, forMutation) {
|
|
263
|
+
function _toJsonMapType(obj, forMutation) {
|
|
298
264
|
if (obj instanceof Map) {
|
|
299
265
|
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
300
266
|
var _ref2 = _slicedToArray(_ref, 2),
|
|
@@ -309,13 +275,7 @@ function _toJsonMapType2(obj, forMutation) {
|
|
|
309
275
|
}
|
|
310
276
|
return obj;
|
|
311
277
|
}
|
|
312
|
-
ConsistencyGroupMember.prototype.
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* External identifier of the members (VM or volume group) of the Consistency group object.
|
|
316
|
-
* @memberof ConsistencyGroupMember
|
|
317
|
-
*/
|
|
318
|
-
ConsistencyGroupMember.prototype.entityId = undefined;
|
|
278
|
+
ConsistencyGroupMember.prototype.entityExtId = undefined;
|
|
319
279
|
|
|
320
280
|
/**
|
|
321
281
|
* @memberof ConsistencyGroupMember
|
|
@@ -11,11 +11,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
11
11
|
/*
|
|
12
12
|
* Nutanix Dataprotection Versioned APIs
|
|
13
13
|
*
|
|
14
|
-
* OpenAPI spec version: 4.0.1-
|
|
14
|
+
* OpenAPI spec version: 4.0.1-beta-1
|
|
15
15
|
*
|
|
16
16
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
17
|
*
|
|
18
|
-
* Open API Dev Platform Codegen version: 16.8.0.
|
|
18
|
+
* Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
|
|
19
19
|
*
|
|
20
20
|
* Do not edit the class manually.
|
|
21
21
|
*
|
|
@@ -82,5 +82,4 @@ ConsistencyGroupMemberType.validate = function (obj) {
|
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
Object.freeze(ConsistencyGroupMemberType);
|
|
85
|
-
var _default = ConsistencyGroupMemberType;
|
|
86
|
-
exports["default"] = _default;
|
|
85
|
+
var _default = exports["default"] = ConsistencyGroupMemberType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The ConsistencyGroupMigrationSpec model module.
|
|
3
3
|
* @module Ntnx/ConsistencyGroupMigrationSpec
|
|
4
|
-
* @version 4.0.1-
|
|
4
|
+
* @version 4.0.1-beta-1
|
|
5
5
|
* @class ConsistencyGroupMigrationSpec
|
|
6
6
|
*/
|
|
7
7
|
export default class ConsistencyGroupMigrationSpec {
|
|
@@ -14,55 +14,48 @@ export default class ConsistencyGroupMigrationSpec {
|
|
|
14
14
|
* @return {module:Ntnx/ConsistencyGroupMigrationSpec} The populated <code>ConsistencyGroupMigrationSpec</code> instance.
|
|
15
15
|
*/
|
|
16
16
|
static constructFromObject(data: any, obj: any, callFromChild?: boolean): any;
|
|
17
|
-
/**
|
|
18
|
-
* Constructs a new <code>ConsistencyGroupMigrationSpec</code>.
|
|
19
|
-
* Specification for the migrate action on the Consistency group.
|
|
20
|
-
* @alias module:Ntnx/ConsistencyGroupMigrationSpec
|
|
21
|
-
* @param targetAvailabilityZoneId {} Reference to the target Availability Zone where the entities need to be migrated.
|
|
22
|
-
*/
|
|
23
|
-
constructor(targetAvailabilityZoneId: any);
|
|
24
|
-
targetAvailabilityZoneId: any;
|
|
25
17
|
$objectType: string;
|
|
26
18
|
$reserved: {
|
|
27
|
-
$
|
|
19
|
+
$fv: string;
|
|
28
20
|
};
|
|
29
21
|
$unknownFields: {};
|
|
30
22
|
/**
|
|
31
23
|
* Returns Reference to the target Availability Zone where the entities need to be migrated.
|
|
32
24
|
* @return {}
|
|
33
25
|
*/
|
|
34
|
-
|
|
26
|
+
getTargetPcExtId(): any;
|
|
35
27
|
/**
|
|
36
28
|
* Sets Reference to the target Availability Zone where the entities need to be migrated.
|
|
37
|
-
* @param {}
|
|
29
|
+
* @param {} targetPcExtId Reference to the target Availability Zone where the entities need to be migrated.
|
|
38
30
|
*/
|
|
39
|
-
|
|
31
|
+
setTargetPcExtId(targetPcExtId: any): void;
|
|
32
|
+
targetPcExtId: any;
|
|
40
33
|
/**
|
|
41
34
|
* Returns Reference to the cluster in the target Availability Zone where the entities need to be migrated.
|
|
42
35
|
* @return {}
|
|
43
36
|
*/
|
|
44
|
-
|
|
37
|
+
getTargetClusterExtId(): any;
|
|
45
38
|
/**
|
|
46
39
|
* Sets Reference to the cluster in the target Availability Zone where the entities need to be migrated.
|
|
47
|
-
* @param {}
|
|
40
|
+
* @param {} targetClusterExtId Reference to the cluster in the target Availability Zone where the entities need to be migrated.
|
|
48
41
|
*/
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
setTargetClusterExtId(targetClusterExtId: any): void;
|
|
43
|
+
targetClusterExtId: any;
|
|
51
44
|
get$Reserved(): {
|
|
52
|
-
$
|
|
45
|
+
$fv: string;
|
|
53
46
|
};
|
|
54
47
|
get$ObjectType(): string;
|
|
55
48
|
get$UnknownFields(): {};
|
|
56
49
|
toJson(forMutation: any): {
|
|
57
50
|
$reserved: {
|
|
58
|
-
$
|
|
51
|
+
$fv: string;
|
|
59
52
|
};
|
|
60
53
|
$objectType: string;
|
|
61
54
|
$unknownFields: {};
|
|
62
|
-
|
|
63
|
-
|
|
55
|
+
targetClusterExtId?: any;
|
|
56
|
+
targetPcExtId?: any;
|
|
64
57
|
};
|
|
65
|
-
validate(scope: any, properties: any, ...args: any[]): any
|
|
58
|
+
validate(scope: any, properties: any, ...args: any[]): Promise<any>;
|
|
66
59
|
validateProperty(scope: any, property: any): ValidationError;
|
|
67
60
|
#private;
|
|
68
61
|
}
|
|
@@ -8,49 +8,48 @@ var _ValidationScopes = _interopRequireDefault(require("../../../validation/Vali
|
|
|
8
8
|
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
9
9
|
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
function _typeof(
|
|
11
|
+
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
12
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
13
13
|
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
14
|
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
15
|
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(
|
|
16
|
+
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
17
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
18
|
-
function ownKeys(
|
|
19
|
-
function _objectSpread(
|
|
18
|
+
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; }
|
|
19
|
+
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
20
|
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
21
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
22
22
|
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
23
|
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(
|
|
24
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
25
|
+
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
26
|
function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
|
|
27
27
|
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
|
-
|
|
28
|
+
* Nutanix Dataprotection Versioned APIs
|
|
29
|
+
*
|
|
30
|
+
* OpenAPI spec version: 4.0.1-beta-1
|
|
31
|
+
*
|
|
32
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
33
|
+
*
|
|
34
|
+
* Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
|
|
35
|
+
*
|
|
36
|
+
* Do not edit the class manually.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
39
|
/**
|
|
40
40
|
* The ConsistencyGroupMigrationSpec model module.
|
|
41
41
|
* @module Ntnx/ConsistencyGroupMigrationSpec
|
|
42
|
-
* @version 4.0.1-
|
|
42
|
+
* @version 4.0.1-beta-1
|
|
43
43
|
* @class ConsistencyGroupMigrationSpec
|
|
44
44
|
*/
|
|
45
|
-
var
|
|
46
|
-
var ConsistencyGroupMigrationSpec = /*#__PURE__*/function () {
|
|
45
|
+
var _ConsistencyGroupMigrationSpec_brand = /*#__PURE__*/new WeakSet();
|
|
46
|
+
var ConsistencyGroupMigrationSpec = exports["default"] = /*#__PURE__*/function () {
|
|
47
47
|
/**
|
|
48
48
|
* Constructs a new <code>ConsistencyGroupMigrationSpec</code>.
|
|
49
49
|
* Specification for the migrate action on the Consistency group.
|
|
50
50
|
* @alias module:Ntnx/ConsistencyGroupMigrationSpec
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
function ConsistencyGroupMigrationSpec(targetAvailabilityZoneId) {
|
|
51
|
+
*/
|
|
52
|
+
function ConsistencyGroupMigrationSpec() {
|
|
54
53
|
_classCallCheck(this, ConsistencyGroupMigrationSpec);
|
|
55
54
|
/*
|
|
56
55
|
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
@@ -58,11 +57,10 @@ var ConsistencyGroupMigrationSpec = /*#__PURE__*/function () {
|
|
|
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.targetAvailabilityZoneId = targetAvailabilityZoneId;
|
|
60
|
+
_classPrivateMethodInitSpec(this, _ConsistencyGroupMigrationSpec_brand);
|
|
63
61
|
this.$objectType = "dataprotection.v4.config.ConsistencyGroupMigrationSpec";
|
|
64
62
|
this.$reserved = {
|
|
65
|
-
'$
|
|
63
|
+
'$fv': "v4.r0.b1"
|
|
66
64
|
};
|
|
67
65
|
this.$unknownFields = {};
|
|
68
66
|
}
|
|
@@ -75,25 +73,25 @@ var ConsistencyGroupMigrationSpec = /*#__PURE__*/function () {
|
|
|
75
73
|
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
76
74
|
* @return {module:Ntnx/ConsistencyGroupMigrationSpec} The populated <code>ConsistencyGroupMigrationSpec</code> instance.
|
|
77
75
|
*/
|
|
78
|
-
_createClass(ConsistencyGroupMigrationSpec, [{
|
|
79
|
-
key: "
|
|
76
|
+
return _createClass(ConsistencyGroupMigrationSpec, [{
|
|
77
|
+
key: "getTargetPcExtId",
|
|
80
78
|
value:
|
|
81
79
|
/**
|
|
82
80
|
* Returns Reference to the target Availability Zone where the entities need to be migrated.
|
|
83
81
|
* @return {}
|
|
84
82
|
*/
|
|
85
|
-
function
|
|
86
|
-
return this.
|
|
83
|
+
function getTargetPcExtId() {
|
|
84
|
+
return this.targetPcExtId;
|
|
87
85
|
}
|
|
88
86
|
|
|
89
87
|
/**
|
|
90
88
|
* Sets Reference to the target Availability Zone where the entities need to be migrated.
|
|
91
|
-
* @param {}
|
|
89
|
+
* @param {} targetPcExtId Reference to the target Availability Zone where the entities need to be migrated.
|
|
92
90
|
*/
|
|
93
91
|
}, {
|
|
94
|
-
key: "
|
|
95
|
-
value: function
|
|
96
|
-
this.
|
|
92
|
+
key: "setTargetPcExtId",
|
|
93
|
+
value: function setTargetPcExtId(targetPcExtId) {
|
|
94
|
+
this.targetPcExtId = targetPcExtId;
|
|
97
95
|
}
|
|
98
96
|
|
|
99
97
|
/**
|
|
@@ -101,19 +99,19 @@ var ConsistencyGroupMigrationSpec = /*#__PURE__*/function () {
|
|
|
101
99
|
* @return {}
|
|
102
100
|
*/
|
|
103
101
|
}, {
|
|
104
|
-
key: "
|
|
105
|
-
value: function
|
|
106
|
-
return this.
|
|
102
|
+
key: "getTargetClusterExtId",
|
|
103
|
+
value: function getTargetClusterExtId() {
|
|
104
|
+
return this.targetClusterExtId;
|
|
107
105
|
}
|
|
108
106
|
|
|
109
107
|
/**
|
|
110
108
|
* Sets Reference to the cluster in the target Availability Zone where the entities need to be migrated.
|
|
111
|
-
* @param {}
|
|
109
|
+
* @param {} targetClusterExtId Reference to the cluster in the target Availability Zone where the entities need to be migrated.
|
|
112
110
|
*/
|
|
113
111
|
}, {
|
|
114
|
-
key: "
|
|
115
|
-
value: function
|
|
116
|
-
this.
|
|
112
|
+
key: "setTargetClusterExtId",
|
|
113
|
+
value: function setTargetClusterExtId(targetClusterExtId) {
|
|
114
|
+
this.targetClusterExtId = targetClusterExtId;
|
|
117
115
|
}
|
|
118
116
|
}, {
|
|
119
117
|
key: "get$Reserved",
|
|
@@ -134,20 +132,20 @@ var ConsistencyGroupMigrationSpec = /*#__PURE__*/function () {
|
|
|
134
132
|
key: "toJson",
|
|
135
133
|
value: function toJson(forMutation) {
|
|
136
134
|
if (forMutation === false) {
|
|
137
|
-
return _objectSpread(_objectSpread(_objectSpread({}, typeof this.
|
|
138
|
-
'
|
|
139
|
-
} : {}), typeof this.
|
|
140
|
-
'
|
|
135
|
+
return _objectSpread(_objectSpread(_objectSpread({}, typeof this.getTargetPcExtId() !== 'undefined' && this.getTargetPcExtId() !== null ? {
|
|
136
|
+
'targetPcExtId': this.getTargetPcExtId()
|
|
137
|
+
} : {}), typeof this.getTargetClusterExtId() !== 'undefined' && this.getTargetClusterExtId() !== null ? {
|
|
138
|
+
'targetClusterExtId': this.getTargetClusterExtId()
|
|
141
139
|
} : {}), {}, {
|
|
142
140
|
'$reserved': this.get$Reserved(),
|
|
143
141
|
'$objectType': this.get$ObjectType(),
|
|
144
142
|
'$unknownFields': this.get$UnknownFields()
|
|
145
143
|
});
|
|
146
144
|
}
|
|
147
|
-
return _objectSpread(_objectSpread(_objectSpread({}, typeof this.
|
|
148
|
-
'
|
|
149
|
-
} : {}), typeof this.
|
|
150
|
-
'
|
|
145
|
+
return _objectSpread(_objectSpread(_objectSpread({}, typeof this.getTargetPcExtId() !== 'undefined' && this.getTargetPcExtId() !== null ? {
|
|
146
|
+
'targetPcExtId': this.getTargetPcExtId()
|
|
147
|
+
} : {}), typeof this.getTargetClusterExtId() !== 'undefined' && this.getTargetClusterExtId() !== null ? {
|
|
148
|
+
'targetClusterExtId': this.getTargetClusterExtId()
|
|
151
149
|
} : {}), {}, {
|
|
152
150
|
'$reserved': this.get$Reserved(),
|
|
153
151
|
'$objectType': this.get$ObjectType(),
|
|
@@ -161,7 +159,7 @@ var ConsistencyGroupMigrationSpec = /*#__PURE__*/function () {
|
|
|
161
159
|
var propList = [];
|
|
162
160
|
if (arguments.length === 0 || arguments.length === 1 && arguments[0] instanceof _ValidationScopes["default"]) {
|
|
163
161
|
//cases validate() and validate(scope)
|
|
164
|
-
propList = [
|
|
162
|
+
propList = [];
|
|
165
163
|
} else if (arguments.length === 1) {
|
|
166
164
|
//case validate(properties)
|
|
167
165
|
propList = arguments[0];
|
|
@@ -189,20 +187,20 @@ var ConsistencyGroupMigrationSpec = /*#__PURE__*/function () {
|
|
|
189
187
|
}, {
|
|
190
188
|
key: "validateProperty",
|
|
191
189
|
value: function validateProperty(scope, property) {
|
|
192
|
-
if (property === "
|
|
193
|
-
if (typeof this.
|
|
194
|
-
return new _ValidationError["default"]("
|
|
190
|
+
if (property === "targetPcExtId") {
|
|
191
|
+
if (typeof this.targetPcExtId === 'undefined' || this.targetPcExtId === null) {
|
|
192
|
+
return new _ValidationError["default"]("targetPcExtId", "undefined or null");
|
|
195
193
|
}
|
|
196
|
-
if (!_ValidationUtils["default"].validatePattern(this.
|
|
197
|
-
return new _ValidationError["default"]("
|
|
194
|
+
if (!_ValidationUtils["default"].validatePattern(this.targetPcExtId, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
195
|
+
return new _ValidationError["default"]("targetPcExtId", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
198
196
|
}
|
|
199
197
|
}
|
|
200
|
-
if (property === "
|
|
201
|
-
if (typeof this.
|
|
202
|
-
return new _ValidationError["default"]("
|
|
198
|
+
if (property === "targetClusterExtId") {
|
|
199
|
+
if (typeof this.targetClusterExtId === 'undefined' || this.targetClusterExtId === null) {
|
|
200
|
+
return new _ValidationError["default"]("targetClusterExtId", "undefined or null");
|
|
203
201
|
}
|
|
204
|
-
if (!_ValidationUtils["default"].validatePattern(this.
|
|
205
|
-
return new _ValidationError["default"]("
|
|
202
|
+
if (!_ValidationUtils["default"].validatePattern(this.targetClusterExtId, /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)) {
|
|
203
|
+
return new _ValidationError["default"]("targetClusterExtId", "does not satisfy required pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/");
|
|
206
204
|
}
|
|
207
205
|
}
|
|
208
206
|
if (property === "$reserved") {
|
|
@@ -229,11 +227,11 @@ var ConsistencyGroupMigrationSpec = /*#__PURE__*/function () {
|
|
|
229
227
|
var items, item, i, itemArr, discriminator;
|
|
230
228
|
if (data) {
|
|
231
229
|
obj = obj || new ConsistencyGroupMigrationSpec();
|
|
232
|
-
if (data.hasOwnProperty('
|
|
233
|
-
obj.
|
|
230
|
+
if (data.hasOwnProperty('targetPcExtId') && data.targetPcExtId !== null && data.targetPcExtId !== undefined) {
|
|
231
|
+
obj.setTargetPcExtId(data['targetPcExtId']);
|
|
234
232
|
}
|
|
235
|
-
if (data.hasOwnProperty('
|
|
236
|
-
obj.
|
|
233
|
+
if (data.hasOwnProperty('targetClusterExtId') && data.targetClusterExtId !== null && data.targetClusterExtId !== undefined) {
|
|
234
|
+
obj.setTargetClusterExtId(data['targetClusterExtId']);
|
|
237
235
|
}
|
|
238
236
|
if (data.hasOwnProperty('$reserved')) {
|
|
239
237
|
obj.$reserved = data['$reserved'];
|
|
@@ -256,14 +254,12 @@ var ConsistencyGroupMigrationSpec = /*#__PURE__*/function () {
|
|
|
256
254
|
return obj;
|
|
257
255
|
}
|
|
258
256
|
}]);
|
|
259
|
-
return ConsistencyGroupMigrationSpec;
|
|
260
257
|
}();
|
|
261
258
|
/**
|
|
262
259
|
* Reference to the target Availability Zone where the entities need to be migrated.
|
|
263
260
|
* @memberof ConsistencyGroupMigrationSpec
|
|
264
261
|
*/
|
|
265
|
-
|
|
266
|
-
function _toJsonMapType2(obj, forMutation) {
|
|
262
|
+
function _toJsonMapType(obj, forMutation) {
|
|
267
263
|
if (obj instanceof Map) {
|
|
268
264
|
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
269
265
|
var _ref2 = _slicedToArray(_ref, 2),
|
|
@@ -278,13 +274,13 @@ function _toJsonMapType2(obj, forMutation) {
|
|
|
278
274
|
}
|
|
279
275
|
return obj;
|
|
280
276
|
}
|
|
281
|
-
ConsistencyGroupMigrationSpec.prototype.
|
|
277
|
+
ConsistencyGroupMigrationSpec.prototype.targetPcExtId = undefined;
|
|
282
278
|
|
|
283
279
|
/**
|
|
284
280
|
* Reference to the cluster in the target Availability Zone where the entities need to be migrated.
|
|
285
281
|
* @memberof ConsistencyGroupMigrationSpec
|
|
286
282
|
*/
|
|
287
|
-
ConsistencyGroupMigrationSpec.prototype.
|
|
283
|
+
ConsistencyGroupMigrationSpec.prototype.targetClusterExtId = undefined;
|
|
288
284
|
ConsistencyGroupMigrationSpec.prototype.$reserved = undefined;
|
|
289
285
|
ConsistencyGroupMigrationSpec.prototype.$objectType = undefined;
|
|
290
286
|
ConsistencyGroupMigrationSpec.prototype.$unknownFields = undefined;
|