Austin.Linode.LinodeClient.NodeBalancer_Update C# (CSharp) Метод

NodeBalancer_Update() публичный Метод

Updates a NodeBalancer's properties
possible errors: NOTFOUND,VALIDATION
public NodeBalancer_Update ( int NodeBalancerID, int ClientConnThrottle = null, string Label = null ) : void
NodeBalancerID int
ClientConnThrottle int To help mitigate abuse, throttle connections per second, per client IP. 0 to disable. Max of 20.
Label string This NodeBalancer's label
Результат void
        public void NodeBalancer_Update(
                int NodeBalancerID,
                int? ClientConnThrottle = null,
                string Label = null)
        {
            var myParams = new Dictionary<string, string>();
            myParams.Add("NodeBalancerID", NodeBalancerID.ToString(CultureInfo.InvariantCulture));
            if (ClientConnThrottle != null)
                myParams.Add("ClientConnThrottle", ClientConnThrottle.Value.ToString(CultureInfo.InvariantCulture));
            if (Label != null)
                myParams.Add("Label", Label);
            GetResponse<object>("nodebalancer.update", myParams);
        }