Skip to main content

resiliation_terms

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

Overview​

Nameresiliation_terms
TypeResource
Idovh.xdsl.resiliation_terms

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
dueobjectPrice with it's currency and textual representation
engage_datestring (date-time)Date until which the customer is engaged (wire: engageDate)
min_resiliation_datestring (date-time)Minumum resiliationDate (wire: minResiliationDate)
resiliation_datestring (date-time)Date at which the access will be resiliated (wire: resiliationDate)
resiliation_reasonsarrayList of available resiliation reasons (wire: resiliationReasons)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_nameresiliation_dateReturns, for a resiliation date, the amount due, the engagement end date, the minimum resiliation date and the available resiliation reasons.

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"}})
service_namestringService name (wire: serviceName)
resiliation_datestring (date-time)The desired resiliation date (wire: resiliationDate)

SELECT examples​

Returns, for a resiliation date, the amount due, the engagement end date, the minimum resiliation date and the available resiliation reasons.

SELECT
due,
engage_date,
min_resiliation_date,
resiliation_date,
resiliation_reasons
FROM ovh.xdsl.resiliation_terms
WHERE service_name = '{{ service_name }}' -- required
AND resiliation_date = '{{ resiliation_date }}'
;