public interface Tasks extends com.vmware.vapi.bindings.Service, TasksTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
cancel(java.lang.String taskId)
Cancel specified task
|
void |
cancel(java.lang.String taskId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Cancel specified task
|
void |
cancel(java.lang.String taskId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Cancel specified task
|
void |
cancel(java.lang.String taskId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Cancel specified task
|
void |
delete(java.lang.String taskId)
Delete task
|
void |
delete(java.lang.String taskId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete task
|
void |
delete(java.lang.String taskId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete task
|
void |
delete(java.lang.String taskId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete task
|
ApplianceManagementTaskProperties |
get(java.lang.String taskId,
java.lang.Boolean suppressRedirect)
Read task properties
|
void |
get(java.lang.String taskId,
java.lang.Boolean suppressRedirect,
com.vmware.vapi.bindings.client.AsyncCallback<ApplianceManagementTaskProperties> asyncCallback)
Read task properties
|
void |
get(java.lang.String taskId,
java.lang.Boolean suppressRedirect,
com.vmware.vapi.bindings.client.AsyncCallback<ApplianceManagementTaskProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read task properties
|
ApplianceManagementTaskProperties |
get(java.lang.String taskId,
java.lang.Boolean suppressRedirect,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read task properties
|
ApplianceManagementTaskListResult |
list(java.lang.String fields,
java.lang.String requestMethod,
java.lang.String requestPath,
java.lang.String requestUri,
java.lang.String status,
java.lang.String user)
List appliance management tasks
|
void |
list(java.lang.String fields,
java.lang.String requestMethod,
java.lang.String requestPath,
java.lang.String requestUri,
java.lang.String status,
java.lang.String user,
com.vmware.vapi.bindings.client.AsyncCallback<ApplianceManagementTaskListResult> asyncCallback)
List appliance management tasks
|
void |
list(java.lang.String fields,
java.lang.String requestMethod,
java.lang.String requestPath,
java.lang.String requestUri,
java.lang.String status,
java.lang.String user,
com.vmware.vapi.bindings.client.AsyncCallback<ApplianceManagementTaskListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List appliance management tasks
|
ApplianceManagementTaskListResult |
list(java.lang.String fields,
java.lang.String requestMethod,
java.lang.String requestPath,
java.lang.String requestUri,
java.lang.String status,
java.lang.String user,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List appliance management tasks
|
void cancel(java.lang.String taskId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
taskId
- ID of task to delete (required)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 Foundvoid cancel(java.lang.String taskId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
taskId
- ID of task to delete (required)invocationConfig
- Configuration for the method invocation.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 Foundvoid cancel(java.lang.String taskId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
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
taskId
- ID of task to delete (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void cancel(java.lang.String taskId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
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
taskId
- ID of task to delete (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String taskId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
taskId
- ID of task to delete (required)com.vmware.vapi.std.errors.ConcurrentChange
- Conflictcom.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 Foundvoid delete(java.lang.String taskId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
taskId
- ID of task to delete (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.ConcurrentChange
- Conflictcom.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 Foundvoid delete(java.lang.String taskId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
ConcurrentChange
- Conflict
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
taskId
- ID of task to delete (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String taskId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
ConcurrentChange
- Conflict
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
taskId
- ID of task to delete (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ApplianceManagementTaskProperties get(java.lang.String taskId, java.lang.Boolean suppressRedirect)
Synchronous method overload. Result of the invocation will be reported as a method return value.
taskId
- ID of task to read (required)suppressRedirect
- Suppress redirect status if applicable (optional, default to false)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 FoundApplianceManagementTaskProperties get(java.lang.String taskId, java.lang.Boolean suppressRedirect, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
taskId
- ID of task to read (required)suppressRedirect
- Suppress redirect status if applicable (optional, default to false)invocationConfig
- Configuration for the method invocation.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 Foundvoid get(java.lang.String taskId, java.lang.Boolean suppressRedirect, com.vmware.vapi.bindings.client.AsyncCallback<ApplianceManagementTaskProperties> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ApplianceManagementTaskProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
taskId
- ID of task to read (required)suppressRedirect
- Suppress redirect status if applicable (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String taskId, java.lang.Boolean suppressRedirect, com.vmware.vapi.bindings.client.AsyncCallback<ApplianceManagementTaskProperties> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.model.ApplianceManagementTaskProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
taskId
- ID of task to read (required)suppressRedirect
- Suppress redirect status if applicable (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.ApplianceManagementTaskListResult list(java.lang.String fields, java.lang.String requestMethod, java.lang.String requestPath, java.lang.String requestUri, java.lang.String status, java.lang.String user)
Synchronous method overload. Result of the invocation will be reported as a method return value.
fields
- Fields to include in query results (optional)requestMethod
- Request method(s) to include in query result (optional)requestPath
- Request URI path(s) to include in query result (optional)requestUri
- Request URI(s) to include in query result (optional)status
- Status(es) to include in query result (optional)user
- Names of users to include in query result (optional)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 FoundApplianceManagementTaskListResult list(java.lang.String fields, java.lang.String requestMethod, java.lang.String requestPath, java.lang.String requestUri, java.lang.String status, java.lang.String user, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
fields
- Fields to include in query results (optional)requestMethod
- Request method(s) to include in query result (optional)requestPath
- Request URI path(s) to include in query result (optional)requestUri
- Request URI(s) to include in query result (optional)status
- Status(es) to include in query result (optional)user
- Names of users to include in query result (optional)invocationConfig
- Configuration for the method invocation.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 Foundvoid list(java.lang.String fields, java.lang.String requestMethod, java.lang.String requestPath, java.lang.String requestUri, java.lang.String status, java.lang.String user, com.vmware.vapi.bindings.client.AsyncCallback<ApplianceManagementTaskListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ApplianceManagementTaskListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
fields
- Fields to include in query results (optional)requestMethod
- Request method(s) to include in query result (optional)requestPath
- Request URI path(s) to include in query result (optional)requestUri
- Request URI(s) to include in query result (optional)status
- Status(es) to include in query result (optional)user
- Names of users to include in query result (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String fields, java.lang.String requestMethod, java.lang.String requestPath, java.lang.String requestUri, java.lang.String status, java.lang.String user, com.vmware.vapi.bindings.client.AsyncCallback<ApplianceManagementTaskListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.model.ApplianceManagementTaskListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
fields
- Fields to include in query results (optional)requestMethod
- Request method(s) to include in query result (optional)requestPath
- Request URI path(s) to include in query result (optional)requestUri
- Request URI(s) to include in query result (optional)status
- Status(es) to include in query result (optional)user
- Names of users to include in query result (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.