Interface Maintenance
-
- All Superinterfaces:
MaintenanceTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
MaintenanceStub
public interface Maintenance extends com.vmware.vapi.bindings.Service, MaintenanceTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.sites.agents.intelligence.MaintenanceTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract 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
-
-
-
Method Detail
-
get
AnalyticsMaintenanceMode get()
Get current status of maintenance mode for Analytics agentsSynchronous method overload. Result of the invocation will be reported as a method return value.
- Returns:
- com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
get
AnalyticsMaintenanceMode get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.- Parameters:
invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
get
void get(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)
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
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
void get(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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
- Parameters:
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
AnalyticsMaintenanceMode update(AnalyticsMaintenanceMode analyticsMaintenanceMode)
Activate/deactivate maintenance mode for Analytics agentsSynchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
analyticsMaintenanceMode
- (required)- Returns:
- com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
update
AnalyticsMaintenanceMode update(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.- Parameters:
analyticsMaintenanceMode
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
update
void update(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)
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
- Parameters:
analyticsMaintenanceMode
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
void update(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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
- Parameters:
analyticsMaintenanceMode
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-