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()
ImportHistory
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ImportHistory
public ImportHistoryTypes.Info get(InvocationConfig invocationConfig)
ImportHistory
Synchronous 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 ImportHistory
invocationConfig
- Configuration for the method invocation.public void get(AsyncCallback<ImportHistoryTypes.Info> asyncCallback)
ImportHistory
Asynchronous 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 ImportHistory
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<ImportHistoryTypes.Info> asyncCallback, InvocationConfig invocationConfig)
ImportHistory
Asynchronous 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 ImportHistory
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void start(ImportHistoryTypes.CreateSpec spec)
ImportHistory
Synchronous method overload. Result of the invocation will be reported as a method return value.
start
in interface ImportHistory
spec
- 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)
ImportHistory
Synchronous 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 ImportHistory
spec
- 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)
ImportHistory
Asynchronous 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 ImportHistory
spec
- 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)
ImportHistory
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:
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 ImportHistory
spec
- 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()
ImportHistory
Synchronous method overload. Result of the invocation will be reported as a method return value.
pause
in interface ImportHistory
public void pause(InvocationConfig invocationConfig)
ImportHistory
Synchronous 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 ImportHistory
invocationConfig
- Configuration for the method invocation.public void pause(AsyncCallback<java.lang.Void> asyncCallback)
ImportHistory
Asynchronous 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 ImportHistory
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void pause(AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
ImportHistory
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:
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 ImportHistory
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void resume()
ImportHistory
Synchronous method overload. Result of the invocation will be reported as a method return value.
resume
in interface ImportHistory
public void resume(InvocationConfig invocationConfig)
ImportHistory
Synchronous 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 ImportHistory
invocationConfig
- Configuration for the method invocation.public void resume(AsyncCallback<java.lang.Void> asyncCallback)
ImportHistory
Asynchronous 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 ImportHistory
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void resume(AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
ImportHistory
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:
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 ImportHistory
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void cancel()
ImportHistory
Synchronous method overload. Result of the invocation will be reported as a method return value.
cancel
in interface ImportHistory
public void cancel(InvocationConfig invocationConfig)
ImportHistory
Synchronous 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 ImportHistory
invocationConfig
- Configuration for the method invocation.public void cancel(AsyncCallback<java.lang.Void> asyncCallback)
ImportHistory
Asynchronous 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 ImportHistory
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void cancel(AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
ImportHistory
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:
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 ImportHistory
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.