Skip to main content

bios_settings_sgxes

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

Overview​

Namebios_settings_sgxes
TypeResource
Idovh.dedicated_server.bios_settings_sgxes

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
prmrrstringSettings sections (128, 131072, 16384, 2048, 256, 32, 32768, 4096, 512, 64, 65536, 8192)
statusstringSettings sections (disabled, enabled, software controlled)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_nameGet the SGX settings. Returns the SGX configuration of the server: the SGX status and the size of the Processor Reserved Memory (PRMRR). To change it, use the configure operation. (Beta version)
configureexecserviceNameConfigure SGX. Enables or disables SGX and sets the size of the Processor Reserved Memory (PRMRR). The server reboots one or several times. On a server without SGX BIOS settings, the call returns an error. (Beta version)

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"}})
serviceNamestringThe internal name of your dedicated server
service_namestringThe internal name of your dedicated server (wire: serviceName)

SELECT examples​

Get the SGX settings. Returns the SGX configuration of the server: the SGX status and the size of the Processor Reserved Memory (PRMRR). To change it, use the configure operation. (Beta version)

SELECT
prmrr,
status
FROM ovh.dedicated_server.bios_settings_sgxes
WHERE service_name = '{{ service_name }}' -- required
;

Lifecycle Methods​

EXEC variables use wire (API) names.

Configure SGX. Enables or disables SGX and sets the size of the Processor Reserved Memory (PRMRR). The server reboots one or several times. On a server without SGX BIOS settings, the call returns an error. (Beta version)

EXEC ovh.dedicated_server.bios_settings_sgxes.configure
@serviceName='{{ serviceName }}' --required
@@json=
'{
"prmrr": "{{ prmrr }}",
"status": "{{ status }}"
}'
;