VMBillingRecord Data Type

A VM billing record.

Namespace
(Default)
Properties
name data type type namespace min/max occurs description
AttributeBillingRecords list of AttributeBillingRecord element 0/unbounded Gets the attribute billing records.
CPUCount int element 1/1 Gets the CPU count.
CostAllocationBillingRecords list of CostAllocationBillingRecord element 0/unbounded Gets the cost allocation billing records.
StorageBillingRecords list of StorageBillingRecord element 0/unbounded Gets the storage billing records.
calcUptimeCpu string element 0/1 Do we use uptime value in CPU cost calculation.
calcUptimeInstance string element 0/1 Do we use uptime value in Instance cost calculation.
calcUptimeMemory string element 0/1 Do we use uptime value in Memory cost calculation.
calcUptimeOS string element 0/1 Do we use uptime value in OS cost calculation.
calcUptimeStorage string element 0/1 Do we use uptime value in Storage cost calculation.
calcUptimeSupport string element 0/1 Do we use uptime value in Support cost calculation.
cpuCost double element 0/1 Gets the cpu cost.
cpuReservation long element 1/1 Gets the cpu reservation.
guestOS string element 0/1 Gets the guest os.
memReservationInMB long element 1/1 Gets the mem reservation in mb.
memoryCost double element 0/1 Gets the memory cost.
memoryInMB int element 1/1 Gets the memory in mb.
osCost double element 0/1 Gets the os cost.
osSupportCost double element 0/1 Gets the os support cost.
timestamp string element 0/1 Gets the timestamp.
uptime long element 1/1 The time in min that the vm was running over the billing time period.
vmName string element 0/1 Gets the vm name.
vmObjectHandleId long element 1/1 Gets the vm object handle id.
Properties inherited from ManagedObjectReference
displayName string element 0/1 Gets the display name.
id long element 1/1 The unique id of the managed object this refers to.
type ManagedObjectType element 0/1 The type of managed object this refers to.
Properties inherited from supportTemplating
xsitype string attribute 0/1  

Example

<VMBillingRecord>
  <CPUCount>...</CPUCount>
  <cpuReservation>...</cpuReservation>
  <memoryInMB>...</memoryInMB>
  <memReservationInMB>...</memReservationInMB>
  <guestOS>...</guestOS>
  <cpuCost>...</cpuCost>
  <memoryCost>...</memoryCost>
  <osCost>...</osCost>
  <osSupportCost>...</osSupportCost>
  <timestamp>...</timestamp>
  <vmObjectHandleId>...</vmObjectHandleId>
  <vmName>...</vmName>
  <StorageBillingRecords>
    <storageTier>...</storageTier>
    <actualStorageSizeInBytes>...</actualStorageSizeInBytes>
    <provisionedStorageSizeInBytes>...</provisionedStorageSizeInBytes>
    <costPerDay>...</costPerDay>
  </StorageBillingRecords>
  <AttributeBillingRecords>
    <attributeId>...</attributeId>
    <attributeName>...</attributeName>
    <costPerDay>...</costPerDay>
    <calcUptime>...</calcUptime>
  </AttributeBillingRecords>
  <CostAllocationBillingRecords>
    <billingName>...</billingName>
    <organizationId>...</organizationId>
    <organizationName>...</organizationName>
    <percent>...</percent>
  </CostAllocationBillingRecords>
  <uptime>...</uptime>
  <calcUptimeCpu>...</calcUptimeCpu>
  <calcUptimeMemory>...</calcUptimeMemory>
  <calcUptimeInstance>...</calcUptimeInstance>
  <calcUptimeStorage>...</calcUptimeStorage>
  <calcUptimeOS>...</calcUptimeOS>
  <calcUptimeSupport>...</calcUptimeSupport>
  <displayName>...</displayName>
  <type>...</type>
  <id>...</id>
</VMBillingRecord>