Skip to main content

dedicated_server_interface_details

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

Overview​

Namededicated_server_interface_details
TypeResource
Idovh.vrack.dedicated_server_interface_details

Fields​

The following fields are returned by SELECT queries:

A structure giving all dedicated server interfaces allowed for this vrack

NameDatatypeDescription
namestringthe name of dedicatedServerInterface
dedicated_serverstringthe name of dedicatedServer (wire: dedicatedServer)
dedicated_server_interfacestringthe unique identifier of dedicatedServerInterface (wire: dedicatedServerInterface)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectservice_nameList server interface details. Returns the attached interfaces with the server each one belongs to.

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

SELECT examples​

List server interface details. Returns the attached interfaces with the server each one belongs to.

SELECT
name,
dedicated_server,
dedicated_server_interface
FROM ovh.vrack.dedicated_server_interface_details
WHERE service_name = '{{ service_name }}' -- required
;