Skip to main content

voip_line_options_hardwares

Creates, updates, deletes, gets or lists a voip_line_options_hardwares resource.

Overview​

Namevoip_line_options_hardwares
TypeResource
Idovh.pack_xdsl.voip_line_options_hardwares

Fields​

The following fields are returned by SELECT queries:

Hardware for VoIP line

NameDatatypeDescription
namestring
depositobjectPrice with it's currency and textual representation
feesobjectPrice with it's currency and textual representation
imagestring
labelstring
maxinteger
need_shippingboolean (wire: needShipping)
urlstring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectpack_nameList 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.

NameDatatypeDescription
api_hoststringThe 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_namestringThe internal name of your pack (wire: packName)

SELECT examples​

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
;