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.Info| Constructor and Description |
|---|
ImportHistoryStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ImportHistoryStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the task for importing vCenter historical data.
|
void |
cancel(AsyncCallback<java.lang.Void> asyncCallback)
Cancels the task for importing vCenter historical data.
|
void |
cancel(AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Cancels the task for importing vCenter historical data.
|
void |
cancel(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(AsyncCallback<ImportHistoryTypes.Info> asyncCallback)
Get the current status of the vCenter historical data import.
|
void |
get(AsyncCallback<ImportHistoryTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get the current status of the vCenter historical data import.
|
ImportHistoryTypes.Info |
get(InvocationConfig invocationConfig)
Get the current status of the vCenter historical data import.
|
void |
pause()
Pauses the task for importing vCenter historical data.
|
void |
pause(AsyncCallback<java.lang.Void> asyncCallback)
Pauses the task for importing vCenter historical data.
|
void |
pause(AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Pauses the task for importing vCenter historical data.
|
void |
pause(InvocationConfig invocationConfig)
Pauses the task for importing vCenter historical data.
|
void |
resume()
Resumes the task for importing vCenter historical data.
|
void |
resume(AsyncCallback<java.lang.Void> asyncCallback)
Resumes the task for importing vCenter historical data.
|
void |
resume(AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Resumes the task for importing vCenter historical data.
|
void |
resume(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,
AsyncCallback<java.lang.Void> asyncCallback)
Creates and starts task for importing vCenter historical data.
|
void |
start(ImportHistoryTypes.CreateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Creates and starts task for importing vCenter historical data.
|
void |
start(ImportHistoryTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Creates and starts task for importing vCenter historical data.
|
public ImportHistoryStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ImportHistoryStub(ApiProvider apiProvider, 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(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(AsyncCallback<ImportHistoryTypes.Info> asyncCallback)
ImportHistoryAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation 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(AsyncCallback<ImportHistoryTypes.Info> asyncCallback, 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 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, 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, 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, AsyncCallback<java.lang.Void> asyncCallback, 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(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(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(AsyncCallback<java.lang.Void> asyncCallback, 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(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(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(AsyncCallback<java.lang.Void> asyncCallback, 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(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(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(AsyncCallback<java.lang.Void> asyncCallback, 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.