@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
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConsistencyGroup service.
|
|
3
|
-
* @version 4.0.1-alpha-4
|
|
4
|
-
* @class ConsistencyGroupApi
|
|
5
|
-
*/
|
|
6
|
-
export class ConsistencyGroupApi {
|
|
7
|
-
/**
|
|
8
|
-
* Make the default {@link ApiClient} class available for developers to be able to extend it and bring
|
|
9
|
-
* their own fetch methods into the SDK
|
|
10
|
-
*/
|
|
11
|
-
static get ApiClient(): typeof ApiClient;
|
|
12
|
-
/**
|
|
13
|
-
* Constructs a new ConsistencyGroupApi.
|
|
14
|
-
* @alias module:api/ConsistencyGroupApi
|
|
15
|
-
* @class
|
|
16
|
-
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
17
|
-
* default to {@link module:ApiClient#instance} if unspecified.
|
|
18
|
-
*/
|
|
19
|
-
constructor(apiClient?: any);
|
|
20
|
-
apiClient: any;
|
|
21
|
-
/**
|
|
22
|
-
* Create a Consistency group.
|
|
23
|
-
* Create a new Consistency group.
|
|
24
|
-
* @param {ConsistencyGroup} body specification
|
|
25
|
-
* @param {Object} args Additional Arguments
|
|
26
|
-
* @return {Promise<ConsistencyGroupApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ConsistencyGroupApiResponse } and HTTP response
|
|
27
|
-
*/
|
|
28
|
-
createConsistencyGroup(body: ConsistencyGroup, ...args: any): Promise<ConsistencyGroupApiResponse>;
|
|
29
|
-
/**
|
|
30
|
-
* Delete a Consistency group.
|
|
31
|
-
* Delete the Consistency group for the provided {extId}.
|
|
32
|
-
* @param { String } extId The external identifier that can be used to retrieve the Consistency group.
|
|
33
|
-
* @param {Object} args Additional Arguments
|
|
34
|
-
* @return {Promise<DeleteConsistencyGroupApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link DeleteConsistencyGroupApiResponse } and HTTP response
|
|
35
|
-
*/
|
|
36
|
-
deleteConsistencyGroup(extId: string, ...args: any): Promise<DeleteConsistencyGroupApiResponse>;
|
|
37
|
-
/**
|
|
38
|
-
* Get a Consistency group.
|
|
39
|
-
* Query the Consistency group for the provided {extId}.
|
|
40
|
-
* @param { String } extId The external identifier that can be used to retrieve the Consistency group.
|
|
41
|
-
* @param {Object} args Additional Arguments
|
|
42
|
-
* @return {Promise<ConsistencyGroupApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ConsistencyGroupApiResponse } and HTTP response
|
|
43
|
-
*/
|
|
44
|
-
getConsistencyGroup(extId: string, ...args: any): Promise<ConsistencyGroupApiResponse>;
|
|
45
|
-
/**
|
|
46
|
-
* List Consistency groups.
|
|
47
|
-
* List of Consistency groups.
|
|
48
|
-
* @param {Object} opts Optional parameters defined for the operation
|
|
49
|
-
* @param { Array } opts.vmList List of VM external identifiers. This endpoint will return the list of Consistency groups that are part of the provided VM external identifiers list.
|
|
50
|
-
* @param { Array } opts.volumeGroupList List of volume group external identifiers. This endpoint will return the list of Consistency groups that are part of the provided volume group external identifiers list.
|
|
51
|
-
* @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. Must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range will lead to no results being returned.
|
|
52
|
-
|
|
53
|
-
* @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided a default value of 50 records will be returned in the result set.
|
|
54
|
-
|
|
55
|
-
* @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions.<br>
|
|
56
|
-
* For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter result on cluster name karbon-ntnx1.0, filter '$filter=startswith(name, 'C')' would filter on cluster name starting with C.<br>
|
|
57
|
-
* The filter can be applied on the following fields:<br>
|
|
58
|
-
* - extId<br>
|
|
59
|
-
* - members/entityId<br>
|
|
60
|
-
* - members/extId<br>
|
|
61
|
-
* - name<br>
|
|
62
|
-
* - ownerExtId
|
|
63
|
-
* @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in desc order.<br>
|
|
64
|
-
* The orderby can be applied to the following fields:<br>
|
|
65
|
-
* - name
|
|
66
|
-
* @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e. *), then all properties on the matching resource will be returned.
|
|
67
|
-
- extId
|
|
68
|
-
- name
|
|
69
|
-
- ownerExtId
|
|
70
|
-
|
|
71
|
-
* @param {Object} args Additional Arguments
|
|
72
|
-
* @return {Promise<ConsistencyGroupListApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ConsistencyGroupListApiResponse } and HTTP response
|
|
73
|
-
*/
|
|
74
|
-
getConsistencyGroups(opts: {
|
|
75
|
-
vmList: any[];
|
|
76
|
-
volumeGroupList: any[];
|
|
77
|
-
$page: number;
|
|
78
|
-
$limit: number;
|
|
79
|
-
$filter: string;
|
|
80
|
-
$orderby: string;
|
|
81
|
-
$select: string;
|
|
82
|
-
}, ...args: any): Promise<ConsistencyGroupListApiResponse>;
|
|
83
|
-
/**
|
|
84
|
-
* Update a Consistency group.
|
|
85
|
-
* Update details of the Consistency group for the provided {extId}.
|
|
86
|
-
* @param {ConsistencyGroup} body specification
|
|
87
|
-
* @param { String } extId The external identifier that can be used to retrieve the Consistency group.
|
|
88
|
-
* @param {Object} args Additional Arguments
|
|
89
|
-
* @return {Promise<ConsistencyGroupApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ConsistencyGroupApiResponse } and HTTP response
|
|
90
|
-
*/
|
|
91
|
-
updateConsistencyGroup(extId: string, body: ConsistencyGroup, ...args: any): Promise<ConsistencyGroupApiResponse>;
|
|
92
|
-
#private;
|
|
93
|
-
}
|
|
94
|
-
import ConsistencyGroup from "../models/dataprotection/v4/config/ConsistencyGroup";
|
|
95
|
-
import ConsistencyGroupApiResponse from "../models/dataprotection/v4/config/ConsistencyGroupApiResponse";
|
|
96
|
-
import DeleteConsistencyGroupApiResponse from "../models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse";
|
|
97
|
-
import ConsistencyGroupListApiResponse from "../models/dataprotection/v4/config/ConsistencyGroupListApiResponse";
|
|
98
|
-
import { ApiClient } from "../ApiClient";
|
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.ConsistencyGroupApi = void 0;
|
|
8
|
-
var _ApiClient = require("../ApiClient");
|
|
9
|
-
var _ConsistencyGroup = _interopRequireDefault(require("../models/dataprotection/v4/config/ConsistencyGroup"));
|
|
10
|
-
var _ConsistencyGroupListApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/ConsistencyGroupListApiResponse"));
|
|
11
|
-
var _DeleteConsistencyGroupApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse"));
|
|
12
|
-
var _ConsistencyGroupApiResponse = _interopRequireDefault(require("../models/dataprotection/v4/config/ConsistencyGroupApiResponse"));
|
|
13
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
15
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
16
|
-
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; }
|
|
17
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18
|
-
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); } }
|
|
19
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
21
|
-
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
22
|
-
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
23
|
-
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
24
|
-
function _classPrivateFieldGet(receiver, privateMap) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get"); return _classApplyDescriptorGet(receiver, descriptor); }
|
|
25
|
-
function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; }
|
|
26
|
-
function _classPrivateFieldSet(receiver, privateMap, value) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "set"); _classApplyDescriptorSet(receiver, descriptor, value); return value; }
|
|
27
|
-
function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); }
|
|
28
|
-
function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); } else { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } descriptor.value = value; } } /*
|
|
29
|
-
* Nutanix Dataprotection Versioned APIs
|
|
30
|
-
*
|
|
31
|
-
* OpenAPI spec version: 4.0.1-alpha-4
|
|
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.6343-RELEASE
|
|
36
|
-
*
|
|
37
|
-
* Do not edit the class manually.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
/**
|
|
41
|
-
* ConsistencyGroup service.
|
|
42
|
-
* @version 4.0.1-alpha-4
|
|
43
|
-
* @class ConsistencyGroupApi
|
|
44
|
-
*/
|
|
45
|
-
var _headersToSkip = /*#__PURE__*/new WeakMap();
|
|
46
|
-
var ConsistencyGroupApi = /*#__PURE__*/function () {
|
|
47
|
-
/**
|
|
48
|
-
* Constructs a new ConsistencyGroupApi.
|
|
49
|
-
* @alias module:api/ConsistencyGroupApi
|
|
50
|
-
* @class
|
|
51
|
-
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
52
|
-
* default to {@link module:ApiClient#instance} if unspecified.
|
|
53
|
-
*/
|
|
54
|
-
function ConsistencyGroupApi(apiClient) {
|
|
55
|
-
_classCallCheck(this, ConsistencyGroupApi);
|
|
56
|
-
_classPrivateFieldInitSpec(this, _headersToSkip, {
|
|
57
|
-
writable: true,
|
|
58
|
-
value: void 0
|
|
59
|
-
});
|
|
60
|
-
this.apiClient = apiClient || _ApiClient.ApiClient.instance;
|
|
61
|
-
_classPrivateFieldSet(this, _headersToSkip, new Set());
|
|
62
|
-
_classPrivateFieldGet(this, _headersToSkip).add('authorization');
|
|
63
|
-
_classPrivateFieldGet(this, _headersToSkip).add('cookie');
|
|
64
|
-
_classPrivateFieldGet(this, _headersToSkip).add('ntnx-request-id');
|
|
65
|
-
_classPrivateFieldGet(this, _headersToSkip).add('host');
|
|
66
|
-
_classPrivateFieldGet(this, _headersToSkip).add('user-agent');
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Create a Consistency group.
|
|
71
|
-
* Create a new Consistency group.
|
|
72
|
-
* @param {ConsistencyGroup} body specification
|
|
73
|
-
* @param {Object} args Additional Arguments
|
|
74
|
-
* @return {Promise<ConsistencyGroupApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ConsistencyGroupApiResponse } and HTTP response
|
|
75
|
-
*/
|
|
76
|
-
_createClass(ConsistencyGroupApi, [{
|
|
77
|
-
key: "createConsistencyGroup",
|
|
78
|
-
value: function createConsistencyGroup(body) {
|
|
79
|
-
var _this = this;
|
|
80
|
-
var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
|
|
81
|
-
var postBody = null;
|
|
82
|
-
if (body instanceof _ConsistencyGroup["default"] && typeof body.toJson === 'function') {
|
|
83
|
-
postBody = body.toJson();
|
|
84
|
-
} else {
|
|
85
|
-
postBody = body;
|
|
86
|
-
}
|
|
87
|
-
// verify the required parameter 'body' is set
|
|
88
|
-
if (typeof postBody === 'undefined' || postBody === null) {
|
|
89
|
-
throw new Error("Invalid body when calling createConsistencyGroup");
|
|
90
|
-
}
|
|
91
|
-
var pathParams = {};
|
|
92
|
-
var queryParams = {};
|
|
93
|
-
var headersToInclude = {};
|
|
94
|
-
Object.keys(argMap).forEach(function (header) {
|
|
95
|
-
if (!_classPrivateFieldGet(_this, _headersToSkip).has(header.toLowerCase())) {
|
|
96
|
-
headersToInclude[header] = argMap[header];
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
100
|
-
var formParams = {};
|
|
101
|
-
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
102
|
-
var authNames = ['basicAuthScheme'];
|
|
103
|
-
var contentTypes = ['application/json'];
|
|
104
|
-
var accepts = ['application/json'];
|
|
105
|
-
var returnType = _ConsistencyGroupApiResponse["default"];
|
|
106
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0.a4/config/consistency-groups', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Delete a Consistency group.
|
|
111
|
-
* Delete the Consistency group for the provided {extId}.
|
|
112
|
-
* @param { String } extId The external identifier that can be used to retrieve the Consistency group.
|
|
113
|
-
* @param {Object} args Additional Arguments
|
|
114
|
-
* @return {Promise<DeleteConsistencyGroupApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link DeleteConsistencyGroupApiResponse } and HTTP response
|
|
115
|
-
*/
|
|
116
|
-
}, {
|
|
117
|
-
key: "deleteConsistencyGroup",
|
|
118
|
-
value: function deleteConsistencyGroup(extId) {
|
|
119
|
-
var _this2 = this;
|
|
120
|
-
var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
|
|
121
|
-
var postBody = null;
|
|
122
|
-
// verify the required parameter 'extId' is set
|
|
123
|
-
if (typeof extId === 'undefined' || extId === null) {
|
|
124
|
-
throw new Error("Missing the required parameter 'extId' when calling deleteConsistencyGroup");
|
|
125
|
-
}
|
|
126
|
-
var pathParams = {
|
|
127
|
-
'extId': extId
|
|
128
|
-
};
|
|
129
|
-
var queryParams = {};
|
|
130
|
-
var headersToInclude = {};
|
|
131
|
-
Object.keys(argMap).forEach(function (header) {
|
|
132
|
-
if (!_classPrivateFieldGet(_this2, _headersToSkip).has(header.toLowerCase())) {
|
|
133
|
-
headersToInclude[header] = argMap[header];
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
137
|
-
var formParams = {};
|
|
138
|
-
var authNames = ['basicAuthScheme'];
|
|
139
|
-
var contentTypes = [];
|
|
140
|
-
var accepts = ['application/json'];
|
|
141
|
-
var returnType = _DeleteConsistencyGroupApiResponse["default"];
|
|
142
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0.a4/config/consistency-groups/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Get a Consistency group.
|
|
147
|
-
* Query the Consistency group for the provided {extId}.
|
|
148
|
-
* @param { String } extId The external identifier that can be used to retrieve the Consistency group.
|
|
149
|
-
* @param {Object} args Additional Arguments
|
|
150
|
-
* @return {Promise<ConsistencyGroupApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ConsistencyGroupApiResponse } and HTTP response
|
|
151
|
-
*/
|
|
152
|
-
}, {
|
|
153
|
-
key: "getConsistencyGroup",
|
|
154
|
-
value: function getConsistencyGroup(extId) {
|
|
155
|
-
var _this3 = this;
|
|
156
|
-
var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
|
|
157
|
-
var postBody = null;
|
|
158
|
-
// verify the required parameter 'extId' is set
|
|
159
|
-
if (typeof extId === 'undefined' || extId === null) {
|
|
160
|
-
throw new Error("Missing the required parameter 'extId' when calling getConsistencyGroup");
|
|
161
|
-
}
|
|
162
|
-
var pathParams = {
|
|
163
|
-
'extId': extId
|
|
164
|
-
};
|
|
165
|
-
var queryParams = {};
|
|
166
|
-
var headersToInclude = {};
|
|
167
|
-
Object.keys(argMap).forEach(function (header) {
|
|
168
|
-
if (!_classPrivateFieldGet(_this3, _headersToSkip).has(header.toLowerCase())) {
|
|
169
|
-
headersToInclude[header] = argMap[header];
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
173
|
-
var formParams = {};
|
|
174
|
-
var authNames = ['basicAuthScheme'];
|
|
175
|
-
var contentTypes = [];
|
|
176
|
-
var accepts = ['application/json'];
|
|
177
|
-
var returnType = _ConsistencyGroupApiResponse["default"];
|
|
178
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0.a4/config/consistency-groups/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* List Consistency groups.
|
|
183
|
-
* List of Consistency groups.
|
|
184
|
-
* @param {Object} opts Optional parameters defined for the operation
|
|
185
|
-
* @param { Array } opts.vmList List of VM external identifiers. This endpoint will return the list of Consistency groups that are part of the provided VM external identifiers list.
|
|
186
|
-
* @param { Array } opts.volumeGroupList List of volume group external identifiers. This endpoint will return the list of Consistency groups that are part of the provided volume group external identifiers list.
|
|
187
|
-
* @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. Must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range will lead to no results being returned.
|
|
188
|
-
* @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided a default value of 50 records will be returned in the result set.
|
|
189
|
-
* @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions.<br>
|
|
190
|
-
* For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter result on cluster name karbon-ntnx1.0, filter '$filter=startswith(name, 'C')' would filter on cluster name starting with C.<br>
|
|
191
|
-
* The filter can be applied on the following fields:<br>
|
|
192
|
-
* - extId<br>
|
|
193
|
-
* - members/entityId<br>
|
|
194
|
-
* - members/extId<br>
|
|
195
|
-
* - name<br>
|
|
196
|
-
* - ownerExtId
|
|
197
|
-
* @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in desc order.<br>
|
|
198
|
-
* The orderby can be applied to the following fields:<br>
|
|
199
|
-
* - name
|
|
200
|
-
* @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e. *), then all properties on the matching resource will be returned.
|
|
201
|
-
- extId
|
|
202
|
-
- name
|
|
203
|
-
- ownerExtId
|
|
204
|
-
* @param {Object} args Additional Arguments
|
|
205
|
-
* @return {Promise<ConsistencyGroupListApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ConsistencyGroupListApiResponse } and HTTP response
|
|
206
|
-
*/
|
|
207
|
-
}, {
|
|
208
|
-
key: "getConsistencyGroups",
|
|
209
|
-
value: function getConsistencyGroups(opts) {
|
|
210
|
-
var _this4 = this;
|
|
211
|
-
var argMap = (arguments.length <= 1 ? 0 : arguments.length - 1) > 0 ? arguments.length <= 1 ? undefined : arguments[1] : {};
|
|
212
|
-
opts = opts || {};
|
|
213
|
-
var postBody = null;
|
|
214
|
-
var pathParams = {};
|
|
215
|
-
var queryParams = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, opts.hasOwnProperty('vmList') ? {
|
|
216
|
-
'vmList': this.apiClient.buildCollectionParam(opts['vmList'], 'csv')
|
|
217
|
-
} : {}), opts.hasOwnProperty('volumeGroupList') ? {
|
|
218
|
-
'volumeGroupList': this.apiClient.buildCollectionParam(opts['volumeGroupList'], 'csv')
|
|
219
|
-
} : {}), opts.hasOwnProperty('$page') ? {
|
|
220
|
-
'$page': opts['$page']
|
|
221
|
-
} : {}), opts.hasOwnProperty('$limit') ? {
|
|
222
|
-
'$limit': opts['$limit']
|
|
223
|
-
} : {}), opts.hasOwnProperty('$filter') ? {
|
|
224
|
-
'$filter': opts['$filter']
|
|
225
|
-
} : {}), opts.hasOwnProperty('$orderby') ? {
|
|
226
|
-
'$orderby': opts['$orderby']
|
|
227
|
-
} : {}), opts.hasOwnProperty('$select') ? {
|
|
228
|
-
'$select': opts['$select']
|
|
229
|
-
} : {});
|
|
230
|
-
var headersToInclude = {};
|
|
231
|
-
Object.keys(argMap).forEach(function (header) {
|
|
232
|
-
if (!_classPrivateFieldGet(_this4, _headersToSkip).has(header.toLowerCase())) {
|
|
233
|
-
headersToInclude[header] = argMap[header];
|
|
234
|
-
}
|
|
235
|
-
});
|
|
236
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
237
|
-
var formParams = {};
|
|
238
|
-
var authNames = ['basicAuthScheme'];
|
|
239
|
-
var contentTypes = [];
|
|
240
|
-
var accepts = ['application/json'];
|
|
241
|
-
var returnType = _ConsistencyGroupListApiResponse["default"];
|
|
242
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0.a4/config/consistency-groups', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* Update a Consistency group.
|
|
247
|
-
* Update details of the Consistency group for the provided {extId}.
|
|
248
|
-
* @param {ConsistencyGroup} body specification
|
|
249
|
-
* @param { String } extId The external identifier that can be used to retrieve the Consistency group.
|
|
250
|
-
* @param {Object} args Additional Arguments
|
|
251
|
-
* @return {Promise<ConsistencyGroupApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ConsistencyGroupApiResponse } and HTTP response
|
|
252
|
-
*/
|
|
253
|
-
}, {
|
|
254
|
-
key: "updateConsistencyGroup",
|
|
255
|
-
value: function updateConsistencyGroup(extId, body) {
|
|
256
|
-
var _this5 = this;
|
|
257
|
-
var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
|
|
258
|
-
var postBody = null;
|
|
259
|
-
if (body instanceof _ConsistencyGroup["default"] && typeof body.toJson === 'function') {
|
|
260
|
-
postBody = body.toJson();
|
|
261
|
-
} else {
|
|
262
|
-
postBody = body;
|
|
263
|
-
}
|
|
264
|
-
// verify the required parameter 'extId' is set
|
|
265
|
-
if (typeof extId === 'undefined' || extId === null) {
|
|
266
|
-
throw new Error("Missing the required parameter 'extId' when calling updateConsistencyGroup");
|
|
267
|
-
}
|
|
268
|
-
// verify the required parameter 'body' is set
|
|
269
|
-
if (typeof postBody === 'undefined' || postBody === null) {
|
|
270
|
-
throw new Error("Invalid body when calling updateConsistencyGroup");
|
|
271
|
-
}
|
|
272
|
-
var pathParams = {
|
|
273
|
-
'extId': extId
|
|
274
|
-
};
|
|
275
|
-
var queryParams = {};
|
|
276
|
-
var headersToInclude = {};
|
|
277
|
-
Object.keys(argMap).forEach(function (header) {
|
|
278
|
-
if (!_classPrivateFieldGet(_this5, _headersToSkip).has(header.toLowerCase())) {
|
|
279
|
-
headersToInclude[header] = argMap[header];
|
|
280
|
-
}
|
|
281
|
-
});
|
|
282
|
-
var headerParams = _objectSpread({}, headersToInclude);
|
|
283
|
-
var formParams = {};
|
|
284
|
-
_ApiClient.ApiClient.addEtagReferenceToHeader(body, headerParams);
|
|
285
|
-
var authNames = ['basicAuthScheme'];
|
|
286
|
-
var contentTypes = ['application/json'];
|
|
287
|
-
var accepts = ['application/json'];
|
|
288
|
-
var returnType = _ConsistencyGroupApiResponse["default"];
|
|
289
|
-
return this.apiClient.callApi('/api/dataprotection/v4.0.a4/config/consistency-groups/{extId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
|
|
290
|
-
}
|
|
291
|
-
}], [{
|
|
292
|
-
key: "ApiClient",
|
|
293
|
-
get:
|
|
294
|
-
/**
|
|
295
|
-
* Make the default {@link ApiClient} class available for developers to be able to extend it and bring
|
|
296
|
-
* their own fetch methods into the SDK
|
|
297
|
-
*/
|
|
298
|
-
function get() {
|
|
299
|
-
return _ApiClient.ApiClient;
|
|
300
|
-
}
|
|
301
|
-
}]);
|
|
302
|
-
return ConsistencyGroupApi;
|
|
303
|
-
}();
|
|
304
|
-
exports.ConsistencyGroupApi = ConsistencyGroupApi;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The VendorSpecificProperty model module.
|
|
3
|
-
* @module Ntnx/VendorSpecificProperty
|
|
4
|
-
* @version 4.0.1-alpha-4
|
|
5
|
-
* @class VendorSpecificProperty
|
|
6
|
-
*/
|
|
7
|
-
export default class VendorSpecificProperty {
|
|
8
|
-
/**
|
|
9
|
-
* Constructs a <code>VendorSpecificProperty</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/VendorSpecificProperty} obj Optional instance to populate.
|
|
13
|
-
* @param callFromChild {Boolean} Flag to recognise calling instance
|
|
14
|
-
* @return {module:Ntnx/VendorSpecificProperty} The populated <code>VendorSpecificProperty</code> instance.
|
|
15
|
-
*/
|
|
16
|
-
static constructFromObject(data: any, obj: any, callFromChild?: boolean): any;
|
|
17
|
-
/**
|
|
18
|
-
* Constructs a new <code>VendorSpecificProperty</code>.
|
|
19
|
-
* Additional metadata provided by the client at the time of Recovery point creation.
|
|
20
|
-
* @alias module:Ntnx/VendorSpecificProperty
|
|
21
|
-
* @param vendorId {} The unique identifier of the vendor. It can be a magic number, UUID or vendor name.
|
|
22
|
-
* @param vendorMetadata {} This is an opaque data interpreted only by the respective vendor.
|
|
23
|
-
*/
|
|
24
|
-
constructor(vendorId: any, vendorMetadata: any);
|
|
25
|
-
vendorId: any;
|
|
26
|
-
vendorMetadata: any;
|
|
27
|
-
$objectType: string;
|
|
28
|
-
$reserved: {
|
|
29
|
-
$fqObjectType: string;
|
|
30
|
-
};
|
|
31
|
-
$unknownFields: {};
|
|
32
|
-
/**
|
|
33
|
-
* Returns The unique identifier of the vendor. It can be a magic number, UUID or vendor name.
|
|
34
|
-
* @return {}
|
|
35
|
-
*/
|
|
36
|
-
getVendorId(): any;
|
|
37
|
-
/**
|
|
38
|
-
* Sets The unique identifier of the vendor. It can be a magic number, UUID or vendor name.
|
|
39
|
-
* @param {} vendorId The unique identifier of the vendor. It can be a magic number, UUID or vendor name.
|
|
40
|
-
*/
|
|
41
|
-
setVendorId(vendorId: any): void;
|
|
42
|
-
/**
|
|
43
|
-
* Returns This is an opaque data interpreted only by the respective vendor.
|
|
44
|
-
* @return {}
|
|
45
|
-
*/
|
|
46
|
-
getVendorMetadata(): any;
|
|
47
|
-
/**
|
|
48
|
-
* Sets This is an opaque data interpreted only by the respective vendor.
|
|
49
|
-
* @param {} vendorMetadata This is an opaque data interpreted only by the respective vendor.
|
|
50
|
-
*/
|
|
51
|
-
setVendorMetadata(vendorMetadata: any): void;
|
|
52
|
-
get$Reserved(): {
|
|
53
|
-
$fqObjectType: string;
|
|
54
|
-
};
|
|
55
|
-
get$ObjectType(): string;
|
|
56
|
-
get$UnknownFields(): {};
|
|
57
|
-
toJson(forMutation: any): {
|
|
58
|
-
$reserved: {
|
|
59
|
-
$fqObjectType: string;
|
|
60
|
-
};
|
|
61
|
-
$objectType: string;
|
|
62
|
-
$unknownFields: {};
|
|
63
|
-
vendorMetadata?: any;
|
|
64
|
-
vendorId?: any;
|
|
65
|
-
};
|
|
66
|
-
validate(scope: any, properties: any, ...args: any[]): any;
|
|
67
|
-
validateProperty(scope: any, property: any): ValidationError;
|
|
68
|
-
#private;
|
|
69
|
-
}
|
|
70
|
-
import ValidationError from "../../../validation/ValidationError";
|