Skip to main content

resource_eligible_dedicated_server_interfaces

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

Overview​

Nameresource_eligible_dedicated_server_interfaces
TypeResource
Idovh.vrack_services.resource_eligible_dedicated_server_interfaces

Fields​

The following fields are returned by SELECT queries:

List of eligible dedicatedServerInterfaces for vRack Services, listed by availabilityZone

NameDatatypeDescription
availability_zonestringThe availabilityZone where the dedicatedServerInterfaces are located (wire: availabilityZone)
dedicated_server_interfacesarrayList of eligible dedicatedServerInterfaces (wire: dedicatedServerInterfaces)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectvrack_services_idx_pagination_cursor, x_pagination_sizeReturns, by availability zone, the dedicated server interfaces that can be added to the vRack Services, 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"}})
vrack_services_idstringVrack services ID (wire: vrackServicesId)
x_pagination_cursorstringPagination cursor (wire: X-Pagination-Cursor)
x_pagination_sizeintegerPagination size (wire: X-Pagination-Size)

SELECT examples​

Returns, by availability zone, the dedicated server interfaces that can be added to the vRack Services, with the server each one belongs to.

SELECT
availability_zone,
dedicated_server_interfaces
FROM ovh.vrack_services.resource_eligible_dedicated_server_interfaces
WHERE vrack_services_id = '{{ vrack_services_id }}' -- required
AND x_pagination_cursor = '{{ x_pagination_cursor }}'
AND x_pagination_size = '{{ x_pagination_size }}'
;