human
Complete the below
def list_network_resource_property(resource, prop):

    ''''Factory method for creating list functions.'
    '''
 ... Give me a the Python program you requested?
assistant
#Here is the Python program you requested.
    def list_func(resource_group_name, resource_name):
        client = getattr(_network_client_factory(), resource)
        return client.get(resource_group_name, resource_name).__getattribute__(prop)
    func_name = 'list_network_resource_property_{}_{}'.format(resource, prop)
    setattr(sys.modules[__name__], func_name, list_func)
    return func_name