network_connectivity
Creates, updates, deletes, gets or lists a network_connectivity
resource.
Overview
Name | network_connectivity |
Type | Resource |
Id | databricks_account.settings.network_connectivity |
Fields
The following fields are returned by SELECT
queries:
- getnetworkconnectivityconfiguration
- listnetworkconnectivityconfigurations
The network connectivity configuration was successfully returned.
Name | Datatype | Description |
---|---|---|
name | string | |
account_id | string | |
network_connectivity_config_id | string | |
creation_time | integer | |
egress_config | object | |
region | string | |
updated_time | integer |
The network connectivity configuration list was successfully retrieved.
Name | Datatype | Description |
---|---|---|
items | array | |
next_page_token | string |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getnetworkconnectivityconfiguration | select | Gets a network connectivity configuration. | ||
listnetworkconnectivityconfigurations | select | Gets an array of network connectivity configurations. | ||
createnetworkconnectivityconfiguration | insert | 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. | ||
deletenetworkconnectivityconfiguration | delete | Deletes 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.
Name | Datatype | Description |
---|
SELECT
examples
- getnetworkconnectivityconfiguration
- listnetworkconnectivityconfigurations
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;
Gets an array of network connectivity configurations.
SELECT
items,
next_page_token
FROM databricks_account.settings.network_connectivity;
INSERT
examples
- createnetworkconnectivityconfiguration
- Manifest
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
;
# Description fields are for documentation purposes
- name: network_connectivity
props:
- name: name
value: required
- name: region
value: uuid
DELETE
examples
- deletenetworkconnectivityconfiguration
Deletes a network connectivity configuration.
DELETE FROM databricks_account.settings.network_connectivity;