Skip to main content

region_loadbalancing_flavors

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

Overview​

Nameregion_loadbalancing_flavors
TypeResource
Idovh.cloud_network.region_loadbalancing_flavors

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idstring (uuid)Flavor id
namestringFlavor name
regionstringRegion name

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectflavor_id, region_name, service_nameGet details about a load balancing flavor
listselectregion_name, service_nameList flavors

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"}})
flavor_idstring (uuid)Flavor ID (wire: flavorId)
region_namestringRegion name (wire: regionName)
service_namestringThe Public Cloud project ID. Resolved from OVH_CLOUD_PROJECT_SERVICE when set.

SELECT examples​

Get details about a load balancing flavor

SELECT
id,
name,
region
FROM ovh.cloud_network.region_loadbalancing_flavors
WHERE flavor_id = '{{ flavor_id }}' -- required
AND region_name = '{{ region_name }}' -- required
AND service_name = '{{ service_name }}' -- required unless OVH_CLOUD_PROJECT_SERVICE is set
;