vxml_settings
Creates, updates, deletes, gets or lists a vxml_settings resource.
Overview​
| Name | vxml_settings |
| Type | Resource |
| Id | ovh.telephony.vxml_settings |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
url | string | |
url_record | string | (wire: urlRecord) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | billing_account, service_name | Get the VXML settings | |
update | update | billing_account, service_name | Update the VXML settings | |
logs | exec | billingAccount, serviceName | Generate a logs URL |
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"}}) |
billingAccount | string | The name of your billingAccount |
billing_account | string | The name of your billingAccount (wire: billingAccount) |
serviceName | string | |
service_name | string | (wire: serviceName) |
SELECT examples​
- get
Get the VXML settings
SELECT
url,
url_record
FROM ovh.telephony.vxml_settings
WHERE billing_account = '{{ billing_account }}' -- required
AND service_name = '{{ service_name }}' -- required
;
UPDATE examples​
- update
Update the VXML settings
UPDATE ovh.telephony.vxml_settings
SET
url = '{{ url }}',
url_record = '{{ url_record }}'
WHERE
billing_account = '{{ billing_account }}' --required
AND service_name = '{{ service_name }}' --required;
Lifecycle Methods​
EXEC variables use wire (API) names.
- logs
Generate a logs URL
EXEC ovh.telephony.vxml_settings.logs
@billingAccount='{{ billingAccount }}' --required,
@serviceName='{{ serviceName }}' --required
;