public class SoftwareStub extends com.vmware.vapi.internal.bindings.Stub implements Software
Software
API service.
WARNING: Internal class, subject to change in future versions.
SoftwareTypes._VAPI_OPERATIONS
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
SoftwareStub(ApiProvider apiProvider,
StubConfigurationBase config) |
SoftwareStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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..
|
public SoftwareStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public SoftwareStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String scan_Task(java.lang.String host)
Software
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
public java.lang.String scan_Task(java.lang.String host, InvocationConfig invocationConfig)
Software
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.
public void scan_Task(java.lang.String host, AsyncCallback<java.lang.String> asyncCallback)
Software
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.
public void scan_Task(java.lang.String host, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Software
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.
scan_Task
in interface Software
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.