public class StandaloneStub extends com.vmware.vapi.internal.bindings.Stub implements Standalone
Standalone
API service.
WARNING: Internal class, subject to change in future versions.
Constructor and Description |
---|
StandaloneStub(ApiProvider apiProvider,
StubConfigurationBase config) |
StandaloneStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
CheckInfo |
check(StandalonePscSpec spec)
Checks that the information to configure a non-replicated PSC satisfies the
requirements.
|
void |
check(StandalonePscSpec spec,
AsyncCallback<CheckInfo> asyncCallback)
Checks that the information to configure a non-replicated PSC satisfies the
requirements.
|
void |
check(StandalonePscSpec spec,
AsyncCallback<CheckInfo> asyncCallback,
InvocationConfig invocationConfig)
Checks that the information to configure a non-replicated PSC satisfies the
requirements.
|
CheckInfo |
check(StandalonePscSpec spec,
InvocationConfig invocationConfig)
Checks that the information to configure a non-replicated PSC satisfies the
requirements.
|
public StandaloneStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public StandaloneStub(ApiProvider apiProvider, StubConfigurationBase config)
public CheckInfo check(StandalonePscSpec spec)
Standalone
Synchronous method overload. Result of the invocation will be reported as a method return value.
check
in interface Standalone
spec
- Information to configure a non-replicated PSC.public CheckInfo check(StandalonePscSpec spec, InvocationConfig invocationConfig)
Standalone
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
check
in interface Standalone
spec
- Information to configure a non-replicated PSC.invocationConfig
- Configuration for the method invocation.public void check(StandalonePscSpec spec, AsyncCallback<CheckInfo> asyncCallback)
Standalone
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Information about the success or failure of the checks that were performed.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.
check
in interface Standalone
spec
- Information to configure a non-replicated PSC.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void check(StandalonePscSpec spec, AsyncCallback<CheckInfo> asyncCallback, InvocationConfig invocationConfig)
Standalone
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:
Information about the success or failure of the checks that were performed.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.
check
in interface Standalone
spec
- Information to configure a non-replicated PSC.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.