public interface Migrate extends Service, MigrateTypes
Migrate
interface provides methods to configure the migration of
this appliance from an existing vCenter for Windows. This interface was added in
vSphere API 7.0.0.0.MigrateTypes.MigrateSpec, MigrateTypes.MigrationAssistantSpec, MigrateTypes.PscSpec, MigrateTypes.SourceVcWindows, MigrateTypes.VcsaEmbeddedSpec
_VAPI_SERVICE_ID
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.
|
MigrateTypes.MigrateSpec get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Unauthenticated
- if the caller is not authenticated.NotAllowedInCurrentState
- if appliance is not in MIGRATE_PROGRESS state.MigrateTypes.MigrateSpec get(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.
invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the caller is not authenticated.NotAllowedInCurrentState
- if appliance is not in MIGRATE_PROGRESS state.void get(AsyncCallback<MigrateTypes.MigrateSpec> asyncCallback)
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.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<MigrateTypes.MigrateSpec> asyncCallback, 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:
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.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.CheckInfo check(MigrateTypes.MigrateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- MigrateSpec parameters to run sanity check on.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.CheckInfo check(MigrateTypes.MigrateSpec spec, 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.
spec
- MigrateSpec parameters to run sanity check on.invocationConfig
- Configuration for the method invocation.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.void check(MigrateTypes.MigrateSpec spec, AsyncCallback<CheckInfo> asyncCallback)
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.
spec
- MigrateSpec parameters to run sanity check on.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void check(MigrateTypes.MigrateSpec spec, AsyncCallback<CheckInfo> asyncCallback, 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:
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.
spec
- MigrateSpec parameters to run sanity check on.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void start(MigrateTypes.MigrateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- MigrateSpec parameters to configure the appliance migration.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.void start(MigrateTypes.MigrateSpec spec, 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.
spec
- MigrateSpec parameters to configure the appliance migration.invocationConfig
- Configuration for the method invocation.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.void start(MigrateTypes.MigrateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
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.
spec
- MigrateSpec parameters to configure the appliance migration.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void start(MigrateTypes.MigrateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, 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.
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.
spec
- MigrateSpec parameters to configure the appliance migration.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void cancel()
Synchronous method overload. Result of the invocation will be reported as a method return value.
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.void cancel(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.
invocationConfig
- Configuration for the method invocation.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.void cancel(AsyncCallback<java.lang.Void> asyncCallback)
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.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void cancel(AsyncCallback<java.lang.Void> asyncCallback, 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.
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.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.