Skip to main content

input_actions

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

Overview​

Nameinput_actions
TypeResource
Idovh.dbaas_logs.input_actions

Fields​

The following fields are returned by SELECT queries:

Action on input

NameDatatypeDescription
is_allowedbooleanIndicates if action is allowed (wire: isAllowed)
typestringAction type (DESTROY, END, LOG, RESTART, START, TEST)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectinput_id, service_nameReturns the actions available on the data-gathering tool.

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 actions available on the data-gathering tool.

SELECT
is_allowed,
type
FROM ovh.dbaas_logs.input_actions
WHERE input_id = '{{ input_id }}' -- required
AND service_name = '{{ service_name }}' -- required
;