docs: def security_group_rule_create(auth=None, **kwargs):
      '''
      Create a rule in a security group
  
      secgroup_name_or_id
          The security group name or ID to associate with this security group
          rule. If a non-unique group name is given, an exception is raised.
  
      port_range_min
          The minimum port number in the range that is matched by the security
          group rule. If the protocol is TCP or UDP, this value must be less than
          or equal to the port_range_max attribute value. If nova is used by the
          cloud provider for security groups, then a value of None will be
          transformed to -1.
  
      port_range_max
          The maximum port number in the range that is matched by the security
          group rule. The port_range_min attribute constrains the port_range_max
          attribute. If nova is used by the cloud provider for security groups,
          then a value of None will be transformed to -1.
  
      protocol
          The protocol that is matched by the security group rule.  Valid values
          are ``None``, ``tcp``, ``udp``, and ``icmp``.
  
      remote_ip_prefix
          The remote IP prefix to be associated with this security group rule.
          This attribute matches the specified IP prefix as the source IP address
          of the IP packet.
  
      remote_group_id
          The remote group ID to be associated with this security group rule
  
      direction
          Either ``ingress`` or ``egress``; the direction in which the security
          group rule is applied. For a compute instance, an ingress security
          group rule is applied to incoming (ingress) traffic for that instance.
          An egress rule is applied to traffic leaving the instance
  
      ethertype
          Must be IPv4 or IPv6, and addresses represented in CIDR must match the
          ingress or egress rules
  
      project_id
          Specify the project ID this security group will be created on
          (admin-only)
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' neutronng.security_group_rule_create\
            secgroup_name_or_id=secgroup1
  
          salt '*' neutronng.security_group_rule_create\
            secgroup_name_or_id=secgroup2 port_range_min=8080\
            port_range_max=8080 direction='egress'
  
          salt '*' neutronng.security_group_rule_create\
            secgroup_name_or_id=c0e1d1ce-7296-405e-919d-1c08217be529\
            protocol=icmp project_id=1dcac318a83b4610b7a7f7ba01465548
  
      '''
      cloud = get_operator_cloud(auth)
      kwargs = _clean_kwargs(**kwargs)
      return cloud.create_security_group_rule(**kwargs)