These docs are for Rancher 1.6, if you are looking for Rancher 2.x docs, see
here .
ExternalHandlerExternalHandlerProcessMap
Resource Fields
Writeable Fields
Field
Type
Create
Update
Default
Notes
description
string
Optional
Yes
-
name
string
Optional
Yes
-
Read Only Fields
Field
Type
Notes
data
map[json]
eventName
string
externalHandlerId
externalHandler
externalHandlerProcessId
externalHandlerProcess
id
int
The unique identifier for the externalHandlerExternalHandlerProcessMap
onError
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.
Actions
Input: This action has no inputs
curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X POST \
'http://$ { RANCHER_URL } : 8080 /v 2 -beta/projects/$ { PROJECT_ID } /externalHandlerExternalHandlerProcessMaps/$ { ID } ?action=activate'
Output: An updated copy of the externalHandlerExternalHandlerProcessMap resource
Input: This action has no inputs
curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X POST \
'http://$ { RANCHER_URL } : 8080 /v 2 -beta/projects/$ { PROJECT_ID } /externalHandlerExternalHandlerProcessMaps/$ { ID } ?action=deactivate'
Output: An updated copy of the externalHandlerExternalHandlerProcessMap resource