Skip to main content

vw_network_errors

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

Overview

Namevw_network_errors
TypeView
Iddatabricks_account.provisioning.vw_network_errors

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 error.
error_typestringCategory of the network validation error (one row per error).
error_messagestringHuman-readable description of the network validation error.

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,
error_type,
error_message
FROM databricks_account.provisioning.vw_network_errors
WHERE account_id = '{{ account_id }}';

SQL Definition

SELECT
n.account_id,
n.network_id,
n.network_name,
n.vpc_status,
JSON_EXTRACT(e.value, '$.error_type') AS error_type,
JSON_EXTRACT(e.value, '$.error_message') AS error_message
FROM databricks_account.provisioning.networks n,
JSON_EACH(n.error_messages) e
WHERE account_id = '{{ account_id }}'