VMware Cloud Director API - ComputeResourceType

VMware Cloud Director API - ComputeResourceType

ComputeResourceType

Type:
ComputeResourceType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Stores the configured value, reservation, shares and limit for compute resources such CPU and Memory for a virtualized workload.
Since:
32.0
Schema:
vApp.xsd
Media type(s):
None
Extends:
VCloudExtensibleType
XML Representation:
<ComputeResourceType xmlns="http://www.vmware.com/vcloud/v1.5">
    <Configured> xs:long </Configured>
    <Reservation> xs:long </Reservation>
    <Limit> xs:long </Limit>
    <SharesLevel> ResourceSharesLevelType </SharesLevel>
    <Shares> xs:int </Shares>
</ComputeResourceType>

Elements

Element Type Required Modifiable Since Deprecated Description
Configured long Yes always 32.0 The amount of resource configured on the virtual machine.
Limit long No always 32.0 The limit for how much of this resource can be consumed on the underlying virtualization infrastructure. This is only valid when the resource allocation is not unlimited.
Reservation long No always 32.0 The amount of reservation of this resource on the underlying virtualization infrastructure.
Shares int No always 32.0 Custom priority for the resource. This is a read-only, unless the share level is CUSTOM.
SharesLevel ResourceSharesLevelType No always 32.0 Pre-determined relative priorities according to which the non-reserved portion of this resource is made available to the virtualized workload.
VCloudExtension VCloudExtensionType No always 32.0 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.