public class HostsConfigStub extends com.vmware.vapi.internal.bindings.Stub implements HostsConfig
HostsConfig
API service.
WARNING: Internal class, subject to change in future versions.
HostsConfigTypes.Info
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
HostsConfigStub(ApiProvider apiProvider,
StubConfigurationBase config) |
HostsConfigStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public HostsConfigStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public HostsConfigStub(ApiProvider apiProvider, StubConfigurationBase config)
public HostsConfigTypes.Info get()
HostsConfig
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface HostsConfig
public HostsConfigTypes.Info get(InvocationConfig invocationConfig)
HostsConfig
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 HostsConfig
invocationConfig
- Configuration for the method invocation.public void get(AsyncCallback<HostsConfigTypes.Info> asyncCallback)
HostsConfig
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.
get
in interface HostsConfig
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<HostsConfigTypes.Info> asyncCallback, InvocationConfig invocationConfig)
HostsConfig
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.
get
in interface HostsConfig
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.