Package org.ovirt.engine.sdk4.services
Interface HostService.ApproveRequest
-
- All Superinterfaces:
Request<HostService.ApproveRequest,HostService.ApproveResponse>
- Enclosing interface:
- HostService
public static interface HostService.ApproveRequest extends Request<HostService.ApproveRequest,HostService.ApproveResponse>
Approve a pre-installed Hypervisor host for usage in the virtualization environment. This action also accepts an optional cluster element to define the target cluster for this host.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HostService.ApproveRequest
activate(Boolean activate)
When set to 'true', this host will be activated after its approval completes.HostService.ApproveRequest
async(Boolean async)
Indicates if the approval should be performed asynchronously.HostService.ApproveRequest
cluster(ClusterBuilder cluster)
The cluster where the host will be added after it is approved.HostService.ApproveRequest
cluster(Cluster cluster)
HostService.ApproveRequest
host(HostBuilder host)
The host to approve.HostService.ApproveRequest
host(Host host)
HostService.ApproveRequest
reboot(Boolean reboot)
Indicates if the host should be rebooted after successful installation.
-
-
-
Method Detail
-
activate
HostService.ApproveRequest activate(Boolean activate)
When set to 'true', this host will be activated after its approval completes. When set to 'false' the host will remain in 'maintenance' status after its approval. Absence of this parameter will be interpreted as 'true', since the desired default behavior is activating the host after approval.
-
async
HostService.ApproveRequest async(Boolean async)
Indicates if the approval should be performed asynchronously.
-
cluster
HostService.ApproveRequest cluster(Cluster cluster)
-
cluster
HostService.ApproveRequest cluster(ClusterBuilder cluster)
The cluster where the host will be added after it is approved.
-
host
HostService.ApproveRequest host(Host host)
-
host
HostService.ApproveRequest host(HostBuilder host)
The host to approve.
-
reboot
HostService.ApproveRequest reboot(Boolean reboot)
Indicates if the host should be rebooted after successful installation. The default value is `true`.
-
-