/** * The HardwareProvider model module. * @module Ntnx/HardwareProvider * @version 4.3.1 * @class HardwareProvider * @extends ExternalizableAbstractModel * * @param { string } name Name of the hardware provider * * @param { HardwareProviderType } type * * @param { string } vendor Vendor of the hardware provider * * @param { AuthType[] } authTypes Supported authentication types for the hardware provider * * @param { Number } availableConnectionCount Number of available connections for the hardware provider */ export default class HardwareProvider extends ExternalizableAbstractModel { /** * Constructs a new HardwareProvider. * Details of a hardware provider integration, such as a bare-metal or data center management system * @alias module:Ntnx/HardwareProvider * @extends module:Ntnx/ExternalizableAbstractModel * * @param { string } name Name of the hardware provider * * @param { HardwareProviderType } type * * @param { string } vendor Vendor of the hardware provider * * @param { AuthType[] } authTypes Supported authentication types for the hardware provider * * @param { Number } availableConnectionCount Number of available connections for the hardware provider */ constructor(name: string, type: HardwareProviderType, vendor: string, authTypes: AuthType[], availableConnectionCount: number); name: string; type: string; vendor: string; authTypes: string[]; availableConnectionCount: number; /** * Returns Name of the hardware provider * @return {string} */ getName(): string; /** * Sets Name of the hardware provider * @param {string} name Name of the hardware provider */ setName(name: string): void; /** * @return {HardwareProviderType} */ getType(): HardwareProviderType; /** * @param {HardwareProviderType} type */ setType(type: HardwareProviderType): void; /** * Returns Vendor of the hardware provider * @return {string} */ getVendor(): string; /** * Sets Vendor of the hardware provider * @param {string} vendor Vendor of the hardware provider */ setVendor(vendor: string): void; /** * Returns Supported authentication types for the hardware provider * @return {AuthType[]} */ getAuthTypes(): AuthType[]; /** * Sets Supported authentication types for the hardware provider * @param {AuthType[]} authTypes Supported authentication types for the hardware provider */ setAuthTypes(authTypes: AuthType[]): void; /** * Returns Number of available connections for the hardware provider * minimum: 0 * maximum: 100 * @return {Number} */ getAvailableConnectionCount(): number; /** * Sets Number of available connections for the hardware provider * @param {Number} availableConnectionCount Number of available connections for the hardware provider */ setAvailableConnectionCount(availableConnectionCount: number): void; #private; } import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel"; import HardwareProviderType from "./HardwareProviderType"; import AuthType from "./AuthType";