Skip to main content

vac_reference_profiles

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

Overview​

Namevac_reference_profiles
TypeResource
Idovh.network_defense.vac_reference_profiles

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idstringUnique identifier of the profile
namestringProfile name, for example DNS server
descriptionstringHuman-readable description of the profile's intended use case
sensitivitiesarraySensitivity levels offered for this profile
statestringLifecycle state of the profile. Only RETIRED blocks new policy assignments. (ACTIVE, BETA, DEPRECATED, RETIRED)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprofile_idReturns a VAC DDoS protection network traffic profile with its name, description, sensitivity levels and lifecycle state.
listselectx_pagination_cursor, x_pagination_sizeReturns the list of VAC DDoS protection network traffic profiles available to the account. Every profile is an expert-curated configuration for a workload type, such as a VPN or a Web Server, with the sensitivity levels it offers. A RETIRED profile cannot be assigned to a policy.

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"}})
profile_idstringProfile ID (wire: profileId)
x_pagination_cursorstringPagination cursor (wire: X-Pagination-Cursor)
x_pagination_sizeintegerPagination size (wire: X-Pagination-Size)

SELECT examples​

Returns a VAC DDoS protection network traffic profile with its name, description, sensitivity levels and lifecycle state.

SELECT
id,
name,
description,
sensitivities,
state
FROM ovh.network_defense.vac_reference_profiles
WHERE profile_id = '{{ profile_id }}' -- required
;