Skip to main content

ip_filters

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

Overview

Nameip_filters
TypeResource
Idconfluent.iam.ip_filters

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.
filter_namestringA human readable name for an IP Filter. Can contain any unicode letter or number, the ASCII space character, or any of the following special characters: [, ], \|, &, +, -, _, /, ., ,.
ip_groupsarrayA list of IP Groups.
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.
resource_groupstringScope of resources covered by this IP filter. The only resource_group currently available is "management".

Methods

NameAccessible byRequired ParamsDescription
get_iam_v2ip_filterSELECTidLimited Availability Request Access To IP Filters API Make a request to read an IP filter.
list_iam_v2ip_filtersSELECTLimited Availability Request Access To IP Filters API Retrieve a sorted, filtered, paginated list of all IP filters.
create_iam_v2ip_filterINSERTLimited Availability Request Access To IP Filters API Make a request to create an IP filter.
delete_iam_v2ip_filterDELETEidLimited Availability Request Access To IP Filters API Make a request to delete an IP filter.
update_iam_v2ip_filterUPDATEidLimited Availability Request Access To IP Filters API Make a request to update an IP filter.

SELECT examples

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

SELECT
id,
api_version,
filter_name,
ip_groups,
kind,
metadata,
resource_group
FROM confluent.iam.ip_filters
;

INSERT example

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

/*+ create */
INSERT INTO confluent.iam.ip_filters (
data__filter_name,
data__resource_group,
data__ip_groups
)
SELECT
'{{ filter_name }}',
'{{ resource_group }}',
'{{ ip_groups }}'
;

UPDATE example

Updates a ip_filters resource.

/*+ update */
UPDATE confluent.iam.ip_filters
SET
filter_name = '{{ filter_name }}',
resource_group = '{{ resource_group }}',
ip_groups = '{{ ip_groups }}'
WHERE
id = '{{ id }}';

DELETE example

Deletes the specified ip_filters resource.

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