Skip to main content

input_configtest_results

Creates, updates, deletes, gets or lists an input_configtest_results resource.

Overview​

Nameinput_configtest_results
TypeResource
Idovh.dbaas_logs.input_configtest_results

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
is_validbooleanWhether the given configuration pass the syntax test (wire: isValid)
stderrstringStandard error
stdoutstringStandard output
updated_atstring (date-time)Last config test update (wire: updatedAt)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectinput_id, service_nameReturns the result of a data-gathering tool configuration test.

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"}})
input_idstring (uuid)Input ID (wire: inputId)
service_namestringService name (wire: serviceName)

SELECT examples​

Returns the result of a data-gathering tool configuration test.

SELECT
is_valid,
stderr,
stdout,
updated_at
FROM ovh.dbaas_logs.input_configtest_results
WHERE input_id = '{{ input_id }}' -- required
AND service_name = '{{ service_name }}' -- required
;