/** * The Image model module. * @module Ntnx/Image * @version 4.3.1 * @class Image * @extends EntityBaseModel * * @param { string } specVersion The version of the image metadata specification used to describe this image. */ export default class Image extends EntityBaseModel { /** * Constructs a new Image. * An LCM image consisting of one or more binary files associated with a specific entity class, model, and version. Includes metadata such as release notes, file checksums, and qualification status. * @alias module:Ntnx/Image * @extends module:Ntnx/EntityBaseModel * * @param { string } specVersion The version of the image metadata specification used to describe this image. */ constructor(specVersion: string); specVersion: string; /** * Returns Release notes for this image, describing the changes, fixes, and improvements included in the update. * @return {string} */ getReleaseNotes(): string; /** * Sets Release notes for this image, describing the changes, fixes, and improvements included in the update. * @param {string} releaseNotes Release notes for this image, describing the changes, fixes, and improvements included in the update. */ setReleaseNotes(releaseNotes: string): void; releaseNotes: string; /** * Returns The version of the image metadata specification used to describe this image. * @return {string} */ getSpecVersion(): string; /** * Sets The version of the image metadata specification used to describe this image. * @param {string} specVersion The version of the image metadata specification used to describe this image. */ setSpecVersion(specVersion: string): void; /** * Returns Indicates whether this third-party image version has been qualified (validated) for use with the current cluster configuration. * @return {boolean} */ getIsQualified(): boolean; /** * Sets Indicates whether this third-party image version has been qualified (validated) for use with the current cluster configuration. * @param {boolean} isQualified Indicates whether this third-party image version has been qualified (validated) for use with the current cluster configuration. */ setIsQualified(isQualified: boolean): void; isQualified: boolean; /** * @return {AvailableVersionStatus} */ getStatus(): AvailableVersionStatus; /** * @param {AvailableVersionStatus} status */ setStatus(status: AvailableVersionStatus): void; status: string; /** * Returns List of individual binary files contained in this image. Each file entry includes the filename, size, checksum, and storage location. * @return {ImageFile[]} */ getFiles(): ImageFile[]; /** * Sets List of individual binary files contained in this image. Each file entry includes the filename, size, checksum, and storage location. * @param {ImageFile[]} files List of individual binary files contained in this image. Each file entry includes the filename, size, checksum, and storage location. */ setFiles(files: ImageFile[]): void; files: ImageFile[]; /** * 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 EntityBaseModel from "../common/EntityBaseModel"; import AvailableVersionStatus from "../common/AvailableVersionStatus"; import ImageFile from "./ImageFile";