Skip to main content

static_ips

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

Overview

Namestatic_ips
TypeResource
Idgoogle.datamigration.static_ips

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
nextPageTokenstringA token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
staticIpsarrayList of static IPs.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
fetch_static_ipsselectprojectsId, locationsIdpageSize, pageTokenFetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method.

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
locationsIdstring
projectsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Fetches a set of static IP addresses that need to be allowlisted by the customer when using the static-IP connectivity method.

SELECT
nextPageToken,
staticIps
FROM google.datamigration.static_ips
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';