Skip to main content

vw_network_connectivity_configs

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

Overview

Namevw_network_connectivity_configs
TypeView
Iddatabricks_account.settings.vw_network_connectivity_configs

Fields

The following fields are returned by this view:

NameDatatypeDescription
account_idstringDatabricks account ID used to scope the query.
network_connectivity_config_idstringUnique identifier for the network connectivity configuration.
namestringHuman-readable name of the network connectivity configuration.
regionstringCloud region where this network connectivity configuration applies.
creation_timeintegerUnix timestamp (ms) when the configuration was created.
updated_timeintegerUnix timestamp (ms) when the configuration was last updated.
aws_stable_ip_cidr_blocksarrayList of stable CIDR blocks used for outbound traffic from Databricks (AWS only).
azure_svc_endpoint_regionstringAzure region targeted by the default service endpoint rule (Azure only).
azure_svc_endpoint_subnetsarrayList of subnets covered by the default Azure service endpoint rule (Azure only).
azure_svc_endpoint_servicesarrayList of Azure services targeted by the default service endpoint rule (Azure only).

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_connectivity_config_id,
name,
region,
creation_time,
updated_time,
aws_stable_ip_cidr_blocks,
azure_svc_endpoint_region,
azure_svc_endpoint_subnets,
azure_svc_endpoint_services
FROM databricks_account.settings.vw_network_connectivity_configs
WHERE account_id = '{{ account_id }}';

SQL Definition

SELECT
ncc.account_id,
ncc.network_connectivity_config_id,
ncc.name,
ncc.region,
ncc.creation_time,
ncc.updated_time,
JSON_EXTRACT(ncc.egress_config, '$.default_rules.aws_stable_ip_rule.cidr_blocks') AS aws_stable_ip_cidr_blocks,
JSON_EXTRACT(ncc.egress_config, '$.default_rules.azure_service_endpoint_rule.target_region') AS azure_svc_endpoint_region,
JSON_EXTRACT(ncc.egress_config, '$.default_rules.azure_service_endpoint_rule.subnets') AS azure_svc_endpoint_subnets,
JSON_EXTRACT(ncc.egress_config, '$.default_rules.azure_service_endpoint_rule.target_services') AS azure_svc_endpoint_services
FROM databricks_account.settings.network_connectivity ncc
WHERE account_id = '{{ account_id }}'