Skip to main content

exchange_account_services

Creates, updates, deletes, gets or lists an exchange_account_services resource.

Overview​

Nameexchange_account_services
TypeResource
Idovh.pack_xdsl.exchange_account_services

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
organization_namestring (wire: organizationName)
domainstring
exchange_servicestring (wire: exchangeService)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdomain, pack_nameGet an Exchange 2013 account service of an xDSL pack. Returns the domain, organization and Exchange service of an account activated with the pack.
listselectpack_namex_pagination_modeList the Exchange 2013 account services of an xDSL pack. Returns the domains of the Exchange 2013 accounts activated with the pack.

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)
x_pagination_modestringSent as CachedObjectList-Pages by default so the list returns the full objects rather than their identifiers. (wire: X-Pagination-Mode)

SELECT examples​

Get an Exchange 2013 account service of an xDSL pack. Returns the domain, organization and Exchange service of an account activated with the pack.

SELECT
organization_name,
domain,
exchange_service
FROM ovh.pack_xdsl.exchange_account_services
WHERE domain = '{{ domain }}' -- required
AND pack_name = '{{ pack_name }}' -- required
;