Enables or disables a server.
A disabled server can't be started on demand or administratively. The enable state of the server is not persistent: if the node is shut down and restarted, the server will be enabled by default.
- Parameters
-
| id | The server ID. |
| enabled | true to enable the server, false to disable it. |
| context | The request context. |
- Exceptions
-
| IceGrid::DeploymentException | Thrown when the deployment of the server failed. |
| IceGrid::NodeUnreachableException | Thrown when the node is unreachable. |
| IceGrid::ServerNotExistException | Thrown when the server doesn't exist. |