/** * The IpPool model module. * @module Ntnx/IpPool * @version 4.3.1 * @class IpPool * @extends ExternalizableAbstractModel * * @param { Date } lastUpdatedTime Time when the IP address pool was last updated */ export default class IpPool extends ExternalizableAbstractModel { /** * Constructs a new IpPool. * Details of a IP address pool available in the hardware provider * @alias module:Ntnx/IpPool * @extends module:Ntnx/ExternalizableAbstractModel * * @param { Date } lastUpdatedTime Time when the IP address pool was last updated */ constructor(lastUpdatedTime: Date); lastUpdatedTime: Date; /** * Returns Time when the IP address pool was last updated * @return {Date} */ getLastUpdatedTime(): Date; /** * Sets Time when the IP address pool was last updated * @param {Date} lastUpdatedTime Time when the IP address pool was last updated */ setLastUpdatedTime(lastUpdatedTime: Date): void; /** * Returns List of groups this IP address pool belongs to * @return {PoolGroup[]} */ getGroups(): PoolGroup[]; /** * Sets List of groups this IP address pool belongs to * @param {PoolGroup[]} groups List of groups this IP address pool belongs to */ setGroups(groups: PoolGroup[]): void; groups: PoolGroup[]; /** * Returns Reference ID of the IP address pool in the hardware provider * @return {string} */ getReferenceId(): string; /** * Sets Reference ID of the IP address pool in the hardware provider * @param {string} referenceId Reference ID of the IP address pool in the hardware provider */ setReferenceId(referenceId: string): void; referenceId: string; /** * Returns Name of the IP address pool * @return {string} */ getName(): string; /** * Sets Name of the IP address pool * @param {string} name Name of the IP address pool */ setName(name: string): void; name: string; /** * Returns Number of available IPv4 addresses in the IP address pool * @return {Number} */ getIpv4AvailableCount(): number; /** * Sets Number of available IPv4 addresses in the IP address pool * @param {Number} ipv4AvailableCount Number of available IPv4 addresses in the IP address pool */ setIpv4AvailableCount(ipv4AvailableCount: number): void; ipv4AvailableCount: number; /** * Returns Number of available IPv6 addresses in the IP address pool * @return {Number} */ getIpv6AvailableCount(): number; /** * Sets Number of available IPv6 addresses in the IP address pool * @param {Number} ipv6AvailableCount Number of available IPv6 addresses in the IP address pool */ setIpv6AvailableCount(ipv6AvailableCount: number): void; ipv6AvailableCount: number; /** * @return {IpPoolDisplayNameMapping} */ getDisplayNameMapping(): IpPoolDisplayNameMapping; /** * @param {IpPoolDisplayNameMapping} displayNameMapping */ setDisplayNameMapping(displayNameMapping: IpPoolDisplayNameMapping): void; displayNameMapping: IpPoolDisplayNameMapping; #private; } import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel"; import PoolGroup from "./PoolGroup"; import IpPoolDisplayNameMapping from "./IpPoolDisplayNameMapping";