def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil)
      response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil)
      response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets all network security groups applied to a network interface.

 @param resource_group_name [String] The name of the resource group.
 @param network_interface_name [String] The name of the network interface.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [EffectiveNetworkSecurityGroupListResult] operation results.