confluent_accounts
Creates, updates, deletes, gets or lists a confluent_accounts resource.
Overview
| Name | confluent_accounts | 
| Type | Resource | 
| Id | datadog.integrations.confluent_accounts | 
Fields
The following fields are returned by SELECT queries:
- get_confluent_account
- list_confluent_account
| Name | Datatype | Description | 
|---|---|---|
| id | string | A randomly generated ID associated with a Confluent account. (example: account_id_abc123) | 
| attributes | object | The attributes of a Confluent account. | 
| type | string | The JSON:API type for this API. Should always be confluent-cloud-accounts. (default: confluent-cloud-accounts, example: confluent-cloud-accounts) | 
| Name | Datatype | Description | 
|---|---|---|
| id | string | A randomly generated ID associated with a Confluent account. (example: account_id_abc123) | 
| attributes | object | The attributes of a Confluent account. | 
| type | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description | 
|---|---|---|---|---|
| get_confluent_account | select | account_id,region | Get the Confluent account with the provided account ID. | |
| list_confluent_account | select | region | List Confluent accounts. | |
| create_confluent_account | insert | region,data__data | Create a Confluent account. | |
| update_confluent_account | update | account_id,region,data__data | Update the Confluent account with the provided account ID. | |
| delete_confluent_account | delete | account_id,region | Delete 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.
| Name | Datatype | Description | 
|---|---|---|
| account_id | string | Confluent Account ID. | 
| region | string | (default: datadoghq.com) | 
SELECT examples
- get_confluent_account
- list_confluent_account
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
;
List Confluent accounts.
SELECT
id,
attributes,
type
FROM datadog.integrations.confluent_accounts
WHERE region = '{{ region }}' -- required
;
INSERT examples
- create_confluent_account
- Manifest
Create a Confluent account.
INSERT INTO datadog.integrations.confluent_accounts (
data__data,
region
)
SELECT 
'{{ data }}' /* required */,
'{{ region }}'
RETURNING
data
;
# Description fields are for documentation purposes
- name: confluent_accounts
  props:
    - name: region
      value: string
      description: Required parameter for the confluent_accounts resource.
    - name: data
      value: object
      description: |
        The data body for adding a Confluent account.
UPDATE examples
- update_confluent_account
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_confluent_account
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
;