| Field | Type | Create | Update | Default | Notes |
|---|---|---|---|---|---|
| dockerCompose | string | Optional | - | - | |
| environment | map[string] | Optional | - | - | |
| externalId | string | Optional | - | - | |
| rancherCompose | string | Optional | - | - |
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: /v1/environmentUpgrades
curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X POST \
-H 'Content-Type: application/json' \
-d '{
"dockerCompose": "string",
"environment": {
"key": "value-pairs"
},
"externalId": "string",
"rancherCompose": "string"
}' 'http://${RANCHER_URL}:8080/v1/environmentUpgrades'