Skip to main content

integrations

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

Overview

Nameintegrations
TypeResource
Idconfluent.notifications.integrations

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").
descriptionstringA human readable description for the particular integration
api_versionstringAPIVersion defines the schema version of this representation of a resource.
display_namestringA human readable name for the particular integration
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.
target``Integration-specific details (integration targets)

Methods

NameAccessible byRequired ParamsDescription
get_notifications_v1integrationSELECTidGeneral Availability Make a request to read an integration.
list_notifications_v1integrationsSELECTGeneral Availability Retrieve a sorted, filtered, paginated list of all integrations.
create_notifications_v1integrationINSERTGeneral Availability Make a request to create an integration.
delete_notifications_v1integrationDELETEidGeneral Availability Make a request to delete an integration.
update_notifications_v1integrationUPDATEidGeneral Availability Make a request to update an integration.
test_notifications_v1integrationEXECGeneral Availability Sends a test notification to validate the integration. This is supported only for Webhook, Slack and MsTeams targets

SELECT examples

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

SELECT
id,
description,
api_version,
display_name,
kind,
metadata,
target
FROM confluent.notifications.integrations
;

INSERT example

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

/*+ create */
INSERT INTO confluent.notifications.integrations (
data__display_name,
data__description,
data__target
)
SELECT
'{{ display_name }}',
'{{ description }}',
'{{ target }}'
;

UPDATE example

Updates a integrations resource.

/*+ update */
UPDATE confluent.notifications.integrations
SET
display_name = '{{ display_name }}',
description = '{{ description }}',
target = '{{ target }}'
WHERE
id = '{{ id }}';

DELETE example

Deletes the specified integrations resource.

/*+ delete */
DELETE FROM confluent.notifications.integrations
WHERE id = '{{ id }}';