public class PrivilegeChecksStub extends com.vmware.vapi.internal.bindings.Stub implements PrivilegeChecks
PrivilegeChecks
API service.
WARNING: Internal class, subject to change in future versions.
PrivilegeChecksTypes.FilterSpec, PrivilegeChecksTypes.Info, PrivilegeChecksTypes.IterationSpec, PrivilegeChecksTypes.ListResult, PrivilegeChecksTypes.PrincipalapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
PrivilegeChecksStub(ApiProvider apiProvider,
StubConfigurationBase config) |
PrivilegeChecksStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
PrivilegeChecksTypes.ListResult |
list(PrivilegeChecksTypes.IterationSpec iteration,
PrivilegeChecksTypes.FilterSpec filter)
Queries the privilege checks matching given criteria.
|
void |
list(PrivilegeChecksTypes.IterationSpec iteration,
PrivilegeChecksTypes.FilterSpec filter,
AsyncCallback<PrivilegeChecksTypes.ListResult> asyncCallback)
Queries the privilege checks matching given criteria.
|
void |
list(PrivilegeChecksTypes.IterationSpec iteration,
PrivilegeChecksTypes.FilterSpec filter,
AsyncCallback<PrivilegeChecksTypes.ListResult> asyncCallback,
InvocationConfig invocationConfig)
Queries the privilege checks matching given criteria.
|
PrivilegeChecksTypes.ListResult |
list(PrivilegeChecksTypes.IterationSpec iteration,
PrivilegeChecksTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Queries the privilege checks matching given criteria.
|
public PrivilegeChecksStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public PrivilegeChecksStub(ApiProvider apiProvider, StubConfigurationBase config)
public PrivilegeChecksTypes.ListResult list(PrivilegeChecksTypes.IterationSpec iteration, PrivilegeChecksTypes.FilterSpec filter)
PrivilegeChecksSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface PrivilegeChecksiteration - Contains optional settings for pagination of the result.
if unset, the oldest privilege checks recorded are returned, paged by the
default page size.
The default page size can be changed from config.vpxd.privilegeChecks.pageSize advanced option.
filter - Contains optional settings by which the privilege checks should be filtered.
if unset, recorded privilege checks matching the iteration spec are returned.public PrivilegeChecksTypes.ListResult list(PrivilegeChecksTypes.IterationSpec iteration, PrivilegeChecksTypes.FilterSpec filter, InvocationConfig invocationConfig)
PrivilegeChecksSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface PrivilegeChecksiteration - Contains optional settings for pagination of the result.
if unset, the oldest privilege checks recorded are returned, paged by the
default page size.
The default page size can be changed from config.vpxd.privilegeChecks.pageSize advanced option.
filter - Contains optional settings by which the privilege checks should be filtered.
if unset, recorded privilege checks matching the iteration spec are returned.invocationConfig - Configuration for the method invocation.public void list(PrivilegeChecksTypes.IterationSpec iteration, PrivilegeChecksTypes.FilterSpec filter, AsyncCallback<PrivilegeChecksTypes.ListResult> asyncCallback)
PrivilegeChecksAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Detailed information about the privileges collected so far.
Operation Errors:
Error - if there is a generic error.
InvalidArgument - if filter or iteration spec contain invalid values.
NotFound - if the iteration spec contains a marker that could not be found.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
Sessions.CollectPrivilegeChecks. list in interface PrivilegeChecksiteration - Contains optional settings for pagination of the result.
if unset, the oldest privilege checks recorded are returned, paged by the
default page size.
The default page size can be changed from config.vpxd.privilegeChecks.pageSize advanced option.
filter - Contains optional settings by which the privilege checks should be filtered.
if unset, recorded privilege checks matching the iteration spec are returned.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(PrivilegeChecksTypes.IterationSpec iteration, PrivilegeChecksTypes.FilterSpec filter, AsyncCallback<PrivilegeChecksTypes.ListResult> asyncCallback, InvocationConfig invocationConfig)
PrivilegeChecksAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
Detailed information about the privileges collected so far.
Operation Errors:
Error - if there is a generic error.
InvalidArgument - if filter or iteration spec contain invalid values.
NotFound - if the iteration spec contains a marker that could not be found.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
Sessions.CollectPrivilegeChecks. list in interface PrivilegeChecksiteration - Contains optional settings for pagination of the result.
if unset, the oldest privilege checks recorded are returned, paged by the
default page size.
The default page size can be changed from config.vpxd.privilegeChecks.pageSize advanced option.
filter - Contains optional settings by which the privilege checks should be filtered.
if unset, recorded privilege checks matching the iteration spec are returned.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.