public interface HostsConfig extends Service, HostsConfigTypes
Compatibility
interface provides methods to retrieve information
about vSphere Namespaces support and licensing.HostsConfigTypes.Info
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
HostsConfigTypes.Info |
get()
Returns support and licensing information about hosts under a VC.
|
void |
get(AsyncCallback<HostsConfigTypes.Info> asyncCallback)
Returns support and licensing information about hosts under a VC.
|
void |
get(AsyncCallback<HostsConfigTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns support and licensing information about hosts under a VC.
|
HostsConfigTypes.Info |
get(InvocationConfig invocationConfig)
Returns support and licensing information about hosts under a VC.
|
HostsConfigTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have System.Read privilege.HostsConfigTypes.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.Error
- if the system reports an error while responding to the request.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if the user does not have System.Read privilege.void get(AsyncCallback<HostsConfigTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Compatibility structure containing information about vSphere Namespaces support
and licensing.
Operation Errors:
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<HostsConfigTypes.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.
Invocation Result:
Compatibility structure containing information about vSphere Namespaces support
and licensing.
Operation Errors:
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.