Task

Resource Fields

Writeable Fields

Field Type Create Update Default Notes
name string Optional Yes -  

Read Only Fields

Field Type Notes
id int The unique identifier for the task


Please read more about the common resource fields. These fields are read only and applicable to almost every resource. We have segregated them from the list above.

Actions

execute POST: /v2-beta/projects/${PROJECT_ID}/tasks/${ID}?action=execute

Input:This action has no inputs
curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X POST \
'http://${RANCHER_URL}:8080/v2-beta/projects/${PROJECT_ID}/tasks/${ID}?action=execute'

Output: An updated copy of the task resource
Edit this page