/**
* The LocalBgpService model module.
* @module Ntnx/LocalBgpService
* @version 4.4.1
* @class LocalBgpService
*
* @param { Number } asn Autonomous system number. 0 and 4294967295 are reserved.
*/
export default class LocalBgpService {
/**
* Constructs a LocalBgpService 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/LocalBgpService} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/LocalBgpService} The populated LocalBgpService 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 LocalBgpService.
* BGP service hosted on this local gateway.
* @alias module:Ntnx/LocalBgpService
*
* @param { Number } asn Autonomous system number. 0 and 4294967295 are reserved.
*/
constructor(asn: number);
asn: number;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* Returns Reference to the VPC that this network gateway serves as its BGP speaker. Note that this BGP gateway will not service a regular VPC sitting behind a Transit VPC.
* @return {string}
*/
getVpcReference(): string;
/**
* Sets Reference to the VPC that this network gateway serves as its BGP speaker. Note that this BGP gateway will not service a regular VPC sitting behind a Transit VPC.
* @param {string} vpcReference Reference to the VPC that this network gateway serves as its BGP speaker. Note that this BGP gateway will not service a regular VPC sitting behind a Transit VPC.
*/
setVpcReference(vpcReference: string): void;
vpcReference: string;
/**
* Returns Autonomous system number. 0 and 4294967295 are reserved.
* minimum: 1
* maximum: 4294967294
* @return {Number}
*/
getAsn(): number;
/**
* Sets Autonomous system number. 0 and 4294967295 are reserved.
* @param {Number} asn Autonomous system number. 0 and 4294967295 are reserved.
*/
setAsn(asn: number): void;
/**
* Returns If the BGP additional paths capability is enabled on this local gateway.
* @return {boolean}
*/
getIsBgpAddPathEnabled(): boolean;
/**
* Sets If the BGP additional paths capability is enabled on this local gateway.
* @param {boolean} isBgpAddPathEnabled If the BGP additional paths capability is enabled on this local gateway.
*/
setIsBgpAddPathEnabled(isBgpAddPathEnabled: boolean): void;
isBgpAddPathEnabled: boolean;
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 ValidationError from "../../../validation/ValidationError";