public class VDCImpl extends ReferenceTypeImpl implements VDC
| Constructor and Description |
|---|
VDCImpl(String name,
String type,
URI id,
VDCStatus status,
ReferenceType org,
String description,
Iterable<Task> tasks,
AllocationModel allocationModel,
Capacity storageCapacity,
Capacity cpuCapacity,
Capacity memoryCapacity,
Map<String,ReferenceType> resourceEntities,
Map<String,ReferenceType> availableNetworks,
int nicQuota,
int networkQuota,
int vmQuota,
boolean isEnabled) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AllocationModel |
getAllocationModel()
defines how resources are allocated by the vDC.
|
Map<String,ReferenceType> |
getAvailableNetworks()
container for OrgNetwork elements that represent organization networks contained by the vDC
|
Capacity |
getCpuCapacity()
reports CPU resource consumption in a vDC
|
String |
getDescription()
optional description
|
Capacity |
getMemoryCapacity()
reports memory resource consumption in a vDC
|
int |
getNetworkQuota()
maximum number of OrgNetwork objects that can be deployed in this vDC.
|
int |
getNicQuota()
maximum number of virtual NICs allowed in this vDC.
|
ReferenceType |
getOrg()
Reference to the org containing this vDC.
|
Map<String,ReferenceType> |
getResourceEntities()
container for ResourceEntity elements
|
VDCStatus |
getStatus()
The creation status of the vDC
|
Capacity |
getStorageCapacity()
defines the storage capacity available in the vDC
|
List<Task> |
getTasks()
read‐only container for Task elements.
|
int |
getVmQuota()
maximum number of virtual machines that can be deployed in this vDC.
|
int |
hashCode() |
boolean |
isEnabled()
true if this vDC is enabled
|
String |
toString() |
compareTo, getHref, getName, getType, stringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetHref, getName, getTypecompareTopublic VDCImpl(String name, String type, URI id, VDCStatus status, ReferenceType org, @Nullable String description, Iterable<Task> tasks, AllocationModel allocationModel, @Nullable Capacity storageCapacity, @Nullable Capacity cpuCapacity, @Nullable Capacity memoryCapacity, Map<String,ReferenceType> resourceEntities, Map<String,ReferenceType> availableNetworks, int nicQuota, int networkQuota, int vmQuota, boolean isEnabled)
public VDCStatus getStatus()
public ReferenceType getOrg()
public String getDescription()
getDescription in interface VDCpublic List<Task> getTasks()
public AllocationModel getAllocationModel()
getAllocationModel in interface VDCpublic Capacity getStorageCapacity()
getStorageCapacity in interface VDCpublic Capacity getCpuCapacity()
getCpuCapacity in interface VDCpublic Capacity getMemoryCapacity()
getMemoryCapacity in interface VDCpublic Map<String,ReferenceType> getResourceEntities()
getResourceEntities in interface VDCpublic Map<String,ReferenceType> getAvailableNetworks()
getAvailableNetworks in interface VDCpublic int getNicQuota()
getNicQuota in interface VDCpublic int getNetworkQuota()
getNetworkQuota in interface VDCpublic int getVmQuota()
getVmQuota in interface VDCpublic boolean isEnabled()
public int hashCode()
hashCode in class ReferenceTypeImplpublic boolean equals(Object obj)
equals in class ReferenceTypeImplpublic String toString()
toString in class ReferenceTypeImplCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.