public class ReplicatedStub extends com.vmware.vapi.internal.bindings.Stub implements Replicated
Replicated
API service.
WARNING: Internal class, subject to change in future versions.
| Constructor and Description |
|---|
ReplicatedStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ReplicatedStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| 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.
|
public ReplicatedStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ReplicatedStub(ApiProvider apiProvider, StubConfigurationBase config)
public CheckInfo check(ReplicatedPscSpec spec)
ReplicatedSynchronous method overload. Result of the invocation will be reported as a method return value.
check in interface Replicatedspec - Information to configure a replicated PSC.public CheckInfo check(ReplicatedPscSpec spec, InvocationConfig invocationConfig)
ReplicatedSynchronous 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 Replicatedspec - Information to configure a replicated PSC.invocationConfig - Configuration for the method invocation.public void check(ReplicatedPscSpec spec, AsyncCallback<CheckInfo> asyncCallback)
ReplicatedAsynchronous 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 PSC to replicate with
an external existing PSC.
InvalidArgument - if passed arguments are invalid.
NotAllowedInCurrentState - if the appliance is not in INITIALIZED state.
check in interface Replicatedspec - Information to configure a replicated PSC.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void check(ReplicatedPscSpec spec, AsyncCallback<CheckInfo> asyncCallback, InvocationConfig invocationConfig)
ReplicatedAsynchronous 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 PSC to replicate with
an external existing PSC.
InvalidArgument - if passed arguments are invalid.
NotAllowedInCurrentState - if the appliance is not in INITIALIZED state.
check in interface Replicatedspec - Information to configure a replicated PSC.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.