public interface Install extends Service, InstallTypes
Install
interface provides methods to configure the installation of
the appliance. This interface was added in vSphere API 6.7.InstallTypes.InstallSpec, InstallTypes.VcsaEmbeddedSpec
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel the appliance installation that is in progress.
|
void |
cancel(AsyncCallback<java.lang.Void> asyncCallback)
Cancel the appliance installation that is in progress.
|
void |
cancel(AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Cancel the appliance installation that is in progress.
|
void |
cancel(InvocationConfig invocationConfig)
Cancel the appliance installation that is in progress.
|
CheckInfo |
check(InstallTypes.InstallSpec spec)
Run sanity checks using the InstallSpec parameters passed.
|
void |
check(InstallTypes.InstallSpec spec,
AsyncCallback<CheckInfo> asyncCallback)
Run sanity checks using the InstallSpec parameters passed.
|
void |
check(InstallTypes.InstallSpec spec,
AsyncCallback<CheckInfo> asyncCallback,
InvocationConfig invocationConfig)
Run sanity checks using the InstallSpec parameters passed.
|
CheckInfo |
check(InstallTypes.InstallSpec spec,
InvocationConfig invocationConfig)
Run sanity checks using the InstallSpec parameters passed.
|
InstallTypes.InstallSpec |
get()
Get the parameters used to configure the ongoing appliance installation.
|
void |
get(AsyncCallback<InstallTypes.InstallSpec> asyncCallback)
Get the parameters used to configure the ongoing appliance installation.
|
void |
get(AsyncCallback<InstallTypes.InstallSpec> asyncCallback,
InvocationConfig invocationConfig)
Get the parameters used to configure the ongoing appliance installation.
|
InstallTypes.InstallSpec |
get(InvocationConfig invocationConfig)
Get the parameters used to configure the ongoing appliance installation.
|
void |
start(InstallTypes.InstallSpec spec)
Start the appliance installation.
|
void |
start(InstallTypes.InstallSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Start the appliance installation.
|
void |
start(InstallTypes.InstallSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Start the appliance installation.
|
void |
start(InstallTypes.InstallSpec spec,
InvocationConfig invocationConfig)
Start the appliance installation.
|
InstallTypes.InstallSpec 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 INSTALL_PROGRESS state.InstallTypes.InstallSpec 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 INSTALL_PROGRESS state.void get(AsyncCallback<InstallTypes.InstallSpec> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
InstallSpec parameters being used to configure appliance install.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if appliance is not in INSTALL_PROGRESS state.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<InstallTypes.InstallSpec> 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:
InstallSpec parameters being used to configure appliance install.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotAllowedInCurrentState
- if appliance is not in INSTALL_PROGRESS state.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.CheckInfo check(InstallTypes.InstallSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- InstallSpec parameters to run sanity check with.Unauthenticated
- if the caller is not authenticated.Unauthenticated
- if external PSC credentials are not valid when configuring PSC to replicate with
an external existing PSC.Unauthenticated
- if external PSC credentials are not valid when configuring a VCSA_EXTERNAL
appliance.InvalidArgument
- if passed arguments are invalid.NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.CheckInfo check(InstallTypes.InstallSpec 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
- InstallSpec parameters to run sanity check with.invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the caller is not authenticated.Unauthenticated
- if external PSC credentials are not valid when configuring PSC to replicate with
an external existing PSC.Unauthenticated
- if external PSC credentials are not valid when configuring a VCSA_EXTERNAL
appliance.InvalidArgument
- if passed arguments are invalid.NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.void check(InstallTypes.InstallSpec 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 external PSC credentials are not valid when configuring PSC to replicate with
an external existing PSC.
Unauthenticated
- if external PSC credentials are not valid when configuring a VCSA_EXTERNAL
appliance.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.
spec
- InstallSpec parameters to run sanity check with.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void check(InstallTypes.InstallSpec 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 external PSC credentials are not valid when configuring PSC to replicate with
an external existing PSC.
Unauthenticated
- if external PSC credentials are not valid when configuring a VCSA_EXTERNAL
appliance.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.
spec
- InstallSpec parameters to run sanity check with.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void start(InstallTypes.InstallSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- InstallSpec parameters to configure the appliance install.Unauthenticated
- if the caller is not authenticated.Unauthenticated
- if the partner PSC credentials are not valid when configuring PSC to replicate
with partner PSC.Unauthenticated
- if external PSC credentials are not valid when configuring a VCSA_EXTERNAL
appliance.InvalidArgument
- if passed arguments are invalid.NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.void start(InstallTypes.InstallSpec 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
- InstallSpec parameters to configure the appliance install.invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the caller is not authenticated.Unauthenticated
- if the partner PSC credentials are not valid when configuring PSC to replicate
with partner PSC.Unauthenticated
- if external PSC credentials are not valid when configuring a VCSA_EXTERNAL
appliance.InvalidArgument
- if passed arguments are invalid.NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.void start(InstallTypes.InstallSpec 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 the partner PSC credentials are not valid when configuring PSC to replicate
with partner PSC.
Unauthenticated
- if external PSC credentials are not valid when configuring a VCSA_EXTERNAL
appliance.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.
spec
- InstallSpec parameters to configure the appliance install.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void start(InstallTypes.InstallSpec 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 the partner PSC credentials are not valid when configuring PSC to replicate
with partner PSC.
Unauthenticated
- if external PSC credentials are not valid when configuring a VCSA_EXTERNAL
appliance.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.
spec
- InstallSpec parameters to configure the appliance install.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.