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. (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_idGet the Confluent account with the provided account ID.
list_confluent_accountselectList Confluent accounts.
create_confluent_accountinsertdataCreate a Confluent account.
update_confluent_accountupdateaccount_id, dataUpdate the Confluent account with the provided account ID.
delete_confluent_accountdeleteaccount_idDelete 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.
sitestringThe Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both.

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
;

INSERT examples

Create a Confluent account.

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

UPDATE examples

Update the Confluent account with the provided account ID.

UPDATE datadog.integrations.confluent_accounts
SET
data = '{{ data }}'
WHERE
account_id = '{{ account_id }}' --required
AND 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
;