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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getHref, getName, getType
compareTo
public 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 VDC
public List<Task> getTasks()
public AllocationModel getAllocationModel()
getAllocationModel
in interface VDC
public Capacity getStorageCapacity()
getStorageCapacity
in interface VDC
public Capacity getCpuCapacity()
getCpuCapacity
in interface VDC
public Capacity getMemoryCapacity()
getMemoryCapacity
in interface VDC
public Map<String,ReferenceType> getResourceEntities()
getResourceEntities
in interface VDC
public Map<String,ReferenceType> getAvailableNetworks()
getAvailableNetworks
in interface VDC
public int getNicQuota()
getNicQuota
in interface VDC
public int getNetworkQuota()
getNetworkQuota
in interface VDC
public int getVmQuota()
getVmQuota
in interface VDC
public boolean isEnabled()
public int hashCode()
hashCode
in class ReferenceTypeImpl
public boolean equals(Object obj)
equals
in class ReferenceTypeImpl
public String toString()
toString
in class ReferenceTypeImpl
Copyright © 2009-2012 jclouds. All Rights Reserved.