public class InstallStub extends com.vmware.vapi.internal.bindings.Stub implements Install
Install
API service.
WARNING: Internal class, subject to change in future versions.
InstallTypes.InstallSpec, InstallTypes.VcsaEmbeddedSpec
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
InstallStub(ApiProvider apiProvider,
StubConfigurationBase config) |
InstallStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public InstallStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public InstallStub(ApiProvider apiProvider, StubConfigurationBase config)
public InstallTypes.InstallSpec get()
Install
Synchronous method overload. Result of the invocation will be reported as a method return value.
public InstallTypes.InstallSpec get(InvocationConfig invocationConfig)
Install
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<InstallTypes.InstallSpec> asyncCallback)
Install
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.
public void get(AsyncCallback<InstallTypes.InstallSpec> asyncCallback, InvocationConfig invocationConfig)
Install
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.
public CheckInfo check(InstallTypes.InstallSpec spec)
Install
Synchronous method overload. Result of the invocation will be reported as a method return value.
public CheckInfo check(InstallTypes.InstallSpec spec, InvocationConfig invocationConfig)
Install
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(InstallTypes.InstallSpec spec, AsyncCallback<CheckInfo> asyncCallback)
Install
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.
public void check(InstallTypes.InstallSpec spec, AsyncCallback<CheckInfo> asyncCallback, InvocationConfig invocationConfig)
Install
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.
public void start(InstallTypes.InstallSpec spec)
Install
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void start(InstallTypes.InstallSpec spec, InvocationConfig invocationConfig)
Install
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(InstallTypes.InstallSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Install
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.
public void start(InstallTypes.InstallSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Install
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.
public void cancel()
Install
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void cancel(InvocationConfig invocationConfig)
Install
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)
Install
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)
Install
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.