org.jclouds.vcloud.domain
Interface VDC

All Superinterfaces:
Comparable<ReferenceType>, ReferenceType
All Known Implementing Classes:
VDCImpl

public interface VDC
extends ReferenceType

A vDC is a deployment environment for vApps. A Vdc element provides a user view of a vDC.

Author:
Adrian Cole

Method Summary
 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.
 boolean isEnabled()
          true if this vDC is enabled
 
Methods inherited from interface org.jclouds.vcloud.domain.ReferenceType
getHref, getName, getType
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getOrg

ReferenceType getOrg()
Reference to the org containing this vDC.

Returns:
org, or null if this is a version before 1.0 where the org isn't present
Since:
vcloud api 1.0

getStatus

VDCStatus getStatus()
The creation status of the vDC

Since:
vcloud api 1.0

getDescription

@Nullable
String getDescription()
optional description

Since:
vcloud api 0.8

getTasks

List<Task> getTasks()
read‐only container for Task elements. Each element in the container represents a queued, running, or failed task owned by this object.

Since:
vcloud api 1.0

getAllocationModel

AllocationModel getAllocationModel()
defines how resources are allocated by the vDC. The value of this element is set by the administrator who created the vDC. It is read‐only to users.

Since:
vcloud api 1.0

getStorageCapacity

@Nullable
Capacity getStorageCapacity()
defines the storage capacity available in the vDC

Returns:
null if the provider doesn't support storage capacity
Since:
vcloud api 0.8

getCpuCapacity

@Nullable
Capacity getCpuCapacity()
reports CPU resource consumption in a vDC

Returns:
null if the provider doesn't support cpu capacity
Since:
vcloud api 0.8

getMemoryCapacity

@Nullable
Capacity getMemoryCapacity()
reports memory resource consumption in a vDC

Returns:
null if the provider doesn't support memory capacity
Since:
vcloud api 0.8

getResourceEntities

Map<String,ReferenceType> getResourceEntities()
container for ResourceEntity elements

Since:
vcloud api 0.8

getAvailableNetworks

Map<String,ReferenceType> getAvailableNetworks()
container for OrgNetwork elements that represent organization networks contained by the vDC

Since:
vcloud api 0.8

getNicQuota

int getNicQuota()
maximum number of virtual NICs allowed in this vDC. Defaults to 0, which specifies an unlimited number.

Since:
vcloud api 1.0

getNetworkQuota

int getNetworkQuota()
maximum number of OrgNetwork objects that can be deployed in this vDC. Defaults to 0, which specifies an unlimited number.

Since:
vcloud api 1.0

getVmQuota

int getVmQuota()
maximum number of virtual machines that can be deployed in this vDC. Defaults to 0, which specifies an unlimited number.

Since:
vcloud api 0.8

isEnabled

boolean isEnabled()
true if this vDC is enabled

Since:
vcloud api 1.0


Copyright © 2009-2012 jclouds. All Rights Reserved.