/** * The RecommendationResult model module. * @module Ntnx/RecommendationResult * @version 4.3.1 * @class RecommendationResult * @extends ExternalizableAbstractModel */ export default class RecommendationResult extends ExternalizableAbstractModel { /** * Returns List of entity update specifications (entity UUID and target version pairs) for which to compute recommendations. * @return {EntityUpdateSpec[]} */ getEntityUpdateSpecs(): EntityUpdateSpec[]; /** * Sets List of entity update specifications (entity UUID and target version pairs) for which to compute recommendations. * @param {EntityUpdateSpec[]} entityUpdateSpecs List of entity update specifications (entity UUID and target version pairs) for which to compute recommendations. */ setEntityUpdateSpecs(entityUpdateSpecs: EntityUpdateSpec[]): void; entityUpdateSpecs: EntityUpdateSpec[]; /** * Returns List of entities from the input specification that were skipped during recommendation computation, along with the reason for skipping (e.g. entity already at the target version, or incompatible configuration). * @return {UpdatedTargetEntityResult[]} */ getSkippedEntities(): UpdatedTargetEntityResult[]; /** * Sets List of entities from the input specification that were skipped during recommendation computation, along with the reason for skipping (e.g. entity already at the target version, or incompatible configuration). * @param {UpdatedTargetEntityResult[]} skippedEntities List of entities from the input specification that were skipped during recommendation computation, along with the reason for skipping (e.g. entity already at the target version, or incompatible configuration). */ setSkippedEntities(skippedEntities: UpdatedTargetEntityResult[]): void; skippedEntities: UpdatedTargetEntityResult[]; /** * Returns List of entities from the input specification whose target versions were modified during dependency resolution. Each entry includes the adjusted entity information and an explanation message. * @return {UpdatedTargetEntityResult[]} */ getModifiableEntities(): UpdatedTargetEntityResult[]; /** * Sets List of entities from the input specification whose target versions were modified during dependency resolution. Each entry includes the adjusted entity information and an explanation message. * @param {UpdatedTargetEntityResult[]} modifiableEntities List of entities from the input specification whose target versions were modified during dependency resolution. Each entry includes the adjusted entity information and an explanation message. */ setModifiableEntities(modifiableEntities: UpdatedTargetEntityResult[]): void; modifiableEntities: UpdatedTargetEntityResult[]; /** * Returns List of additional entities that must be upgraded alongside the requested entities to satisfy dependency requirements. These entities were not in the original input but are required for a valid upgrade plan. * @return {UpdatedTargetEntityResult[]} */ getAddableEntities(): UpdatedTargetEntityResult[]; /** * Sets List of additional entities that must be upgraded alongside the requested entities to satisfy dependency requirements. These entities were not in the original input but are required for a valid upgrade plan. * @param {UpdatedTargetEntityResult[]} addableEntities List of additional entities that must be upgraded alongside the requested entities to satisfy dependency requirements. These entities were not in the original input but are required for a valid upgrade plan. */ setAddableEntities(addableEntities: UpdatedTargetEntityResult[]): void; addableEntities: UpdatedTargetEntityResult[]; /** * Returns List of deployable entity versions and their dependencies, indicating which images need to be staged on the cluster for the recommended upgrades. * @return {DeployableVersion[]} */ getDeployableVersions(): DeployableVersion[]; /** * Sets List of deployable entity versions and their dependencies, indicating which images need to be staged on the cluster for the recommended upgrades. * @param {DeployableVersion[]} deployableVersions List of deployable entity versions and their dependencies, indicating which images need to be staged on the cluster for the recommended upgrades. */ setDeployableVersions(deployableVersions: DeployableVersion[]): void; deployableVersions: DeployableVersion[]; /** * Returns The cluster UUID on which the resource is present or the operation is being performed. * @return {string} */ getClusterExtId(): string; /** * Sets The cluster UUID on which the resource is present or the operation is being performed. * @param {string} clusterExtId The cluster UUID on which the resource is present or the operation is being performed. */ setClusterExtId(clusterExtId: string): void; clusterExtId: string; #private; } import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel"; import EntityUpdateSpec from "../common/EntityUpdateSpec"; import UpdatedTargetEntityResult from "./UpdatedTargetEntityResult"; import DeployableVersion from "./DeployableVersion";