Resource Fields

Writeable Fields

Field Type Create Update Default Notes
description string Optional Yes -  
image string Yes - -  
labels map[string] Optional - - A map of key value pairs to be used as labels for the pullTask
mode enum Yes - all The options are all, cached.
name string Optional Yes -  

Read Only Fields

Field Type Notes
id int The unique identifier for the pullTask
status map[string]  

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.


CreatePOST: /v2-beta/projects/${PROJECT_ID}/pullTasks

-H 'Content-Type: application/json' \
-d '{
	"description": "string",
	"image": "string",
	"labels": {
		"key": "value-pairs"
	"mode": "all",
	"name": "string"
}' 'http://${RANCHER_URL}:8080/v2-beta/projects/${PROJECT_ID}/pullTasks'
Edit this page