Skip to main content

confluent_accounts

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

Overview

Nameconfluent_accounts
TypeResource
Iddatadog.integrations.confluent_accounts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringA randomly generated ID associated with a Confluent account. (example: account_id_abc123)
attributesobjectThe attributes of a Confluent account.
typestringThe JSON:API type for this API. Should always be confluent-cloud-accounts. (default: confluent-cloud-accounts, example: confluent-cloud-accounts)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_confluent_accountselectaccount_id, regionGet the Confluent account with the provided account ID.
list_confluent_accountselectregionList Confluent accounts.
create_confluent_accountinsertregion, data__dataCreate a Confluent account.
update_confluent_accountupdateaccount_id, region, data__dataUpdate the Confluent account with the provided account ID.
delete_confluent_accountdeleteaccount_id, regionDelete a Confluent account 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)

SELECT examples

Get the Confluent account with the provided account ID.

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

INSERT examples

Create a Confluent account.

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

UPDATE examples

Update the Confluent account with the provided account ID.

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

DELETE examples

Delete a Confluent account with the provided account ID.

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