public interface Performtask extends com.vmware.vapi.bindings.Service, PerformtaskTypes
_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
UpgradeTaskProperties |
create(UpgradeTaskProperties upgradeTaskProperties,
java.lang.String action)
Execute upgrade task.
|
void |
create(UpgradeTaskProperties upgradeTaskProperties,
java.lang.String action,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTaskProperties> asyncCallback)
Execute upgrade task.
|
void |
create(UpgradeTaskProperties upgradeTaskProperties,
java.lang.String action,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTaskProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Execute upgrade task.
|
UpgradeTaskProperties |
create(UpgradeTaskProperties upgradeTaskProperties,
java.lang.String action,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Execute upgrade task.
|
UpgradeTaskProperties create(UpgradeTaskProperties upgradeTaskProperties, java.lang.String action)
Synchronous method overload. Result of the invocation will be reported as a method return value.
upgradeTaskProperties - (required)action - Upgrade task (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 FoundUpgradeTaskProperties create(UpgradeTaskProperties upgradeTaskProperties, java.lang.String action, 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.
upgradeTaskProperties - (required)action - Upgrade task (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 create(UpgradeTaskProperties upgradeTaskProperties, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTaskProperties> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.UpgradeTaskProperties
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
upgradeTaskProperties - (required)action - Upgrade task (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.void create(UpgradeTaskProperties upgradeTaskProperties, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTaskProperties> 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.UpgradeTaskProperties
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
upgradeTaskProperties - (required)action - Upgrade task (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.