Skip to main content

vpc_endpoints

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

Overview

Namevpc_endpoints
TypeResource
Iddatabricks_account.provisioning.vpc_endpoints

Fields

The following fields are returned by SELECT queries:

The VPC endpoint was successfully returned.

NameDatatypeDescription
account_idstring
aws_account_idstring
aws_endpoint_service_idstring
aws_vpc_endpoint_idstring
vpc_endpoint_idstring
vpc_endpoint_namestring
regionstring
statestring
use_casestring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGets a VPC endpoint configuration, which represents a
listselectGets a list of all VPC endpoints for an account, specified by ID.
createinsertCreates a VPC endpoint configuration, which represents a
deletedeleteDeletes a VPC endpoint configuration, which represents an

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 VPC endpoint configuration, which represents a

SELECT
account_id,
aws_account_id,
aws_endpoint_service_id,
aws_vpc_endpoint_id,
vpc_endpoint_id,
vpc_endpoint_name,
region,
state,
use_case
FROM databricks_account.provisioning.vpc_endpoints;

INSERT examples

Creates a VPC endpoint configuration, which represents a

INSERT INTO databricks_account.provisioning.vpc_endpoints (
data__vpc_endpoint_name,
data__aws_vpc_endpoint_id,
data__region
)
SELECT
'{{ vpc_endpoint_name }}',
'{{ aws_vpc_endpoint_id }}',
'{{ region }}'
RETURNING
account_id,
aws_account_id,
aws_endpoint_service_id,
aws_vpc_endpoint_id,
vpc_endpoint_id,
vpc_endpoint_name,
region,
state,
use_case
;

DELETE examples

Deletes a VPC endpoint configuration, which represents an

DELETE FROM databricks_account.provisioning.vpc_endpoints;