/** * The NicProfile model module. * @module Ntnx/NicProfile * @version 4.4.1 * @class NicProfile * @extends NetworkingBaseModel * * @param { string } name Name of the NIC Profile. * * @param { CapabilityConfig } capabilityConfig * * @param { string } nicFamily Specification for a specific device family of Host NIC. The given string must be in the format vendor_id:device_id. */ export default class NicProfile extends NetworkingBaseModel { /** * Constructs a new NicProfile. * @alias module:Ntnx/NicProfile * @extends module:Ntnx/NetworkingBaseModel * * @param { string } name Name of the NIC Profile. * * @param { CapabilityConfig } capabilityConfig * * @param { string } nicFamily Specification for a specific device family of Host NIC. The given string must be in the format vendor_id:device_id. */ constructor(name: string, capabilityConfig: CapabilityConfig, nicFamily: string); name: string; capabilityConfig: CapabilityConfig; nicFamily: string; /** * Returns Name of the NIC Profile. * @return {string} */ getName(): string; /** * Sets Name of the NIC Profile. * @param {string} name Name of the NIC Profile. */ setName(name: string): void; /** * Returns Description of the NIC Profile. * @return {string} */ getDescription(): string; /** * Sets Description of the NIC Profile. * @param {string} description Description of the NIC Profile. */ setDescription(description: string): void; description: string; /** * @return {CapabilityConfig} */ getCapabilityConfig(): CapabilityConfig; /** * @param {CapabilityConfig} capabilityConfig */ setCapabilityConfig(capabilityConfig: CapabilityConfig): void; /** * Returns List of host NICs references associated with the NIC Profile. * @return {HostNicReference[]} */ getHostNicReferences(): HostNicReference[]; /** * Sets List of host NICs references associated with the NIC Profile. * @param {HostNicReference[]} hostNicReferences List of host NICs references associated with the NIC Profile. */ setHostNicReferences(hostNicReferences: HostNicReference[]): void; hostNicReferences: HostNicReference[]; /** * Returns Specification for a specific device family of Host NIC. The given string must be in the format vendor_id:device_id. * @return {string} */ getNicFamily(): string; /** * Sets Specification for a specific device family of Host NIC. The given string must be in the format vendor_id:device_id. * @param {string} nicFamily Specification for a specific device family of Host NIC. The given string must be in the format vendor_id:device_id. */ setNicFamily(nicFamily: string): void; /** * @return {OperatingMode} */ getOperatingMode(): OperatingMode; /** * @param {OperatingMode} operatingMode */ setOperatingMode(operatingMode: OperatingMode): void; operatingMode: string; /** * @return {NicProfileOwnerType} */ getOwnerType(): NicProfileOwnerType; /** * @param {NicProfileOwnerType} ownerType */ setOwnerType(ownerType: NicProfileOwnerType): void; ownerType: string; #private; } import NetworkingBaseModel from "./NetworkingBaseModel"; import CapabilityConfig from "./CapabilityConfig"; import HostNicReference from "./HostNicReference"; import OperatingMode from "../../../networkingCommon/v1/config/OperatingMode"; import NicProfileOwnerType from "./NicProfileOwnerType";