execution.salt.job.describe

Retourne les attributs détaillés d’une tâche SaltStack.

Exemple d’utilisation via l’API HTTP

zephir-client execution.salt.job.describe '{"jid": "20171128101826972627"}'
Type de message:
 rpc
Utilisable via l’API Gateway:
 non
Domaine fonctionnel:
 execution-domain

Paramètres

jid
Description:Identifiant de la tâche SaltStack.
Type:String Server.JobId
Requis:non

Réponse

Paramètres nommés

command
Description:Nom de la fonction.
Type:String
arg
Description:Commande exécuté.
Type:String
success
Description:Commande exécuté avec succès.
Type:Boolean
executed
Description:La tâche a été exécutée.
Type:Boolean
minion
Description:Identifiant du minion.
Type:String
retcode
Description:Code de retour de la commande.
Type:Number
jid
Description:Identifiant de la tâche.
Type:String Server.JobId
return
Description:Retour de la commande.
Type:String