public class PscRegistrationStub extends com.vmware.vapi.internal.bindings.Stub implements PscRegistration
PscRegistration
API service.
WARNING: Internal class, subject to change in future versions.
PscRegistrationTypes.Info| Constructor and Description |
|---|
PscRegistrationStub(ApiProvider apiProvider,
StubConfigurationBase config) |
PscRegistrationStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
PscRegistrationTypes.Info |
get()
Get information of the PSC that this appliance is registered with.
|
void |
get(AsyncCallback<PscRegistrationTypes.Info> asyncCallback)
Get information of the PSC that this appliance is registered with.
|
void |
get(AsyncCallback<PscRegistrationTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get information of the PSC that this appliance is registered with.
|
PscRegistrationTypes.Info |
get(InvocationConfig invocationConfig)
Get information of the PSC that this appliance is registered with.
|
void |
repoint(RemotePscSpec spec)
Repoint this vCenter Server appliance to a different external PSC.
|
void |
repoint(RemotePscSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Repoint this vCenter Server appliance to a different external PSC.
|
void |
repoint(RemotePscSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Repoint this vCenter Server appliance to a different external PSC.
|
void |
repoint(RemotePscSpec spec,
InvocationConfig invocationConfig)
Repoint this vCenter Server appliance to a different external PSC.
|
public PscRegistrationStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public PscRegistrationStub(ApiProvider apiProvider, StubConfigurationBase config)
public PscRegistrationTypes.Info get()
PscRegistrationSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface PscRegistrationpublic PscRegistrationTypes.Info get(InvocationConfig invocationConfig)
PscRegistrationSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface PscRegistrationinvocationConfig - Configuration for the method invocation.public void get(AsyncCallback<PscRegistrationTypes.Info> asyncCallback)
PscRegistrationAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
Info structure containing information about the external PSC node this appliance
is registered with.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
NotAllowedInCurrentState - if the appliance is in NOT_INITIALIZED state.
get in interface PscRegistrationasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<PscRegistrationTypes.Info> asyncCallback, InvocationConfig invocationConfig)
PscRegistrationAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
Info structure containing information about the external PSC node this appliance
is registered with.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
NotAllowedInCurrentState - if the appliance is in NOT_INITIALIZED state.
get in interface PscRegistrationasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void repoint(RemotePscSpec spec)
PscRegistrationSynchronous method overload. Result of the invocation will be reported as a method return value.
repoint in interface PscRegistrationspec - RemotePscSpec structure containing information about the external PSC node to
repoint this vCenter Server appliance to.public void repoint(RemotePscSpec spec, InvocationConfig invocationConfig)
PscRegistrationSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
repoint in interface PscRegistrationspec - RemotePscSpec structure containing information about the external PSC node to
repoint this vCenter Server appliance to.invocationConfig - Configuration for the method invocation.public void repoint(RemotePscSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
PscRegistrationAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
Unauthenticated - if the passed external PSC credentials is invalid.
InvalidArgument - if the passed external PSC is not a replicating with the current PSC this
appliance is registered with.
InvalidArgument - if passed arguments are invalid.
Unsupported - if the current appliance is not of the type VCSA_EXTERNAL.
NotAllowedInCurrentState - if the appliance is NOT in CONFIGURED state.
repoint in interface PscRegistrationspec - RemotePscSpec structure containing information about the external PSC node to
repoint this vCenter Server appliance to.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void repoint(RemotePscSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
PscRegistrationAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
Unauthenticated - if the passed external PSC credentials is invalid.
InvalidArgument - if the passed external PSC is not a replicating with the current PSC this
appliance is registered with.
InvalidArgument - if passed arguments are invalid.
Unsupported - if the current appliance is not of the type VCSA_EXTERNAL.
NotAllowedInCurrentState - if the appliance is NOT in CONFIGURED state.
repoint in interface PscRegistrationspec - RemotePscSpec structure containing information about the external PSC node to
repoint this vCenter Server appliance to.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.