/**
* The NicPair model module.
* @module Ntnx/NicPair
* @version 4.4.1
* @class NicPair
*
* @param { string } ingressNicReference UUID of NIC which will be used as ingress NIC.
*
* @param { boolean } isEnabled Administrative state of the NIC pair. If it's set to False, the NIC pair will not be selected as ACTIVE network function.
*/
export default class NicPair {
/**
* Constructs a NicPair from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data to obj if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @param {module:Ntnx/NicPair} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/NicPair} The populated NicPair instance.
*/
static constructFromObject(data: any, obj?: any, callFromChild?: boolean): any;
/**
* Converts a given snake_case string to camelCase.
* @param {string} snakeStr - The input string in snake_case format.
* @returns {string} - The converted string in camelCase format.
*/
static snakeToCamel(snakeStr: string): string;
/**
* Constructs a new NicPair.
* List of all NIC pairs part of this network function.
* @alias module:Ntnx/NicPair
*
* @param { string } ingressNicReference UUID of NIC which will be used as ingress NIC.
*
* @param { boolean } isEnabled Administrative state of the NIC pair. If it's set to False, the NIC pair will not be selected as ACTIVE network function.
*/
constructor(ingressNicReference: string, isEnabled: boolean);
ingressNicReference: string;
isEnabled: boolean;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* Returns UUID of NIC which will be used as ingress NIC.
* @return {string}
*/
getIngressNicReference(): string;
/**
* Sets UUID of NIC which will be used as ingress NIC.
* @param {string} ingressNicReference UUID of NIC which will be used as ingress NIC.
*/
setIngressNicReference(ingressNicReference: string): void;
/**
* Returns UUID of NIC which will be used as egress NIC.
* @return {string}
*/
getEgressNicReference(): string;
/**
* Sets UUID of NIC which will be used as egress NIC.
* @param {string} egressNicReference UUID of NIC which will be used as egress NIC.
*/
setEgressNicReference(egressNicReference: string): void;
egressNicReference: string;
/**
* Returns VM UUID which both ingress/egress NICs are part of.
* @return {string}
*/
getVmReference(): string;
/**
* Sets VM UUID which both ingress/egress NICs are part of.
* @param {string} vmReference VM UUID which both ingress/egress NICs are part of.
*/
setVmReference(vmReference: string): void;
vmReference: string;
/**
* Returns Administrative state of the NIC pair. If it's set to False, the NIC pair will not be selected as ACTIVE network function.
* @return {boolean}
*/
getIsEnabled(): boolean;
/**
* Sets Administrative state of the NIC pair. If it's set to False, the NIC pair will not be selected as ACTIVE network function.
* @param {boolean} isEnabled Administrative state of the NIC pair. If it's set to False, the NIC pair will not be selected as ACTIVE network function.
*/
setIsEnabled(isEnabled: boolean): void;
/**
* @return {NicHighAvailabilityState}
*/
getHighAvailabilityState(): NicHighAvailabilityState;
/**
* @param {NicHighAvailabilityState} highAvailabilityState
*/
setHighAvailabilityState(highAvailabilityState: NicHighAvailabilityState): void;
highAvailabilityState: string;
/**
* @return {HealthStatus}
*/
getDataPlaneHealthStatus(): HealthStatus;
/**
* @param {HealthStatus} dataPlaneHealthStatus
*/
setDataPlaneHealthStatus(dataPlaneHealthStatus: HealthStatus): void;
dataPlaneHealthStatus: string;
get$Reserved(): any;
get$ObjectType(): string;
get$UnknownFields(): any;
toJson(forMutation: any): any;
validate(scope: any, properties: any, ...args: any[]): Promise;
validateProperty(scope: any, property: any): ValidationError;
#private;
}
import NicHighAvailabilityState from "./NicHighAvailabilityState";
import HealthStatus from "./HealthStatus";
import ValidationError from "../../../validation/ValidationError";