allowed_services
Creates, updates, deletes, gets or lists an allowed_services resource.
Overview​
| Name | allowed_services |
| Type | Resource |
| Id | ovh.vrack.allowed_services |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
cloud_project | array | list of publicCloud projects allowed to be connected to vrack (wire: cloudProject) |
dedicated_cloud | array | list of dedicated cloud allowed to be connected to vrack (wire: dedicatedCloud) |
dedicated_cloud_datacenter | array | list of dedicated cloud datacenters allowed to be connected to vrack (wire: dedicatedCloudDatacenter) |
dedicated_connect | array | list of dedicated connect links allowed to be connected to vrack (wire: dedicatedConnect) |
dedicated_server | array | list of dedicated servers allowed to be connected to vrack (wire: dedicatedServer) |
dedicated_server_interface | array | list of dedicated server interfaces allowed to be connected to vrack (wire: dedicatedServerInterface) |
ip | array | list of blocks allowed to be connected to vrack |
ip_loadbalancing | array | list of ipLoadbalancing allowed to be connected to vrack (wire: ipLoadbalancing) |
ipv_6 | array | list of ipv6 blocks allowed to be connected to vrack (wire: ipv6) |
legacy_vrack | array | list of legacy vrack (1.0) allowed to be connected to vrack (wire: legacyVrack) |
ovh_cloud_connect | array | List of the ovhCloudConnect services allowed to be connected to vrack (wire: ovhCloudConnect) |
vmware_cloud_director_virtual_data_center | array | List of the vmwareCloudDirectorVirtualDataCenter allowed to be connected to vrack (wire: vmwareCloudDirectorVirtualDataCenter) |
vrack_services | array | List of the vrackServices allowed to be connected to vrack (wire: vrackServices) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | service_name | service_family | List allowed services (deprecated). Returns, by service family, the services that can be attached to the vRack. Deprecated: use eligibleServices instead. (Deprecated, will be removed) |
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"}}) |
service_name | string | The internal name of your vrack (wire: serviceName) |
service_family | string | Filter on a specific service family (wire: serviceFamily) |
SELECT examples​
- get
List allowed services (deprecated). Returns, by service family, the services that can be attached to the vRack. Deprecated: use eligibleServices instead. (Deprecated, will be removed)
SELECT
cloud_project,
dedicated_cloud,
dedicated_cloud_datacenter,
dedicated_connect,
dedicated_server,
dedicated_server_interface,
ip,
ip_loadbalancing,
ipv_6,
legacy_vrack,
ovh_cloud_connect,
vmware_cloud_director_virtual_data_center,
vrack_services
FROM ovh.vrack.allowed_services
WHERE service_name = '{{ service_name }}' -- required
AND service_family = '{{ service_family }}'
;