public interface Recommendations extends Service, RecommendationsTypes
Recommendations interface provides methods to manage the generation
and retrieval of recommended image specs.RecommendationsTypes._VAPI_OPERATIONS, RecommendationsTypes.ExplanationDetails, RecommendationsTypes.Info_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generate_Task(java.lang.String cluster)
Generates recommended software image spec(s) based on current desired software
spec.
|
void |
generate_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback)
Generates recommended software image spec(s) based on current desired software
spec.
|
void |
generate_Task(java.lang.String cluster,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Generates recommended software image spec(s) based on current desired software
spec.
|
java.lang.String |
generate_Task(java.lang.String cluster,
InvocationConfig invocationConfig)
Generates recommended software image spec(s) based on current desired software
spec.
|
RecommendationsTypes.Info |
get(java.lang.String cluster)
Returns Information about the most recent recommendation generation result.
|
void |
get(java.lang.String cluster,
AsyncCallback<RecommendationsTypes.Info> asyncCallback)
Returns Information about the most recent recommendation generation result.
|
void |
get(java.lang.String cluster,
AsyncCallback<RecommendationsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns Information about the most recent recommendation generation result.
|
RecommendationsTypes.Info |
get(java.lang.String cluster,
InvocationConfig invocationConfig)
Returns Information about the most recent recommendation generation result.
|
java.lang.String generate_Task(java.lang.String cluster)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.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.ConcurrentChange - If a new desired image is committed in parallel via a different client while
recommendation is being generated.ServiceUnavailable - If the service is not available.java.lang.String generate_Task(java.lang.String cluster,
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.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.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 cluster associated with cluster.ConcurrentChange - If a new desired image is committed in parallel via a different client while
recommendation is being generated.ServiceUnavailable - If the service is not available.void generate_Task(java.lang.String cluster,
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 cluster associated with cluster.
ConcurrentChange - If a new desired image is committed in parallel via a different client while
recommendation is being generated.
ServiceUnavailable - If the service is not available.
cluster - 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.void generate_Task(java.lang.String cluster,
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 cluster associated with cluster.
ConcurrentChange - If a new desired image is committed in parallel via a different client while
recommendation is being generated.
ServiceUnavailable - If the service is not available.
cluster - 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.RecommendationsTypes.Info get(java.lang.String cluster)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.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 or
recommendation is non-existing for the cluster due to either it is never
generated or deleted due to changes in cluster state such as a new desired image
spec being committed.ServiceUnavailable - If the service is not available.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. RecommendationsTypes.Info get(java.lang.String cluster, 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.
cluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.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 cluster associated with cluster in the system or
recommendation is non-existing for the cluster due to either it is never
generated or deleted due to changes in cluster state such as a new desired image
spec being committed.ServiceUnavailable - If the service is not available.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. void get(java.lang.String cluster,
AsyncCallback<RecommendationsTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information about the most recent recommendation generation result.
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 or
recommendation is non-existing for the cluster due to either it is never
generated or deleted due to changes in cluster state such as a new desired image
spec being committed.
ServiceUnavailable - If the service is not available.
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. cluster - 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.void get(java.lang.String cluster,
AsyncCallback<RecommendationsTypes.Info> 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:
Information about the most recent recommendation generation result.
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 or
recommendation is non-existing for the cluster due to either it is never
generated or deleted due to changes in cluster state such as a new desired image
spec being committed.
ServiceUnavailable - If the service is not available.
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. cluster - 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.