Class VmStatsStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.settings.firewall.idfw.VmStatsStub
-
- All Implemented Interfaces:
VmStats
,VmStatsTypes
,com.vmware.vapi.bindings.Service
public class VmStatsStub extends com.vmware.vapi.internal.bindings.Stub implements VmStats
Remote stub implementation of theVmStats
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.infra.settings.firewall.idfw.VmStatsTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description VmStatsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
VmStatsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdfwVmStats
get(java.lang.String vmId, java.lang.String enforcementPointPath)
It will get IDFW user login events for a given VM (all active plus up to 5 most recent archived entries).void
get(java.lang.String vmId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<IdfwVmStats> asyncCallback)
It will get IDFW user login events for a given VM (all active plus up to 5 most recent archived entries).void
get(java.lang.String vmId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<IdfwVmStats> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
It will get IDFW user login events for a given VM (all active plus up to 5 most recent archived entries).IdfwVmStats
get(java.lang.String vmId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
It will get IDFW user login events for a given VM (all active plus up to 5 most recent archived entries).
-
-
-
Constructor Detail
-
VmStatsStub
public VmStatsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
VmStatsStub
public VmStatsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public IdfwVmStats get(java.lang.String vmId, java.lang.String enforcementPointPath)
Description copied from interface:VmStats
It will get IDFW user login events for a given VM (all active plus up to 5 most recent archived entries).Synchronous method overload. Result of the invocation will be reported as a method return value.
-
get
public IdfwVmStats get(java.lang.String vmId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:VmStats
It will get IDFW user login events for a given VM (all active plus up to 5 most recent archived entries).Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
get
public void get(java.lang.String vmId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<IdfwVmStats> asyncCallback)
Description copied from interface:VmStats
It will get IDFW user login events for a given VM (all active plus up to 5 most recent archived entries).Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.IdfwVmStatsOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
get
public void get(java.lang.String vmId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<IdfwVmStats> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:VmStats
It will get IDFW user login events for a given VM (all active plus up to 5 most recent archived entries).Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.IdfwVmStatsOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
-
-