///GENMHASH:83EB7E99BCC747CE59AF36FB9564E603:F43FF67D037F98DA2675C048997AB3E4 internal LoadBalancerProbeImpl DefineTcpProbe(string name) { ILoadBalancerTcpProbe tcpProbe; if (!tcpProbes.TryGetValue(name, out tcpProbe)) { ProbeInner inner = new ProbeInner() { Name = name, Protocol = ProbeProtocol.Tcp }; return(new LoadBalancerProbeImpl(inner, this)); } else { return((LoadBalancerProbeImpl)tcpProbe); } }
internal LoadBalancerProbeImpl DefineHttpsProbe(string name) { ILoadBalancerHttpProbe httpsProbe; if (!httpsProbes.TryGetValue(name, out httpsProbe)) { ProbeInner inner = new ProbeInner() { Name = name, Protocol = ProbeProtocol.Https, Port = 443 }; return(new LoadBalancerProbeImpl(inner, this)); } else { return((LoadBalancerProbeImpl)httpsProbe); } }