Schema for the Base Rate Resource

The schema for the Base Rate resource contains the following elements:

Click this link to view the XSD file.

BaseRatesType

Name Type Description

BaseRate

BaseRateType

Represents a base rate in vCenter Chargeback Manager.

BaseRateType

Name

Type

Description

ComputingResource

ComputingResourceType

Name of the computing resource for which the base rate is being set.

Value

xs:double

Value of the base rate.

Duration

ResourceType

Duration for which the base rate is being charged.

StartTime

xs:long

The start time (in milliseconds; from January 1, 1970 GMT 00:00) of the duration for which the base rate is being charged.

EndTime

xs:long

The end time (in milliseconds; from January 1, 1970 GMT 00:00) of the duration for which the base rate is being charged. If this is not specified, the API sets the base rate without any end time. If specified, it must be specified as later than the start time.

Slabs

SlabsType

Represents slabs of the base rate.

SlabsType

Name

Type

Description

Slab

 

Represents one slab of the base rate.

Start

xs:long

Start allocation percentage of the slab slice.

End

xs:long

End allocation percentage of the slab slice.  If this value is not specified, the Slab rate is applicable from slab start allocation percentage to the total consumption.

Value

xs:double

The base rate value set for the computing resource for this slab. Base rate value must not be less than 0 (zero).  For example, if Resource Consumption = 200 Units, Resource Allocation = 100 Units, Value=3.1, Start=10, End=50, Slab/Value=2.1, then for the first (100*10% = 10) units, base rate = 3.1; for (100*50%-100*10% = 40) units, base rate = 2.1; and for (200 – 100*50% = 150) units, base rate = 3.1.