public interface Hosts extends Service, HostsTypes
Hosts interfaces provides methods to register Intel Software Guard
Extensions (SGX) for the hosts. This interface was added in vSphere API 8.0.0.1.HostsTypes._VAPI_OPERATIONS, HostsTypes.RegisterSpec_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
register_Task(HostsTypes.RegisterSpec spec)
Register host by stored SGX configuration.
|
void |
register_Task(HostsTypes.RegisterSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Register host by stored SGX configuration.
|
void |
register_Task(HostsTypes.RegisterSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Register host by stored SGX configuration.
|
java.lang.String |
register_Task(HostsTypes.RegisterSpec spec,
InvocationConfig invocationConfig)
Register host by stored SGX configuration.
|
java.lang.String register_Task(HostsTypes.RegisterSpec spec)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
spec - Described the host that need to be registered.Error - for any other error.NotFound - if the host ID is not valid.ResourceBusy - if register for same host is already in progress.Unauthenticated - if the user can not be authenticated.Unsupported - if the system does not support SGX Registration.java.lang.String register_Task(HostsTypes.RegisterSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig to specify configuration for this particular invocation.
spec - Described the host that need to be registered.invocationConfig - Configuration for the method invocation.Error - for any other error.NotFound - if the host ID is not valid.ResourceBusy - if register for same host is already in progress.Unauthenticated - if the user can not be authenticated.Unsupported - if the system does not support SGX Registration.void register_Task(HostsTypes.RegisterSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - for any other error.
NotFound - if the host ID is not valid.
ResourceBusy - if register for same host is already in progress.
Unauthenticated - if the user can not be authenticated.
Unsupported - if the system does not support SGX Registration.
spec - Described the host that need to be registered.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void register_Task(HostsTypes.RegisterSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - for any other error.
NotFound - if the host ID is not valid.
ResourceBusy - if register for same host is already in progress.
Unauthenticated - if the user can not be authenticated.
Unsupported - if the system does not support SGX Registration.
spec - Described the host that need to be registered.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.