Skip to main content

partner_attachments_bgp_auth_key

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

Overview

Namepartner_attachments_bgp_auth_key
TypeResource
Iddigitalocean.network.partner_attachments_bgp_auth_key

Fields

The following fields are returned by SELECT queries:

The response will be a JSON object with a bgp_auth_key object containing a
value field with the BGP auth key value

NameDatatypeDescription
created_atstring (date-time)A time value given in the ISO 8601 combined date and time format. (example: 2020-03-13T19:20:47.442049222Z)
statestring (example: CREATED)
valuestring (example: 5a4981aa-9653-4bd1-bef5-d6bff52042e4)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
partner_attachments_get_bgp_auth_keyselectpa_idTo get the current BGP auth key for a partner attachment, send a GET request to
/v2/partner_network_connect/attachments/{pa_id}/bgp_auth_key.

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
pa_idstring (string)A unique identifier for a partner attachment. (example: 4de7ac8b-495b-4884-9a69-1050c6793cd6)

SELECT examples

To get the current BGP auth key for a partner attachment, send a GET request to
/v2/partner_network_connect/attachments/{pa_id}/bgp_auth_key.

SELECT
created_at,
state,
value
FROM digitalocean.network.partner_attachments_bgp_auth_key
WHERE pa_id = '{{ pa_id }}' -- required;