Skip to main content

hosted_email_services_configurations

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

Overview​

Namehosted_email_services_configurations
TypeResource
Idovh.pack_xdsl.hosted_email_services_configurations

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
servicesarrayList of services configurations
statusstringStatus (active, suspended)
webmail_urlstringWebmail url (wire: webmailUrl)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdomain, pack_nameGet the configuration of a hosted email service. Returns the webmail URL, the status and the configuration of each service of the hosted email account.

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"}})
domainstring
pack_namestringThe internal name of your pack (wire: packName)

SELECT examples​

Get the configuration of a hosted email service. Returns the webmail URL, the status and the configuration of each service of the hosted email account.

SELECT
services,
status,
webmail_url
FROM ovh.pack_xdsl.hosted_email_services_configurations
WHERE domain = '{{ domain }}' -- required
AND pack_name = '{{ pack_name }}' -- required
;