public interface RemotePsc extends Service, RemotePscTypes
RemotePsc
interface provides methods to check if the deployed
vCenter Server can register with the remote PSC. This interface was added in
vSphere API 6.7._VAPI_SERVICE_ID
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.
|
CheckInfo check(RemotePscSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- Information to connect to the remote PSC.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.CheckInfo check(RemotePscSpec 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
- Information to connect to the remote PSC.invocationConfig
- Configuration for the method invocation.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.void check(RemotePscSpec spec, AsyncCallback<CheckInfo> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation 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.
spec
- Information to connect to the remote PSC.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void check(RemotePscSpec 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:
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.
spec
- Information to connect to the remote PSC.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.