public class ImportHistoryStub extends com.vmware.vapi.internal.bindings.Stub implements ImportHistory
ImportHistory
API service.
WARNING: Internal class, subject to change in future versions.
ImportHistoryTypes.CreateSpec, ImportHistoryTypes.InfoapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ImportHistoryStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ImportHistoryStub(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()
Cancels the task for importing vCenter historical data.
|
void |
cancel(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Cancels the task for importing vCenter historical data.
|
void |
cancel(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Cancels the task for importing vCenter historical data.
|
void |
cancel(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Cancels the task for importing vCenter historical data.
|
ImportHistoryTypes.Info |
get()
Get the current status of the vCenter historical data import.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<ImportHistoryTypes.Info> asyncCallback)
Get the current status of the vCenter historical data import.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<ImportHistoryTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the current status of the vCenter historical data import.
|
ImportHistoryTypes.Info |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the current status of the vCenter historical data import.
|
void |
pause()
Pauses the task for importing vCenter historical data.
|
void |
pause(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Pauses the task for importing vCenter historical data.
|
void |
pause(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Pauses the task for importing vCenter historical data.
|
void |
pause(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Pauses the task for importing vCenter historical data.
|
void |
resume()
Resumes the task for importing vCenter historical data.
|
void |
resume(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Resumes the task for importing vCenter historical data.
|
void |
resume(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Resumes the task for importing vCenter historical data.
|
void |
resume(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Resumes the task for importing vCenter historical data.
|
void |
start(ImportHistoryTypes.CreateSpec spec)
Creates and starts task for importing vCenter historical data.
|
void |
start(ImportHistoryTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Creates and starts task for importing vCenter historical data.
|
void |
start(ImportHistoryTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates and starts task for importing vCenter historical data.
|
void |
start(ImportHistoryTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates and starts task for importing vCenter historical data.
|
public ImportHistoryStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public ImportHistoryStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public ImportHistoryTypes.Info get()
ImportHistorySynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface ImportHistorypublic ImportHistoryTypes.Info get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ImportHistorySynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface ImportHistoryinvocationConfig - Configuration for the method invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<ImportHistoryTypes.Info> asyncCallback)
ImportHistoryAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Info structure containing the status information about the historical data
import status.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
Unauthorized - if the caller is not authorized to perform the method.
Error - Generic error
get in interface ImportHistoryasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<ImportHistoryTypes.Info> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ImportHistoryAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
Info structure containing the status information about the historical data
import status.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
Unauthorized - if the caller is not authorized to perform the method.
Error - Generic error
get in interface ImportHistoryasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void start(ImportHistoryTypes.CreateSpec spec)
ImportHistorySynchronous method overload. Result of the invocation will be reported as a method return value.
start in interface ImportHistoryspec - An optional CreateSpec info that can be passed for creating a new
historical data import task and starts it.
If null, default value will be: public void start(ImportHistoryTypes.CreateSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ImportHistorySynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
start in interface ImportHistoryspec - An optional CreateSpec info that can be passed for creating a new
historical data import task and starts it.
If null, default value will be: invocationConfig - Configuration for the method invocation.public void start(ImportHistoryTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ImportHistoryAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
Unauthorized - if the caller is not authorized to perform the method.
NotAllowedInCurrentState - if vCenter historical data import task cannot be started at this time. This can
happen in the following cases:
AlreadyInDesiredState - if vCenter historical data import task has already being started.Error - Generic errorstart in interface ImportHistoryspec - An optional CreateSpec info that can be passed for creating a new
historical data import task and starts it.
If null, default value will be: asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void start(ImportHistoryTypes.CreateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ImportHistoryAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
Unauthorized - if the caller is not authorized to perform the method.
NotAllowedInCurrentState - if vCenter historical data import task cannot be started at this time. This can
happen in the following cases:
AlreadyInDesiredState - if vCenter historical data import task has already being started.Error - Generic errorstart in interface ImportHistoryspec - An optional CreateSpec info that can be passed for creating a new
historical data import task and starts it.
If null, default value will be: asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void pause()
ImportHistorySynchronous method overload. Result of the invocation will be reported as a method return value.
pause in interface ImportHistorypublic void pause(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ImportHistorySynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
pause in interface ImportHistoryinvocationConfig - Configuration for the method invocation.public void pause(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ImportHistoryAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
Unauthorized - if the caller is not authorized to perform the method.
NotAllowedInCurrentState - if vCenter historical data import task cannot be paused at this time. Pause can
be accepted only in Status.RUNNING state.
AlreadyInDesiredState - if vCenter historical data import task is already paused
Error - Generic error
pause in interface ImportHistoryasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void pause(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ImportHistoryAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
Unauthorized - if the caller is not authorized to perform the method.
NotAllowedInCurrentState - if vCenter historical data import task cannot be paused at this time. Pause can
be accepted only in Status.RUNNING state.
AlreadyInDesiredState - if vCenter historical data import task is already paused
Error - Generic error
pause in interface ImportHistoryasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void resume()
ImportHistorySynchronous method overload. Result of the invocation will be reported as a method return value.
resume in interface ImportHistorypublic void resume(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ImportHistorySynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
resume in interface ImportHistoryinvocationConfig - Configuration for the method invocation.public void resume(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ImportHistoryAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
Unauthorized - if the caller is not authorized to perform the method.
NotAllowedInCurrentState - if vCenter historical data import task cannot be resumed at this state. Resume
can be accepted only in Status.BLOCKED state
AlreadyInDesiredState - if vCenter historical data import task is already resumed.
Error - Generic error.
resume in interface ImportHistoryasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void resume(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ImportHistoryAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
Unauthorized - if the caller is not authorized to perform the method.
NotAllowedInCurrentState - if vCenter historical data import task cannot be resumed at this state. Resume
can be accepted only in Status.BLOCKED state
AlreadyInDesiredState - if vCenter historical data import task is already resumed.
Error - Generic error.
resume in interface ImportHistoryasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void cancel()
ImportHistorySynchronous method overload. Result of the invocation will be reported as a method return value.
cancel in interface ImportHistorypublic void cancel(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ImportHistorySynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
cancel in interface ImportHistoryinvocationConfig - Configuration for the method invocation.public void cancel(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ImportHistoryAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
Unauthorized - if the caller is not authorized to perform the method.
NotAllowedInCurrentState - if vCenter historical data import task cannot be canceled at this state. This
can happen in the following cases:
AlreadyInDesiredState - if vCenter historical data import task is already canceled.Error - Generic error.cancel in interface ImportHistoryasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void cancel(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ImportHistoryAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
Unauthorized - if the caller is not authorized to perform the method.
NotAllowedInCurrentState - if vCenter historical data import task cannot be canceled at this state. This
can happen in the following cases:
AlreadyInDesiredState - if vCenter historical data import task is already canceled.Error - Generic error.cancel in interface ImportHistoryasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.