public interface Latest extends Service, LatestTypes
LatestPrivilegeChecks interface provides methods for getting the
latest recorded privilege check. This interface was added in vSphere API
8.0.0.0._VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get()
Returns a marker to the last recorded privilege check.
|
void |
get(AsyncCallback<java.lang.String> asyncCallback)
Returns a marker to the last recorded privilege check.
|
void |
get(AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Returns a marker to the last recorded privilege check.
|
java.lang.String |
get(InvocationConfig invocationConfig)
Returns a marker to the last recorded privilege check.
|
java.lang.String get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error - if there is a generic error.Unauthenticated - if the user can not be authenticated.Unauthorized - if you do not have all of the privileges described as follows: Sessions.CollectPrivilegeChecks. java.lang.String get(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.
invocationConfig - Configuration for the method invocation.Error - if there is a generic error.Unauthenticated - if the user can not be authenticated.Unauthorized - if you do not have all of the privileges described as follows: Sessions.CollectPrivilegeChecks. void get(AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
A marker for the most recently recorded privilege check.
Operation Errors:
Error - if there is a generic error.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
Sessions.CollectPrivilegeChecks. asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<java.lang.String> 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:
A marker for the most recently recorded privilege check.
Operation Errors:
Error - if there is a generic error.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
Sessions.CollectPrivilegeChecks. asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.