Skip to main content

ovh_pabx_sounds

Creates, updates, deletes, gets or lists an ovh_pabx_sounds resource.

Overview​

Nameovh_pabx_sounds
TypeResource
Idovh.telephony.ovh_pabx_sounds

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
namestringThe sound filename
sound_idinteger (wire: soundId)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectbilling_account, service_name, sound_idGet a sound
listselectbilling_account, service_namex_pagination_modeList sounds
deletedeletebilling_account, service_name, sound_idDelete a sound

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"}})
billing_accountstringThe name of your billingAccount (wire: billingAccount)
service_namestring (wire: serviceName)
sound_idinteger (wire: soundId)
x_pagination_modestringSent as CachedObjectList-Pages by default so the list returns the full objects rather than their identifiers. (wire: X-Pagination-Mode)

SELECT examples​

Get a sound

SELECT
name,
sound_id
FROM ovh.telephony.ovh_pabx_sounds
WHERE billing_account = '{{ billing_account }}' -- required
AND service_name = '{{ service_name }}' -- required
AND sound_id = '{{ sound_id }}' -- required
;

DELETE examples​

Delete a sound

DELETE FROM ovh.telephony.ovh_pabx_sounds
WHERE billing_account = '{{ billing_account }}' --required
AND service_name = '{{ service_name }}' --required
AND sound_id = '{{ sound_id }}' --required
;