Skip to main content

network_connectivity

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

Overview

Namenetwork_connectivity
TypeResource
Iddatabricks_account.settings.network_connectivity

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the network connectivity configuration. The name can contain alphanumeric characters, hyphens, and underscores. The length must be between 3 and 30 characters. The name must match the regular expression ^[0-9a-zA-Z-_]{3,30}$
account_idstringYour Databricks account ID. You can find your account ID in your Databricks accounts console.
network_connectivity_config_idstringDatabricks network connectivity configuration ID.
creation_timeintegerTime in epoch milliseconds when this object was created.
egress_configobjectThe network connectivity rules that apply to network traffic from your serverless compute resources.
regionstringThe region for the network connectivity configuration. Only workspaces in the same region can be attached to the network connectivity configuration.
updated_timeintegerTime in epoch milliseconds when this object was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_network_connectivity_configurationselectaccount_id, network_connectivity_config_idGets a network connectivity configuration.
list_network_connectivity_configurationsselectaccount_idpage_tokenGets an array of network connectivity configurations.
create_network_connectivity_configurationinsertaccount_id, network_connectivity_configCreates a network connectivity configuration (NCC), which provides stable Azure service subnets when
delete_network_connectivity_configurationdeleteaccount_id, network_connectivity_config_idDeletes a network connectivity configuration.

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
account_idstring
network_connectivity_config_idstringYour Network Connectivity Configuration ID.
page_tokenstringPagination token to go to next page based on previous query.

SELECT examples

Gets a network connectivity configuration.

SELECT
name,
account_id,
network_connectivity_config_id,
creation_time,
egress_config,
region,
updated_time
FROM databricks_account.settings.network_connectivity
WHERE account_id = '{{ account_id }}' -- required
AND network_connectivity_config_id = '{{ network_connectivity_config_id }}' -- required
;

INSERT examples

Creates a network connectivity configuration (NCC), which provides stable Azure service subnets when

INSERT INTO databricks_account.settings.network_connectivity (
network_connectivity_config,
account_id
)
SELECT
'{{ network_connectivity_config }}' /* required */,
'{{ account_id }}'
RETURNING
name,
account_id,
network_connectivity_config_id,
creation_time,
egress_config,
region,
updated_time
;

DELETE examples

Deletes a network connectivity configuration.

DELETE FROM databricks_account.settings.network_connectivity
WHERE account_id = '{{ account_id }}' --required
AND network_connectivity_config_id = '{{ network_connectivity_config_id }}' --required
;