def _get_az_function_def(full_command, command_verb, arguments, command_doc):
    """Given a function name, arguments, and doc,returns a formatted string function def."""
    if command_doc:
        function_def = f"""
def {command_verb}({arguments}):
    '''
    {command_doc}
    '''
    return _call_az("az {full_command}", locals())

"""
    else:
        function_def = f"""
def {command_verb}({arguments}):
    return _call_az("az {full_command}", locals())

"""
    return function_def