Skip to main content

security_options_dependencies_trees

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

Overview​

Namesecurity_options_dependencies_trees
TypeResource
Idovh.dedicated_cloud.security_options_dependencies_trees

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
conflictsarrayList of conflicting security options which prevents installing given security option
dependsarrayList of dependencies that will also be enabled during an install of given security option
requiresarrayList of required security options which must be enabled to install given security option

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectoption, service_nameGet security option dependencies. Returns the options that a security option requires, conflicts with, and enables with it.

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"}})
optionstringTarget security option
service_namestringDomain of the service (wire: serviceName)

SELECT examples​

Get security option dependencies. Returns the options that a security option requires, conflicts with, and enables with it.

SELECT
conflicts,
depends,
requires
FROM ovh.dedicated_cloud.security_options_dependencies_trees
WHERE option = '{{ option }}' -- required
AND service_name = '{{ service_name }}' -- required
;