voip_ecofax_services
Creates, updates, deletes, gets or lists a voip_ecofax_services resource.
Overview​
| Name | voip_ecofax_services |
| Type | Resource |
| Id | ovh.pack_xdsl.voip_ecofax_services |
Fields​
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
value | string |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | pack_name | List the VoIP Ecofax services of an xDSL pack. Returns the domains of the VoIP Ecofax services activated with the pack. | |
create | insert | pack_name | Create a VoIP Ecofax service in an xDSL pack. Activates the VoIP Ecofax service included in the pack. Returns the task that performs it. |
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"}}) |
pack_name | string | The internal name of your pack (wire: packName) |
SELECT examples​
- list
List the VoIP Ecofax services of an xDSL pack. Returns the domains of the VoIP Ecofax services activated with the pack.
SELECT
value
FROM ovh.pack_xdsl.voip_ecofax_services
WHERE pack_name = '{{ pack_name }}' -- required
;
INSERT examples​
- create
- Manifest
Create a VoIP Ecofax service in an xDSL pack. Activates the VoIP Ecofax service included in the pack. Returns the task that performs it.
INSERT INTO ovh.pack_xdsl.voip_ecofax_services (
pack_name
)
SELECT
'{{ pack_name }}'
RETURNING
id,
function,
status,
update_date
;
# Description fields are for documentation purposes
- name: voip_ecofax_services
props:
- name: pack_name
value: "{{ pack_name }}"
description: Required parameter for the voip_ecofax_services resource.