Skip to main content

confluent_resources

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

Overview

Nameconfluent_resources
TypeResource
Iddatadog.integrations.confluent_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID associated with the Confluent resource. (example: resource_id_abc123)
attributesobjectModel representation of a Confluent Cloud resource.
typestringThe JSON:API type for this request. (default: confluent-cloud-resources, example: confluent-cloud-resources)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_confluent_resourceselectaccount_id, resource_id, regionGet a Confluent resource with the provided resource id for the account associated with the provided account ID.
list_confluent_resourceselectaccount_id, regionGet a Confluent resource for the account associated with the provided ID.
create_confluent_resourceinsertaccount_id, region, data__dataCreate a Confluent resource for the account associated with the provided ID.
update_confluent_resourceupdateaccount_id, resource_id, region, data__dataUpdate a Confluent resource with the provided resource id for the account associated with the provided account ID.
delete_confluent_resourcedeleteaccount_id, resource_id, regionDelete a Confluent resource with the provided resource id for the account associated with the provided account ID.

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
account_idstringConfluent Account ID.
regionstring(default: datadoghq.com)
resource_idstringConfluent Account Resource ID.

SELECT examples

Get a Confluent resource with the provided resource id for the account associated with the provided account ID.

SELECT
id,
attributes,
type
FROM datadog.integrations.confluent_resources
WHERE account_id = '{{ account_id }}' -- required
AND resource_id = '{{ resource_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Create a Confluent resource for the account associated with the provided ID.

INSERT INTO datadog.integrations.confluent_resources (
data__data,
account_id,
region
)
SELECT
'{{ data }}' /* required */,
'{{ account_id }}',
'{{ region }}'
RETURNING
data
;

UPDATE examples

Update a Confluent resource with the provided resource id for the account associated with the provided account ID.

UPDATE datadog.integrations.confluent_resources
SET
data__data = '{{ data }}'
WHERE
account_id = '{{ account_id }}' --required
AND resource_id = '{{ resource_id }}' --required
AND region = '{{ region }}' --required
AND data__data = '{{ data }}' --required
RETURNING
data;

DELETE examples

Delete a Confluent resource with the provided resource id for the account associated with the provided account ID.

DELETE FROM datadog.integrations.confluent_resources
WHERE account_id = '{{ account_id }}' --required
AND resource_id = '{{ resource_id }}' --required
AND region = '{{ region }}' --required
;