public interface Software extends Service, SoftwareTypes
Software interface provides methods to manage desired software
specification of a standalone ESX host.SoftwareTypes._VAPI_OPERATIONS_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
scan_Task(java.lang.String host)
Scans the host against the host's desired state..
|
void |
scan_Task(java.lang.String host,
AsyncCallback<java.lang.String> asyncCallback)
Scans the host against the host's desired state..
|
void |
scan_Task(java.lang.String host,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Scans the host against the host's desired state..
|
java.lang.String |
scan_Task(java.lang.String host,
InvocationConfig invocationConfig)
Scans the host against the host's desired state..
|
java.lang.String scan_Task(java.lang.String host)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound - If there is no host associated with host in the system or if desired
software document is not found.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.Unsupported - If the host is not a standlone host, but instead part of a cluster.java.lang.String scan_Task(java.lang.String host,
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.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.invocationConfig - Configuration for the method invocation.Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound - If there is no host associated with host in the system or if desired
software document is not found.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.Unsupported - If the host is not a standlone host, but instead part of a cluster.void scan_Task(java.lang.String host,
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 - If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound - If there is no host associated with host in the system or if desired
software document is not found.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unsupported - If the host is not a standlone host, but instead part of a cluster.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void scan_Task(java.lang.String host,
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 - If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound - If there is no host associated with host in the system or if desired
software document is not found.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unsupported - If the host is not a standlone host, but instead part of a cluster.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.