@Generated public interface GlobalInitScriptsService
**Important:** Existing clusters must be restarted to pick up any changes made to global init scripts. Global init scripts are run in order. If the init script returns with a bad exit code, the Apache Spark container fails to launch and init scripts with later position are skipped. If enough containers fail, the entire cluster fails with a `GLOBAL_INIT_SCRIPT_FAILURE` error code.
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
| Modifier and Type | Method and Description |
|---|---|
CreateResponse |
create(GlobalInitScriptCreateRequest globalInitScriptCreateRequest)
Creates a new global init script in this workspace.
|
void |
delete(DeleteGlobalInitScriptRequest deleteGlobalInitScriptRequest)
Deletes a global init script.
|
GlobalInitScriptDetailsWithContent |
get(GetGlobalInitScriptRequest getGlobalInitScriptRequest)
Gets all the details of a script, including its Base64-encoded contents.
|
ListGlobalInitScriptsResponse |
list()
Get a list of all global init scripts for this workspace.
|
void |
update(GlobalInitScriptUpdateRequest globalInitScriptUpdateRequest)
Updates a global init script, specifying only the fields to change.
|
CreateResponse create(GlobalInitScriptCreateRequest globalInitScriptCreateRequest)
void delete(DeleteGlobalInitScriptRequest deleteGlobalInitScriptRequest)
GlobalInitScriptDetailsWithContent get(GetGlobalInitScriptRequest getGlobalInitScriptRequest)
ListGlobalInitScriptsResponse list()
void update(GlobalInitScriptUpdateRequest globalInitScriptUpdateRequest)
Copyright © 2026. All rights reserved.