Enable/Disable AutoStart
- Last Updated: October 14, 2024
- 1 minute read
- LoadMaster
- Multi-Tenant LoadMaster
- Documentation
This command can be used to specify whether or not an instance should automatically start after a system reboot.
Example Command
curl -k "https://<Username>:<Password>@<MTIPAddress>/mtaccess/autoinstance?iid=<VLMInstanceID>&autostart=<0/1>"Available Parameters
|
Parameter |
Parameter Type |
Parameter Description |
Mandatory |
|---|---|---|---|
|
iid |
Integer |
The VLM instance ID. This can be retrieved by running the listInstances command. For further information, refer to the List the Instances section. |
Yes |
|
autostart |
Boolean |
Specify whether or not an instance should automatically start after a system reboot: 0/no - Do not automatically start 1/yes - Do automatically start |
Yes |
Example Output
<?xml version="1.0" encoding="ISO-8859-1"?><Response stat="200" code="ok"><Success>Command completed ok</Success></Response>