Constructor and Description |
---|
Cluster(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Response |
delete()
Deletes object.
|
Response |
delete(Boolean async)
Deletes object.
|
Response |
delete(Boolean async,
String correlationId)
Deletes object.
|
ClusterAffinityGroups |
getAffinityGroups()
Gets the value of the ClusterAffinityGroups property.
|
ClusterCpuProfiles |
getCpuProfiles()
Gets the value of the ClusterCpuProfiles property.
|
ClusterGlusterHooks |
getGlusterHooks()
Gets the value of the ClusterGlusterHooks property.
|
ClusterGlusterVolumes |
getGlusterVolumes()
Gets the value of the ClusterGlusterVolumes property.
|
ClusterNetworks |
getNetworks()
Gets the value of the ClusterNetworks property.
|
ClusterPermissions |
getPermissions()
Gets the value of the ClusterPermissions property.
|
Action |
resetemulatedmachine(Action action)
Performs resetemulatedmachine action.
|
Action |
resetemulatedmachine(Action action,
Boolean async)
Performs resetemulatedmachine action.
|
Action |
resetemulatedmachine(Action action,
Boolean async,
String correlationId)
Performs resetemulatedmachine action.
|
Cluster |
update()
Updates Cluster object.
|
Cluster |
update(String correlationId)
Updates Cluster object.
|
Cluster |
update(String correlationId,
Boolean async)
Updates Cluster object.
|
Cluster |
update(String correlationId,
Boolean async,
String expect)
Updates Cluster object.
|
getBallooningEnabled, getCpu, getDataCenter, getDisplay, getErrorHandling, getFencingPolicy, getGlusterService, getHaReservation, getKsm, getMaintenanceReasonRequired, getManagementNetwork, getMemoryPolicy, getMigration, getOptionalReason, getRequiredRngSources, getSchedulingPolicy, getSerialNumber, getSupportedVersions, getThreadsAsCores, getTrustedService, getTunnelMigration, getVersion, getVirtService, isSetBallooningEnabled, isSetCpu, isSetDataCenter, isSetDisplay, isSetErrorHandling, isSetFencingPolicy, isSetGlusterService, isSetHaReservation, isSetKsm, isSetMaintenanceReasonRequired, isSetManagementNetwork, isSetMemoryPolicy, isSetMigration, isSetOptionalReason, isSetRequiredRngSources, isSetSchedulingPolicy, isSetSerialNumber, isSetSupportedVersions, isSetThreadsAsCores, isSetTrustedService, isSetTunnelMigration, isSetVersion, isSetVirtService, setBallooningEnabled, setCpu, setDataCenter, setDisplay, setErrorHandling, setFencingPolicy, setGlusterService, setHaReservation, setKsm, setMaintenanceReasonRequired, setManagementNetwork, setMemoryPolicy, setMigration, setOptionalReason, setRequiredRngSources, setSchedulingPolicy, setSerialNumber, setSupportedVersions, setThreadsAsCores, setTrustedService, setTunnelMigration, setVersion, setVirtService
getComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinks
getActions, isSetActions, setActions
public Cluster(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic ClusterAffinityGroups getAffinityGroups()
ClusterAffinityGroups
public ClusterCpuProfiles getCpuProfiles()
ClusterCpuProfiles
public ClusterGlusterHooks getGlusterHooks()
ClusterGlusterHooks
public ClusterGlusterVolumes getGlusterVolumes()
ClusterGlusterVolumes
public ClusterNetworks getNetworks()
ClusterNetworks
public ClusterPermissions getPermissions()
ClusterPermissions
public Response delete() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
Response
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Response delete(Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async
- [true|false]
Response
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Response delete(Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
async
- [true|false]
correlationId
- [any string]
Response
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action resetemulatedmachine(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action resetemulatedmachine(Action action, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
async
- [true|false]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action resetemulatedmachine(Action action, Boolean async, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
async
- [true|false]
correlationId
- [any string]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Cluster update() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
cluster
- Cluster
[cluster.name] [cluster.description] [cluster.comment] [cluster.data_center.id] [cluster.cpu.id] [cluster.version.major] [cluster.version.minor] [cluster.memory_policy.overcommit.percent] [cluster.memory_policy.transparent_hugepages.enabled] [cluster.scheduling_policy.policy] [cluster.scheduling_policy.thresholds.low] [cluster.scheduling_policy.thresholds.high] [cluster.scheduling_policy.thresholds.duration] [cluster.scheduling_policy.id] [cluster.scheduling_policy.properties.property] [cluster.error_handling.on_error] [cluster.virt_service] [cluster.gluster_service] [cluster.threads_as_cores] [cluster.tunnel_migration] [cluster.ballooning_enabled] [cluster.cpu.architecture] [cluster.display.proxy] [cluster.ksm.enabled] [cluster.fencing_policy.enabled] [cluster.fencing_policy.skip_if_sd_active.enabled] [cluster.fencing_policy.skip_if_connectivity_broken.enabled] [cluster.fencing_policy.skip_if_connectivity_broken.threshold] [cluster.maintenance_reason_required] [cluster.management_network.id|name] [cluster.ha_reservation] [cluster.ksm.merge_across_nodes]
Cluster
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Cluster update(String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
cluster
- Cluster
[cluster.name] [cluster.description] [cluster.comment] [cluster.data_center.id] [cluster.cpu.id] [cluster.version.major] [cluster.version.minor] [cluster.memory_policy.overcommit.percent] [cluster.memory_policy.transparent_hugepages.enabled] [cluster.scheduling_policy.policy] [cluster.scheduling_policy.thresholds.low] [cluster.scheduling_policy.thresholds.high] [cluster.scheduling_policy.thresholds.duration] [cluster.scheduling_policy.id] [cluster.scheduling_policy.properties.property] [cluster.error_handling.on_error] [cluster.virt_service] [cluster.gluster_service] [cluster.threads_as_cores] [cluster.tunnel_migration] [cluster.ballooning_enabled] [cluster.cpu.architecture] [cluster.display.proxy] [cluster.ksm.enabled] [cluster.fencing_policy.enabled] [cluster.fencing_policy.skip_if_sd_active.enabled] [cluster.fencing_policy.skip_if_connectivity_broken.enabled] [cluster.fencing_policy.skip_if_connectivity_broken.threshold] [cluster.maintenance_reason_required] [cluster.management_network.id|name] [cluster.ha_reservation] [cluster.ksm.merge_across_nodes]
correlationId
- [any string]
Cluster
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Cluster update(String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
cluster
- Cluster
[cluster.name] [cluster.description] [cluster.comment] [cluster.data_center.id] [cluster.cpu.id] [cluster.version.major] [cluster.version.minor] [cluster.memory_policy.overcommit.percent] [cluster.memory_policy.transparent_hugepages.enabled] [cluster.scheduling_policy.policy] [cluster.scheduling_policy.thresholds.low] [cluster.scheduling_policy.thresholds.high] [cluster.scheduling_policy.thresholds.duration] [cluster.scheduling_policy.id] [cluster.scheduling_policy.properties.property] [cluster.error_handling.on_error] [cluster.virt_service] [cluster.gluster_service] [cluster.threads_as_cores] [cluster.tunnel_migration] [cluster.ballooning_enabled] [cluster.cpu.architecture] [cluster.display.proxy] [cluster.ksm.enabled] [cluster.fencing_policy.enabled] [cluster.fencing_policy.skip_if_sd_active.enabled] [cluster.fencing_policy.skip_if_connectivity_broken.enabled] [cluster.fencing_policy.skip_if_connectivity_broken.threshold] [cluster.maintenance_reason_required] [cluster.management_network.id|name] [cluster.ha_reservation] [cluster.ksm.merge_across_nodes]
correlationId
- [any string]
async
- [true|false]
Cluster
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Cluster update(String correlationId, Boolean async, String expect) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
cluster
- Cluster
[cluster.name] [cluster.description] [cluster.comment] [cluster.data_center.id] [cluster.cpu.id] [cluster.version.major] [cluster.version.minor] [cluster.memory_policy.overcommit.percent] [cluster.memory_policy.transparent_hugepages.enabled] [cluster.scheduling_policy.policy] [cluster.scheduling_policy.thresholds.low] [cluster.scheduling_policy.thresholds.high] [cluster.scheduling_policy.thresholds.duration] [cluster.scheduling_policy.id] [cluster.scheduling_policy.properties.property] [cluster.error_handling.on_error] [cluster.virt_service] [cluster.gluster_service] [cluster.threads_as_cores] [cluster.tunnel_migration] [cluster.ballooning_enabled] [cluster.cpu.architecture] [cluster.display.proxy] [cluster.ksm.enabled] [cluster.fencing_policy.enabled] [cluster.fencing_policy.skip_if_sd_active.enabled] [cluster.fencing_policy.skip_if_connectivity_broken.enabled] [cluster.fencing_policy.skip_if_connectivity_broken.threshold] [cluster.maintenance_reason_required] [cluster.management_network.id|name] [cluster.ha_reservation] [cluster.ksm.merge_across_nodes]
correlationId
- [any string]
async
- [true|false]
expect
- [202-accepted]
Cluster
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0