Skip to main content

ip_groups

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

Overview

Nameip_groups
TypeResource
Idconfluent.iam.ip_groups

Fields

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").
api_versionstringAPIVersion defines the schema version of this representation of a resource.
cidr_blocksarrayA list of CIDRs.
group_namestringA human readable name for an IP Group. Can contain any unicode letter or number, the ASCII space character, or any of the following special characters: [, ], \|, &, +, -, _, /, ., ,.
kindstringKind defines the object this REST resource represents.
metadata``ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

Methods

NameAccessible byRequired ParamsDescription
get_iam_v2ip_groupSELECTidLimited Availability Request Access To IP Groups API Make a request to read an IP group.
list_iam_v2ip_groupsSELECTLimited Availability Request Access To IP Groups API Retrieve a sorted, filtered, paginated list of all IP groups.
create_iam_v2ip_groupINSERTLimited Availability Request Access To IP Groups API Make a request to create an IP group.
delete_iam_v2ip_groupDELETEidLimited Availability Request Access To IP Groups API Make a request to delete an IP group.
update_iam_v2ip_groupUPDATEidLimited Availability Request Access To IP Groups API Make a request to update an IP group.

SELECT examples

Limited Availability Request Access To IP Groups API Retrieve a sorted, filtered, paginated list of all IP groups.

SELECT
id,
api_version,
cidr_blocks,
group_name,
kind,
metadata
FROM confluent.iam.ip_groups
;

INSERT example

Use the following StackQL query and manifest file to create a new ip_groups resource.

/*+ create */
INSERT INTO confluent.iam.ip_groups (
data__group_name,
data__cidr_blocks
)
SELECT
'{{ group_name }}',
'{{ cidr_blocks }}'
;

UPDATE example

Updates a ip_groups resource.

/*+ update */
UPDATE confluent.iam.ip_groups
SET
group_name = '{{ group_name }}',
cidr_blocks = '{{ cidr_blocks }}'
WHERE
id = '{{ id }}';

DELETE example

Deletes the specified ip_groups resource.

/*+ delete */
DELETE FROM confluent.iam.ip_groups
WHERE id = '{{ id }}';