/** * The ClaimTokenNode model module. * @module Ntnx/ClaimTokenNode * @version 4.3.1 * @class ClaimTokenNode * @extends ExternalizableAbstractModel * * @param { string } manufacturer Manufacturer of the node hardware * * @param { NodeIdentifier[] } identifiers Unique identifier array for the node (currently limited to 1 item with NODE_SERIAL type) */ export default class ClaimTokenNode extends ExternalizableAbstractModel { /** * Constructs a new ClaimTokenNode. * A node registered with Foundation Central via a claim token, with essential properties captured at registration * @alias module:Ntnx/ClaimTokenNode * @extends module:Ntnx/ExternalizableAbstractModel * * @param { string } manufacturer Manufacturer of the node hardware * * @param { NodeIdentifier[] } identifiers Unique identifier array for the node (currently limited to 1 item with NODE_SERIAL type) */ constructor(manufacturer: string, identifiers: NodeIdentifier[]); manufacturer: string; identifiers: NodeIdentifier[]; /** * Returns Manufacturer of the node hardware * @return {string} */ getManufacturer(): string; /** * Sets Manufacturer of the node hardware * @param {string} manufacturer Manufacturer of the node hardware */ setManufacturer(manufacturer: string): void; /** * Returns Unique identifier array for the node (currently limited to 1 item with NODE_SERIAL type) * @return {NodeIdentifier[]} */ getIdentifiers(): NodeIdentifier[]; /** * Sets Unique identifier array for the node (currently limited to 1 item with NODE_SERIAL type) * @param {NodeIdentifier[]} identifiers Unique identifier array for the node (currently limited to 1 item with NODE_SERIAL type) */ setIdentifiers(identifiers: NodeIdentifier[]): void; /** * @return {HostType} */ getHostType(): HostType; /** * @param {HostType} hostType */ setHostType(hostType: HostType): void; hostType: string; /** * Returns Version of the host installed on the node * @return {string} */ getHostVersion(): string; /** * Sets Version of the host installed on the node * @param {string} hostVersion Version of the host installed on the node */ setHostVersion(hostVersion: string): void; hostVersion: string; /** * @return {NodeNetworkDetails} */ getNetworkDetails(): NodeNetworkDetails; /** * @param {NodeNetworkDetails} networkDetails */ setNetworkDetails(networkDetails: NodeNetworkDetails): void; networkDetails: NodeNetworkDetails; /** * Returns Time when the node was discovered in Foundation Central * @return {Date} */ getCreatedTime(): Date; /** * Sets Time when the node was discovered in Foundation Central * @param {Date} createdTime Time when the node was discovered in Foundation Central */ setCreatedTime(createdTime: Date): void; createdTime: Date; /** * Returns Model of the node * @return {string} */ getModel(): string; /** * Sets Model of the node * @param {string} model Model of the node */ setModel(model: string): void; model: string; /** * @return {CpuInfo} */ getCpuInfo(): CpuInfo; /** * @param {CpuInfo} cpuInfo */ setCpuInfo(cpuInfo: CpuInfo): void; cpuInfo: CpuInfo; /** * Returns Total memory available in the node (in GB) * maximum: 1000000 * @return {Number} */ getMemoryGB(): number; /** * Sets Total memory available in the node (in GB) * @param {Number} memoryGB Total memory available in the node (in GB) */ setMemoryGB(memoryGB: number): void; memoryGB: number; /** * Returns Systems that manage the node * @return {ClaimTokenNodeManager[]} */ getManagedBy(): ClaimTokenNodeManager[]; /** * Sets Systems that manage the node * @param {ClaimTokenNodeManager[]} managedBy Systems that manage the node */ setManagedBy(managedBy: ClaimTokenNodeManager[]): void; managedBy: string[]; #private; } import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel"; import NodeIdentifier from "./NodeIdentifier"; import HostType from "./HostType"; import NodeNetworkDetails from "./NodeNetworkDetails"; import CpuInfo from "./CpuInfo"; import ClaimTokenNodeManager from "./ClaimTokenNodeManager";