Skip to main content

transit_gateway_attachments

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

Overview

Nametransit_gateway_attachments
TypeResource
Idconfluent.networking.transit_gateway_attachments

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 Transit Gateway Attachment
statusobjectThe status of the Transit Gateway Attachment

Methods

NameAccessible byRequired ParamsDescription
get_networking_v1transit_gateway_attachmentSELECTenvironment, idGeneral Availability Make a request to read a transit gateway attachment.
list_networking_v1transit_gateway_attachmentsSELECTenvironmentGeneral Availability Retrieve a sorted, filtered, paginated list of all transit gateway attachments.
create_networking_v1transit_gateway_attachmentINSERTGeneral Availability Make a request to create a transit gateway attachment.
delete_networking_v1transit_gateway_attachmentDELETEenvironment, idGeneral Availability Make a request to delete a transit gateway attachment.
update_networking_v1transit_gateway_attachmentUPDATEidGeneral Availability Make a request to update a transit gateway attachment.

SELECT examples

General Availability Retrieve a sorted, filtered, paginated list of all transit gateway attachments.

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

INSERT example

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

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

UPDATE example

Updates a transit_gateway_attachments resource.

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

DELETE example

Deletes the specified transit_gateway_attachments resource.

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