Skip to main content

extensions_pricing_attributes

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

Overview​

Nameextensions_pricing_attributes
TypeResource
Idovh.domain.extensions_pricing_attributes

Fields​

The following fields are returned by SELECT queries:

Result of getting pricing attributes of an extension

NameDatatypeDescription
namestringExtension name, like 'com' or 'co.uk'
brand_newbooleanParameter is true when the extension has been created recently and we want to highlight this fact (wire: brandNew)
price_dropbooleanParameter is true when the extension price has dropped recently and we want to highlight this fact (wire: priceDrop)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectovh_subsidiaryList extensions with their pricing attributes. It especially documents whether an extension has been implemented recently or whether the price has dropped.

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"}})
ovh_subsidiarystringOVHcloud subsidiary targeted. Attributes may be different from one subsidiary to another. Default to FR. (wire: ovhSubsidiary)

SELECT examples​

List extensions with their pricing attributes. It especially documents whether an extension has been implemented recently or whether the price has dropped.

SELECT
name,
brand_new,
price_drop
FROM ovh.domain.extensions_pricing_attributes
WHERE ovh_subsidiary = '{{ ovh_subsidiary }}'
;