a.endpoints: Networking Endpoints

class databricks.sdk.service.networking.EndpointsAPI

These APIs manage endpoint configurations for this account.

create_endpoint(parent: str, endpoint: Endpoint) Endpoint

Creates a new network connectivity endpoint that enables private connectivity between your network resources and Databricks services.

After creation, the endpoint is initially in the PENDING state. The Databricks endpoint service automatically reviews and approves the endpoint within a few minutes. Use the GET method to retrieve the latest endpoint state.

An endpoint can be used only after it reaches the APPROVED state.

Parameters:
  • parent – str The parent resource name of the account under which the endpoint is created. Format: accounts/{account_id}.

  • endpointEndpoint

Returns:

Endpoint

delete_endpoint(name: str)

Deletes a network endpoint. This will remove the endpoint configuration from Databricks. Depending on the endpoint type and use case, you may also need to delete corresponding network resources in your cloud provider account.

Parameters:

name – str

get_endpoint(name: str) Endpoint

Gets details of a specific network endpoint.

Parameters:

name – str

Returns:

Endpoint

list_endpoints(parent: str [, page_size: Optional[int], page_token: Optional[str]]) Iterator[Endpoint]

Lists all network connectivity endpoints for the account.

Parameters:
  • parent – str The parent resource name of the account to list endpoints for. Format: accounts/{account_id}.

  • page_size – int (optional)

  • page_token – str (optional)

Returns:

Iterator over Endpoint