Interface FullSyncAction
-
- All Superinterfaces:
FullSyncActionTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
FullSyncActionStub
public interface FullSyncAction extends com.vmware.vapi.bindings.Service, FullSyncActionTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.FullSyncActionTypes
_VAPI_SERVICE_ID, CREATE_ACTION_ABORT_CURRENT_SYNC, CREATE_ACTION_PURGE_HISTORY, CREATE_ACTION_REQUEST_FULL_SYNC, CREATE_ACTION_REQUEST_NOTIFICATIONS_FULL_SYNC, CREATE_SYNC_TYPE_SYNC
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
create(java.lang.String action, java.lang.String site, java.lang.String syncType)
Performs realized object actions specified in the action.void
create(java.lang.String action, java.lang.String site, java.lang.String syncType, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Performs realized object actions specified in the action.void
create(java.lang.String action, java.lang.String site, java.lang.String syncType, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Performs realized object actions specified in the action.void
create(java.lang.String action, java.lang.String site, java.lang.String syncType, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Performs realized object actions specified in the action.
-
-
-
Method Detail
-
create
void create(java.lang.String action, java.lang.String site, java.lang.String syncType)
Performs realized object actions specified in the action.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
action
- (required)site
- site id (optional)syncType
- Type of full sync being requested (optional)- 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
-
create
void create(java.lang.String action, java.lang.String site, java.lang.String syncType, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Performs realized object actions specified in the action.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
action
- (required)site
- site id (optional)syncType
- Type of full sync being requested (optional)invocationConfig
- Configuration for the method invocation.- 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
-
create
void create(java.lang.String action, java.lang.String site, java.lang.String syncType, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Performs realized object actions specified in the action.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
action
- (required)site
- site id (optional)syncType
- Type of full sync being requested (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
create
void create(java.lang.String action, java.lang.String site, java.lang.String syncType, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Performs realized object actions specified in the action.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
action
- (required)site
- site id (optional)syncType
- Type of full sync being requested (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-