/** * The LcmHistory model module. * @module Ntnx/LcmHistory * @version 4.3.1 * @class LcmHistory * @extends ExternalizableAbstractModel */ export default class LcmHistory extends ExternalizableAbstractModel { /** * @return {OperationType} */ getOperationType(): OperationType; /** * @param {OperationType} operationType */ setOperationType(operationType: OperationType): void; operationType: string; /** * Returns The date and time (in ISO 8601 format) when the operation started. * @return {Date} */ getStartTime(): Date; /** * Sets The date and time (in ISO 8601 format) when the operation started. * @param {Date} startTime The date and time (in ISO 8601 format) when the operation started. */ setStartTime(startTime: Date): void; startTime: Date; /** * Returns The date and time (in ISO 8601 format) when the operation completed. * @return {Date} */ getEndTime(): Date; /** * Sets The date and time (in ISO 8601 format) when the operation completed. * @param {Date} endTime The date and time (in ISO 8601 format) when the operation completed. */ setEndTime(endTime: Date): void; endTime: Date; /** * @return {OperationStatus} */ getOperationStatus(): OperationStatus; /** * @param {OperationStatus} operationStatus */ setOperationStatus(operationStatus: OperationStatus): void; operationStatus: string; /** * Returns Detailed information about the operation, varying by operation type. For upgrades, this contains per-component upgrade details (UpgradeInfo). For uploads, this contains bundle upload details (UploadInfo). For inventory operations, this contains component discovery details (InventoryInfo). * @return {UploadInfo | UpgradeInfo | InventoryInfo} */ getOperationInfo(): UploadInfo | UpgradeInfo | InventoryInfo; /** * Sets Detailed information about the operation, varying by operation type. For upgrades, this contains per-component upgrade details (UpgradeInfo). For uploads, this contains bundle upload details (UploadInfo). For inventory operations, this contains component discovery details (InventoryInfo). * @param {UploadInfo | UpgradeInfo | InventoryInfo} operationInfo Detailed information about the operation, varying by operation type. For upgrades, this contains per-component upgrade details (UpgradeInfo). For uploads, this contains bundle upload details (UploadInfo). For inventory operations, this contains component discovery details (InventoryInfo). */ setOperationInfo(operationInfo: UploadInfo | UpgradeInfo | InventoryInfo): void; operationInfo: InventoryInfo | UpgradeInfo | UploadInfo; /** * Returns The version of the Nutanix Compatibility (Product Meta) bundle installed on the cluster. * @return {string} */ getCompatibilityBundleVersion(): string; /** * Sets The version of the Nutanix Compatibility (Product Meta) bundle installed on the cluster. * @param {string} compatibilityBundleVersion The version of the Nutanix Compatibility (Product Meta) bundle installed on the cluster. */ setCompatibilityBundleVersion(compatibilityBundleVersion: string): void; compatibilityBundleVersion: string; /** * Returns The LCM framework version that was installed on the cluster when the operation was performed. * @return {string} */ getFrameworkVersion(): string; /** * Sets The LCM framework version that was installed on the cluster when the operation was performed. * @param {string} frameworkVersion The LCM framework version that was installed on the cluster when the operation was performed. */ setFrameworkVersion(frameworkVersion: string): void; frameworkVersion: string; /** * Returns The display name of the cluster on which the operation was performed. * @return {string} */ getClusterName(): string; /** * Sets The display name of the cluster on which the operation was performed. * @param {string} clusterName The display name of the cluster on which the operation was performed. */ setClusterName(clusterName: string): void; clusterName: string; /** * @return {UserInfo} */ getUserInfo(): UserInfo; /** * @param {UserInfo} userInfo */ setUserInfo(userInfo: UserInfo): void; userInfo: UserInfo; /** * 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 OperationType from "../common/OperationType"; import OperationStatus from "../common/OperationStatus"; import UploadInfo from "./UploadInfo"; import UpgradeInfo from "./UpgradeInfo"; import InventoryInfo from "./InventoryInfo"; import UserInfo from "./UserInfo";