Skip to main content

bgp_peers

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

Overview

Namebgp_peers
TypeResource
Idazure.k8s_runtime.bgp_peers

Fields

The following fields are returned by SELECT queries:

Azure operation completed successfully.

NameDatatypeDescription
propertiesobjectThe resource-specific properties for this resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceUri, bgpPeerNameGet a BgpPeer
listselectresourceUriList BgpPeer resources by parent
create_or_updateinsertresourceUri, bgpPeerNameCreate a BgpPeer
deletedeleteresourceUri, bgpPeerNameDelete a BgpPeer

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
bgpPeerNamestringThe name of the BgpPeer
resourceUristringThe fully qualified Azure Resource manager identifier of the resource.

SELECT examples

Get a BgpPeer

SELECT
properties
FROM azure.k8s_runtime.bgp_peers
WHERE resourceUri = '{{ resourceUri }}' -- required
AND bgpPeerName = '{{ bgpPeerName }}' -- required
;

INSERT examples

Create a BgpPeer

INSERT INTO azure.k8s_runtime.bgp_peers (
data__properties,
resourceUri,
bgpPeerName
)
SELECT
'{{ properties }}',
'{{ resourceUri }}',
'{{ bgpPeerName }}'
RETURNING
properties
;

DELETE examples

Delete a BgpPeer

DELETE FROM azure.k8s_runtime.bgp_peers
WHERE resourceUri = '{{ resourceUri }}' --required
AND bgpPeerName = '{{ bgpPeerName }}' --required
;