code: func getProtocolsFromKubernetesProtocol(protocol v1.Protocol) (*network.TransportProtocol, *network.SecurityRuleProtocol, *network.ProbeProtocol, error) {
  	var transportProto network.TransportProtocol
  	var securityProto network.SecurityRuleProtocol
  	var probeProto network.ProbeProtocol
  
  	switch protocol {
  	case v1.ProtocolTCP:
  		transportProto = network.TransportProtocolTCP
  		securityProto = network.SecurityRuleProtocolTCP
  		probeProto = network.ProbeProtocolTCP
  		return &transportProto, &securityProto, &probeProto, nil
  	case v1.ProtocolUDP:
  		transportProto = network.TransportProtocolUDP
  		securityProto = network.SecurityRuleProtocolUDP
  		return &transportProto, &securityProto, nil, nil
  	default:
  		return &transportProto, &securityProto, &probeProto, fmt.Errorf("only TCP and UDP are supported for Azure LoadBalancers")
  	}
  
  }
docs: // returns the equivalent LoadBalancerRule, SecurityRule and LoadBalancerProbe
  // protocol types for the given Kubernetes protocol type.