Skip to main content

vw_ip_access_list_addresses

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

Overview

Namevw_ip_access_list_addresses
TypeView
Iddatabricks_account.settings.vw_ip_access_list_addresses

Fields

The following fields are returned by this view:

NameDatatypeDescription
account_idstringDatabricks account ID used to scope the query.
list_idstringUnique identifier for the IP access list.
labelstringHuman-readable label for the IP access list.
list_typestringType of the IP access list - either ALLOW or BLOCK.
enabledbooleanWhether the IP access list is currently active.
address_countintegerTotal number of IP addresses or CIDR ranges in this list.
created_atintegerUnix timestamp (ms) when the IP access list was created.
created_byintegerID of the user who created the IP access list.
updated_atintegerUnix timestamp (ms) when the IP access list was last updated.
updated_byintegerID of the user who last updated the IP access list.
ip_addressstringIndividual IP address or CIDR range entry from the list (one row per entry).

Required Parameters

The following parameters are required by this view:

NameDatatypeDescription
account_idstringDatabricks account ID used to scope the query.

SELECT Examples

SELECT
account_id,
list_id,
label,
list_type,
enabled,
address_count,
created_at,
created_by,
updated_at,
updated_by,
ip_address
FROM databricks_account.settings.vw_ip_access_list_addresses
WHERE account_id = '{{ account_id }}';

SQL Definition

SELECT
l.account_id,
l.list_id,
l.label,
l.list_type,
l.enabled,
l.address_count,
l.created_at,
l.created_by,
l.updated_at,
l.updated_by,
a.value AS ip_address
FROM databricks_account.settings.account_ip_access_lists l,
JSON_EACH(l.ip_addresses) a
WHERE account_id = '{{ account_id }}'