Skip to main content

network_connectivity

Operations on a network_connectivity resource.

Overview

Namenetwork_connectivity
TypeResource
Iddatabricks_account.settings.network_connectivity

Fields

NameDatatype
namestring
account_idstring
creation_timeinteger
egress_configobject
network_connectivity_config_idstring
regionstring
updated_timeinteger

Methods

NameAccessible byRequired ParamsDescription
getnetworkconnectivityconfigurationSELECTaccount_id, network_connectivity_config_idGets a network connectivity configuration.
listnetworkconnectivityconfigurationsSELECTaccount_idGets an array of network connectivity configurations.
createnetworkconnectivityconfigurationINSERTaccount_idCreates 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.
deletenetworkconnectivityconfigurationDELETEaccount_id, network_connectivity_config_idDeletes a network connectivity configuration.

SELECT examples

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

INSERT example

Use the following StackQL query and manifest file to create a new network_connectivity resource.

/*+ create */
INSERT INTO databricks_account.settings.network_connectivity (
account_id,
data__name,
data__region
)
SELECT
'{{ account_id }}',
'{{ name }}',
'{{ region }}'
;

DELETE example

Deletes a network_connectivity resource.

/*+ delete */
DELETE FROM databricks_account.settings.network_connectivity
WHERE account_id = '{{ account_id }}' AND
network_connectivity_config_id = '{{ network_connectivity_config_id }}';