Get the List of Rate Cards for VPC Server Type

To get a list of rate cards, use the following request:

1
2
GET /billing/buckets/:bucket_id/rate_cards.xml
GET /billing/buckets/:bucket_id/rate_cards.json

XML Request Example

1
curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://onapp.test/billing/buckets/24/rate_cards.xml

JSON Request Example

1
curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://onapp.test/billing/buckets/24/rate_cards.json

XML Output Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
<rate_cards type="array">
  <rate_card>
    <bucket_id type="integer">24</bucket_id>
    <legacy_resource_id nil="true"/>
    <server_type>vpc</server_type>
    <type>compute_resource_storing_resource</type>
    <timing_strategy>hourly</timing_strategy>
    <prices>
      <limit_free type="decimal">1.0</limit_free>
      <price type="decimal">11.0</price>
    </prices>
  </rate_card>
  <rate_card>...</rate_card>
</rate_cards>

Where:

bucket_id - the ID of the bucket with which this rate card is associated

legacy_resource_id - the resource ID from the bucket present before Virtuozzo OnApp 5.6

server_type - the server type this rate card is applicable to. Can be virtual, smart, baremetal or vpc.

timing_strategy - the type of billing for each resource: hourly or monthly (on peak usage).

target_id - the ID of the resource for which the prices are set.

target_name - the name of the resource that is added to the bucket. For example, this can be the label of a template group or a compute zone, etc.

target_type - the type of the resource for which configuration is set. The value can be one of the following:

  • compute_zone

  • data_store_zone

  • network_zone

  • backup_server_zone

  • instance_package

  • template_group

  • edge_group

  • recipe_group

  • service_addon_group

  • service_addon_target

  • service_addon

  • template

type - the type of resource. Depending on the type of resource, you will have the following price parameters:

VPC Server

TypeParameterDescription

compute_zone_resource

limit_free_allocation_cpu_allocation

the amount of CPU that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket(GHz/ limit_type)

limit_free_allocation_memory_allocation

the amount of memory that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket (GB/limit_type)

limit_free_allocation_cpu_used

the amount of used CPU that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket(GHz/ limit_type)

limit_free_allocation_memory_used

the amount of free used memory users get for free under this bucket per hour or per month depending on the selected pricing type (GB/limit_type)

limit_free_allocation_cpu_resources_guaranteed

the amount of CPU Resources that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket (%/limit_type)

limit_free_alocation_memory_resources_guaranteed

the memory resources that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket (%/limit_type)

limit_free_allocation_vcpu_speed

the amount of vCPU speed that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket (MHz/limit_type)

limit_free_reservation_cpu_allocation

the amount of CPU that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket (GHz/limit_type)

limit_free_reservation_memory_allocation

the amount of memory that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket(GB/limit_type)

limit_free_pay_as_you_go_cpu_limit

the amount of CPU quota that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket(GHz/limit_type)

limit_free_pay_as_you_go_memory_limit

the amount of memory quota that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket (GB/ limit_type)

limit_free_pay_as_you_go_cpu_used

the amount of used CPU that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket (GHz/limit_type)

limit_free_pay_as_you_go_memory_used

the amount of used memory that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket (in GB/ limit_type)

limit_free_allocation_vcpu

the amount of vCPU resources that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket (cores/limit_type)

limit_free_reservation_vcpu

the amount of vCPU resources that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket (cores/limit_type)

limit_free_pay_as_you_go_vcpu

the amount of vCPU resources that users get for free per hour or per month (depending on selected pricing type) in this compute zone under this bucket (cores/limit_type)
limit_free_vs_cpu

the amount of GHz per hour users can request for free per hour or per month (depending on selected pricing type) for their VSs built in this compute zone under this bucket (GHz/hour)

limit_free_vs_memory

the amount of RAM users can request for free per hour or per month (depending on selected pricing type) for the total number of their VSs built in this compute zone under this bucket (GB/hour)

price_allocation_cpu_allocation

the price per GHz per hour or per month (depending on selected pricing type) for CPU in this compute zone under this bucket (GHz/limit_type)

price_allocation_memory_allocation

the price per GB per hour or per month (depending on selected pricing type) for memory in this compute zone under this bucket (GB/limit_type)

price_allocation_cpu_resources_guaranteed

the price per % per hour or per month (depending on selected pricing type) for CPU resources in this compute zone under this bucket (%/limit_type)

price_allocation_memory_resources_guaranteed

the price per % per hour or per month (depending on selected pricing type) for memory resources in this compute zone under this bucket (%/limit_type)

price_allocation_cpu_used

the price per GHz per hour or per month (depending on selected pricing type) for used CPU in this compute zone under this bucket (GHz/limit_type)

price_allocation_memory_used

the price per GB per hour or per month (depending on selected pricing type) for used memory in this compute zone under this bucket (GB/limit_type)

price_allocation_vcpu_speed

the price per MHz per hour or per month (depending on selected pricing type) for vCPU speed in this compute zone under this bucket (MHz/limit_type)

price_allocation_vcpu

the price per core per hour or per month (depending on selected pricing type) for CPU in this compute zone under this bucket (core/limit_type)

price_reservation_vcpu

the price per core per hour or per month (depending on selected pricing type) for CPU in this compute zone under this bucket (core/limit_type)

price_pay_as_you_go_vcpu

