Interface Import
-
- All Superinterfaces:
ImportTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
ImportStub
public interface Import extends com.vmware.vapi.bindings.Service, ImportTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.settings.firewall.ImportTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportTask
cancel()
This operation cancels an import task.void
cancel(com.vmware.vapi.bindings.client.AsyncCallback<ImportTask> asyncCallback)
This operation cancels an import task.void
cancel(com.vmware.vapi.bindings.client.AsyncCallback<ImportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This operation cancels an import task.ImportTask
cancel(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This operation cancels an import task.ImportTask
get()
Get the information of the latest import task.void
get(com.vmware.vapi.bindings.client.AsyncCallback<ImportTask> asyncCallback)
Get the information of the latest import task.void
get(com.vmware.vapi.bindings.client.AsyncCallback<ImportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the information of the latest import task.ImportTask
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the information of the latest import task.
-
-
-
Method Detail
-
cancel
ImportTask cancel()
This operation cancels an import task. Task needs to be in running state.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Returns:
- com.vmware.nsx_policy.model.ImportTask
- 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
-
cancel
ImportTask cancel(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This operation cancels an import task. Task needs to be in running state.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:
invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.ImportTask
- 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
-
cancel
void cancel(com.vmware.vapi.bindings.client.AsyncCallback<ImportTask> asyncCallback)
This operation cancels an import task. Task needs to be in running state.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.ImportTaskOperation 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.
-
cancel
void cancel(com.vmware.vapi.bindings.client.AsyncCallback<ImportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This operation cancels an import task. Task needs to be in running state.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.ImportTaskOperation 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.
-
get
ImportTask get()
Get the information of the latest import task.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Returns:
- com.vmware.nsx_policy.model.ImportTask
- 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
ImportTask get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the information of the latest import task.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:
invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.ImportTask
- 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<ImportTask> asyncCallback)
Get the information of the latest import task.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.ImportTaskOperation 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<ImportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the information of the latest import task.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.ImportTaskOperation 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.
-
-