public interface Replicated extends Service, ReplicatedTypes
Replicated
interface provides methods to check if the configuring
vCenter Server can be replicated to the remote PSC. This interface was added in
vSphere API 6.7._VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
CheckInfo |
check(ReplicatedPscSpec spec)
Checks whether the provided remote PSC is reachable and can be replicated.
|
void |
check(ReplicatedPscSpec spec,
AsyncCallback<CheckInfo> asyncCallback)
Checks whether the provided remote PSC is reachable and can be replicated.
|
void |
check(ReplicatedPscSpec spec,
AsyncCallback<CheckInfo> asyncCallback,
InvocationConfig invocationConfig)
Checks whether the provided remote PSC is reachable and can be replicated.
|
CheckInfo |
check(ReplicatedPscSpec spec,
InvocationConfig invocationConfig)
Checks whether the provided remote PSC is reachable and can be replicated.
|
CheckInfo check(ReplicatedPscSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- Information to configure a replicated PSC.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.InvalidArgument
- if passed arguments are invalid.NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.CheckInfo check(ReplicatedPscSpec 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 configure a replicated PSC.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.InvalidArgument
- if passed arguments are invalid.NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.void check(ReplicatedPscSpec 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 PSC to replicate with
an external existing PSC.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.
spec
- Information to configure a replicated PSC.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void check(ReplicatedPscSpec 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 PSC to replicate with
an external existing PSC.
InvalidArgument
- if passed arguments are invalid.
NotAllowedInCurrentState
- if the appliance is not in INITIALIZED state.
spec
- Information to configure a replicated PSC.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.