/**
 * 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 listener's configuration.
 * For more information about backend set configuration, see
 * [Managing Load Balancer Listeners](https://docs.cloud.oracle.com/Content/Balance/Tasks/managinglisteners.htm).
 *
 */ export interface ListenerDetails { /**
      * A friendly name for the listener. It must be unique and it cannot be changed.
  * <p>
  Example: `example_listener`
  *
      */ "name" : string ; /**
      * The name of the associated backend set.
  * <p>
  Example: `example_backend_set`
  *
      */ "defaultBackendSetName" : string ; /**
     * IP version associated with the listener.
     */ "ipVersion" ? : model . IpVersion ; /**
      * The communication port for the listener.
  * <p>
  Example: `80`
  *  Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
      */ "port" : number ; /**
      * The protocol on which the listener accepts connection requests.
  * For public network load balancers, ANY protocol refers to TCP/UDP.
  * For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true).
  * To get a list of valid protocols, use the  {@link #listNetworkLoadBalancersProtocols(ListNetworkLoadBalancersProtocolsRequest) listNetworkLoadBalancersProtocols} * operation.
  * <p>
  Example: `TCP`
  *
       "protocol" : model . ListenerProtocols ; } export namespace ListenerDetails { export function getJsonObj ( obj ) { const jsonObj = { ... obj , ... { } } ; return jsonObj ; } export function getDeserializedJsonObj ( obj ) { const jsonObj = { ... obj , ... { } } ; return jsonObj ; } }