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.
|
Cluster |
update()
Updates Cluster object.
|
Cluster |
update(String correlationId)
Updates Cluster object.
|
getBallooningEnabled, getCpu, getDataCenter, getDisplay, getErrorHandling, getGlusterService, getHaReservation, getKsm, getMemoryPolicy, getOptionalReason, getRequiredRngSources, getSchedulingPolicy, getSerialNumber, getSupportedVersions, getThreadsAsCores, getTrustedService, getTunnelMigration, getVersion, getVirtService, isSetBallooningEnabled, isSetCpu, isSetDataCenter, isSetDisplay, isSetErrorHandling, isSetGlusterService, isSetHaReservation, isSetKsm, isSetMemoryPolicy, isSetOptionalReason, isSetRequiredRngSources, isSetSchedulingPolicy, isSetSerialNumber, isSetSupportedVersions, isSetThreadsAsCores, isSetTrustedService, isSetTunnelMigration, isSetVersion, isSetVirtService, setBallooningEnabled, setCpu, setDataCenter, setDisplay, setErrorHandling, setGlusterService, setHaReservation, setKsm, setMemoryPolicy, 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 ClusterGlusterHooks getGlusterHooks()
ClusterGlusterHooks
public ClusterAffinityGroups getAffinityGroups()
ClusterAffinityGroups
public ClusterGlusterVolumes getGlusterVolumes()
ClusterGlusterVolumes
public ClusterNetworks getNetworks()
ClusterNetworks
public ClusterCpuProfiles getCpuProfiles()
ClusterCpuProfiles
public ClusterPermissions getPermissions()
ClusterPermissions
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
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]
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 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
correlationId
- [any string]
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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0