public class RemotePscStub extends com.vmware.vapi.internal.bindings.Stub implements RemotePsc
RemotePsc
API service.
WARNING: Internal class, subject to change in future versions.
Constructor and Description |
---|
RemotePscStub(ApiProvider apiProvider,
StubConfigurationBase config) |
RemotePscStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
CheckInfo |
check(RemotePscSpec spec)
Checks whether the remote PSC is reachable and the deployed vCenter Server can
be registered with the remote PSC.
|
void |
check(RemotePscSpec spec,
AsyncCallback<CheckInfo> asyncCallback)
Checks whether the remote PSC is reachable and the deployed vCenter Server can
be registered with the remote PSC.
|
void |
check(RemotePscSpec spec,
AsyncCallback<CheckInfo> asyncCallback,
InvocationConfig invocationConfig)
Checks whether the remote PSC is reachable and the deployed vCenter Server can
be registered with the remote PSC.
|
CheckInfo |
check(RemotePscSpec spec,
InvocationConfig invocationConfig)
Checks whether the remote PSC is reachable and the deployed vCenter Server can
be registered with the remote PSC.
|
public RemotePscStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public RemotePscStub(ApiProvider apiProvider, StubConfigurationBase config)
public CheckInfo check(RemotePscSpec spec)
RemotePsc
Synchronous method overload. Result of the invocation will be reported as a method return value.
public CheckInfo check(RemotePscSpec spec, InvocationConfig invocationConfig)
RemotePsc
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(RemotePscSpec spec, AsyncCallback<CheckInfo> asyncCallback)
RemotePsc
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.
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(RemotePscSpec spec, AsyncCallback<CheckInfo> asyncCallback, InvocationConfig invocationConfig)
RemotePsc
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.
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.