Skip to contents

This is a long-running operation, which blocks until Serving Endpoints on Databricks reach NOT_UPDATING state with the timeout of 20 minutes, that you can change via timeout parameter. By default, the state of Databricks Serving Endpoints is reported to console. You can change this behavior by changing the callback parameter.

Usage

create_serving_endpoint_and_wait(
  client,
  name,
  config,
  rate_limits = NULL,
  tags = NULL,
  timeout = 20,
  callback = cli_reporter
)

Arguments

client

Required. Instance of DatabricksClient()

name

Required. The name of the serving endpoint.

config

Required. The core config of the serving endpoint.

rate_limits

Rate limits to be applied to the serving endpoint.

tags

Tags to be attached to the serving endpoint and automatically propagated to billing logs.

timeout

Time to wait for the operation to complete in minutes.

callback

Function to report the status of the operation. By default, it reports to console.