easy_hunting_screen_list_conditions
Creates, updates, deletes, gets or lists an easy_hunting_screen_list_conditions resource.
Overview​
| Name | easy_hunting_screen_list_conditions |
| Type | Resource |
| Id | ovh.telephony.easy_hunting_screen_list_conditions |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
status | string | Screenlist condition type (disabled, incomingBlackList, incomingWhiteList) |
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 filtering condition settings | |
update | update | billing_account, service_name | Update the filtering condition settings |
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"}}) |
billing_account | string | The name of your billingAccount (wire: billingAccount) |
service_name | string | (wire: serviceName) |
SELECT examples​
- get
Get the filtering condition settings
SELECT
status
FROM ovh.telephony.easy_hunting_screen_list_conditions
WHERE billing_account = '{{ billing_account }}' -- required
AND service_name = '{{ service_name }}' -- required
;
UPDATE examples​
- update
Update the filtering condition settings
UPDATE ovh.telephony.easy_hunting_screen_list_conditions
SET
status = '{{ status }}'
WHERE
billing_account = '{{ billing_account }}' --required
AND service_name = '{{ service_name }}' --required;