public interface Conditions extends Service, ConditionsTypes
Conditions
interface provides methods to retrieve conditions related
to a particular Supervisor. This interface was added in vSphere API 8.0.0.1.ConditionsTypes.Condition, ConditionsTypes.Message, ConditionsTypes.Severity
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.util.List<ConditionsTypes.Condition> |
get(java.lang.String supervisor)
Get all conditions of a given Supervisor.
|
void |
get(java.lang.String supervisor,
AsyncCallback<java.util.List<ConditionsTypes.Condition>> asyncCallback)
Get all conditions of a given Supervisor.
|
void |
get(java.lang.String supervisor,
AsyncCallback<java.util.List<ConditionsTypes.Condition>> asyncCallback,
InvocationConfig invocationConfig)
Get all conditions of a given Supervisor.
|
java.util.List<ConditionsTypes.Condition> |
get(java.lang.String supervisor,
InvocationConfig invocationConfig)
Get all conditions of a given Supervisor.
|
java.util.List<ConditionsTypes.Condition> get(java.lang.String supervisor)
Synchronous method overload. Result of the invocation will be reported as a method return value.
supervisor
- the identifier for a Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.ConditionsTypes.Condition
objects related to the given Supervisor.Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if authorization information cannot be retrieved.NotFound
- if the Supervisor cannot be found, or if the user does not have read privilege
on it.java.util.List<ConditionsTypes.Condition> get(java.lang.String supervisor, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
supervisor
- the identifier for a Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.invocationConfig
- Configuration for the method invocation.ConditionsTypes.Condition
objects related to the given Supervisor.Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if authorization information cannot be retrieved.NotFound
- if the Supervisor cannot be found, or if the user does not have read privilege
on it.void get(java.lang.String supervisor, AsyncCallback<java.util.List<ConditionsTypes.Condition>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of ConditionsTypes.Condition
objects related to the given Supervisor.
Operation Errors:
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if authorization information cannot be retrieved.
NotFound
- if the Supervisor cannot be found, or if the user does not have read privilege
on it.
supervisor
- the identifier for a Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String supervisor, AsyncCallback<java.util.List<ConditionsTypes.Condition>> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
List of ConditionsTypes.Condition
objects related to the given Supervisor.
Operation Errors:
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if authorization information cannot be retrieved.
NotFound
- if the Supervisor cannot be found, or if the user does not have read privilege
on it.
supervisor
- the identifier for a Supervisor.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.