@nutanix-scratch/dataprotection-js-client 4.0.1 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -18
- package/dist/Ntnx-Dataprotection-js-client-prod.js +1 -1
- package/dist/Ntnx-Dataprotection-js-client.js +226 -171
- package/dist/es/ApiClient.d.ts +7 -1
- package/dist/es/ApiClient.js +16 -25
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +3 -3
- package/dist/es/apis/protectedresources-endpoints.d.ts +7 -7
- package/dist/es/apis/protectedresources-endpoints.js +12 -12
- package/dist/es/apis/recoverypoints-endpoints.d.ts +7 -27
- package/dist/es/apis/recoverypoints-endpoints.js +28 -47
- package/dist/es/index.d.ts +23 -13
- package/dist/es/index.js +83 -43
- package/dist/es/models/common/v1/config/Flag.d.ts +1 -1
- package/dist/es/models/common/v1/config/Flag.js +3 -3
- package/dist/es/models/common/v1/config/IPAddress.d.ts +1 -1
- package/dist/es/models/common/v1/config/IPAddress.js +3 -3
- package/dist/es/models/common/v1/config/IPv4Address.d.ts +1 -1
- package/dist/es/models/common/v1/config/IPv4Address.js +3 -3
- package/dist/es/models/common/v1/config/IPv6Address.d.ts +1 -1
- package/dist/es/models/common/v1/config/IPv6Address.js +3 -3
- package/dist/es/models/common/v1/config/KVPair.d.ts +1 -1
- package/dist/es/models/common/v1/config/KVPair.js +3 -3
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +3 -3
- package/dist/es/models/common/v1/config/Message.d.ts +1 -1
- package/dist/es/models/common/v1/config/Message.js +3 -3
- package/dist/es/models/common/v1/config/MessageSeverity.js +2 -2
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +4 -4
- package/dist/es/models/common/v1/config/TenantAwareModel.js +7 -7
- package/dist/es/models/common/v1/response/ApiLink.d.ts +1 -1
- package/dist/es/models/common/v1/response/ApiLink.js +3 -3
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +3 -3
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
- package/dist/es/models/dataprotection/v4/common/BackupType.js +2 -2
- package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.js +4 -4
- package/dist/es/models/dataprotection/v4/common/BaseVmRecoveryPoint.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/common/BaseVmRecoveryPoint.js +4 -4
- package/dist/es/models/dataprotection/v4/common/ClusterInfo.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/common/ClusterInfo.js +4 -4
- package/dist/es/models/dataprotection/v4/common/DiskRecoveryPoint.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/common/DiskRecoveryPoint.js +3 -3
- package/dist/es/models/dataprotection/v4/common/RecoveryPointStatus.js +2 -2
- package/dist/es/models/dataprotection/v4/common/RecoveryPointType.js +2 -2
- package/dist/es/models/dataprotection/v4/common/VssProperties.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/common/VssProperties.js +3 -3
- package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.d.ts +4 -46
- package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.js +30 -153
- package/dist/es/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/AmazonS3Bucket.js +4 -4
- package/dist/es/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/AzureBlobStorageContainer.js +4 -4
- package/dist/es/models/dataprotection/v4/config/ClusterInfoApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/ClusterInfoApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.js +6 -7
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.js +4 -4
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +2 -2
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +4 -4
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.js +4 -4
- package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +12 -12
- package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.js +32 -32
- package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +7 -5
- package/dist/es/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/ExpirationTimeSpec.js +4 -4
- package/dist/es/models/dataprotection/v4/config/GetProtectedResourceApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/config/HostReference.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/HostReference.js +5 -5
- package/dist/es/models/dataprotection/v4/config/HostType.js +2 -2
- package/dist/es/models/dataprotection/v4/config/HypervisorType.d.ts +19 -0
- package/dist/es/models/dataprotection/v4/config/HypervisorType.js +85 -0
- package/dist/es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/config/LocationReference.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/LocationReference.js +4 -4
- package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.js +4 -4
- package/dist/es/models/dataprotection/v4/config/ObjectStorageType.js +2 -2
- package/dist/es/models/dataprotection/v4/config/ProtectedEntityType.js +2 -2
- package/dist/es/models/dataprotection/v4/config/ProtectedResource.d.ts +7 -7
- package/dist/es/models/dataprotection/v4/config/ProtectedResource.js +9 -9
- package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +5 -5
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +9 -9
- package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +14 -14
- package/dist/es/models/dataprotection/v4/config/RecoveryInfo.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/RecoveryInfo.js +5 -5
- package/dist/es/models/dataprotection/v4/config/RecoveryPoint.d.ts +24 -8
- package/dist/es/models/dataprotection/v4/config/RecoveryPoint.js +54 -18
- package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.js +4 -4
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +4 -4
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.js +5 -5
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +4 -4
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +3 -1
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +8 -8
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/config/ReplicationState.d.ts +2 -2
- package/dist/es/models/dataprotection/v4/config/ReplicationState.js +5 -5
- package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.js +5 -5
- package/dist/es/models/dataprotection/v4/config/SiteProtectionInfo.d.ts +2 -2
- package/dist/es/models/dataprotection/v4/config/SiteProtectionInfo.js +4 -4
- package/dist/es/models/dataprotection/v4/config/SiteReference.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/SiteReference.js +4 -4
- package/dist/es/models/dataprotection/v4/config/SynchronousReplicationRole.js +6 -6
- package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +44 -1
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.js +219 -7
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +27 -1
- package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +106 -8
- package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +4 -4
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +5 -5
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +4 -4
- package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.js +5 -5
- package/dist/es/models/dataprotection/v4/config/Witness.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/config/Witness.js +5 -5
- package/dist/es/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +2 -2
- package/dist/es/models/dataprotection/v4/content/BaseRecoveryPointSpec.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/content/BaseRecoveryPointSpec.js +4 -4
- package/dist/es/models/dataprotection/v4/content/ChangedRegion.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/content/ChangedRegion.js +4 -4
- package/dist/es/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/content/ClusterDiscoverOperation.js +2 -2
- package/dist/es/models/dataprotection/v4/content/ClusterDiscoverSpec.d.ts +2 -2
- package/dist/es/models/dataprotection/v4/content/ClusterDiscoverSpec.js +5 -5
- package/dist/es/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.d.ts +9 -9
- package/dist/es/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.js +14 -14
- package/dist/es/models/dataprotection/v4/content/DiskRecoveryPointReference.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/content/DiskRecoveryPointReference.js +4 -4
- package/dist/es/models/dataprotection/v4/content/GetVssMetadataApiResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/content/GetVssMetadataApiResponse.js +5 -5
- package/dist/es/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.d.ts +2 -2
- package/dist/es/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.js +5 -5
- package/dist/es/models/dataprotection/v4/content/RegionType.js +2 -2
- package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.js +4 -4
- package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointReference.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointReference.js +5 -5
- package/dist/es/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.d.ts +10 -10
- package/dist/es/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.js +16 -16
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.d.ts +4 -4
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.js +8 -8
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.d.ts +4 -4
- package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.js +9 -9
- package/dist/es/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.d.ts +10 -10
- package/dist/es/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.js +17 -17
- package/dist/es/models/dataprotection/v4/error/AppMessage.d.ts +4 -4
- package/dist/es/models/dataprotection/v4/error/AppMessage.js +8 -8
- package/dist/es/models/dataprotection/v4/error/ErrorResponse.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/error/ErrorResponse.js +5 -10
- package/dist/es/models/dataprotection/v4/error/SchemaValidationError.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/error/SchemaValidationError.js +4 -4
- package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
- package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +4 -4
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +4 -4
- package/dist/es/models/prism/v4/config/TaskReference.js +9 -11
- package/dist/es/models/validation/ValidationError.js +2 -2
- package/dist/es/models/{dataprotection/v4/config/IpAddress.d.ts → vmm/v4/ahv/config/CategoryReference.d.ts} +16 -26
- package/dist/es/models/vmm/v4/ahv/config/CategoryReference.js +277 -0
- package/dist/{lib/models/dataprotection/v4/config/IpAddress.d.ts → es/models/vmm/v4/ahv/config/OwnerReference.d.ts} +16 -26
- package/dist/es/models/{dataprotection/v4/config/IpAddress.js → vmm/v4/ahv/config/OwnerReference.js} +51 -56
- package/dist/es/models/vmm/v4/ahv/config/OwnershipInfo.d.ts +56 -0
- package/dist/es/models/vmm/v4/ahv/config/OwnershipInfo.js +272 -0
- package/dist/es/models/vmm/v4/ahv/config/SubnetReference.d.ts +52 -0
- package/dist/es/models/vmm/v4/ahv/config/SubnetReference.js +277 -0
- package/dist/es/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.d.ts +127 -0
- package/dist/es/models/{dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js → vmm/v4/ahv/config/VmConfigOverrideSpecification.js} +203 -107
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.d.ts +75 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.js +323 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.d.ts +88 -0
- package/dist/{lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js → es/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.js} +145 -97
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.d.ts +72 -0
- package/dist/{lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js → es/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.js} +99 -110
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.d.ts +85 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.js +310 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.d.ts +52 -0
- package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.js +277 -0
- package/dist/es/utils/ValidationUtils.js +2 -2
- package/dist/lib/ApiClient.d.ts +7 -1
- package/dist/lib/ApiClient.js +16 -25
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +3 -3
- package/dist/lib/apis/protectedresources-endpoints.d.ts +7 -7
- package/dist/lib/apis/protectedresources-endpoints.js +12 -12
- package/dist/lib/apis/recoverypoints-endpoints.d.ts +7 -27
- package/dist/lib/apis/recoverypoints-endpoints.js +28 -47
- package/dist/lib/index.d.ts +23 -13
- package/dist/lib/index.js +83 -43
- package/dist/lib/models/common/v1/config/Flag.d.ts +1 -1
- package/dist/lib/models/common/v1/config/Flag.js +3 -3
- package/dist/lib/models/common/v1/config/IPAddress.d.ts +1 -1
- package/dist/lib/models/common/v1/config/IPAddress.js +3 -3
- package/dist/lib/models/common/v1/config/IPv4Address.d.ts +1 -1
- package/dist/lib/models/common/v1/config/IPv4Address.js +3 -3
- package/dist/lib/models/common/v1/config/IPv6Address.d.ts +1 -1
- package/dist/lib/models/common/v1/config/IPv6Address.js +3 -3
- package/dist/lib/models/common/v1/config/KVPair.d.ts +1 -1
- package/dist/lib/models/common/v1/config/KVPair.js +3 -3
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +3 -3
- package/dist/lib/models/common/v1/config/Message.d.ts +1 -1
- package/dist/lib/models/common/v1/config/Message.js +3 -3
- package/dist/lib/models/common/v1/config/MessageSeverity.js +2 -2
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +4 -4
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +7 -7
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ApiLink.js +3 -3
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +3 -3
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
- package/dist/lib/models/dataprotection/v4/common/BackupType.js +2 -2
- package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.js +4 -4
- package/dist/lib/models/dataprotection/v4/common/BaseVmRecoveryPoint.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/common/BaseVmRecoveryPoint.js +4 -4
- package/dist/lib/models/dataprotection/v4/common/ClusterInfo.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/common/ClusterInfo.js +4 -4
- package/dist/lib/models/dataprotection/v4/common/DiskRecoveryPoint.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/common/DiskRecoveryPoint.js +3 -3
- package/dist/lib/models/dataprotection/v4/common/RecoveryPointStatus.js +2 -2
- package/dist/lib/models/dataprotection/v4/common/RecoveryPointType.js +2 -2
- package/dist/lib/models/dataprotection/v4/common/VssProperties.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/common/VssProperties.js +3 -3
- package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.d.ts +4 -46
- package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.js +30 -153
- package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/ClusterInfoApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/ClusterInfoApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.js +6 -7
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +2 -2
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +12 -12
- package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.js +32 -32
- package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +7 -5
- package/dist/lib/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/ExpirationTimeSpec.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/GetProtectedResourceApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/HostReference.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/HostReference.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/HostType.js +2 -2
- package/dist/lib/models/dataprotection/v4/config/HypervisorType.d.ts +19 -0
- package/dist/lib/models/dataprotection/v4/config/HypervisorType.js +85 -0
- package/dist/lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/LocationReference.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/LocationReference.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/ObjectStorageType.js +2 -2
- package/dist/lib/models/dataprotection/v4/config/ProtectedEntityType.js +2 -2
- package/dist/lib/models/dataprotection/v4/config/ProtectedResource.d.ts +7 -7
- package/dist/lib/models/dataprotection/v4/config/ProtectedResource.js +9 -9
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +9 -9
- package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +14 -14
- package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.d.ts +24 -8
- package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.js +54 -18
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +3 -1
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +8 -8
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/ReplicationState.d.ts +2 -2
- package/dist/lib/models/dataprotection/v4/config/ReplicationState.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/SiteProtectionInfo.d.ts +2 -2
- package/dist/lib/models/dataprotection/v4/config/SiteProtectionInfo.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/SiteReference.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/SiteReference.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/SynchronousReplicationRole.js +6 -6
- package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +44 -1
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.js +219 -7
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +27 -1
- package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +106 -8
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +4 -4
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/Witness.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/config/Witness.js +5 -5
- package/dist/lib/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +2 -2
- package/dist/lib/models/dataprotection/v4/content/BaseRecoveryPointSpec.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/content/BaseRecoveryPointSpec.js +4 -4
- package/dist/lib/models/dataprotection/v4/content/ChangedRegion.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/content/ChangedRegion.js +4 -4
- package/dist/lib/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/content/ClusterDiscoverOperation.js +2 -2
- package/dist/lib/models/dataprotection/v4/content/ClusterDiscoverSpec.d.ts +2 -2
- package/dist/lib/models/dataprotection/v4/content/ClusterDiscoverSpec.js +5 -5
- package/dist/lib/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.d.ts +9 -9
- package/dist/lib/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.js +14 -14
- package/dist/lib/models/dataprotection/v4/content/DiskRecoveryPointReference.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/content/DiskRecoveryPointReference.js +4 -4
- package/dist/lib/models/dataprotection/v4/content/GetVssMetadataApiResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/content/GetVssMetadataApiResponse.js +5 -5
- package/dist/lib/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.d.ts +2 -2
- package/dist/lib/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.js +5 -5
- package/dist/lib/models/dataprotection/v4/content/RegionType.js +2 -2
- package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.js +4 -4
- package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointReference.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointReference.js +5 -5
- package/dist/lib/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.d.ts +10 -10
- package/dist/lib/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.js +16 -16
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.d.ts +4 -4
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.js +8 -8
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.d.ts +4 -4
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.js +9 -9
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.d.ts +10 -10
- package/dist/lib/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.js +17 -17
- package/dist/lib/models/dataprotection/v4/error/AppMessage.d.ts +4 -4
- package/dist/lib/models/dataprotection/v4/error/AppMessage.js +8 -8
- package/dist/lib/models/dataprotection/v4/error/ErrorResponse.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/error/ErrorResponse.js +5 -10
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.js +4 -4
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
- package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +4 -4
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +4 -4
- package/dist/lib/models/prism/v4/config/TaskReference.js +9 -11
- package/dist/lib/models/validation/ValidationError.js +2 -2
- package/dist/lib/models/vmm/v4/ahv/config/CategoryReference.d.ts +52 -0
- package/dist/lib/models/vmm/v4/ahv/config/CategoryReference.js +277 -0
- package/dist/lib/models/vmm/v4/ahv/config/OwnerReference.d.ts +52 -0
- package/dist/lib/models/{dataprotection/v4/config/IpAddress.js → vmm/v4/ahv/config/OwnerReference.js} +51 -56
- package/dist/lib/models/vmm/v4/ahv/config/OwnershipInfo.d.ts +56 -0
- package/dist/lib/models/vmm/v4/ahv/config/OwnershipInfo.js +272 -0
- package/dist/lib/models/vmm/v4/ahv/config/SubnetReference.d.ts +52 -0
- package/dist/lib/models/vmm/v4/ahv/config/SubnetReference.js +277 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.d.ts +127 -0
- package/dist/lib/models/{dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js → vmm/v4/ahv/config/VmConfigOverrideSpecification.js} +203 -107
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.d.ts +75 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.js +323 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.d.ts +88 -0
- package/dist/{es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js → lib/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.js} +145 -97
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.d.ts +72 -0
- package/dist/{es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js → lib/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.js} +99 -110
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.d.ts +85 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.js +310 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.d.ts +52 -0
- package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.js +277 -0
- package/dist/lib/utils/ValidationUtils.js +2 -2
- package/package.json +2 -2
- package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts +0 -99
- package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +0 -98
- package/dist/es/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.d.ts +0 -99
- package/dist/es/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js +0 -343
- package/dist/es/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.d.ts +0 -99
- package/dist/es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +0 -99
- package/dist/es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.js +0 -365
- package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts +0 -99
- package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +0 -98
- package/dist/lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.d.ts +0 -99
- package/dist/lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js +0 -343
- package/dist/lib/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.d.ts +0 -99
- package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +0 -99
- package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.js +0 -365
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
@@ -9,10 +8,18 @@ var _TenantAwareModel = _interopRequireDefault(require("../../../common/v1/confi
|
|
|
9
8
|
var _ExternalizableAbstractModel = _interopRequireDefault(require("../../../common/v1/response/ExternalizableAbstractModel"));
|
|
10
9
|
var _BaseRecoveryPoint = _interopRequireDefault(require("../common/BaseRecoveryPoint"));
|
|
11
10
|
var _BaseVmRecoveryPoint2 = _interopRequireDefault(require("../common/BaseVmRecoveryPoint"));
|
|
11
|
+
var _HypervisorType = _interopRequireDefault(require("./HypervisorType"));
|
|
12
12
|
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
13
13
|
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
14
14
|
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
15
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
16
|
+
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); }
|
|
17
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
18
|
+
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."); }
|
|
19
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
20
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
21
|
+
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; } }
|
|
22
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
16
23
|
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; }
|
|
17
24
|
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; }
|
|
18
25
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
@@ -27,14 +34,17 @@ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError(
|
|
|
27
34
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
28
35
|
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
29
36
|
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
30
|
-
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
37
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
38
|
+
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
39
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
40
|
+
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
31
41
|
* Nutanix Data Protection APIs
|
|
32
42
|
*
|
|
33
|
-
* OpenAPI spec version: 4.
|
|
43
|
+
* OpenAPI spec version: 4.1.1
|
|
34
44
|
*
|
|
35
45
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
36
46
|
*
|
|
37
|
-
* Open API Dev Platform Codegen version:
|
|
47
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
38
48
|
*
|
|
39
49
|
* Do not edit the class manually.
|
|
40
50
|
*
|
|
@@ -42,10 +52,11 @@ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf
|
|
|
42
52
|
/**
|
|
43
53
|
* The VmRecoveryPoint model module.
|
|
44
54
|
* @module Ntnx/VmRecoveryPoint
|
|
45
|
-
* @version 4.
|
|
55
|
+
* @version 4.1.1
|
|
46
56
|
* @class VmRecoveryPoint
|
|
47
57
|
* @extends BaseVmRecoveryPoint
|
|
48
58
|
*/
|
|
59
|
+
var _VmRecoveryPoint_brand = /*#__PURE__*/new WeakSet();
|
|
49
60
|
var VmRecoveryPoint = exports["default"] = /*#__PURE__*/function (_BaseVmRecoveryPoint) {
|
|
50
61
|
/**
|
|
51
62
|
* Constructs a new <code>VmRecoveryPoint</code>.
|
|
@@ -57,10 +68,17 @@ var VmRecoveryPoint = exports["default"] = /*#__PURE__*/function (_BaseVmRecover
|
|
|
57
68
|
var _this;
|
|
58
69
|
_classCallCheck(this, VmRecoveryPoint);
|
|
59
70
|
_this = _callSuper(this, VmRecoveryPoint);
|
|
71
|
+
/*
|
|
72
|
+
* toJson method for a map type which supports map with primitive keys and values of object types
|
|
73
|
+
* @param {Object} obj
|
|
74
|
+
* @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
|
|
75
|
+
* Otherwise, just returns the input object.
|
|
76
|
+
*/
|
|
77
|
+
_classPrivateMethodInitSpec(_this, _VmRecoveryPoint_brand);
|
|
60
78
|
_this.$objectType = "dataprotection.v4.config.VmRecoveryPoint";
|
|
61
79
|
/** @type {object<string, any>} */
|
|
62
80
|
_this.$reserved = {
|
|
63
|
-
'$fv': "v4.
|
|
81
|
+
'$fv': "v4.r1"
|
|
64
82
|
};
|
|
65
83
|
/** @type {object<string, any>} */
|
|
66
84
|
_this.$unknownFields = {};
|
|
@@ -77,6 +95,92 @@ var VmRecoveryPoint = exports["default"] = /*#__PURE__*/function (_BaseVmRecover
|
|
|
77
95
|
*/
|
|
78
96
|
_inherits(VmRecoveryPoint, _BaseVmRecoveryPoint);
|
|
79
97
|
return _createClass(VmRecoveryPoint, [{
|
|
98
|
+
key: "getHypervisorType",
|
|
99
|
+
value:
|
|
100
|
+
/**
|
|
101
|
+
* @return {HypervisorType}
|
|
102
|
+
*/
|
|
103
|
+
function getHypervisorType() {
|
|
104
|
+
return this.hypervisorType;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @param {HypervisorType} hypervisorType
|
|
109
|
+
*/
|
|
110
|
+
}, {
|
|
111
|
+
key: "setHypervisorType",
|
|
112
|
+
value: function setHypervisorType(hypervisorType) {
|
|
113
|
+
this.hypervisorType = hypervisorType;
|
|
114
|
+
}
|
|
115
|
+
}, {
|
|
116
|
+
key: "toJson",
|
|
117
|
+
value: function toJson(forMutation) {
|
|
118
|
+
if (forMutation === false) {
|
|
119
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getHypervisorType() !== 'undefined' && this.getHypervisorType() !== null ? {
|
|
120
|
+
'hypervisorType': this.getHypervisorType()
|
|
121
|
+
} : {}), typeof this.getConsistencyGroupExtId() !== 'undefined' && this.getConsistencyGroupExtId() !== null ? {
|
|
122
|
+
'consistencyGroupExtId': this.getConsistencyGroupExtId()
|
|
123
|
+
} : {}), typeof this.getDiskRecoveryPoints() !== 'undefined' && this.getDiskRecoveryPoints() !== null ? {
|
|
124
|
+
'diskRecoveryPoints': this.getDiskRecoveryPoints().map(function (item) {
|
|
125
|
+
return item.toJson(false);
|
|
126
|
+
})
|
|
127
|
+
} : {}), typeof this.getVmExtId() !== 'undefined' && this.getVmExtId() !== null ? {
|
|
128
|
+
'vmExtId': this.getVmExtId()
|
|
129
|
+
} : {}), typeof this.getVmCategories() !== 'undefined' && this.getVmCategories() !== null ? {
|
|
130
|
+
'vmCategories': this.getVmCategories()
|
|
131
|
+
} : {}), typeof this.getApplicationConsistentProperties() !== 'undefined' && this.getApplicationConsistentProperties() !== null ? {
|
|
132
|
+
'applicationConsistentProperties': typeof this.getApplicationConsistentProperties().toJson !== "undefined" ? this.getApplicationConsistentProperties().toJson(false) : Array.isArray(this.getApplicationConsistentProperties()) ? this.getApplicationConsistentProperties().map(function (item) {
|
|
133
|
+
return typeof item.toJson !== "undefined" ? item.toJson(false) : item;
|
|
134
|
+
}) : _assertClassBrand(_VmRecoveryPoint_brand, this, _toJsonMapType).call(this, this.getApplicationConsistentProperties(), false)
|
|
135
|
+
} : {}), typeof this.getLocationAgnosticId() !== 'undefined' && this.getLocationAgnosticId() !== null ? {
|
|
136
|
+
'locationAgnosticId': this.getLocationAgnosticId()
|
|
137
|
+
} : {}), typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
138
|
+
'name': this.getName()
|
|
139
|
+
} : {}), typeof this.getCreationTime() !== 'undefined' && this.getCreationTime() !== null ? {
|
|
140
|
+
'creationTime': _assertClassBrand(_VmRecoveryPoint_brand, this, _handleDateType).call(this, this.getCreationTime(), false)
|
|
141
|
+
} : {}), typeof this.getExpirationTime() !== 'undefined' && this.getExpirationTime() !== null ? {
|
|
142
|
+
'expirationTime': _assertClassBrand(_VmRecoveryPoint_brand, this, _handleDateType).call(this, this.getExpirationTime(), false)
|
|
143
|
+
} : {}), typeof this.getStatus() !== 'undefined' && this.getStatus() !== null ? {
|
|
144
|
+
'status': this.getStatus()
|
|
145
|
+
} : {}), typeof this.getRecoveryPointType() !== 'undefined' && this.getRecoveryPointType() !== null ? {
|
|
146
|
+
'recoveryPointType': this.getRecoveryPointType()
|
|
147
|
+
} : {}), typeof this.getExtId() !== 'undefined' && this.getExtId() !== null ? {
|
|
148
|
+
'extId': this.getExtId()
|
|
149
|
+
} : {}), typeof this.getLinks() !== 'undefined' && this.getLinks() !== null ? {
|
|
150
|
+
'links': this.getLinks().map(function (item) {
|
|
151
|
+
return item.toJson(false);
|
|
152
|
+
})
|
|
153
|
+
} : {}), typeof this.getTenantId() !== 'undefined' && this.getTenantId() !== null ? {
|
|
154
|
+
'tenantId': this.getTenantId()
|
|
155
|
+
} : {}), {}, {
|
|
156
|
+
'$reserved': this.get$Reserved(),
|
|
157
|
+
'$objectType': this.get$ObjectType(),
|
|
158
|
+
'$unknownFields': this.get$UnknownFields()
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getHypervisorType() !== 'undefined' && this.getHypervisorType() !== null ? {
|
|
162
|
+
'hypervisorType': this.getHypervisorType()
|
|
163
|
+
} : {}), typeof this.getVmExtId() !== 'undefined' && this.getVmExtId() !== null ? {
|
|
164
|
+
'vmExtId': this.getVmExtId()
|
|
165
|
+
} : {}), typeof this.getApplicationConsistentProperties() !== 'undefined' && this.getApplicationConsistentProperties() !== null ? {
|
|
166
|
+
'applicationConsistentProperties': typeof this.getApplicationConsistentProperties().toJson !== "undefined" ? this.getApplicationConsistentProperties().toJson() : Array.isArray(this.getApplicationConsistentProperties()) ? this.getApplicationConsistentProperties().map(function (item) {
|
|
167
|
+
return typeof item.toJson !== "undefined" ? item.toJson() : item;
|
|
168
|
+
}) : _assertClassBrand(_VmRecoveryPoint_brand, this, _toJsonMapType).call(this, this.getApplicationConsistentProperties())
|
|
169
|
+
} : {}), typeof this.getName() !== 'undefined' && this.getName() !== null ? {
|
|
170
|
+
'name': this.getName()
|
|
171
|
+
} : {}), typeof this.getExpirationTime() !== 'undefined' && this.getExpirationTime() !== null ? {
|
|
172
|
+
'expirationTime': _assertClassBrand(_VmRecoveryPoint_brand, this, _handleDateType).call(this, this.getExpirationTime(), false)
|
|
173
|
+
} : {}), typeof this.getStatus() !== 'undefined' && this.getStatus() !== null ? {
|
|
174
|
+
'status': this.getStatus()
|
|
175
|
+
} : {}), typeof this.getRecoveryPointType() !== 'undefined' && this.getRecoveryPointType() !== null ? {
|
|
176
|
+
'recoveryPointType': this.getRecoveryPointType()
|
|
177
|
+
} : {}), {}, {
|
|
178
|
+
'$reserved': this.get$Reserved(),
|
|
179
|
+
'$objectType': this.get$ObjectType(),
|
|
180
|
+
'$unknownFields': this.get$UnknownFields()
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
}, {
|
|
80
184
|
key: "validate",
|
|
81
185
|
value: function validate(scope, properties) {
|
|
82
186
|
var _this2 = this;
|
|
@@ -111,6 +215,11 @@ var VmRecoveryPoint = exports["default"] = /*#__PURE__*/function (_BaseVmRecover
|
|
|
111
215
|
}, {
|
|
112
216
|
key: "validateProperty",
|
|
113
217
|
value: function validateProperty(scope, property) {
|
|
218
|
+
if (property === "hypervisorType") {
|
|
219
|
+
if (typeof this.hypervisorType === 'undefined' || this.hypervisorType === null) {
|
|
220
|
+
return new _ValidationError["default"]("hypervisorType", "undefined or null");
|
|
221
|
+
}
|
|
222
|
+
}
|
|
114
223
|
return new _ValidationError["default"](property, "no such property exists");
|
|
115
224
|
}
|
|
116
225
|
}], [{
|
|
@@ -122,6 +231,9 @@ var VmRecoveryPoint = exports["default"] = /*#__PURE__*/function (_BaseVmRecover
|
|
|
122
231
|
if (data) {
|
|
123
232
|
obj = obj || new VmRecoveryPoint();
|
|
124
233
|
_BaseVmRecoveryPoint2["default"].constructFromObject(data, obj, true);
|
|
234
|
+
if (data.hasOwnProperty('hypervisorType') && data.hypervisorType !== null && data.hypervisorType !== undefined) {
|
|
235
|
+
obj.setHypervisorType(_HypervisorType["default"].constructFromObject(data['hypervisorType']));
|
|
236
|
+
}
|
|
125
237
|
if (!callFromChild) {
|
|
126
238
|
obj.$unknownFields = _objectSpread({}, data.$unknownFields);
|
|
127
239
|
for (var property in data) {
|
|
@@ -151,4 +263,104 @@ var VmRecoveryPoint = exports["default"] = /*#__PURE__*/function (_BaseVmRecover
|
|
|
151
263
|
});
|
|
152
264
|
}
|
|
153
265
|
}]);
|
|
154
|
-
}(_BaseVmRecoveryPoint2["default"]);
|
|
266
|
+
}(_BaseVmRecoveryPoint2["default"]);
|
|
267
|
+
/**
|
|
268
|
+
* @memberof VmRecoveryPoint
|
|
269
|
+
*/
|
|
270
|
+
function _toJsonMapType(obj, forMutation) {
|
|
271
|
+
if (obj instanceof Map) {
|
|
272
|
+
return Object.fromEntries(Array.from(obj, function (_ref) {
|
|
273
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
274
|
+
k = _ref2[0],
|
|
275
|
+
v = _ref2[1];
|
|
276
|
+
return [k, typeof v.toJson !== "undefined" ? v.toJson(forMutation) : v];
|
|
277
|
+
}));
|
|
278
|
+
} else if (_typeof(obj) === 'object' && obj != null && obj.constructor === Object) {
|
|
279
|
+
return Object.fromEntries(Array.from(Object.entries(obj), function (entry) {
|
|
280
|
+
return [entry[0], typeof entry[1].toJson !== "undefined" ? entry[1].toJson(forMutation) : entry[1]];
|
|
281
|
+
}));
|
|
282
|
+
}
|
|
283
|
+
return obj;
|
|
284
|
+
}
|
|
285
|
+
/*
|
|
286
|
+
* toJson method for a date type which serializes a Date object to proper Date or DateTime formatting
|
|
287
|
+
* @param {Object} obj Object to serialize
|
|
288
|
+
* @param {boolean} isDateOnly Boolean variable to identify Date or DateTime format for serialization
|
|
289
|
+
* @returns {Object|string} Returns serialized date object or original input object
|
|
290
|
+
*/
|
|
291
|
+
function _handleDateType(obj, isDateOnly) {
|
|
292
|
+
if (obj instanceof Date && isDateOnly !== undefined) {
|
|
293
|
+
return isDateOnly ? obj.toISOString().slice(0, 10) : obj.toISOString();
|
|
294
|
+
}
|
|
295
|
+
return obj;
|
|
296
|
+
}
|
|
297
|
+
VmRecoveryPoint.prototype.hypervisorType = undefined;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* External identifier of the Consistency group which the VM was part of at the time of recovery point creation.
|
|
301
|
+
* @memberof VmRecoveryPoint
|
|
302
|
+
*/
|
|
303
|
+
_BaseVmRecoveryPoint2["default"].prototype.consistencyGroupExtId = undefined;
|
|
304
|
+
/**
|
|
305
|
+
* @memberof VmRecoveryPoint
|
|
306
|
+
*/
|
|
307
|
+
_BaseVmRecoveryPoint2["default"].prototype.diskRecoveryPoints = undefined;
|
|
308
|
+
/**
|
|
309
|
+
* VM external identifier which is captured as a part of this recovery point.
|
|
310
|
+
* @memberof VmRecoveryPoint
|
|
311
|
+
*/
|
|
312
|
+
_BaseVmRecoveryPoint2["default"].prototype.vmExtId = undefined;
|
|
313
|
+
/**
|
|
314
|
+
* Category key-value pairs associated with the VM at the time of recovery point creation. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' is displayed as 'dept/hr'.
|
|
315
|
+
* @memberof VmRecoveryPoint
|
|
316
|
+
*/
|
|
317
|
+
_BaseVmRecoveryPoint2["default"].prototype.vmCategories = undefined;
|
|
318
|
+
/**
|
|
319
|
+
* User-defined application-consistent properties for the recovery point.
|
|
320
|
+
* @memberof VmRecoveryPoint
|
|
321
|
+
*/
|
|
322
|
+
_BaseVmRecoveryPoint2["default"].prototype.applicationConsistentProperties = undefined;
|
|
323
|
+
/**
|
|
324
|
+
* Location agnostic identifier of the Recovery point.
|
|
325
|
+
* @memberof VmRecoveryPoint
|
|
326
|
+
*/
|
|
327
|
+
_BaseRecoveryPoint["default"].prototype.locationAgnosticId = undefined;
|
|
328
|
+
/**
|
|
329
|
+
* The name of the Recovery point.
|
|
330
|
+
* @memberof VmRecoveryPoint
|
|
331
|
+
*/
|
|
332
|
+
_BaseRecoveryPoint["default"].prototype.name = undefined;
|
|
333
|
+
/**
|
|
334
|
+
* The UTC date and time in ISO-8601 format when the Recovery point is created.
|
|
335
|
+
* @memberof VmRecoveryPoint
|
|
336
|
+
*/
|
|
337
|
+
_BaseRecoveryPoint["default"].prototype.creationTime = undefined;
|
|
338
|
+
/**
|
|
339
|
+
* The UTC date and time in ISO-8601 format when the current Recovery point expires and will be garbage collected.
|
|
340
|
+
* @memberof VmRecoveryPoint
|
|
341
|
+
*/
|
|
342
|
+
_BaseRecoveryPoint["default"].prototype.expirationTime = undefined;
|
|
343
|
+
/**
|
|
344
|
+
* @memberof VmRecoveryPoint
|
|
345
|
+
*/
|
|
346
|
+
_BaseRecoveryPoint["default"].prototype.status = undefined;
|
|
347
|
+
/**
|
|
348
|
+
* @memberof VmRecoveryPoint
|
|
349
|
+
*/
|
|
350
|
+
_BaseRecoveryPoint["default"].prototype.recoveryPointType = undefined;
|
|
351
|
+
/**
|
|
352
|
+
* A globally unique identifier of an instance that is suitable for external consumption.
|
|
353
|
+
* @memberof VmRecoveryPoint
|
|
354
|
+
*/
|
|
355
|
+
_ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
356
|
+
/**
|
|
357
|
+
* A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
|
|
358
|
+
* @memberof VmRecoveryPoint
|
|
359
|
+
*/
|
|
360
|
+
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
361
|
+
/**
|
|
362
|
+
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
363
|
+
* @memberof VmRecoveryPoint
|
|
364
|
+
*/
|
|
365
|
+
_TenantAwareModel["default"].prototype.tenantId = undefined;
|
|
366
|
+
// Implement OneOfdataprotection.v4.config.GetVmRecoveryPointApiResponsedata interface:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The VmRecoveryPointRestoreOverride model module.
|
|
3
3
|
* @module Ntnx/VmRecoveryPointRestoreOverride
|
|
4
|
-
* @version 4.
|
|
4
|
+
* @version 4.1.1
|
|
5
5
|
* @class VmRecoveryPointRestoreOverride
|
|
6
6
|
*/
|
|
7
7
|
export default class VmRecoveryPointRestoreOverride {
|
|
@@ -36,6 +36,28 @@ export default class VmRecoveryPointRestoreOverride {
|
|
|
36
36
|
*/
|
|
37
37
|
setVmRecoveryPointExtId(vmRecoveryPointExtId: string): void;
|
|
38
38
|
vmRecoveryPointExtId: string;
|
|
39
|
+
/**
|
|
40
|
+
* Returns If set to true, any VM configuration that cannot be restored or overridden, will be dropped or reset to the system defaults and the corresponding warnings will be returned. If set to False, the restore operation will run in the normal mode where any failures will be raised as errors and the VM will not be restored until the issues are fixed. Only applicable for AHV VMs.
|
|
41
|
+
* @return {boolean}
|
|
42
|
+
*/
|
|
43
|
+
getIsStrictMode(): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Sets If set to true, any VM configuration that cannot be restored or overridden, will be dropped or reset to the system defaults and the corresponding warnings will be returned. If set to False, the restore operation will run in the normal mode where any failures will be raised as errors and the VM will not be restored until the issues are fixed. Only applicable for AHV VMs.
|
|
46
|
+
* @param {boolean} isStrictMode If set to true, any VM configuration that cannot be restored or overridden, will be dropped or reset to the system defaults and the corresponding warnings will be returned. If set to False, the restore operation will run in the normal mode where any failures will be raised as errors and the VM will not be restored until the issues are fixed. Only applicable for AHV VMs.
|
|
47
|
+
*/
|
|
48
|
+
setIsStrictMode(isStrictMode: boolean): void;
|
|
49
|
+
isStrictMode: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Returns AHV/ESXi specific VM restore override specs.
|
|
52
|
+
* @return {AhvVmOverrideSpec | EsxiVmOverrideSpec}
|
|
53
|
+
*/
|
|
54
|
+
getVmOverrideSpec(): AhvVmOverrideSpec | EsxiVmOverrideSpec;
|
|
55
|
+
/**
|
|
56
|
+
* Sets AHV/ESXi specific VM restore override specs.
|
|
57
|
+
* @param {AhvVmOverrideSpec | EsxiVmOverrideSpec} vmOverrideSpec AHV/ESXi specific VM restore override specs.
|
|
58
|
+
*/
|
|
59
|
+
setVmOverrideSpec(vmOverrideSpec: AhvVmOverrideSpec | EsxiVmOverrideSpec): void;
|
|
60
|
+
vmOverrideSpec: AhvVmOverrideSpec | EsxiVmOverrideSpec;
|
|
39
61
|
get$Reserved(): any;
|
|
40
62
|
get$ObjectType(): string;
|
|
41
63
|
get$UnknownFields(): any;
|
|
@@ -43,10 +65,14 @@ export default class VmRecoveryPointRestoreOverride {
|
|
|
43
65
|
$reserved: any;
|
|
44
66
|
$objectType: string;
|
|
45
67
|
$unknownFields: any;
|
|
68
|
+
vmOverrideSpec?: any;
|
|
69
|
+
isStrictMode?: boolean;
|
|
46
70
|
vmRecoveryPointExtId?: string;
|
|
47
71
|
};
|
|
48
72
|
validate(scope: any, properties: any, ...args: any[]): Promise<any>;
|
|
49
73
|
validateProperty(scope: any, property: any): ValidationError;
|
|
50
74
|
#private;
|
|
51
75
|
}
|
|
76
|
+
import AhvVmOverrideSpec from "./AhvVmOverrideSpec";
|
|
77
|
+
import EsxiVmOverrideSpec from "./EsxiVmOverrideSpec";
|
|
52
78
|
import ValidationError from "../../../validation/ValidationError";
|
|
@@ -4,17 +4,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
+
var _AhvVmOverrideSpec = _interopRequireDefault(require("./AhvVmOverrideSpec"));
|
|
8
|
+
var _EsxiVmOverrideSpec = _interopRequireDefault(require("./EsxiVmOverrideSpec"));
|
|
7
9
|
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
8
10
|
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
9
11
|
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
10
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
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
13
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
13
14
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
14
15
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
15
16
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
16
17
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
17
18
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
19
|
+
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); }
|
|
18
20
|
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
21
|
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
22
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
@@ -24,14 +26,15 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
24
26
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
25
27
|
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
28
|
function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
|
|
27
|
-
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
29
|
+
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
30
|
+
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
28
31
|
* Nutanix Data Protection APIs
|
|
29
32
|
*
|
|
30
|
-
* OpenAPI spec version: 4.
|
|
33
|
+
* OpenAPI spec version: 4.1.1
|
|
31
34
|
*
|
|
32
35
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
33
36
|
*
|
|
34
|
-
* Open API Dev Platform Codegen version:
|
|
37
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
35
38
|
*
|
|
36
39
|
* Do not edit the class manually.
|
|
37
40
|
*
|
|
@@ -39,7 +42,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
39
42
|
/**
|
|
40
43
|
* The VmRecoveryPointRestoreOverride model module.
|
|
41
44
|
* @module Ntnx/VmRecoveryPointRestoreOverride
|
|
42
|
-
* @version 4.
|
|
45
|
+
* @version 4.1.1
|
|
43
46
|
* @class VmRecoveryPointRestoreOverride
|
|
44
47
|
*/
|
|
45
48
|
var _VmRecoveryPointRestoreOverride_brand = /*#__PURE__*/new WeakSet();
|
|
@@ -60,7 +63,7 @@ var VmRecoveryPointRestoreOverride = exports["default"] = /*#__PURE__*/function
|
|
|
60
63
|
this.$objectType = "dataprotection.v4.config.VmRecoveryPointRestoreOverride";
|
|
61
64
|
/** @type {object<string, any>} */
|
|
62
65
|
this.$reserved = {
|
|
63
|
-
'$fv': "v4.
|
|
66
|
+
'$fv': "v4.r1"
|
|
64
67
|
};
|
|
65
68
|
/** @type {object<string, any>} */
|
|
66
69
|
this.$unknownFields = {};
|
|
@@ -94,6 +97,46 @@ var VmRecoveryPointRestoreOverride = exports["default"] = /*#__PURE__*/function
|
|
|
94
97
|
value: function setVmRecoveryPointExtId(vmRecoveryPointExtId) {
|
|
95
98
|
this.vmRecoveryPointExtId = vmRecoveryPointExtId;
|
|
96
99
|
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Returns If set to true, any VM configuration that cannot be restored or overridden, will be dropped or reset to the system defaults and the corresponding warnings will be returned. If set to False, the restore operation will run in the normal mode where any failures will be raised as errors and the VM will not be restored until the issues are fixed. Only applicable for AHV VMs.
|
|
103
|
+
* @return {boolean}
|
|
104
|
+
*/
|
|
105
|
+
}, {
|
|
106
|
+
key: "getIsStrictMode",
|
|
107
|
+
value: function getIsStrictMode() {
|
|
108
|
+
return this.isStrictMode;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Sets If set to true, any VM configuration that cannot be restored or overridden, will be dropped or reset to the system defaults and the corresponding warnings will be returned. If set to False, the restore operation will run in the normal mode where any failures will be raised as errors and the VM will not be restored until the issues are fixed. Only applicable for AHV VMs.
|
|
113
|
+
* @param {boolean} isStrictMode If set to true, any VM configuration that cannot be restored or overridden, will be dropped or reset to the system defaults and the corresponding warnings will be returned. If set to False, the restore operation will run in the normal mode where any failures will be raised as errors and the VM will not be restored until the issues are fixed. Only applicable for AHV VMs.
|
|
114
|
+
*/
|
|
115
|
+
}, {
|
|
116
|
+
key: "setIsStrictMode",
|
|
117
|
+
value: function setIsStrictMode(isStrictMode) {
|
|
118
|
+
this.isStrictMode = isStrictMode;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Returns AHV/ESXi specific VM restore override specs.
|
|
123
|
+
* @return {AhvVmOverrideSpec | EsxiVmOverrideSpec}
|
|
124
|
+
*/
|
|
125
|
+
}, {
|
|
126
|
+
key: "getVmOverrideSpec",
|
|
127
|
+
value: function getVmOverrideSpec() {
|
|
128
|
+
return this.vmOverrideSpec;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Sets AHV/ESXi specific VM restore override specs.
|
|
133
|
+
* @param {AhvVmOverrideSpec | EsxiVmOverrideSpec} vmOverrideSpec AHV/ESXi specific VM restore override specs.
|
|
134
|
+
*/
|
|
135
|
+
}, {
|
|
136
|
+
key: "setVmOverrideSpec",
|
|
137
|
+
value: function setVmOverrideSpec(vmOverrideSpec) {
|
|
138
|
+
this.vmOverrideSpec = vmOverrideSpec;
|
|
139
|
+
}
|
|
97
140
|
}, {
|
|
98
141
|
key: "get$Reserved",
|
|
99
142
|
value: function get$Reserved() {
|
|
@@ -113,16 +156,28 @@ var VmRecoveryPointRestoreOverride = exports["default"] = /*#__PURE__*/function
|
|
|
113
156
|
key: "toJson",
|
|
114
157
|
value: function toJson(forMutation) {
|
|
115
158
|
if (forMutation === false) {
|
|
116
|
-
return _objectSpread(_objectSpread({}, typeof this.getVmRecoveryPointExtId() !== 'undefined' && this.getVmRecoveryPointExtId() !== null ? {
|
|
159
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getVmRecoveryPointExtId() !== 'undefined' && this.getVmRecoveryPointExtId() !== null ? {
|
|
117
160
|
'vmRecoveryPointExtId': this.getVmRecoveryPointExtId()
|
|
161
|
+
} : {}), typeof this.getIsStrictMode() !== 'undefined' && this.getIsStrictMode() !== null ? {
|
|
162
|
+
'isStrictMode': this.getIsStrictMode()
|
|
163
|
+
} : {}), typeof this.getVmOverrideSpec() !== 'undefined' && this.getVmOverrideSpec() !== null ? {
|
|
164
|
+
'vmOverrideSpec': typeof this.getVmOverrideSpec().toJson !== "undefined" ? this.getVmOverrideSpec().toJson(false) : Array.isArray(this.getVmOverrideSpec()) ? this.getVmOverrideSpec().map(function (item) {
|
|
165
|
+
return typeof item.toJson !== "undefined" ? item.toJson(false) : item;
|
|
166
|
+
}) : _assertClassBrand(_VmRecoveryPointRestoreOverride_brand, this, _toJsonMapType).call(this, this.getVmOverrideSpec(), false)
|
|
118
167
|
} : {}), {}, {
|
|
119
168
|
'$reserved': this.get$Reserved(),
|
|
120
169
|
'$objectType': this.get$ObjectType(),
|
|
121
170
|
'$unknownFields': this.get$UnknownFields()
|
|
122
171
|
});
|
|
123
172
|
}
|
|
124
|
-
return _objectSpread(_objectSpread({}, typeof this.getVmRecoveryPointExtId() !== 'undefined' && this.getVmRecoveryPointExtId() !== null ? {
|
|
173
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getVmRecoveryPointExtId() !== 'undefined' && this.getVmRecoveryPointExtId() !== null ? {
|
|
125
174
|
'vmRecoveryPointExtId': this.getVmRecoveryPointExtId()
|
|
175
|
+
} : {}), typeof this.getIsStrictMode() !== 'undefined' && this.getIsStrictMode() !== null ? {
|
|
176
|
+
'isStrictMode': this.getIsStrictMode()
|
|
177
|
+
} : {}), typeof this.getVmOverrideSpec() !== 'undefined' && this.getVmOverrideSpec() !== null ? {
|
|
178
|
+
'vmOverrideSpec': typeof this.getVmOverrideSpec().toJson !== "undefined" ? this.getVmOverrideSpec().toJson() : Array.isArray(this.getVmOverrideSpec()) ? this.getVmOverrideSpec().map(function (item) {
|
|
179
|
+
return typeof item.toJson !== "undefined" ? item.toJson() : item;
|
|
180
|
+
}) : _assertClassBrand(_VmRecoveryPointRestoreOverride_brand, this, _toJsonMapType).call(this, this.getVmOverrideSpec())
|
|
126
181
|
} : {}), {}, {
|
|
127
182
|
'$reserved': this.get$Reserved(),
|
|
128
183
|
'$objectType': this.get$ObjectType(),
|
|
@@ -172,6 +227,16 @@ var VmRecoveryPointRestoreOverride = exports["default"] = /*#__PURE__*/function
|
|
|
172
227
|
return new _ValidationError["default"]("vmRecoveryPointExtId", "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}$/");
|
|
173
228
|
}
|
|
174
229
|
}
|
|
230
|
+
if (property === "isStrictMode") {
|
|
231
|
+
if (typeof this.isStrictMode === 'undefined' || this.isStrictMode === null) {
|
|
232
|
+
return new _ValidationError["default"]("isStrictMode", "undefined or null");
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
if (property === "vmOverrideSpec") {
|
|
236
|
+
if (typeof this.vmOverrideSpec === 'undefined' || this.vmOverrideSpec === null) {
|
|
237
|
+
return new _ValidationError["default"]("vmOverrideSpec", "undefined or null");
|
|
238
|
+
}
|
|
239
|
+
}
|
|
175
240
|
if (property === "$reserved") {
|
|
176
241
|
if (typeof this.$reserved === 'undefined' || this.$reserved === null) {
|
|
177
242
|
return new _ValidationError["default"]("$reserved", "undefined or null");
|
|
@@ -200,6 +265,26 @@ var VmRecoveryPointRestoreOverride = exports["default"] = /*#__PURE__*/function
|
|
|
200
265
|
if (data.hasOwnProperty('vmRecoveryPointExtId') && data.vmRecoveryPointExtId !== null && data.vmRecoveryPointExtId !== undefined) {
|
|
201
266
|
obj.setVmRecoveryPointExtId(data['vmRecoveryPointExtId']);
|
|
202
267
|
}
|
|
268
|
+
if (data.hasOwnProperty('isStrictMode') && data.isStrictMode !== null && data.isStrictMode !== undefined) {
|
|
269
|
+
obj.setIsStrictMode(data['isStrictMode']);
|
|
270
|
+
}
|
|
271
|
+
if (data.hasOwnProperty('vmOverrideSpec') && data.vmOverrideSpec !== null && data.vmOverrideSpec !== undefined) {
|
|
272
|
+
if (data['vmOverrideSpec'].hasOwnProperty('$objectType')) {
|
|
273
|
+
discriminator = data['vmOverrideSpec']['$objectType'];
|
|
274
|
+
} else {
|
|
275
|
+
discriminator = _typeof(data['vmOverrideSpec']);
|
|
276
|
+
}
|
|
277
|
+
switch (discriminator) {
|
|
278
|
+
case 'dataprotection.v4.config.AhvVmOverrideSpec':
|
|
279
|
+
obj.setVmOverrideSpec(_AhvVmOverrideSpec["default"].constructFromObject(data['vmOverrideSpec'], undefined));
|
|
280
|
+
break;
|
|
281
|
+
case 'dataprotection.v4.config.EsxiVmOverrideSpec':
|
|
282
|
+
obj.setVmOverrideSpec(_EsxiVmOverrideSpec["default"].constructFromObject(data['vmOverrideSpec'], undefined));
|
|
283
|
+
break;
|
|
284
|
+
default:
|
|
285
|
+
throw "Unknown datatype " + discriminator + " in data";
|
|
286
|
+
}
|
|
287
|
+
}
|
|
203
288
|
if (data.hasOwnProperty('$reserved')) {
|
|
204
289
|
obj.$reserved = data['$reserved'];
|
|
205
290
|
}
|
|
@@ -271,6 +356,19 @@ function _handleDateType(obj, isDateOnly) {
|
|
|
271
356
|
return obj;
|
|
272
357
|
}
|
|
273
358
|
VmRecoveryPointRestoreOverride.prototype.vmRecoveryPointExtId = undefined;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* If set to true, any VM configuration that cannot be restored or overridden, will be dropped or reset to the system defaults and the corresponding warnings will be returned. If set to False, the restore operation will run in the normal mode where any failures will be raised as errors and the VM will not be restored until the issues are fixed. Only applicable for AHV VMs.
|
|
362
|
+
* @memberof VmRecoveryPointRestoreOverride
|
|
363
|
+
* @default false
|
|
364
|
+
*/
|
|
365
|
+
VmRecoveryPointRestoreOverride.prototype.isStrictMode = false;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* AHV/ESXi specific VM restore override specs.
|
|
369
|
+
* @memberof VmRecoveryPointRestoreOverride
|
|
370
|
+
*/
|
|
371
|
+
VmRecoveryPointRestoreOverride.prototype.vmOverrideSpec = undefined;
|
|
274
372
|
VmRecoveryPointRestoreOverride.prototype.$reserved = undefined;
|
|
275
373
|
VmRecoveryPointRestoreOverride.prototype.$objectType = undefined;
|
|
276
374
|
VmRecoveryPointRestoreOverride.prototype.$unknownFields = undefined;
|
|
@@ -27,11 +27,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
|
|
|
27
27
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
28
28
|
* Nutanix Data Protection APIs
|
|
29
29
|
*
|
|
30
|
-
* OpenAPI spec version: 4.
|
|
30
|
+
* OpenAPI spec version: 4.1.1
|
|
31
31
|
*
|
|
32
32
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
33
33
|
*
|
|
34
|
-
* Open API Dev Platform Codegen version:
|
|
34
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
35
35
|
*
|
|
36
36
|
* Do not edit the class manually.
|
|
37
37
|
*
|
|
@@ -39,7 +39,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
39
39
|
/**
|
|
40
40
|
* The VolumeGroupOverrideSpec model module.
|
|
41
41
|
* @module Ntnx/VolumeGroupOverrideSpec
|
|
42
|
-
* @version 4.
|
|
42
|
+
* @version 4.1.1
|
|
43
43
|
* @class VolumeGroupOverrideSpec
|
|
44
44
|
*/
|
|
45
45
|
var _VolumeGroupOverrideSpec_brand = /*#__PURE__*/new WeakSet();
|
|
@@ -61,7 +61,7 @@ var VolumeGroupOverrideSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
61
61
|
this.$objectType = "dataprotection.v4.config.VolumeGroupOverrideSpec";
|
|
62
62
|
/** @type {object<string, any>} */
|
|
63
63
|
this.$reserved = {
|
|
64
|
-
'$fv': "v4.
|
|
64
|
+
'$fv': "v4.r1"
|
|
65
65
|
};
|
|
66
66
|
/** @type {object<string, any>} */
|
|
67
67
|
this.$unknownFields = {};
|
|
@@ -38,11 +38,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
|
|
|
38
38
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
39
39
|
* Nutanix Data Protection APIs
|
|
40
40
|
*
|
|
41
|
-
* OpenAPI spec version: 4.
|
|
41
|
+
* OpenAPI spec version: 4.1.1
|
|
42
42
|
*
|
|
43
43
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
44
44
|
*
|
|
45
|
-
* Open API Dev Platform Codegen version:
|
|
45
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
46
46
|
*
|
|
47
47
|
* Do not edit the class manually.
|
|
48
48
|
*
|
|
@@ -50,7 +50,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
50
50
|
/**
|
|
51
51
|
* The VolumeGroupRecoveryPoint model module.
|
|
52
52
|
* @module Ntnx/VolumeGroupRecoveryPoint
|
|
53
|
-
* @version 4.
|
|
53
|
+
* @version 4.1.1
|
|
54
54
|
* @class VolumeGroupRecoveryPoint
|
|
55
55
|
* @extends ExternalizableAbstractModel
|
|
56
56
|
*
|
|
@@ -81,7 +81,7 @@ var VolumeGroupRecoveryPoint = exports["default"] = /*#__PURE__*/function (_Exte
|
|
|
81
81
|
_this.$objectType = "dataprotection.v4.config.VolumeGroupRecoveryPoint";
|
|
82
82
|
/** @type {object<string, any>} */
|
|
83
83
|
_this.$reserved = {
|
|
84
|
-
'$fv': "v4.
|
|
84
|
+
'$fv': "v4.r1"
|
|
85
85
|
};
|
|
86
86
|
/** @type {object<string, any>} */
|
|
87
87
|
_this.$unknownFields = {};
|
|
@@ -448,7 +448,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
|
448
448
|
*/
|
|
449
449
|
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
450
450
|
/**
|
|
451
|
-
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this
|
|
451
|
+
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
452
452
|
* @memberof VolumeGroupRecoveryPoint
|
|
453
453
|
*/
|
|
454
454
|
_TenantAwareModel["default"].prototype.tenantId = undefined;
|