Class ExportStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.global_infra.settings.firewall.ExportStub
-
- All Implemented Interfaces:
Export
,ExportTypes
,com.vmware.vapi.bindings.Service
public class ExportStub extends com.vmware.vapi.internal.bindings.Stub implements Export
Remote stub implementation of theExport
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.global_infra.settings.firewall.ExportTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description ExportStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
ExportStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
ExportStub
public ExportStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
ExportStub
public ExportStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
cancel
public ExportTask cancel()
Description copied from interface:Export
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.
-
cancel
public ExportTask cancel(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Export
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.
-
cancel
public void cancel(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback)
Description copied from interface:Export
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
-
cancel
public void cancel(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Export
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
-
create
public ExportTask create(ExportRequestParameter exportRequestParameter)
Description copied from interface:Export
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.
-
create
public ExportTask create(ExportRequestParameter exportRequestParameter, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Export
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.
-
create
public void create(ExportRequestParameter exportRequestParameter, com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback)
Description copied from interface:Export
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
-
create
public void create(ExportRequestParameter exportRequestParameter, com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Export
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
-
get
public ExportTask get()
Description copied from interface:Export
Get the information of the latest export task.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
get
public ExportTask get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Export
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.
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback)
Description copied from interface:Export
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
-
get
public void get(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:Export
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
-
-