Class MaintenanceStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.sites.agents.intelligence.MaintenanceStub
-
- All Implemented Interfaces:
Maintenance
,MaintenanceTypes
,com.vmware.vapi.bindings.Service
public class MaintenanceStub extends com.vmware.vapi.internal.bindings.Stub implements Maintenance
Remote stub implementation of theMaintenance
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.sites.agents.intelligence.MaintenanceTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description MaintenanceStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
MaintenanceStub(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 AnalyticsMaintenanceMode
get()
Get current status of maintenance mode for Analytics agentsvoid
get(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)
Get current status of maintenance mode for Analytics agentsvoid
get(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get current status of maintenance mode for Analytics agentsAnalyticsMaintenanceMode
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get current status of maintenance mode for Analytics agentsAnalyticsMaintenanceMode
update(AnalyticsMaintenanceMode analyticsMaintenanceMode)
Activate/deactivate maintenance mode for Analytics agentsvoid
update(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)
Activate/deactivate maintenance mode for Analytics agentsvoid
update(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Activate/deactivate maintenance mode for Analytics agentsAnalyticsMaintenanceMode
update(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Activate/deactivate maintenance mode for Analytics agents
-
-
-
Constructor Detail
-
MaintenanceStub
public MaintenanceStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
MaintenanceStub
public MaintenanceStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public AnalyticsMaintenanceMode get()
Description copied from interface:Maintenance
Get current status of maintenance mode for Analytics agentsSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceMaintenance
- Returns:
- com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
-
get
public AnalyticsMaintenanceMode get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Maintenance
Get current status of maintenance mode for Analytics agentsSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
get
in interfaceMaintenance
- Parameters:
invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)
Description copied from interface:Maintenance
Get current status of maintenance mode for Analytics agentsAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.AnalyticsMaintenanceModeOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceMaintenance
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Maintenance
Get current status of maintenance mode for Analytics agentsAsynchronous 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.AnalyticsMaintenanceModeOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceMaintenance
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
public AnalyticsMaintenanceMode update(AnalyticsMaintenanceMode analyticsMaintenanceMode)
Description copied from interface:Maintenance
Activate/deactivate maintenance mode for Analytics agentsSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
update
in interfaceMaintenance
- Parameters:
analyticsMaintenanceMode
- (required)- Returns:
- com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
-
update
public AnalyticsMaintenanceMode update(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Maintenance
Activate/deactivate maintenance mode for Analytics agentsSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
update
in interfaceMaintenance
- Parameters:
analyticsMaintenanceMode
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
-
update
public void update(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)
Description copied from interface:Maintenance
Activate/deactivate maintenance mode for Analytics agentsAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.AnalyticsMaintenanceModeOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceMaintenance
- Parameters:
analyticsMaintenanceMode
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
public void update(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Maintenance
Activate/deactivate maintenance mode for Analytics agentsAsynchronous 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.AnalyticsMaintenanceModeOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
update
in interfaceMaintenance
- Parameters:
analyticsMaintenanceMode
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-