Skip to main content

vw_network_warnings

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

Overview

Namevw_network_warnings
TypeView
Iddatabricks_account.provisioning.vw_network_warnings

Fields

The following fields are returned by this view:

NameDatatypeDescription
account_idstringDatabricks account ID used to scope the query.
network_idstringUnique identifier for the network configuration.
network_namestringHuman-readable name of the network configuration.
vpc_statusstringValidation status of the VPC at the time of the warning.
warning_typestringCategory of the network validation warning (one row per warning).
warning_messagestringHuman-readable description of the network validation warning.

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,
network_id,
network_name,
vpc_status,
warning_type,
warning_message
FROM databricks_account.provisioning.vw_network_warnings
WHERE account_id = '{{ account_id }}';

SQL Definition

SELECT
n.account_id,
n.network_id,
n.network_name,
n.vpc_status,
JSON_EXTRACT(w.value, '$.warning_type') AS warning_type,
JSON_EXTRACT(w.value, '$.warning_message') AS warning_message
FROM databricks_account.provisioning.networks n,
JSON_EACH(n.warning_messages) w
WHERE account_id = '{{ account_id }}'