Skip to main content

saas_csp2_licenses

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

Overview​

Namesaas_csp2_licenses
TypeResource
Idovh.price.saas_csp2_licenses

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
currency_codestring (AUD, CAD, CZK, EUR, GBP, INR, LTL, MAD, N/A, PLN, SGD, TND, USD, XOF, points) (wire: currencyCode)
textstring
valuenumber

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlicense_nameGet the monthly price for an Office 365 license

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"}})
license_namestringLicense (wire: licenseName)

SELECT examples​

Get the monthly price for an Office 365 license

SELECT
currency_code,
text,
value
FROM ovh.price.saas_csp2_licenses
WHERE license_name = '{{ license_name }}' -- required
;