the price per core per hour or per month (depending on selected pricing type) for CPU in this compute zone under this bucket (core/limit_type)

price_reservation_cpu_allocation

the price per GHz per hour or per month (depending on selected pricing type) for CPU in this compute zone under this bucket (GHz/limit_type)

price_reservation_memory_allocation

the price per GB per hour or per month (depending on selected pricing type) for memory in this compute zone under this bucket (GB/limit_type)

price_pay_as_you_go_cpu_limit

the regular price is per GHz per hour or per monthly peak (depending on selected pricing type) for CPU quota (Ghz/hour)

price_pay_as_you_go_memory_limit

the regular price is per GB per hour or per monthly peak (depending on selected pricing type) for Memory quota (Ghz/hour)

price_pay_as_you_go_cpu_limit_unlimited

the unlimited price is set for the unlimited amount of CPU quota per hour (GHz/hour)

price_pay_as_you_go_memory_limit_unlimited

the unlimited price is set for the unlimited amount of Memory quota per hour (GB/hour)

price_pay_as_you_go_cpu_used

the price per GHz per hour or per month (depending on selected pricing type) for used CPU in this compute zone under this bucket (GHz/limit_type)

price_pay_as_you_go_memory_used

the price per GB per hour or per month (depending on selected pricing type) for used memory in this compute zone under this bucket (GB/limit_type)

price_on_vs_cpu

the price per GHz per hour or per month (depending on the selected pricing type), charged for powered on VSs which are built in this compute zone under this bucket (GHz/limit_type)

price_off_vs_cpu

the price per GHz per hour or per month (depending on the selected pricing type), charged for powered off VSs which are built in this compute zone under this bucket (GHz/limit_type)

price_on_vs_memory

the price for RAM GB per hour or per month (depending on the selected pricing type), charged for powered on VSs which are built in this compute zone under this bucket (GB/limit_type)

price_off_vs_memory

the price for RAM GB per hour or per month (depending on the selected pricing type), charged for powered off VSs which are built in this compute zone under this bucket (GB_limit_type)

data_store_zone_resource

limit_free_disk_size

the amount of disk size that users get for free per hour or per month, depending on the selected pricing type, in this data store (GB/limit_type)

limit_free_disk_size_used

the amount of used disk size that users get for free per hour or per month, depending on the selected pricing type, in this data store zone (GB/limit_type)

limit_free_vs_disk_size

the amount of disk size that users get for free per hour or per month, depending on the selected pricing type, for their virtual servers created in this data store zone (GB/limit_type)

price_disk_size

the price is per GB per hour or per month (depending on selected pricing type) for the disk size users can request in this data store zone (GB/limit_type)

price_disk_size_used

the price per GB per hour or per month (depending on selected pricing type) for used disk size in this data store zone (GB/limit_type)

price_disk_size_unlimited

the price per unlimited disk size per hour or per month, depending on the selected pricing type (GB/limit_type)

price_vs_disk_size_on

the price per GB per hour or per month (depending on selected pricing type) for disk size of an individual VS created in this data store zone that is powered on (GB/limit_type)

price_vs_disk_size_off

the price is per GB per hour or per month (depending on selected pricing type) for disk size of an individual VS created in this data store zone that is powered off (Gb_limit_type)

network_zone_resource

limit_free_ip

the number of IP addresses that users get for free in this network zone per hour or per month (depending on the selected pricing type) (IP/limit_type)

limit_free_data_sent

the amount of sent data that users get for free per hour or per month (depending on selected pricing type) in this network zone (GB/limit_type)

limit_free_data_received

the amount of received data (that users get for free per hour or per month (depending on selected pricing type) in this network zone (GB/limit_type)

limit_free_vs_ip

the number of IP addresses that users get for free per hour or per month (depending on the selected pricing type) for their VSs created in this network zone (IP/limit_type)

limit_free_vs_data_sent

the amount of sent data that users get for free per hour or per month (depending on selected pricing type) for datasentforuserVSs built in this network zone (GB/limit_type)

limit_free_vs_data_received

the amount of sent data that users get for free per hour or per month (depending on selected pricing type) for data received for user VSs built in this network zone (GB/limit_type)

price_ip

the price per IP address per hour or per month (depending on the selected pricing type) which users can request in this network zone (IP/limit_type)

price_data_sent

the price over free units per GB per hour or per month (depending on selected pricing type) for sent data in this network zone (GB/limit_type)

price_data_received

the price over free units per GB per hour or per month (depending on selected pricing type) for received data in this network zone (GB/limit_type)

price_vs_ip_on

the price per IP address per hour or per month (depending on the selected pricing type) for users' VSs created in this network zone that are powered on (IP/limit_type)

price_vs_ip_off

the price per IP address per hour or per month (depending on the selected pricing type) for user's VSs created in this network zone that are powered off (IP/limit_type)

price_vs_data_sent

the price over free units per GB per hour or per month (depending on selected pricing type) for data sent by for the user VSs built in this network zone (GB/limit_type)

price_vs_data_received

the price over free units per GB per hour or per month (depending on selected pricing type) for data received for user VSs built in this network zone (GB/limit_type)

Page History

v.6.3 Edge 1

  • Added the following parameters:
    • limit_free_allocation_vcpu
    • limit_free_reservation_vcpu
    • limit_free_pay_as_you_go_vcpu
    • price_allocation_vcpu
    • price_reservation_vcpu
    • price_pay_as_you_go_vcpu