Skip to main content

access_points

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

Overview

Nameaccess_points
TypeResource
Idconfluent.networking.access_points

Fields

The following fields are returned by SELECT queries:

Access Point.

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)
api_versionstringAPIVersion defines the schema version of this representation of a resource. (networking/v1)
kindstringKind defines the object this REST resource represents. (AccessPoint)
metadataobjectObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
specobjectThe desired state of the Access Point
statusobjectThe status of the Access Point

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_networking_v1_access_pointselectenvironment, idMake a request to read an access point.
list_networking_v1_access_pointsselectenvironmentspec.display_name, spec.gateway, id, page_size, page_tokenRetrieve a sorted, filtered, paginated list of all access points.
create_networking_v1_access_pointinsertspecMake a request to create an access point.
update_networking_v1_access_pointupdateid, specMake a request to update an access point.

delete_networking_v1_access_pointdeleteenvironment, idMake a request to delete an access point.

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 access point.
idarrayFilter the results by exact match for id. Pass multiple times to see results matching any of the values. (example: [ap-1, ap-2])
page_sizeintegerA pagination size for collection requests.
page_tokenstringAn opaque pagination token for collection requests.
spec.display_namearrayFilter the results by exact match for spec.display_name. Pass multiple times to see results matching any of the values. (example: [prod-ap-egress-use1, prod-ap-egress-usw2])
spec.gatewayarrayFilter the results by exact match for spec.gateway. Pass multiple times to see results matching any of the values. (example: [gw-00000, gw-00001])

SELECT examples

Make a request to read an access point.

SELECT
id,
api_version,
kind,
metadata,
spec,
status
FROM confluent.networking.access_points
WHERE environment = '{{ environment }}' -- required
AND id = '{{ id }}' -- required
;

INSERT examples

Make a request to create an access point.

INSERT INTO confluent.networking.access_points (
spec
)
SELECT
'{{ spec }}' /* required */
RETURNING
id,
api_version,
kind,
metadata,
spec,
status
;

UPDATE examples

Make a request to update an access point.

UPDATE confluent.networking.access_points
SET
spec = '{{ spec }}'
WHERE
id = '{{ id }}' --required
AND spec = '{{ spec }}' --required
RETURNING
id,
api_version,
kind,
metadata,
spec,
status;

DELETE examples

Make a request to delete an access point.

DELETE FROM confluent.networking.access_points
WHERE environment = '{{ environment }}' --required
AND id = '{{ id }}' --required
;