partner_attachments_remote_routes
Creates, updates, deletes, gets or lists a partner_attachments_remote_routes
resource.
Overview
Name | partner_attachments_remote_routes |
Type | Resource |
Id | digitalocean.network.partner_attachments_remote_routes |
Fields
The following fields are returned by SELECT
queries:
- partner_attachments_list_remote_routes
The response will be a JSON object with a remote_routes
array containing
information on all the remote routes associated with the partner attachment
Name | Datatype | Description |
---|---|---|
cidr | string | A CIDR block representing a remote route. (example: 10.10.10.0/24) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
partner_attachments_list_remote_routes | select | pa_id | per_page , page | To list all remote routes associated with a partner attachment, send a GET request to/v2/partner_network_connect/attachments/{pa_id}/remote_routes . |
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.
Name | Datatype | Description |
---|---|---|
pa_id | string (string) | A unique identifier for a partner attachment. (example: 4de7ac8b-495b-4884-9a69-1050c6793cd6) |
page | integer | Which 'page' of paginated results to return. (example: 1) |
per_page | integer | Number of items returned per page (example: 2) |
SELECT
examples
- partner_attachments_list_remote_routes
To list all remote routes associated with a partner attachment, send a GET
request to/v2/partner_network_connect/attachments/{pa_id}/remote_routes
.
SELECT
cidr
FROM digitalocean.network.partner_attachments_remote_routes
WHERE pa_id = '{{ pa_id }}' -- required
AND per_page = '{{ per_page }}'
AND page = '{{ page }}';