/** * The Connection model module. * @module Ntnx/Connection * @version 4.3.1 * @class Connection * @extends ExternalizableAbstractModel * * @param { string } name Name of the connection * * @param { ConnectionDetail[] } accessDetails Access details including endpoint and authentication information */ export default class Connection extends ExternalizableAbstractModel { /** * Constructs a new Connection. * Details of a connection to a hardware provider endpoint, enabling node discovery and management * @alias module:Ntnx/Connection * @extends module:Ntnx/ExternalizableAbstractModel * * @param { string } name Name of the connection * * @param { ConnectionDetail[] } accessDetails Access details including endpoint and authentication information */ constructor(name: string, accessDetails: ConnectionDetail[]); name: string; accessDetails: ConnectionDetail[]; /** * Returns Creation time of the connection * @return {Date} */ getCreatedTime(): Date; /** * Sets Creation time of the connection * @param {Date} createdTime Creation time of the connection */ setCreatedTime(createdTime: Date): void; createdTime: Date; /** * Returns Name of the connection * @return {string} */ getName(): string; /** * Sets Name of the connection * @param {string} name Name of the connection */ setName(name: string): void; /** * @return {ConnectionDeploymentType} */ getDeploymentType(): ConnectionDeploymentType; /** * @param {ConnectionDeploymentType} deploymentType */ setDeploymentType(deploymentType: ConnectionDeploymentType): void; deploymentType: string; /** * Returns Region for the connection * @return {string} */ getRegion(): string; /** * Sets Region for the connection * @param {string} region Region for the connection */ setRegion(region: string): void; region: string; /** * Returns Access details including endpoint and authentication information * @return {ConnectionDetail[]} */ getAccessDetails(): ConnectionDetail[]; /** * Sets Access details including endpoint and authentication information * @param {ConnectionDetail[]} accessDetails Access details including endpoint and authentication information */ setAccessDetails(accessDetails: ConnectionDetail[]): void; #private; } import ExternalizableAbstractModel from "../../../common/v1/response/ExternalizableAbstractModel"; import ConnectionDetail from "./ConnectionDetail"; import ConnectionDeploymentType from "./ConnectionDeploymentType";