urls
Creates, updates, deletes, gets or lists a urls resource.
Overview​
| Name | urls |
| Type | Resource |
| Id | ovh.dbaas_logs.urls |
Fields​
The following fields are returned by SELECT queries:
- list
Web address
| Name | Datatype | Description |
|---|---|---|
address | string | Web URI |
type | string | Service type (CONSOLE, ELASTICSEARCH_API, GRAYLOG_API, GRAYLOG_WEBUI, HTTP_GELF, HTTP_TLS_GELF, KIBANA_WEBUI, OPENSEARCH_API, OSD_WEBUI, PROMETHEUS_API, SERVICE_DOMAIN, TCP_BEATS, TCP_CAP_N_PROTO, TCP_GELF, TCP_LTSV_LINE, TCP_LTSV_NUL, TCP_RFC5424, TCP_TLS_BEATS, TCP_TLS_CAP_N_PROTO, TCP_TLS_GELF, TCP_TLS_LTSV_LINE, TCP_TLS_LTSV_NUL, TCP_TLS_RFC5424, UDP_CAP_N_PROTO, UDP_GELF, UDP_LTSV_LINE, UDP_LTSV_NUL, UDP_RFC5424, WEB_SOCKET) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | service_name | Returns the URLs exposed by the service. |
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 | Service name (wire: serviceName) |
SELECT examples​
- list
Returns the URLs exposed by the service.
SELECT
address,
type
FROM ovh.dbaas_logs.urls
WHERE service_name = '{{ service_name }}' -- required
;