Interface Export
-
- All Superinterfaces:
ExportTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
ExportStub
public interface Export extends com.vmware.vapi.bindings.Service, ExportTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.global_infra.settings.firewall.ExportTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExportTask
cancel()
This operation cancels an export task.void
cancel(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback)
This operation cancels an export task.void
cancel(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This operation cancels an export task.ExportTask
cancel(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This operation cancels an export task.ExportTask
create(ExportRequestParameter exportRequestParameter)
Invoke export task.void
create(ExportRequestParameter exportRequestParameter, com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback)
Invoke export task.void
create(ExportRequestParameter exportRequestParameter, com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Invoke export task.ExportTask
create(ExportRequestParameter exportRequestParameter, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Invoke export task.ExportTask
get()
Get the information of the latest export task.void
get(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback)
Get the information of the latest export task.void
get(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the information of the latest export task.ExportTask
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the information of the latest export task.
-
-
-
Method Detail
-
cancel
ExportTask cancel()
This operation cancels an export 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.ExportTask
- 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
ExportTask cancel(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This operation cancels an export 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.ExportTask
- 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<ExportTask> asyncCallback)
This operation cancels an export 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.ExportTaskOperation 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<ExportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This operation cancels an export 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.ExportTaskOperation 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.
-
create
ExportTask create(ExportRequestParameter exportRequestParameter)
Invoke export task. There can be only one export task run at any point of time. Hence invocation of another export task will be discarded, when there exist an already running export task. Exported configuration will be in a CSV format. This CSV file will be zipped into a ZIP file, that can be downloaded after the completion of export task.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
exportRequestParameter
- (required)- Returns:
- com.vmware.nsx_policy.model.ExportTask
- 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
ExportTask create(ExportRequestParameter exportRequestParameter, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Invoke export task. There can be only one export task run at any point of time. Hence invocation of another export task will be discarded, when there exist an already running export task. Exported configuration will be in a CSV format. This CSV file will be zipped into a ZIP file, that can be downloaded after the completion of export 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:
exportRequestParameter
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.ExportTask
- 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(ExportRequestParameter exportRequestParameter, com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback)
Invoke export task. There can be only one export task run at any point of time. Hence invocation of another export task will be discarded, when there exist an already running export task. Exported configuration will be in a CSV format. This CSV file will be zipped into a ZIP file, that can be downloaded after the completion of export task.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.ExportTaskOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
exportRequestParameter
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
create
void create(ExportRequestParameter exportRequestParameter, com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Invoke export task. There can be only one export task run at any point of time. Hence invocation of another export task will be discarded, when there exist an already running export task. Exported configuration will be in a CSV format. This CSV file will be zipped into a ZIP file, that can be downloaded after the completion of export 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.ExportTaskOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
exportRequestParameter
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
ExportTask get()
Get the information of the latest export task.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Returns:
- com.vmware.nsx_policy.model.ExportTask
- 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
ExportTask get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the information of the latest export 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.ExportTask
- 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<ExportTask> asyncCallback)
Get the information of the latest export task.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.ExportTaskOperation 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<ExportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the information of the latest export 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.ExportTaskOperation 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.
-
-