eligibility_search_buildings_by_lines
Creates, updates, deletes, gets or lists an eligibility_search_buildings_by_lines resource.
Overview​
| Name | eligibility_search_buildings_by_lines |
| Type | Resource |
| Id | ovh.connectivity.eligibility_search_buildings_by_lines |
Fields​
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create | insert | line_number, status | Returns, as an asynchronous task, the buildings linked to a line number and its status, with their reference, name, type, NRO and stairs. |
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"}}) |
INSERT examples​
- create
- Manifest
Returns, as an asynchronous task, the buildings linked to a line number and its status, with their reference, name, type, NRO and stairs.
INSERT INTO ovh.connectivity.eligibility_search_buildings_by_lines (
line_number,
status
)
SELECT
'{{ line_number }}' /* required */,
'{{ status }}' /* required */
RETURNING
error,
result,
status
;
# Description fields are for documentation purposes
- name: eligibility_search_buildings_by_lines
props:
- name: line_number
value: "{{ line_number }}"
description: |
Line number
- name: status
value: "{{ status }}"
description: |
Line status
valid_values: ['active', 'inactive']