Skip to main content

kafka_connect_capabilities_connectors

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

Overview​

Namekafka_connect_capabilities_connectors
TypeResource
Idovh.cloud_database.kafka_connect_capabilities_connectors

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idstring (uuid)Connector ID
namestringName of the connector
authorstringName of the connector's author
documentation_urlstringURL of the official documentation of the connector (wire: documentationUrl)
latestbooleanDefines whether this connector and version is the latest available
previewbooleanDefines whether the connector is in preview
typestringType of connector (sink, source)
versionstringVersion of the connector

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectcluster_id, connector_id, service_nameGet Kafka Connect connector capability
listselectcluster_id, service_namex_pagination_modeList Kafka Connect connectors

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"}})
cluster_idstring (uuid)Cluster ID (wire: clusterId)
connector_idstring (uuid)Connector ID (wire: connectorId)
service_namestringThe Public Cloud project ID. Resolved from OVH_CLOUD_PROJECT_SERVICE when set.
x_pagination_modestringSent as CachedObjectList-Pages by default so the list returns the full objects rather than their identifiers. (wire: X-Pagination-Mode)

SELECT examples​

Get Kafka Connect connector capability

SELECT
id,
name,
author,
documentation_url,
latest,
preview,
type,
version
FROM ovh.cloud_database.kafka_connect_capabilities_connectors
WHERE cluster_id = '{{ cluster_id }}' -- required
AND connector_id = '{{ connector_id }}' -- required
AND service_name = '{{ service_name }}' -- required unless OVH_CLOUD_PROJECT_SERVICE is set
;