public class MaintenanceStub extends com.vmware.vapi.internal.bindings.Stub implements Maintenance
Maintenance
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
AnalyticsMaintenanceMode |
get()
Activate/deactivate maintenance mode for Analytics agents
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)
Activate/deactivate maintenance mode for Analytics agents
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Activate/deactivate maintenance mode for Analytics agents
|
AnalyticsMaintenanceMode |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Activate/deactivate maintenance mode for Analytics agents
|
AnalyticsMaintenanceMode |
update(AnalyticsMaintenanceMode analyticsMaintenanceMode)
Activate/deactivate maintenance mode for Analytics agents
|
void |
update(AnalyticsMaintenanceMode analyticsMaintenanceMode,
com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)
Activate/deactivate maintenance mode for Analytics agents
|
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 agents
|
AnalyticsMaintenanceMode |
update(AnalyticsMaintenanceMode analyticsMaintenanceMode,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Activate/deactivate maintenance mode for Analytics agents
|
public MaintenanceStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public MaintenanceStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public AnalyticsMaintenanceMode get()
Maintenance
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Maintenance
public AnalyticsMaintenanceMode get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Maintenance
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
in interface Maintenance
invocationConfig
- Configuration for the method invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)
Maintenance
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface Maintenance
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Maintenance
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:
com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface Maintenance
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public AnalyticsMaintenanceMode update(AnalyticsMaintenanceMode analyticsMaintenanceMode)
Maintenance
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface Maintenance
analyticsMaintenanceMode
- (required)public AnalyticsMaintenanceMode update(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Maintenance
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface Maintenance
analyticsMaintenanceMode
- (required)invocationConfig
- Configuration for the method invocation.public void update(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)
Maintenance
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface Maintenance
analyticsMaintenanceMode
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Maintenance
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:
com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface Maintenance
analyticsMaintenanceMode
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.