Skip to main content

catalog_public_private_sqls

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

Overview​

Namecatalog_public_private_sqls
TypeResource
Idovh.order.catalog_public_private_sqls

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
catalog_idintegerIdentifier of the catalog (wire: catalogId)
addonsarrayList of addons of the catalog
localeobjectSubsidiary specific information
plan_familiesarrayList of plan families of the catalog (wire: planFamilies)
plansarrayList of main plans of the catalog
productsarrayList of products of the catalog

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectovh_subsidiaryRetrieve Private SQL catalog (Beta version)

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_subsidiarystringSubsidiary of the country you want to consult catalog (wire: ovhSubsidiary)

SELECT examples​

Retrieve Private SQL catalog (Beta version)

SELECT
catalog_id,
addons,
locale,
plan_families,
plans,
products
FROM ovh.order.catalog_public_private_sqls
WHERE ovh_subsidiary = '{{ ovh_subsidiary }}' -- required
;