Class VdcResponse
java.lang.Object
com.iland.core.web.rest.response.common.EntityResponse
com.iland.core.web.rest.response.vdc.VdcResponse
- All Implemented Interfaces:
Serializable
Virtual Data Center Response.
- Author:
- Brett Snyder
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVdcResponse(String uuid, String companyId, String name, boolean deleted, Instant deletedDate, Instant updatedDate, boolean enabled, String vCenterMoRef, String vCenterName, String description, String vCloudHref, String vCenterInstanceUUID, String vCenterHref, String allocationModel, Long reservedCpu, Long reservedMem, Long diskLimit, long contractedAdvancedDiskLimit, long contractedSsdDiskLimit, long contractedArchiveDiskLimit, Long allocationCpu, Long allocationMemory, String maxHardwareVersion, Integer networkQuota, Integer usedNetworkCount, String locationId, String orgUuid, boolean hasAdvancedBackups, boolean hasIntegratedBackups, boolean hasOffsiteReplication, boolean nsxTBacked) -
Method Summary
Modifier and TypeMethodDescriptionGet the allocation quantity for cpu in MHZ.Get the allocation quantity for memory.Gets allocation model.longGet the contracted disk limit for advanced storage in MB.longGet the contracted disk limit for archive storage in MB.longGet the contracted disk limit for SSD storage in MB.Gets description.Gets disk limit.Gets location id.Get the highest supported virtual hardware version for this vdc.Gets the network quota for the vDC.Gets org uuid.Return the reserved cpu quanity in MHZ.Gets reserved mem.Gets reserved memory.Gets the used network count for the vDC.Gets center href.Gets vcenter href.Gets center instance uuid.Gets vcenter instance uuid.Gets center mo ref.Gets center name.Gets cloud href.booleanIs enabled boolean.booleanWhether the vDC has the advanced backups offering.booleanIndicates whether the vDC has IaaS backups (either integrated or advanced).booleanWhether the vDC has the integrated backups offering.booleanWhether the vDC has the offsite replication offering.booleanWhether the vDC is backed by NSX-T networking infrastructure.Methods inherited from class com.iland.core.web.rest.response.common.EntityResponse
equals, getCompanyId, getDeletedDate, getName, getUpdatedDate, getUuid, hashCode, isDeleted, toString
-
Field Details
-
VCENTER_MOREF
- See Also:
-
VCENTER_NAME
- See Also:
-
ALLOC_CPU
- See Also:
-
ALLOC_MEM
- See Also:
-
VCLOUD_HREF
- See Also:
-
VCENTER_INSTANCE_UUID
- See Also:
-
VCENTER_HREF
- See Also:
-
description
-
vCloudHref
The V cloud href.
-
-
Constructor Details
-
VdcResponse
public VdcResponse(String uuid, String companyId, String name, boolean deleted, Instant deletedDate, Instant updatedDate, boolean enabled, String vCenterMoRef, String vCenterName, String description, String vCloudHref, String vCenterInstanceUUID, String vCenterHref, String allocationModel, Long reservedCpu, Long reservedMem, Long diskLimit, long contractedAdvancedDiskLimit, long contractedSsdDiskLimit, long contractedArchiveDiskLimit, Long allocationCpu, Long allocationMemory, String maxHardwareVersion, Integer networkQuota, Integer usedNetworkCount, String locationId, String orgUuid, boolean hasAdvancedBackups, boolean hasIntegratedBackups, boolean hasOffsiteReplication, boolean nsxTBacked)
-
-
Method Details
-
isEnabled
public boolean isEnabled()Is enabled boolean.- Returns:
- the boolean
-
getVcenterHref
Gets vcenter href.- Returns:
- the vcenter href
-
getVcenterInstanceUuid
Gets vcenter instance uuid.- Returns:
- the vcenter instance uuid
-
getAllocationModel
Gets allocation model.- Returns:
- the allocation model
-
getReservedCpu
Return the reserved cpu quanity in MHZ.- Returns:
Longreserved cpu
-
getReservedMemory
Gets reserved memory.- Returns:
- the reserved memory
-
getDiskLimit
Gets disk limit.- Returns:
- the disk limit
-
getAllocationCpu
Get the allocation quantity for cpu in MHZ.Should be null for Vdc types other than Allocation Model.
- Returns:
Longallocation cpu
-
getAllocationMemory
Get the allocation quantity for memory.Should be null for Vdc types other than Allocation Model.
- Returns:
Longallocation memory
-
getMaxHardwareVersion
Get the highest supported virtual hardware version for this vdc.- Returns:
Stringhighest supported virtual hardware version
-
getNetworkQuota
Gets the network quota for the vDC.- Returns:
- integer network quota
-
getUsedNetworkCount
Gets the used network count for the vDC.- Returns:
- integer used network count
-
getLocationId
Gets location id.- Returns:
- the location id
-
getOrgUuid
Gets org uuid.- Returns:
- the org uuid
-
getReservedMem
Gets reserved mem.- Returns:
- the reserved mem
-
getvCenterHref
Gets center href.- Returns:
- the center href
-
getvCenterInstanceUUID
Gets center instance uuid.- Returns:
- the center instance uuid
-
getvCenterMoRef
Gets center mo ref.- Returns:
- the center mo ref
-
getvCenterName
Gets center name.- Returns:
- the center name
-
getDescription
Gets description.- Returns:
- the description
-
getvCloudHref
Gets cloud href.- Returns:
- the cloud href
-
getContractedAdvancedDiskLimit
public long getContractedAdvancedDiskLimit()Get the contracted disk limit for advanced storage in MB.- Returns:
- contracted disk limit in MB
-
getContractedSsdDiskLimit
public long getContractedSsdDiskLimit()Get the contracted disk limit for SSD storage in MB.- Returns:
- contracted disk limit in MB
-
getContractedArchiveDiskLimit
public long getContractedArchiveDiskLimit()Get the contracted disk limit for archive storage in MB.- Returns:
- contracted disk limit in MB
-
isHasIaasBackups
public boolean isHasIaasBackups()Indicates whether the vDC has IaaS backups (either integrated or advanced).- Returns:
- boolean value
-
isHasAdvancedBackups
public boolean isHasAdvancedBackups()Whether the vDC has the advanced backups offering.- Returns:
- boolean value.
-
isHasIntegratedBackups
public boolean isHasIntegratedBackups()Whether the vDC has the integrated backups offering.- Returns:
- boolean value.
-
isHasOffsiteReplication
public boolean isHasOffsiteReplication()Whether the vDC has the offsite replication offering.- Returns:
- boolean value.
-
isNsxTBacked
public boolean isNsxTBacked()Whether the vDC is backed by NSX-T networking infrastructure.- Returns:
- boolean value
-