static_ips
Creates, updates, deletes, gets or lists a static_ips resource.
Overview
| Name | static_ips |
| Type | Resource |
| Id | vercel.networking.static_ips |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update | update | id_or_name, builds, regions | team_id, slug | Allows configuring Static IPs for a project |
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 |
|---|---|---|
id_or_name | string | The unique project identifier or the project name |
slug | string | The Team slug to perform the request on behalf of. |
team_id | string | The Team identifier to perform the request on behalf of. (wire: teamId) |
UPDATE examples
- update
Allows configuring Static IPs for a project
UPDATE vercel.networking.static_ips
SET
builds = {{ builds }},
regions = '{{ regions }}'
WHERE
id_or_name = '{{ id_or_name }}' --required
AND builds = {{ builds }} --required
AND regions = '{{ regions }}' --required
AND team_id = '{{ team_id}}'
AND slug = '{{ slug}}'
RETURNING
connect_configuration_id,
env_id,
aws,
builds_enabled,
created_at,
dc,
passive,
updated_at;