Skip to main content

network_link_services

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

Overview

Namenetwork_link_services
TypeResource
Idconfluent.networking.network_link_services

Fields

The following fields are returned by SELECT queries:

Network Link Service.

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. (NetworkLinkService)
metadataobjectObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
specobjectThe desired state of the Network Link Service
statusobjectThe status of the Network Link Service

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_networking_v1_network_link_serviceselectenvironment, idMake a request to read a network link service.
list_networking_v1_network_link_servicesselectenvironmentspec.display_name, status.phase, spec.network, page_size, page_tokenRetrieve a sorted, filtered, paginated list of all network link services.
create_networking_v1_network_link_serviceinsertspecMake a request to create a network link service.
update_networking_v1_network_link_serviceupdateid, specMake a request to update a network link service.

delete_networking_v1_network_link_servicedeleteenvironment, idMake a request to delete a network link service.

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 network link service.
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-net-1-nls, dev-net-1-nls])
spec.networkarrayFilter the results by exact match for spec.network. Pass multiple times to see results matching any of the values. (example: [n-00000, n-00001])
status.phasearrayFilter the results by exact match for status.phase. Pass multiple times to see results matching any of the values. (example: [READY])

SELECT examples

Make a request to read a network link service.

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

INSERT examples

Make a request to create a network link service.

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

UPDATE examples

Make a request to update a network link service.

UPDATE confluent.networking.network_link_services
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 a network link service.

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