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:

The network connectivity configuration was successfully returned.

NameDatatypeDescription
namestring
account_idstring
network_connectivity_config_idstring
creation_timeinteger
egress_configobject
regionstring
updated_timeinteger

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getnetworkconnectivityconfigurationselectGets a network connectivity configuration.
listnetworkconnectivityconfigurationsselectGets an array of network connectivity configurations.
createnetworkconnectivityconfigurationinsertCreates a network connectivity configuration (NCC), which provides stable IP CIDR blocks that are associated with your workspace. You can assign an NCC to one or more workspaces in the same region. Once assigned, the workspace serverless compute resources use the same set of stable IP CIDR blocks to access your resources.
deletenetworkconnectivityconfigurationdeleteDeletes 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

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;

INSERT examples

Creates a network connectivity configuration (NCC), which provides stable IP CIDR blocks that are associated with your workspace. You can assign an NCC to one or more workspaces in the same region. Once assigned, the workspace serverless compute resources use the same set of stable IP CIDR blocks to access your resources.

INSERT INTO databricks_account.settings.network_connectivity (
data__name,
data__region
)
SELECT
'{{ name }}',
'{{ region }}'
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;