resource_eligible_managed_services
Creates, updates, deletes, gets or lists a resource_eligible_managed_services resource.
Overview​
| Name | resource_eligible_managed_services |
| Type | Resource |
| Id | ovh.vrack_services.resource_eligible_managed_services |
Fields​
The following fields are returned by SELECT queries:
- list
List of managed services eligible to the requested vRack Services
| Name | Datatype | Description |
|---|---|---|
managed_service_type | string | IAM resource type. Compatible managed service types are listed by /reference/compatibleManagedServiceType call. (wire: managedServiceType) |
managed_service_urns | array | List of IAM resource URNs (wire: managedServiceURNs) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | vrack_services_id | x_pagination_cursor, x_pagination_size | Returns, 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.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The 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_id | string | Vrack services ID (wire: vrackServicesId) |
x_pagination_cursor | string | Pagination cursor (wire: X-Pagination-Cursor) |
x_pagination_size | integer | Pagination size (wire: X-Pagination-Size) |
SELECT examples​
- list
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 }}'
;