public class TasksStub extends com.vmware.vapi.internal.bindings.Stub implements Tasks
Tasks
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
TasksStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
TasksStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
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
|
public TasksStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public TasksStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public void cancel(java.lang.String taskId)
Tasks
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void cancel(java.lang.String taskId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tasks
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void cancel(java.lang.String taskId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Tasks
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
public void cancel(java.lang.String taskId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tasks
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
public void delete(java.lang.String taskId)
Tasks
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String taskId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tasks
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void delete(java.lang.String taskId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Tasks
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
public void delete(java.lang.String taskId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tasks
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
public ApplianceManagementTaskProperties get(java.lang.String taskId, java.lang.Boolean suppressRedirect)
Tasks
Synchronous method overload. Result of the invocation will be reported as a method return value.
public ApplianceManagementTaskProperties get(java.lang.String taskId, java.lang.Boolean suppressRedirect, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Tasks
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(java.lang.String taskId, java.lang.Boolean suppressRedirect, com.vmware.vapi.bindings.client.AsyncCallback<ApplianceManagementTaskProperties> asyncCallback)
Tasks
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
public 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)
Tasks
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
get
in interface Tasks
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.public 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)
Tasks
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Tasks
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)public 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)
Tasks
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface Tasks
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.public 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)
Tasks
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
list
in interface Tasks
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.public 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)
Tasks
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
list
in interface Tasks
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.