Skip to main content

integrations_v1

Creates, updates, deletes, gets or lists an integrations_v1 resource.

Overview

Nameintegrations_v1
TypeResource
Idconfluent.provider_integrations.integrations_v1

Fields

The following fields are returned by SELECT queries:

Integration.

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"). (example: dlz-f3a90de)
display_namestringDisplay name of Provider Integration. (example: s3_provider_integration)
api_versionstringAPIVersion defines the schema version of this representation of a resource. (pim/v1)
configobjectCloud provider specific configs for provider integration
environmentobjectThe environment to which this belongs. (x-immutable: true')
kindstringKind defines the object this REST resource represents. (Integration)
providerstringCloud provider to which access is provided through provider integration. (example: AWS, default: AWS)
usagesarrayList of resource crns where this integration is being used.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_pim_v1_integrationselectenvironment, idMake a request to read an integration.
list_pim_v1_integrationsselectenvironmentprovider, page_size, page_tokenRetrieve a sorted, filtered, paginated list of all integrations.

If no provider filter is specified, returns provider integrations from all clouds.
create_pim_v1_integrationinsertconfig, environmentMake a request to create an integration.
delete_pim_v1_integrationdeleteenvironment, idMake a request to delete an integration.

This request fails if existing workloads are using this CSP integration.

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
environmentstringScope the operation to the given environment. (example: env-00000)
idstringThe unique identifier for the integration.
page_sizeintegerA pagination size for collection requests.
page_tokenstringAn opaque pagination token for collection requests.
providerstringFilter the results by exact match for provider. (example: AWS)

SELECT examples

Make a request to read an integration.

SELECT
id,
display_name,
api_version,
config,
environment,
kind,
provider,
usages
FROM confluent.provider_integrations.integrations_v1
WHERE environment = '{{ environment }}' -- required
AND id = '{{ id }}' -- required
;

INSERT examples

Make a request to create an integration.

INSERT INTO confluent.provider_integrations.integrations_v1 (
display_name,
provider,
config,
environment
)
SELECT
'{{ display_name }}',
'{{ provider }}',
'{{ config }}' /* required */,
'{{ environment }}' /* required */
RETURNING
id,
display_name,
api_version,
config,
environment,
kind,
provider,
usages
;

DELETE examples

Make a request to delete an integration.

This request fails if existing workloads are using this CSP integration.

DELETE FROM confluent.provider_integrations.integrations_v1
WHERE environment = '{{ environment }}' --required
AND id = '{{ id }}' --required
;