Skip to main content

static_ips

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

Overview

Namestatic_ips
TypeResource
Idvercel.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:

NameAccessible byRequired ParamsOptional ParamsDescription
updateupdateid_or_name, builds, regionsteam_id, slugAllows 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.

NameDatatypeDescription
id_or_namestringThe unique project identifier or the project name
slugstringThe Team slug to perform the request on behalf of.
team_idstringThe Team identifier to perform the request on behalf of. (wire: teamId)

UPDATE examples

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;