Skip to main content

resource_eligible_managed_services

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

Overview​

Nameresource_eligible_managed_services
TypeResource
Idovh.vrack_services.resource_eligible_managed_services

Fields​

The following fields are returned by SELECT queries:

List of managed services eligible to the requested vRack Services

NameDatatypeDescription
managed_service_typestringIAM resource type. Compatible managed service types are listed by /reference/compatibleManagedServiceType call. (wire: managedServiceType)
managed_service_urnsarrayList of IAM resource URNs (wire: managedServiceURNs)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectvrack_services_idx_pagination_cursor, x_pagination_sizeReturns, by type, the managed services that can get a Service Endpoint in the vRack Services. Only services in the same region are eligible.

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 type, the managed services that can get a Service Endpoint in the vRack Services. Only services in the same region are eligible.

SELECT
managed_service_type,
managed_service_urns
FROM ovh.vrack_services.resource_eligible_managed_services
WHERE vrack_services_id = '{{ vrack_services_id }}' -- required
AND x_pagination_cursor = '{{ x_pagination_cursor }}'
AND x_pagination_size = '{{ x_pagination_size }}'
;