security_options_dependencies_trees
Creates, updates, deletes, gets or lists a security_options_dependencies_trees resource.
Overview​
| Name | security_options_dependencies_trees |
| Type | Resource |
| Id | ovh.dedicated_cloud.security_options_dependencies_trees |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
conflicts | array | List of conflicting security options which prevents installing given security option |
depends | array | List of dependencies that will also be enabled during an install of given security option |
requires | array | List of required security options which must be enabled to install given security option |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | option, service_name | Get 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.
| 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"}}) |
option | string | Target security option |
service_name | string | Domain of the service (wire: serviceName) |
SELECT examples​
- get
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
;