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
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
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()
PscRegistration
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface PscRegistration
public PscRegistrationTypes.Info get(InvocationConfig invocationConfig)
PscRegistration
Synchronous 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 PscRegistration
invocationConfig
- Configuration for the method invocation.public void get(AsyncCallback<PscRegistrationTypes.Info> asyncCallback)
PscRegistration
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation 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 PscRegistration
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<PscRegistrationTypes.Info> asyncCallback, InvocationConfig invocationConfig)
PscRegistration
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:
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 PscRegistration
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void repoint(RemotePscSpec spec)
PscRegistration
Synchronous method overload. Result of the invocation will be reported as a method return value.
repoint
in interface PscRegistration
spec
- RemotePscSpec structure containing information about the external PSC node to
repoint this vCenter Server appliance to.public void repoint(RemotePscSpec spec, InvocationConfig invocationConfig)
PscRegistration
Synchronous 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 PscRegistration
spec
- 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)
PscRegistration
Asynchronous 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 PscRegistration
spec
- 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)
PscRegistration
Asynchronous 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 PscRegistration
spec
- 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.