@utils.arg('server', metavar='<server>', help=_('Name or UUID of the server to list actions for.'), start_version='2.0', end_version='2.20')
@utils.arg('server', metavar='<server>', help=_('Name or UUID of the server to list actions for. Only UUID can be used to list actions on a deleted server.'), start_version='2.21')
def do_instance_action_list(cs, args):
 if (cs.api_version < api_versions.APIVersion('2.21')):
  server = _find_server(cs, args.server)
 else:
  server = _find_server(cs, args.server, raise_if_notfound=False)
 actions = cs.instance_action.list(server)
 utils.print_list(actions, ['Action', 'Request_ID', 'Message', 'Start_Time'], sortby_index=3)

@ utils . arg ( 'server' , metavar = '<server>' , help = _ ( 'Name or UUID of the server to list actions for.' ) , start_version = '2.0' , end_version = '2.20' ) @ utils . arg ( 'server' , metavar = '<server>' , help = _ ( 'Name or UUID of the server to list actions for. Only UUID can be used to list actions on a deleted server.' ) , start_version = '2.21' ) def do_instance_action_list ( cs , args ) : if ( cs . api_version < api_versions . APIVersion ( '2.21' ) ) : server = _find_server ( cs , args . server ) else : server = _find_server ( cs , args . server , raise_if_notfound = False ) actions = cs . instance_action . list ( server ) utils . print_list ( actions , [ 'Action' , 'Request_ID' , 'Message' , 'Start_Time' ] , sortby_index = 3 )
list actions on a server .