/**
 * NetworkLoadBalancer API
 * This describes the network load balancer API.
 * OpenAPI spec version: 20200501
 *
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */ import * as model from "../model" ; import common = require ( "oci-common" ) ; /**
 * The configuration of a backend server that is a member of a network load balancer backend set.
 * For more information, see [Managing Backend Servers](https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendservers.htm).
 *
 */ export interface BackendSummary { /**
      * A read-only field showing the IP address/IP OCID and port that uniquely identify this backend server in the backend set.
  * <p>
  Example: `10.0.0.3:8080`, or `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>:443` or `10.0.0.3:0`
  *
      */ "name" ? : string ; /**
     * The IP address of the backend server.
     * Example: `10.0.0.3`
     *
     */ "ipAddress" ? : string ; /**
     * The IP OCID/Instance OCID associated with the backend server.
     * Example: `ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>`
     *
     */ "targetId" ? : string ; /**
      * The communication port for the backend server.
  * <p>
  Example: `8080`
  *  Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
      */ "port" : number ; /**
      * The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger
  * proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections
  * as a server weighted '1'.
  * For more information about load balancing policies, see
  * [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm).
  * <p>
  Example: `3`
  *  Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
      */ "weight" ? : number ; /**
      * Whether the network load balancer should drain this server. Servers marked \"isDrain\" receive no
  * incoming traffic.
  * <p>
  Example: `false`
  *
      */ "isDrain" ? : boolean ; /**
      * Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress
  * traffic to this backend server unless all other backend servers not marked as \"isBackup\" fail the health check policy.
  * <p>
  Example: `false`
  *
      */ "isBackup" ? : boolean ; /**
      * Whether the network load balancer should treat this server as offline. Offline servers receive no incoming
  * traffic.
  * <p>
  Example: `false`
  *
      */ "isOffline" ? : boolean ; } export namespace BackendSummary { export function getJsonObj ( obj ) { const jsonObj = { ... obj , ... { } } ; return jsonObj ; } export function getDeserializedJsonObj ( obj ) { const jsonObj = { ... obj , ... { } } ; return jsonObj ; } }