public interface PscRegistration extends Service, PscRegistrationTypes
PscRegistration
interface provides methods to get and set the
PSC_EXTERNAL appliance a VCSA_EXTERNAL appliance is registered with. This
interface was added in vSphere API 6.7.PscRegistrationTypes.Info
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.
|
PscRegistrationTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Unauthenticated
- if the caller is not authenticated.NotAllowedInCurrentState
- if the appliance is in NOT_INITIALIZED state.PscRegistrationTypes.Info get(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.
invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the caller is not authenticated.NotAllowedInCurrentState
- if the appliance is in NOT_INITIALIZED state.void get(AsyncCallback<PscRegistrationTypes.Info> asyncCallback)
Asynchronous 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.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<PscRegistrationTypes.Info> 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.
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.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void repoint(RemotePscSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- RemotePscSpec structure containing information about the external PSC node to
repoint this vCenter Server appliance to.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.void repoint(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
- RemotePscSpec structure containing information about the external PSC node to
repoint this vCenter Server appliance to.invocationConfig
- Configuration for the method invocation.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.void repoint(RemotePscSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
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.
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.void repoint(RemotePscSpec spec, AsyncCallback<java.lang.Void> 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.
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.
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.