Skip to main content

resiliation_terms

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

Overview​

Nameresiliation_terms
TypeResource
Idovh.pack_xdsl.resiliation_terms

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
dueobjectPrice due at resiliationDate
engage_datestring (date-time)Date until which the customer is engaged (wire: engageDate)
min_resiliation_datestring (date-time)Minimum date at which the pack can be resiliated (wire: minResiliationDate)
resiliation_datestring (date-time)Date at which the pack 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
getselectpack_nameresiliation_dateGet the resiliation terms of an xDSL pack. Returns, for a resiliation date, the amount due, the engagement end date, the minimum resiliation date and the 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"}})
pack_namestringThe internal name of your pack (wire: packName)
resiliation_datestring (date-time)The desired resiliation date (wire: resiliationDate)

SELECT examples​

Get the resiliation terms of an xDSL pack. Returns, for a resiliation date, the amount due, the engagement end date, the minimum resiliation date and the resiliation reasons.

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