reference_rancher_eligibilities
Creates, updates, deletes, gets or lists a reference_rancher_eligibilities resource.
Overview​
| Name | reference_rancher_eligibilities |
| Type | Resource |
| Id | ovh.public_cloud.reference_rancher_eligibilities |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
free_trial | boolean | Whether the project is eligible for free trial for the Rancher product (wire: freeTrial) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | project_id | Returns 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.
| 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"}}) |
project_id | string | The Public Cloud project ID. Resolved from OVH_CLOUD_PROJECT_SERVICE when set. |
SELECT examples​
- get
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
;