voip_line_options_hardwares
Creates, updates, deletes, gets or lists a voip_line_options_hardwares resource.
Overview​
| Name | voip_line_options_hardwares |
| Type | Resource |
| Id | ovh.pack_xdsl.voip_line_options_hardwares |
Fields​
The following fields are returned by SELECT queries:
- list
Hardware for VoIP line
| Name | Datatype | Description |
|---|---|---|
name | string | |
deposit | object | Price with it's currency and textual representation |
fees | object | Price with it's currency and textual representation |
image | string | |
label | string | |
max | integer | |
need_shipping | boolean | (wire: needShipping) |
url | string |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | pack_name | List the hardware for a VoIP line order. Returns the phones available with a VoIP line of the xDSL pack, with their deposit, fees and shipping need. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
pack_name | string | The internal name of your pack (wire: packName) |
SELECT examples​
- list
List the hardware for a VoIP line order. Returns the phones available with a VoIP line of the xDSL pack, with their deposit, fees and shipping need.
SELECT
name,
deposit,
fees,
image,
label,
max,
need_shipping,
url
FROM ovh.pack_xdsl.voip_line_options_hardwares
WHERE pack_name = '{{ pack_name }}' -- required
;