catalog_formatted_domain_alternative_names
Creates, updates, deletes, gets or lists a catalog_formatted_domain_alternative_names resource.
Overview​
| Name | catalog_formatted_domain_alternative_names |
| Type | Resource |
| Id | ovh.order.catalog_formatted_domain_alternative_names |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
label | string | Domain name looked up, in lower case |
suggestions | array | At most two available domain names whose extension the subsidiary sells, in the order of the suggestion engine |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | label, ovh_subsidiary | The first two available domain names suggested for a domain name (the name itself excluded) whose extension the subsidiary sells, in the order of the suggestion engine, each with its first-year creation price and, while a promotion runs, the price before it and the promotion. Europe subsidiaries only: the suggestions are made for the subsidiary's market. |
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.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The 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"}}) |
label | string | Domain name looked up (e.g. boulangerie.fr) |
ovh_subsidiary | string | OVHcloud subsidiary targeted, a Europe one (wire: ovhSubsidiary) |
SELECT examples​
- get
The first two available domain names suggested for a domain name (the name itself excluded) whose extension the subsidiary sells, in the order of the suggestion engine, each with its first-year creation price and, while a promotion runs, the price before it and the promotion. Europe subsidiaries only: the suggestions are made for the subsidiary's market.
SELECT
label,
suggestions
FROM ovh.order.catalog_formatted_domain_alternative_names
WHERE label = '{{ label }}' -- required
AND ovh_subsidiary = '{{ ovh_subsidiary }}' -- required
;