code: def load_balancer_delete(name, resource_group, **kwargs):
      '''
      .. versionadded:: 2019.2.0
  
      Delete a load balancer.
  
      :param name: The name of the load balancer to delete.
  
      :param resource_group: The resource group name assigned to the
          load balancer.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call azurearm_network.load_balancer_delete testlb testgroup
  
      '''
      result = False
      netconn = __utils__['azurearm.get_client']('network', **kwargs)
      try:
          load_balancer = netconn.load_balancers.delete(
              load_balancer_name=name,
              resource_group_name=resource_group
          )
          load_balancer.wait()
          result = True
      except CloudError as exc:
          __utils__['azurearm.log_cloud_error']('network', str(exc), **kwargs)
  
      return resulf load_balancer_delete(name, resource_group, **kwargs):
      '''
      .. versionadded:: 2019.2.0
  
      Delete a load balancer.
  
      :param name: The name of the load balancer to delete.
  
      :param resource_group: The resource group name assigned to the
          load balancer.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call azurearm_network.load_balancer_delete testlb testgroup
  
      '''
      result = False
      netconn = __utils__['azurearm.get_client']('network', **kwargs)
      try:
          load_balancer = netconn.load_balancers.delete(
              load_balancer_name=name,
              resource_group_name=resource_group
          )
          load_balancer.wait()
          result = True
      except CloudError as exc:
          __utils__['azurearm.log_cloud_error']('network', str(exc), **kwargs)
  
      return result
docs: .. versionadded:: 2019.2.0
  
      Delete a load balancer.
  
      :param name: The name of the load balancer to delete.
  
      :param resource_group: The resource group name assigned to the
          load balancer.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call azurearm_network.load_balancer_delete testlb testgroup