peerings
Creates, updates, deletes, gets or lists a peerings
resource.
Overview
Name | peerings |
Type | Resource |
Id | confluent.networking.peerings |
Fields
Name | Datatype | Description |
---|---|---|
id | string | ID 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"). |
_spec | object | |
api_version | string | APIVersion defines the schema version of this representation of a resource. |
kind | string | Kind defines the object this REST resource represents. |
metadata | `` | ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. |
spec | object | The desired state of the Peering |
status | object | The status of the Peering |
Methods
SELECT
examples
Retrieve a sorted, filtered, paginated list of all peerings.
SELECT
id,
_spec,
api_version,
kind,
metadata,
spec,
status
FROM confluent.networking.peerings
WHERE environment = '{{ environment }}';
INSERT
example
Use the following StackQL query and manifest file to create a new peerings
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO confluent.networking.peerings (
data__spec
)
SELECT
'{{ spec }}'
;
- name: peerings
props:
- name: spec
props:
- name: environment
value: string
- name: network
value: string
UPDATE
example
Updates a peerings
resource.
/*+ update */
UPDATE confluent.networking.peerings
SET
spec = '{{ spec }}'
WHERE
id = '{{ id }}';
DELETE
example
Deletes the specified peerings
resource.
/*+ delete */
DELETE FROM confluent.networking.peerings
WHERE environment = '{{ environment }}'
AND id = '{{ id }}';