ScriptsToExecute Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ScriptsToExecute
- com.
Implements
public final class ScriptsToExecute
implements JsonSerializable<ScriptsToExecute>
Customized setup scripts.
Constructor Summary
| Constructor | Description |
|---|---|
| ScriptsToExecute() |
Creates an instance of Scripts |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Script |
creationScript()
Get the creation |
|
static
Scripts |
fromJson(JsonReader jsonReader)
Reads an instance of Scripts |
|
Script |
startupScript()
Get the startup |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Scripts |
withCreationScript(ScriptReference creationScript)
Set the creation |
|
Scripts |
withStartupScript(ScriptReference startupScript)
Set the startup |
Methods inherited from java.lang.Object
Constructor Details
ScriptsToExecute
public ScriptsToExecute()
Creates an instance of ScriptsToExecute class.
Method Details
creationScript
public ScriptReference creationScript()
Get the creationScript property: Script that's run only once during provision of the compute.
Returns:
fromJson
public static ScriptsToExecute fromJson(JsonReader jsonReader)
Reads an instance of ScriptsToExecute from the JsonReader.
Parameters:
Returns:
Throws:
startupScript
public ScriptReference startupScript()
Get the startupScript property: Script that's run every time the machine starts.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCreationScript
public ScriptsToExecute withCreationScript(ScriptReference creationScript)
Set the creationScript property: Script that's run only once during provision of the compute.
Parameters:
Returns:
withStartupScript
public ScriptsToExecute withStartupScript(ScriptReference startupScript)
Set the startupScript property: Script that's run every time the machine starts.
Parameters:
Returns: