public interface Solutions extends Service, SolutionsTypes
Solutions interface provides methods to manage desired software
solution specifications for an ESX host. This interface was added in vSphere API
8.0.0.1.SolutionsTypes._VAPI_OPERATIONS_VAPI_SERVICE_ID, RESOURCE_TYPE| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
delete_Task(java.lang.String host,
java.lang.String solution)
Deletes the given solution from the desired software specification.
|
void |
delete_Task(java.lang.String host,
java.lang.String solution,
AsyncCallback<java.lang.String> asyncCallback)
Deletes the given solution from the desired software specification.
|
void |
delete_Task(java.lang.String host,
java.lang.String solution,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Deletes the given solution from the desired software specification.
|
java.lang.String |
delete_Task(java.lang.String host,
java.lang.String solution,
InvocationConfig invocationConfig)
Deletes the given solution from the desired software specification.
|
SolutionInfo |
get(java.lang.String host,
java.lang.String solution)
Returns components registered for the given solution in the desired software
specification.
|
void |
get(java.lang.String host,
java.lang.String solution,
AsyncCallback<SolutionInfo> asyncCallback)
Returns components registered for the given solution in the desired software
specification.
|
void |
get(java.lang.String host,
java.lang.String solution,
AsyncCallback<SolutionInfo> asyncCallback,
InvocationConfig invocationConfig)
Returns components registered for the given solution in the desired software
specification.
|
SolutionInfo |
get(java.lang.String host,
java.lang.String solution,
InvocationConfig invocationConfig)
Returns components registered for the given solution in the desired software
specification.
|
java.util.Map<java.lang.String,SolutionInfo> |
list(java.lang.String host)
Returns all solutions in the desired software specification.
|
void |
list(java.lang.String host,
AsyncCallback<java.util.Map<java.lang.String,SolutionInfo>> asyncCallback)
Returns all solutions in the desired software specification.
|
void |
list(java.lang.String host,
AsyncCallback<java.util.Map<java.lang.String,SolutionInfo>> asyncCallback,
InvocationConfig invocationConfig)
Returns all solutions in the desired software specification.
|
java.util.Map<java.lang.String,SolutionInfo> |
list(java.lang.String host,
InvocationConfig invocationConfig)
Returns all solutions in the desired software specification.
|
java.lang.String |
set_Task(java.lang.String host,
java.lang.String solution,
SolutionSpec spec)
Sets the components registered for the given solution in the desired software
specification.
|
void |
set_Task(java.lang.String host,
java.lang.String solution,
SolutionSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Sets the components registered for the given solution in the desired software
specification.
|
void |
set_Task(java.lang.String host,
java.lang.String solution,
SolutionSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Sets the components registered for the given solution in the desired software
specification.
|
java.lang.String |
set_Task(java.lang.String host,
java.lang.String solution,
SolutionSpec spec,
InvocationConfig invocationConfig)
Sets the components registered for the given solution in the desired software
specification.
|
SolutionInfo get(java.lang.String host, java.lang.String solution)
Synchronous method overload. Result of the invocation will be reported as a method return value.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.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 or no solution associated with
. solution in the system.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.Unsupported - If the host is not a vLCM managed standlone host.Unauthorized - if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSoftwareSpecification.Read.
HostSystem referenced by the parameter host requires VcIntegrity.lifecycleSoftwareSpecification.Read.
SolutionInfo get(java.lang.String host, java.lang.String solution, 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.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.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 or no solution associated with
. solution in the system.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.Unsupported - If the host is not a vLCM managed standlone host.Unauthorized - if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSoftwareSpecification.Read.
HostSystem referenced by the parameter host requires VcIntegrity.lifecycleSoftwareSpecification.Read.
void get(java.lang.String host,
java.lang.String solution,
AsyncCallback<SolutionInfo> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Specification of components registered by the solution.
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 or no solution associated with
. solution in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unsupported - If the host is not a vLCM managed standlone host.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Read.
HostSystem referenced by the parameter host requires VcIntegrity.lifecycleSoftwareSpecification.Read.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String host,
java.lang.String solution,
AsyncCallback<SolutionInfo> 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:
Specification of components registered by the solution.
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 or no solution associated with
. solution in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unsupported - If the host is not a vLCM managed standlone host.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Read.
HostSystem referenced by the parameter host requires VcIntegrity.lifecycleSoftwareSpecification.Read.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.java.util.Map<java.lang.String,SolutionInfo> list(java.lang.String host)
Synchronous method overload. Result of the invocation will be reported as a method return value.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.Map will be an identifier for the
resource type: com.vmware.esx.settings.solution.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.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.Unsupported - If the host is not a vLCM managed standlone host.Unauthorized - if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSoftwareSpecification.Read.
HostSystem referenced by the parameter host requires VcIntegrity.lifecycleSoftwareSpecification.Read.
java.util.Map<java.lang.String,SolutionInfo> list(java.lang.String host, 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.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.invocationConfig - Configuration for the method invocation.Map will be an identifier for the
resource type: com.vmware.esx.settings.solution.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.ServiceUnavailable - If the service is not available.Unauthenticated - If the caller is not authenticated.Unsupported - If the host is not a vLCM managed standlone host.Unauthorized - if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSoftwareSpecification.Read.
HostSystem referenced by the parameter host requires VcIntegrity.lifecycleSoftwareSpecification.Read.
void list(java.lang.String host,
AsyncCallback<java.util.Map<java.lang.String,SolutionInfo>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Map of solutions where key is solution identifier and value is a list of
components registered by that solution.
The key in the return value Map will be an identifier for the
resource type: com.vmware.esx.settings.solution.
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.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unsupported - If the host is not a vLCM managed standlone host.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Read.
HostSystem referenced by the parameter host requires VcIntegrity.lifecycleSoftwareSpecification.Read.
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 list(java.lang.String host,
AsyncCallback<java.util.Map<java.lang.String,SolutionInfo>> 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:
Map of solutions where key is solution identifier and value is a list of
components registered by that solution.
The key in the return value Map will be an identifier for the
resource type: com.vmware.esx.settings.solution.
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.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unsupported - If the host is not a vLCM managed standlone host.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Read.
HostSystem referenced by the parameter host requires VcIntegrity.lifecycleSoftwareSpecification.Read.
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.java.lang.String set_Task(java.lang.String host,
java.lang.String solution,
SolutionSpec spec)
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.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.spec - Registered solution specification.Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.InvalidArgumentNotFound - If there is no host associated with host or solution associated with
solution in the system.ServiceUnavailable - If the service is not available.Unauthenticated - if the caller is not authenticated.Unsupported - If the host is not a vLCM managed standlone host.java.lang.String set_Task(java.lang.String host,
java.lang.String solution,
SolutionSpec 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.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.spec - Registered solution specification.invocationConfig - Configuration for the method invocation.Error - If there is unknown internal error. The accompanying error message will give
more details about the failure.InvalidArgumentNotFound - If there is no host associated with host or solution associated with
solution in the system.ServiceUnavailable - If the service is not available.Unauthenticated - if the caller is not authenticated.Unsupported - If the host is not a vLCM managed standlone host.void set_Task(java.lang.String host,
java.lang.String solution,
SolutionSpec 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 - If there is unknown internal error. The accompanying error message will give
more details about the failure.
InvalidArgument -
NotFound - If there is no host associated with host or solution associated with
solution in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - if the caller is not authenticated.
Unsupported - If the host is not a vLCM managed standlone host.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.spec - Registered solution specification.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void set_Task(java.lang.String host,
java.lang.String solution,
SolutionSpec 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 - If there is unknown internal error. The accompanying error message will give
more details about the failure.
InvalidArgument -
NotFound - If there is no host associated with host or solution associated with
solution in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - if the caller is not authenticated.
Unsupported - If the host is not a vLCM managed standlone host.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.spec - Registered solution specification.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.java.lang.String delete_Task(java.lang.String host,
java.lang.String solution)
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.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.Error - If there is some unknown internal error. The accompanying error message will
give more details about the failure.InvalidArgument - if validation of the software document fails. The value of the data property of
Error will be a class that contains all the
properties defined in ValidateResult.NotFound - If there is no host associated with host or solution associated with
solution in the system.ServiceUnavailable - If the service is not available.Unauthenticated - if the caller is not authenticated.Unsupported - If the host is not a vLCM managed standlone host.java.lang.String delete_Task(java.lang.String host,
java.lang.String solution,
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.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.invocationConfig - Configuration for the method invocation.Error - If there is some unknown internal error. The accompanying error message will
give more details about the failure.InvalidArgument - if validation of the software document fails. The value of the data property of
Error will be a class that contains all the
properties defined in ValidateResult.NotFound - If there is no host associated with host or solution associated with
solution in the system.ServiceUnavailable - If the service is not available.Unauthenticated - if the caller is not authenticated.Unsupported - If the host is not a vLCM managed standlone host.void delete_Task(java.lang.String host,
java.lang.String solution,
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 some unknown internal error. The accompanying error message will
give more details about the failure.
InvalidArgument - if validation of the software document fails. The value of the data property of
Error will be a class that contains all the
properties defined in ValidateResult.
NotFound - If there is no host associated with host or solution associated with
solution in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - if the caller is not authenticated.
Unsupported - If the host is not a vLCM managed standlone host.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void delete_Task(java.lang.String host,
java.lang.String solution,
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 some unknown internal error. The accompanying error message will
give more details about the failure.
InvalidArgument - if validation of the software document fails. The value of the data property of
Error will be a class that contains all the
properties defined in ValidateResult.
NotFound - If there is no host associated with host or solution associated with
solution in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - if the caller is not authenticated.
Unsupported - If the host is not a vLCM managed standlone host.
host - Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.