public interface Cluster extends Service, ClusterTypes
Cluster interface provides methods to manage clusters in the vCenter
Server.ClusterTypes.FilterSpec, ClusterTypes.Info, ClusterTypes.SummaryRESOURCE_TYPE| Modifier and Type | Method and Description |
|---|---|
ClusterTypes.Info |
get(java.lang.String cluster)
Retrieves information about the cluster corresponding to
cluster. |
void |
get(java.lang.String cluster,
AsyncCallback<ClusterTypes.Info> asyncCallback)
Retrieves information about the cluster corresponding to
cluster. |
void |
get(java.lang.String cluster,
AsyncCallback<ClusterTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieves information about the cluster corresponding to
cluster. |
ClusterTypes.Info |
get(java.lang.String cluster,
InvocationConfig invocationConfig)
Retrieves information about the cluster corresponding to
cluster. |
java.util.List<ClusterTypes.Summary> |
list(ClusterTypes.FilterSpec filter)
Returns information about at most 1000 visible (subject to permission checks)
clusters in vCenter matching the
ClusterTypes.FilterSpec. |
void |
list(ClusterTypes.FilterSpec filter,
AsyncCallback<java.util.List<ClusterTypes.Summary>> asyncCallback)
Returns information about at most 1000 visible (subject to permission checks)
clusters in vCenter matching the
ClusterTypes.FilterSpec. |
void |
list(ClusterTypes.FilterSpec filter,
AsyncCallback<java.util.List<ClusterTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about at most 1000 visible (subject to permission checks)
clusters in vCenter matching the
ClusterTypes.FilterSpec. |
java.util.List<ClusterTypes.Summary> |
list(ClusterTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns information about at most 1000 visible (subject to permission checks)
clusters in vCenter matching the
ClusterTypes.FilterSpec. |
java.util.List<ClusterTypes.Summary> list(ClusterTypes.FilterSpec filter)
ClusterTypes.FilterSpec.
Synchronous method overload. Result of the invocation will be reported as a method return value.
filter - Specification of matching clusters for which information should be returned.
If null, the behavior is equivalent to a ClusterTypes.FilterSpec with all properties null
which means all clusters match the filter.ClusterTypes.FilterSpec.UnableToAllocateResource - if more than 1000 clusters match the ClusterTypes.FilterSpec.ServiceUnavailable - if the system is unable to communicate with a service to complete the request.Unauthenticated - if the user can not be authenticated.Unauthorized - if the user doesn't have the required privileges.java.util.List<ClusterTypes.Summary> list(ClusterTypes.FilterSpec filter, InvocationConfig invocationConfig)
ClusterTypes.FilterSpec.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
filter - Specification of matching clusters for which information should be returned.
If null, the behavior is equivalent to a ClusterTypes.FilterSpec with all properties null
which means all clusters match the filter.invocationConfig - Configuration for the method invocation.ClusterTypes.FilterSpec.UnableToAllocateResource - if more than 1000 clusters match the ClusterTypes.FilterSpec.ServiceUnavailable - if the system is unable to communicate with a service to complete the request.Unauthenticated - if the user can not be authenticated.Unauthorized - if the user doesn't have the required privileges.void list(ClusterTypes.FilterSpec filter, AsyncCallback<java.util.List<ClusterTypes.Summary>> asyncCallback)
ClusterTypes.FilterSpec.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
Commonly used information about the clusters matching the ClusterTypes.FilterSpec.
Operation Errors:
UnableToAllocateResource - if more than 1000 clusters match the ClusterTypes.FilterSpec.
ServiceUnavailable - if the system is unable to communicate with a service to complete the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user doesn't have the required privileges.
filter - Specification of matching clusters for which information should be returned.
If null, the behavior is equivalent to a ClusterTypes.FilterSpec with all properties null
which means all clusters match the filter.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void list(ClusterTypes.FilterSpec filter, AsyncCallback<java.util.List<ClusterTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
ClusterTypes.FilterSpec.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
Commonly used information about the clusters matching the ClusterTypes.FilterSpec.
Operation Errors:
UnableToAllocateResource - if more than 1000 clusters match the ClusterTypes.FilterSpec.
ServiceUnavailable - if the system is unable to communicate with a service to complete the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user doesn't have the required privileges.
filter - Specification of matching clusters for which information should be returned.
If null, the behavior is equivalent to a ClusterTypes.FilterSpec with all properties null
which means all clusters match the filter.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.ClusterTypes.Info get(java.lang.String cluster)
cluster.
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.ClusterTypes.Info instances that corresponds to
the cluster.NotFound - if there is no cluster associated with cluster in the system.ServiceUnavailable - if the system is unable to communicate with a service to complete the request.Unauthenticated - if the session id is missing from the request or the corresponding session
object cannot be found.Unauthorized - if the user doesn't not have the required privileges.ClusterTypes.Info get(java.lang.String cluster, InvocationConfig invocationConfig)
cluster.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.invocationConfig - Configuration for the method invocation.ClusterTypes.Info instances that corresponds to
the cluster.NotFound - if there is no cluster associated with cluster in the system.ServiceUnavailable - if the system is unable to communicate with a service to complete the request.Unauthenticated - if the session id is missing from the request or the corresponding session
object cannot be found.Unauthorized - if the user doesn't not have the required privileges.void get(java.lang.String cluster,
AsyncCallback<ClusterTypes.Info> asyncCallback)
cluster.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
The ClusterTypes.Info instances that corresponds to
the cluster.
Operation Errors:
NotFound - if there is no cluster associated with cluster in the system.
ServiceUnavailable - if the system is unable to communicate with a service to complete the request.
Unauthenticated - if the session id is missing from the request or the corresponding session
object cannot be found.
Unauthorized - if the user doesn't not have the required privileges.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String cluster,
AsyncCallback<ClusterTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
cluster.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
The ClusterTypes.Info instances that corresponds to
the cluster.
Operation Errors:
NotFound - if there is no cluster associated with cluster in the system.
ServiceUnavailable - if the system is unable to communicate with a service to complete the request.
Unauthenticated - if the session id is missing from the request or the corresponding session
object cannot be found.
Unauthorized - if the user doesn't not have the required privileges.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.