Skip to main content

allowed_services

Creates, updates, deletes, gets or lists an allowed_services resource.

Overview​

Nameallowed_services
TypeResource
Idovh.vrack.allowed_services

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
cloud_projectarraylist of publicCloud projects allowed to be connected to vrack (wire: cloudProject)
dedicated_cloudarraylist of dedicated cloud allowed to be connected to vrack (wire: dedicatedCloud)
dedicated_cloud_datacenterarraylist of dedicated cloud datacenters allowed to be connected to vrack (wire: dedicatedCloudDatacenter)
dedicated_connectarraylist of dedicated connect links allowed to be connected to vrack (wire: dedicatedConnect)
dedicated_serverarraylist of dedicated servers allowed to be connected to vrack (wire: dedicatedServer)
dedicated_server_interfacearraylist of dedicated server interfaces allowed to be connected to vrack (wire: dedicatedServerInterface)
iparraylist of blocks allowed to be connected to vrack
ip_loadbalancingarraylist of ipLoadbalancing allowed to be connected to vrack (wire: ipLoadbalancing)
ipv_6arraylist of ipv6 blocks allowed to be connected to vrack (wire: ipv6)
legacy_vrackarraylist of legacy vrack (1.0) allowed to be connected to vrack (wire: legacyVrack)
ovh_cloud_connectarrayList of the ovhCloudConnect services allowed to be connected to vrack (wire: ovhCloudConnect)
vmware_cloud_director_virtual_data_centerarrayList of the vmwareCloudDirectorVirtualDataCenter allowed to be connected to vrack (wire: vmwareCloudDirectorVirtualDataCenter)
vrack_servicesarrayList of the vrackServices allowed to be connected to vrack (wire: vrackServices)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_nameservice_familyList 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.

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)
service_familystringFilter on a specific service family (wire: serviceFamily)

SELECT examples​

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 }}'
;