Skip to main content

integrations_v2

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

Overview

Nameintegrations_v2
TypeResource
Idconfluent.provider_integrations.integrations_v2

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: bigquery_provider_integration)
api_versionstringAPIVersion defines the schema version of this representation of a resource. (pim/v2)
configobjectCloud provider specific configuration for the provider integration. Required only when updating integrations with DRAFT status. Not required during creation.
environmentobjectThe environment to which this belongs.
kindstringKind defines the object this REST resource represents. (Integration)
providerstringCloud provider to which access is provided through provider integration. (example: GCP, default: GCP)
statusstringStatus of the provider integration. - DRAFT: Integration exists but is not associated with customer configuration - CREATED: Integration has been associated with customer configuration - ACTIVE: Integration is in use by Confluent resources (example: CREATED)
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_v2_integrationselectenvironment, id Make a request to read an integration.
list_pim_v2_integrationsselectenvironmentdisplay_name, provider, status, page_size, page_token Retrieve a sorted, filtered, paginated list of all integrations.

If no provider filter is specified, returns provider integrations from all clouds.
create_pim_v2_integrationinsertenvironment Make a request to create an integration.
delete_pim_v2_integrationdeleteenvironment, id Make 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.
display_namestringFilter the results by a partial search of display_name. (example: bigquery_provider_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: GCP)
statusstringFilter the results by exact match for status. (example: CREATED)

SELECT examples

Make a request to read an integration.

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

INSERT examples

Make a request to create an integration.

INSERT INTO confluent.provider_integrations.integrations_v2 (
display_name,
provider,
config,
environment
)
SELECT
'{{ display_name }}',
'{{ provider }}',
'{{ config }}',
'{{ environment }}' /* required */
RETURNING
id,
display_name,
api_version,
config,
environment,
kind,
provider,
status,
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_v2
WHERE environment = '{{ environment }}' --required
AND id = '{{ id }}' --required
;