public class ComplianceStub extends com.vmware.vapi.internal.bindings.Stub implements Compliance
Compliance
API service.
WARNING: Internal class, subject to change in future versions.
ComplianceTypes.FilterSpec, ComplianceTypes.Status, ComplianceTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ComplianceStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ComplianceStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ComplianceTypes.Summary> |
list(ComplianceTypes.FilterSpec filter)
Returns compliance information about entities matching the filter
ComplianceTypes.FilterSpec . |
void |
list(ComplianceTypes.FilterSpec filter,
AsyncCallback<java.util.List<ComplianceTypes.Summary>> asyncCallback)
Returns compliance information about entities matching the filter
ComplianceTypes.FilterSpec . |
void |
list(ComplianceTypes.FilterSpec filter,
AsyncCallback<java.util.List<ComplianceTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns compliance information about entities matching the filter
ComplianceTypes.FilterSpec . |
java.util.List<ComplianceTypes.Summary> |
list(ComplianceTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns compliance information about entities matching the filter
ComplianceTypes.FilterSpec . |
public ComplianceStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ComplianceStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<ComplianceTypes.Summary> list(ComplianceTypes.FilterSpec filter)
Compliance
ComplianceTypes.FilterSpec
. Entities
without storage policy association are not returned. This method was added in
vSphere API 6.7.
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Compliance
filter
- compliance status of matching entities for which information should be returned.ComplianceTypes.FilterSpec
.public java.util.List<ComplianceTypes.Summary> list(ComplianceTypes.FilterSpec filter, InvocationConfig invocationConfig)
Compliance
ComplianceTypes.FilterSpec
. Entities
without storage policy association are not returned. This method was added in
vSphere API 6.7.
Synchronous 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 Compliance
filter
- compliance status of matching entities for which information should be returned.invocationConfig
- Configuration for the method invocation.ComplianceTypes.FilterSpec
.public void list(ComplianceTypes.FilterSpec filter, AsyncCallback<java.util.List<ComplianceTypes.Summary>> asyncCallback)
Compliance
ComplianceTypes.FilterSpec
. Entities
without storage policy association are not returned. This method was added in
vSphere API 6.7.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
compliance information about entities matching the filter ComplianceTypes.FilterSpec
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if the ComplianceTypes.FilterSpec.getStatus()
property contains a value that is not supported by the server.
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.
list
in interface Compliance
filter
- compliance status of matching entities for which information should be returned.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(ComplianceTypes.FilterSpec filter, AsyncCallback<java.util.List<ComplianceTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Compliance
ComplianceTypes.FilterSpec
. Entities
without storage policy association are not returned. This method was added in
vSphere API 6.7.
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:
compliance information about entities matching the filter ComplianceTypes.FilterSpec
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if the ComplianceTypes.FilterSpec.getStatus()
property contains a value that is not supported by the server.
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.
list
in interface Compliance
filter
- compliance status of matching entities for which information should be returned.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.