UpdateListener
put
                    /20200501/networkLoadBalancers/{network_load_balancer_id}/listeners/{listener_name}
Update a listener for a given network load balancer.
                Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    listenerName(required): string
                    
                    The name of the listener to update. Example: `example_listener`
- 
                    networkLoadBalancerId(required): string
                    
                    The OCID of the network load balancer to update.Default Value:
Header Parameters
                - 
                        if-match: string
                        
                        For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
- 
                        opc-request-id: string
                        
                        Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
- 
                        opc-retry-token: string
                        
                        Minimum Length:1Maximum Length:64A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
Details to update a listener.
                
                
                
                Root Schema : UpdateListenerDetails
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe configuration of the listener.
    
    
    
    
    Show Source
        - 
            defaultBackendSetName: 
            string
            The name of the associated backend set. Example: example_backend_set
- 
            internalProxyProtocolOptions: 
            array  internalProxyProtocolOptions
            
            Unique Items Required:trueAn array that represents the PPV2 Options that can be enabled on TCP Listeners. Example: ["VCN_ID"]
- 
            ipVersion: 
            string
            Default Value:IPV4Allowed Values:[ "IPV4", "IPV6" ]IP version associated with the listener.
- 
            isApplicationOffloadEnabled: 
            boolean
            Default Value:falseProperty to enable/disable Application Offload feature for the NLB. If enabled, NLB will use listener port to forward the packet to application's backends.
- 
            isPpv2Enabled: 
            boolean
            Default Value:falseProperty to enable/disable PPv2 feature for this listener.
- 
            isSgwNatIpTlvTypeOverrideEnabled: 
            boolean
            Default Value:falseOverride to use 0xE1 custom TLV for encoding Class E IP Address in IP Options. (Default is 0xE2)
- 
            port: 
            integer(int32)
            The communication port for the listener. Example: 80Example:0
- 
            protocol: 
            string
            Allowed Values:[ "ANY", "TCP", "UDP", "TCP_AND_UDP" ]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 [ListNetworkLoadBalancersProtocols](#/en/NetworkLoadBalancer/20200501/networkLoadBalancerProtocol/ListNetworkLoadBalancersProtocols) operation. Example: TCP
- 
            tcpIdleTimeout: 
            integer(int32)
            The duration for TCP idle timeout Example: `200`Example:200
- 
            udpIdleTimeout: 
            integer(int32)
            The duration for UDP idle timeout Example: `200`Example:200
Nested Schema : internalProxyProtocolOptions
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    arrayUnique Items Required: 
    
    
    trueAn array that represents the PPV2 Options that can be enabled on TCP Listeners. Example: ["VCN_ID"] 
    
    
    
    
    
        Show Source
        - 
            Array of: 
                string
            
            Allowed Values:[ "VCN_ID", "SGW_PE_NAT_IP", "VCN_OCID", "PE_OCID", "SGW_OCID" ]TLV type for the PPv2 feature.
Response
Supported Media Types
                - application/json
202 Response
Request accepted for processing.
                
                Headers
                - 
                        opc-request-id: string
                        
                        Unique Oracle-assigned identifier for the request. If you must contact Oracle about a particular request, then provide the request identifier.
- 
                        opc-work-request-id: string
                        
                        Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
400 Response
Bad Request
                
                Headers
                - 
                        opc-request-id: string
                        
                        Unique Oracle-assigned identifier for the request. If you must contact Oracle about a particular request, then provide the request identifier.
Root Schema : Error
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe properties that define an error.
    
    
    
    
    Show Source
        - 
            code(required): 
            string
            A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
- 
            message(required): 
            string
            A human-readable error string.
401 Response
Unauthorized
                
                Headers
                - 
                        opc-request-id: string
                        
                        Unique Oracle-assigned identifier for the request. If you must contact Oracle about a particular request, then provide the request identifier.
Root Schema : Error
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe properties that define an error.
    
    
    
    
    Show Source
        - 
            code(required): 
            string
            A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
- 
            message(required): 
            string
            A human-readable error string.
404 Response
Not Found
                
                Headers
                - 
                        opc-request-id: string
                        
                        Unique Oracle-assigned identifier for the request. If you must contact Oracle about a particular request, then provide the request identifier.
Root Schema : Error
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe properties that define an error.
    
    
    
    
    Show Source
        - 
            code(required): 
            string
            A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
- 
            message(required): 
            string
            A human-readable error string.
409 Response
Conflict
                
                Headers
                - 
                        opc-request-id: string
                        
                        Unique Oracle-assigned identifier for the request. If you must contact Oracle about a particular request, then provide the request identifier.
Root Schema : Error
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe properties that define an error.
    
    
    
    
    Show Source
        - 
            code(required): 
            string
            A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
- 
            message(required): 
            string
            A human-readable error string.
412 Response
Precondition Failed
                
                Headers
                - 
                        opc-request-id: string
                        
                        Unique Oracle-assigned identifier for the request. If you must contact Oracle about a particular request, then provide the request identifier.
Root Schema : Error
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe properties that define an error.
    
    
    
    
    Show Source
        - 
            code(required): 
            string
            A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
- 
            message(required): 
            string
            A human-readable error string.
429 Response
Too Many Requests
                
                Headers
                - 
                        opc-request-id: string
                        
                        Unique Oracle-assigned identifier for the request. If you must contact Oracle about a particular request, then provide the request identifier.
Root Schema : Error
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe properties that define an error.
    
    
    
    
    Show Source
        - 
            code(required): 
            string
            A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
- 
            message(required): 
            string
            A human-readable error string.
500 Response
Internal Server Error
                
                Headers
                - 
                        opc-request-id: string
                        
                        Unique Oracle-assigned identifier for the request. If you must contact Oracle about a particular request, then provide the request identifier.
Root Schema : Error
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe properties that define an error.
    
    
    
    
    Show Source
        - 
            code(required): 
            string
            A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
- 
            message(required): 
            string
            A human-readable error string.
Default Response
Unknown Error
                
                Headers
                - 
                        opc-request-id: string
                        
                        Unique Oracle-assigned identifier for the request. If you must contact Oracle about a particular request, then provide the request identifier.
Root Schema : Error
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    objectThe properties that define an error.
    
    
    
    
    Show Source
        - 
            code(required): 
            string
            A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
- 
            message(required): 
            string
            A human-readable error string.