public class SolutionsStub extends com.vmware.vapi.internal.bindings.Stub implements Solutions
Solutions
API service.
WARNING: Internal class, subject to change in future versions.
SolutionsTypes._VAPI_OPERATIONSapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID, RESOURCE_TYPE| Constructor and Description |
|---|
SolutionsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
SolutionsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
delete_Task(java.lang.String cluster,
java.lang.String solution)
Deletes the given solution from the desired software specification.
|
void |
delete_Task(java.lang.String cluster,
java.lang.String solution,
AsyncCallback<java.lang.String> asyncCallback)
Deletes the given solution from the desired software specification.
|
void |
delete_Task(java.lang.String cluster,
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 cluster,
java.lang.String solution,
InvocationConfig invocationConfig)
Deletes the given solution from the desired software specification.
|
SolutionInfo |
get(java.lang.String cluster,
java.lang.String solution)
Returns components registered for the given solution in the desired software
specification.
|
void |
get(java.lang.String cluster,
java.lang.String solution,
AsyncCallback<SolutionInfo> asyncCallback)
Returns components registered for the given solution in the desired software
specification.
|
void |
get(java.lang.String cluster,
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 cluster,
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 cluster)
Returns all solutions in the desired software specification.
|
void |
list(java.lang.String cluster,
AsyncCallback<java.util.Map<java.lang.String,SolutionInfo>> asyncCallback)
Returns all solutions in the desired software specification.
|
void |
list(java.lang.String cluster,
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 cluster,
InvocationConfig invocationConfig)
Returns all solutions in the desired software specification.
|
java.lang.String |
set_Task(java.lang.String cluster,
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 cluster,
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 cluster,
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 cluster,
java.lang.String solution,
SolutionSpec spec,
InvocationConfig invocationConfig)
Sets the components registered for the given solution in the desired software
specification.
|
public SolutionsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public SolutionsStub(ApiProvider apiProvider, StubConfigurationBase config)
public SolutionInfo get(java.lang.String cluster, java.lang.String solution)
SolutionsSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.public SolutionInfo get(java.lang.String cluster, java.lang.String solution, InvocationConfig invocationConfig)
SolutionsSynchronous 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 Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.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.public void get(java.lang.String cluster,
java.lang.String solution,
AsyncCallback<SolutionInfo> asyncCallback)
SolutionsAsynchronous 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.
InvalidArgument - If invalid component name is provided.
NotFound - If there is no cluster associated with cluster in the system or or no
solution associated with solution in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Read.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Read. get in interface Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.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.public void get(java.lang.String cluster,
java.lang.String solution,
AsyncCallback<SolutionInfo> asyncCallback,
InvocationConfig invocationConfig)
SolutionsAsynchronous 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.
InvalidArgument - If invalid component name is provided.
NotFound - If there is no cluster associated with cluster in the system or or no
solution associated with solution in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Read.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Read. get in interface Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.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.public java.util.Map<java.lang.String,SolutionInfo> list(java.lang.String cluster)
SolutionsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.Map will be an identifier for the
resource type: com.vmware.esx.settings.solution.public java.util.Map<java.lang.String,SolutionInfo> list(java.lang.String cluster, InvocationConfig invocationConfig)
SolutionsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.invocationConfig - Configuration for the method invocation.Map will be an identifier for the
resource type: com.vmware.esx.settings.solution.public void list(java.lang.String cluster,
AsyncCallback<java.util.Map<java.lang.String,SolutionInfo>> asyncCallback)
SolutionsAsynchronous 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 cluster associated with cluster in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Read.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Read. public void list(java.lang.String cluster,
AsyncCallback<java.util.Map<java.lang.String,SolutionInfo>> asyncCallback,
InvocationConfig invocationConfig)
SolutionsAsynchronous 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 cluster associated with cluster in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSoftwareSpecification.Read.
ClusterComputeResource referenced by the
parameter cluster requires VcIntegrity.lifecycleSoftwareSpecification.Read. list in interface Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public java.lang.String set_Task(java.lang.String cluster,
java.lang.String solution,
SolutionSpec spec)
SolutionsSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
set_Task in interface Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.spec - Registered solution specification.public java.lang.String set_Task(java.lang.String cluster,
java.lang.String solution,
SolutionSpec spec,
InvocationConfig invocationConfig)
SolutionsSynchronous 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.
set_Task in interface Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.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.public void set_Task(java.lang.String cluster,
java.lang.String solution,
SolutionSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
SolutionsAsynchronous 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 - 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 cluster associated with cluster or no solution associated
with solution in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - if the caller is not authenticated.
set_Task in interface Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.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.public void set_Task(java.lang.String cluster,
java.lang.String solution,
SolutionSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
SolutionsAsynchronous 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 - 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 cluster associated with cluster or no solution associated
with solution in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - if the caller is not authenticated.
set_Task in interface Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.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.public java.lang.String delete_Task(java.lang.String cluster,
java.lang.String solution)
SolutionsSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
delete_Task in interface Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.solution - Identifier of the solution.
The parameter must be an identifier for the resource type: com.vmware.esx.settings.solution.public java.lang.String delete_Task(java.lang.String cluster,
java.lang.String solution,
InvocationConfig invocationConfig)
SolutionsSynchronous 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.
delete_Task in interface Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.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.public void delete_Task(java.lang.String cluster,
java.lang.String solution,
AsyncCallback<java.lang.String> asyncCallback)
SolutionsAsynchronous 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 - 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 cluster associated with cluster or no solution associated
with solution in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - if the caller is not authenticated.
delete_Task in interface Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.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.public void delete_Task(java.lang.String cluster,
java.lang.String solution,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
SolutionsAsynchronous 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 - 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 cluster associated with cluster or no solution associated
with solution in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - if the caller is not authenticated.
delete_Task in interface Solutionscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.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.