Skip to main content

instances_states

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

Overview​

Nameinstances_states
TypeResource
Idovh.ip_loadbalancing.instances_states

Fields​

The following fields are returned by SELECT queries:

A structure describing the current state of an IPLB instances

NameDatatypeDescription
internal_idintegerInternal ID of this IPLB instance (wire: internalId)
last_update_datestring (date-time)Last update date (wire: lastUpdateDate)
statestringCurrent state of this IPLB instance
zonestringzone of this IPLB instance

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectservice_nameGet the effective state of instances (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 IP load balancing (wire: serviceName)

SELECT examples​

Get the effective state of instances (Deprecated, will be removed)

SELECT
internal_id,
last_update_date,
state,
zone
FROM ovh.ip_loadbalancing.instances_states
WHERE service_name = '{{ service_name }}' -- required
;