Skip to contents

Updates a global init script, specifying only the fields to change. All fields are optional. Unspecified fields retain their current value.

Usage

update_global_init_script(
  client,
  script_id,
  name,
  script,
  enabled = NULL,
  position = NULL
)

globalInitScriptsUpdate(
  client,
  script_id,
  name,
  script,
  enabled = NULL,
  position = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

script_id

Required. The ID of the global init script.

name

Required. The name of the script.

script

Required. The Base64-encoded content of the script.

enabled

Specifies whether the script is enabled.

position

The position of a script, where 0 represents the first script to run, 1 is the second script to run, in ascending order.