Skip to main content

reference_rancher_eligibilities

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

Overview​

Namereference_rancher_eligibilities
TypeResource
Idovh.public_cloud.reference_rancher_eligibilities

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
free_trialbooleanWhether the project is eligible for free trial for the Rancher product (wire: freeTrial)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectproject_idReturns whether the project is eligible for a managed Rancher free trial.

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"}})
project_idstringThe Public Cloud project ID. Resolved from OVH_CLOUD_PROJECT_SERVICE when set.

SELECT examples​

Returns whether the project is eligible for a managed Rancher free trial.

SELECT
free_trial
FROM ovh.public_cloud.reference_rancher_eligibilities
WHERE project_id = '{{ project_id }}' -- required unless OVH_CLOUD_PROJECT_SERVICE is set
;