Skip to main content

dns_forwarders

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

Overview

Namedns_forwarders
TypeResource
Idconfluent.networking.dns_forwarders

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").
_specobject
api_versionstringAPIVersion defines the schema version of this representation of a resource.
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.
specobjectThe desired state of the Dns Forwarder
statusobjectThe status of the Dns Forwarder

Methods

NameAccessible byRequired ParamsDescription
get_networking_v1dns_forwarderSELECTenvironment, idGeneral Availability Make a request to read a DNS forwarder.
list_networking_v1dns_forwardersSELECTenvironmentGeneral Availability Retrieve a sorted, filtered, paginated list of all DNS forwarders.
create_networking_v1dns_forwarderINSERTGeneral Availability Make a request to create a DNS forwarder.
delete_networking_v1dns_forwarderDELETEenvironment, idGeneral Availability Make a request to delete a DNS forwarder.
update_networking_v1dns_forwarderUPDATEidGeneral Availability Make a request to update a DNS forwarder.

SELECT examples

General Availability Retrieve a sorted, filtered, paginated list of all DNS forwarders.

SELECT
id,
_spec,
api_version,
kind,
metadata,
spec,
status
FROM confluent.networking.dns_forwarders
WHERE environment = '{{ environment }}';

INSERT example

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

/*+ create */
INSERT INTO confluent.networking.dns_forwarders (
data__spec
)
SELECT
'{{ spec }}'
;

UPDATE example

Updates a dns_forwarders resource.

/*+ update */
UPDATE confluent.networking.dns_forwarders
SET
spec = '{{ spec }}'
WHERE
id = '{{ id }}';

DELETE example

Deletes the specified dns_forwarders resource.

/*+ delete */
DELETE FROM confluent.networking.dns_forwarders
WHERE environment = '{{ environment }}'
AND id = '{{ id }}';