Returns details to add a Cloud VPS, Bare Metal Cloud, Bare Metal, or Bare Metal GPU
product (or package) to the cart.
For the Cloud products, regions can have more than one zone and the latest zone
in the region will be used unless otherwise specified in parameters.
Zone is irrelevant to the Bare Metal products.
Field | Type | Notes |
---|
backups | An array of associative arrays containing | |
| name | One of: 'none', 'per_gb' |
|
block_storage | An array of associative arrays containing | |
| name | One of: 'none', 'per_gb' |
|
control_panels | An array of associative arrays containing | |
| included_options | An array of associative arrays containing |
| key | A product option name. | name | A string of text, containing no newlines or other control characters. | values | An array of associative arrays containing |
| description | A string of text, containing no newlines or other control characters. | value | A product option value. |
|
|
type | A string consisting of only letters, digits, hyphens, spaces, and underscores. |
|
cycles | An array of associative arrays containing | |
| cycle | A valid billing cycle (monthly, quarterly, biannually, yearly, or biennially). | | discount_percent | A floating-point value. | * Optional | discount_repetitions | An integer value. | * Optional | months | A positive integer value (i.e. 1 and up). | |
|
ddos | An array of associative arrays containing | |
| name | One of: 'Advanced', 'Standard' |
|
extra_ip | An associative array containing the fields: | |
| max | A non-negative integer value (i.e. 0 and up). | min | A non-negative integer value (i.e. 0 and up). |
|
hardware | An array of associative arrays containing | |
| category | A string. | configs | An array of associative arrays containing |
| cores | A positive integer value (i.e. 1 and up). | * Required if:
- category is set to 'bare-metal'
| cpu_cores | A positive integer value (i.e. 1 and up). | * Required if:
- category is set to 'bare-metal'
| cpu_count | A positive integer value (i.e. 1 and up). | * Required if:
- category is set to 'bare-metal'
| cpu_hyperthreading | A boolean value (0 or 1). | * Required if:
- category is set to 'bare-metal'
| cpu_model | A string. | * Required if:
- category is set to 'bare-metal'
| cpu_speed | A positive integer value (i.e. 1 and up). | * Required if:
- category is set to 'bare-metal'
| description | A string of text, containing no newlines or other control characters. | | disk | A positive integer value (i.e. 1 and up). | * Optional | disk_type | A string permitting tabs, carriage returns and newlines | * Required if:
- category is set to 'bare-metal'
| gpu_count | A positive integer value (i.e. 1 and up). | * Required if:
- category is set to 'bare-metal-gpu'
| gpu_name | A string of text, containing no newlines or other control characters. | * Required if:
- category is set to 'bare-metal-gpu'
| id | A positive integer value (i.e. 1 and up). | | included_options | An array of associative arrays containing | |
| key | A product option name. | name | A string of text, containing no newlines or other control characters. | values | An array of associative arrays containing |
| description | A string of text, containing no newlines or other control characters. | value | A product option value. |
|
|
link_speed | A positive integer value (i.e. 1 and up). | * Optional | memory | A positive integer value (i.e. 1 and up). | * Optional | raid_level | An integer value. | * Required if:
- category is set to 'bare-metal'
| vcpu | A positive integer value (i.e. 1 and up). | * Optional |
|
description | A string of text, containing no newlines or other control characters. |
|
management | An array of One of: 'Core-Managed', 'Fully-Managed', 'Self-Managed' | |
os | An array of associative arrays containing | |
| bit | A non-negative integer value (i.e. 0 and up). | name | A string consisting of only letters, digits, hyphens, spaces, and underscores. | type | One of: 'Linux', 'Windows' | version | A string of text, containing no newlines or other control characters. |
|
package_version_id | A valid id number (a positive integer). | * Optional |
regions | An array of associative arrays containing | |
| backups | An array of associative arrays containing |
| default | A boolean value (0 or 1). | name | One of: 'none', 'per_gb' | per_gb_price | An array of associative arrays containing |
| amount | A monetary value, such as -$.05, 0.05, or -5.00 | unit | One of: 'hour', 'month' |
|
|
block_storage | An array of associative arrays containing |
| default | A boolean value (0 or 1). | name | One of: 'none', 'per_gb' | per_gb_price | An array of associative arrays containing |
| amount | A monetary value, such as -$.05, 0.05, or -5.00 | unit | One of: 'hour', 'month' |
|
|
configs | An array of associative arrays containing |
| bandwidth | A positive integer value (i.e. 1 and up). | default | A boolean value (0 or 1). | display_order | A non-negative integer value (i.e. 0 and up). | id | A positive integer value (i.e. 1 and up). | included_options | An array of associative arrays containing |
| display_order | A non-negative integer value (i.e. 0 and up). | key | A product option name. | name | A string of text, containing no newlines or other control characters. | values | An array of associative arrays containing |
| default | A boolean value (0 or 1). | description | A string of text, containing no newlines or other control characters. | display_order | A non-negative integer value (i.e. 0 and up). | price | An array of associative arrays containing |
| amount | A monetary value, such as -$.05, 0.05, or -5.00 | unit | One of: 'hour', 'month' |
|
value | A product option value. |
|
|
price | An array of associative arrays containing |
| amount | A monetary value, such as -$.05, 0.05, or -5.00 | unit | One of: 'hour', 'month' |
|
|
ddos | An array of associative arrays containing |
| default | A boolean value (0 or 1). | name | One of: 'Advanced', 'Standard' | price | An array of associative arrays containing |
| amount | A monetary value, such as -$.05, 0.05, or -5.00 | unit | One of: 'hour', 'month' |
|
|
extra_ip | An associative array containing the fields: |
| max | A non-negative integer value (i.e. 0 and up). | min | A non-negative integer value (i.e. 0 and up). | per_ip_price | An array of associative arrays containing |
| amount | A monetary value, such as -$.05, 0.05, or -5.00 | unit | One of: 'hour', 'month' |
|
|
id | A positive integer value (i.e. 1 and up). | management | An array of associative arrays containing |
| default | A boolean value (0 or 1). | display_order | A non-negative integer value (i.e. 0 and up). | name | One of: 'Core-Managed', 'Fully-Managed', 'Self-Managed' | os | An array of associative arrays containing |
| bit | A non-negative integer value (i.e. 0 and up). | control_panels | An array of associative arrays containing |
| default | A boolean value (0 or 1). | display_order | A non-negative integer value (i.e. 0 and up). | included_options | An array of associative arrays containing |
| display_order | A non-negative integer value (i.e. 0 and up). | key | A product option name. | name | A string of text, containing no newlines or other control characters. | values | An array of associative arrays containing |
| default | A boolean value (0 or 1). | description | A string of text, containing no newlines or other control characters. | display_order | A non-negative integer value (i.e. 0 and up). | price | An array of associative arrays containing |
| amount | A monetary value, such as -$.05, 0.05, or -5.00 | unit | One of: 'hour', 'month' |
|
value | A product option value. |
|
|
name | A string consisting of only letters, digits, hyphens, spaces, and underscores. | price | An array of associative arrays containing |
| amount | A monetary value, such as -$.05, 0.05, or -5.00 | unit | One of: 'hour', 'month' |
|
template | A product option value. |
|
default | A boolean value (0 or 1). | display_order | A non-negative integer value (i.e. 0 and up). | name | A string consisting of only letters, digits, hyphens, spaces, and underscores. | price | An array of associative arrays containing |
| amount | A monetary value, such as -$.05, 0.05, or -5.00 | unit | One of: 'hour', 'month' |
|
type | One of: 'Linux', 'Windows' | version | A string of text, containing no newlines or other control characters. |
|
price | An array of associative arrays containing |
| amount | A monetary value, such as -$.05, 0.05, or -5.00 | unit | One of: 'hour', 'month' |
|
|
name | One of: 'ams', 'lan', 'phx' | other_options_pricing | An array of associative arrays containing |
| amount | A monetary value, such as -$.05, 0.05, or -5.00 | unit | One of: 'hour', 'month' |
|
zone | A single letter. | zone_id | A positive integer value (i.e. 1 and up). |
|