Skip to main content

pipelines

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

Overview

Namepipelines
TypeResource
Idconfluent.pipelines.pipelines

Fields

NameDatatypeDescription
idstringID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object kinds or objects of the same kind within a different scope/namespace ("space").
_specobject
api_versionstringAPIVersion defines the schema version of this representation of a resource.
kindstringKind defines the object this REST resource represents.
metadata``ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
specobjectThe desired state of the Pipeline
statusobjectThe status of the Pipeline

Methods

NameAccessible byRequired ParamsDescription
get_sd_v1pipelineSELECTenvironment, id, spec.kafka_clusterGeneral Availability Make a request to read a pipeline.
list_sd_v1pipelinesSELECTenvironment, spec.kafka_clusterGeneral Availability Retrieve a sorted, filtered, paginated list of all pipelines.
create_sd_v1pipelineINSERTGeneral Availability Make a request to create a pipeline.
delete_sd_v1pipelineDELETEenvironment, id, spec.kafka_clusterGeneral Availability Make a request to delete a pipeline.
update_sd_v1pipelineUPDATEidGeneral Availability Make a request to update a pipeline.

SELECT examples

General Availability Retrieve a sorted, filtered, paginated list of all pipelines.

SELECT
id,
_spec,
api_version,
kind,
metadata,
spec,
status
FROM confluent.pipelines.pipelines
WHERE environment = '{{ environment }}'
AND spec.kafka_cluster = '{{ spec.kafka_cluster }}';

INSERT example

Use the following StackQL query and manifest file to create a new pipelines resource.

/*+ create */
INSERT INTO confluent.pipelines.pipelines (
data__spec
)
SELECT
'{{ spec }}'
;

UPDATE example

Updates a pipelines resource.

/*+ update */
UPDATE confluent.pipelines.pipelines
SET
spec = '{{ spec }}'
WHERE
id = '{{ id }}';

DELETE example

Deletes the specified pipelines resource.

/*+ delete */
DELETE FROM confluent.pipelines.pipelines
WHERE environment = '{{ environment }}'
AND id = '{{ id }}'
AND spec.kafka_cluster = '{{ spec.kafka_cluster }}';