telephony_trunks_update_simultaneous_channels
Creates, updates, deletes, gets or lists a telephony_trunks_update_simultaneous_channels resource.
Overview​
| Name | telephony_trunks_update_simultaneous_channels |
| Type | Resource |
| Id | ovh.order.telephony_trunks_update_simultaneous_channels |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
order_id | integer | Identifier of the order (wire: orderId) |
contracts | array | List of contracts related to the order |
details | array | Details of the order |
prices | object | Prices of the order including with and without taxes |
url | string | URL to download the order |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | quantity, service_name | Get prices and contracts information | |
create | insert | service_name, quantity | Create order |
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"}}) |
quantity | integer | The quantity of total simultaneous channels requested |
service_name | string | Your trunk number (wire: serviceName) |
SELECT examples​
- get
Get prices and contracts information
SELECT
order_id,
contracts,
details,
prices,
url
FROM ovh.order.telephony_trunks_update_simultaneous_channels
WHERE quantity = '{{ quantity }}' -- required
AND service_name = '{{ service_name }}' -- required
;
INSERT examples​
- create
- Manifest
Create order
INSERT INTO ovh.order.telephony_trunks_update_simultaneous_channels (
quantity,
service_name
)
SELECT
{{ quantity }} /* required */,
'{{ service_name }}'
RETURNING
order_id,
contracts,
details,
prices,
url
;
# Description fields are for documentation purposes
- name: telephony_trunks_update_simultaneous_channels
props:
- name: service_name
value: "{{ service_name }}"
description: Required parameter for the telephony_trunks_update_simultaneous_channels resource.
- name: quantity
value: {{ quantity }}
description: |
The quantity of total simultaneous channels requested