public class MigrateStub extends com.vmware.vapi.internal.bindings.Stub implements Migrate
Migrate
API service.
WARNING: Internal class, subject to change in future versions.
MigrateTypes.MigrateSpec, MigrateTypes.MigrationAssistantSpec, MigrateTypes.PscSpec, MigrateTypes.SourceVcWindows, MigrateTypes.VcsaEmbeddedSpec
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
MigrateStub(ApiProvider apiProvider,
StubConfigurationBase config) |
MigrateStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel the appliance migration that is in progress.
|
void |
cancel(AsyncCallback<java.lang.Void> asyncCallback)
Cancel the appliance migration that is in progress.
|
void |
cancel(AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Cancel the appliance migration that is in progress.
|
void |
cancel(InvocationConfig invocationConfig)
Cancel the appliance migration that is in progress.
|
CheckInfo |
check(MigrateTypes.MigrateSpec spec)
Run sanity checks using the MigrateSpec parameters passed.
|
void |
check(MigrateTypes.MigrateSpec spec,
AsyncCallback<CheckInfo> asyncCallback)
Run sanity checks using the MigrateSpec parameters passed.
|
void |
check(MigrateTypes.MigrateSpec spec,
AsyncCallback<CheckInfo> asyncCallback,
InvocationConfig invocationConfig)
Run sanity checks using the MigrateSpec parameters passed.
|
CheckInfo |
check(MigrateTypes.MigrateSpec spec,
InvocationConfig invocationConfig)
Run sanity checks using the MigrateSpec parameters passed.
|
MigrateTypes.MigrateSpec |
get()
Get the MigrateSpec parameters used to configure the ongoing appliance
migration.
|
void |
get(AsyncCallback<MigrateTypes.MigrateSpec> asyncCallback)
Get the MigrateSpec parameters used to configure the ongoing appliance
migration.
|
void |
get(AsyncCallback<MigrateTypes.MigrateSpec> asyncCallback,
InvocationConfig invocationConfig)
Get the MigrateSpec parameters used to configure the ongoing appliance
migration.
|
MigrateTypes.MigrateSpec |
get(InvocationConfig invocationConfig)
Get the MigrateSpec parameters used to configure the ongoing appliance
migration.
|
void |
start(MigrateTypes.MigrateSpec spec)
Start the appliance migration.
|
void |
start(MigrateTypes.MigrateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Start the appliance migration.
|
void |
start(MigrateTypes.MigrateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Start the appliance migration.
|
void |
start(MigrateTypes.MigrateSpec spec,
InvocationConfig invocationConfig)
Start the appliance migration.
|
public MigrateStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public MigrateStub(ApiProvider apiProvider, StubConfigurationBase config)
public MigrateTypes.MigrateSpec get()
Migrate
Synchronous method overload. Result of the invocation will be reported as a method return value.
public MigrateTypes.MigrateSpec get(InvocationConfig invocationConfig)
Migrate
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(AsyncCallback<MigrateTypes.MigrateSpec> asyncCallback)
Migrate
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
MigrateSpec parameters being used to configure appliance migration.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if appliance is not in MIGRATE_PROGRESS state.
public void get(AsyncCallback<MigrateTypes.MigrateSpec> asyncCallback, InvocationConfig invocationConfig)
Migrate
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:
MigrateSpec parameters being used to configure appliance migration.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if appliance is not in MIGRATE_PROGRESS state.
public CheckInfo check(MigrateTypes.MigrateSpec spec)
Migrate
Synchronous method overload. Result of the invocation will be reported as a method return value.
public CheckInfo check(MigrateTypes.MigrateSpec spec, InvocationConfig invocationConfig)
Migrate
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 check(MigrateTypes.MigrateSpec spec, AsyncCallback<CheckInfo> asyncCallback)
Migrate
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
CheckInfo containing the check results.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
Unauthenticated
- if migration assistant credentials are not valid.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.
public void check(MigrateTypes.MigrateSpec spec, AsyncCallback<CheckInfo> asyncCallback, InvocationConfig invocationConfig)
Migrate
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:
CheckInfo containing the check results.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
Unauthenticated
- if migration assistant credentials are not valid.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.
public void start(MigrateTypes.MigrateSpec spec)
Migrate
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void start(MigrateTypes.MigrateSpec spec, InvocationConfig invocationConfig)
Migrate
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 start(MigrateTypes.MigrateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Migrate
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
Unauthenticated
- if migration assistant credentials are not valid.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.
public void start(MigrateTypes.MigrateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Migrate
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.
Unauthenticated
- if migration assistant credentials are not valid.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.
public void cancel()
Migrate
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void cancel(InvocationConfig invocationConfig)
Migrate
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(AsyncCallback<java.lang.Void> asyncCallback)
Migrate
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if the appliance is not in CONFIG_IN_PROGRESS state and if the operation is not
INSTALL.
public void cancel(AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Migrate
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.
NotAllowedInCurrentState
- if the appliance is not in CONFIG_IN_PROGRESS state and if the operation is not
INSTALL.