Skip to main content

receivers_csvs

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

Overview​

Namereceivers_csvs
TypeResource
Idovh.sms.receivers_csvs

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
valuestring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_name, slot_idGet the receiver list CSV. Returns the content of the receiver list in CSV format. The number of records is given when getting the receiver list.

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"}})
service_namestringThe internal name of your SMS offer (wire: serviceName)
slot_idintegerSlot number id (wire: slotId)

SELECT examples​

Get the receiver list CSV. Returns the content of the receiver list in CSV format. The number of records is given when getting the receiver list.

SELECT
value
FROM ovh.sms.receivers_csvs
WHERE service_name = '{{ service_name }}' -- required
AND slot_id = '{{ slot_id }}' -- required
;