Skip to contents

Creates a new global init script in this workspace.

Usage

create_global_init_script(
  client,
  name,
  script,
  enabled = NULL,
  position = NULL
)

globalInitScriptsCreate(client, name, script, enabled = NULL, position = NULL)

Arguments

client

Required. Instance of DatabricksClient()

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 global init script, where 0 represents the first script to run, 1 is the second script to run, in ascending order.