Field | Type | Create | Update | Default | Notes |
---|---|---|---|---|---|
answers | map[json] | Optional | - | - | |
binding | binding | Optional | Yes | - | |
description | string | Optional | Yes | - | |
dockerCompose | string | Optional | - | - | |
environment | map[string] | Optional | - | - | |
externalId | string | Optional | Yes | - | |
group | string | Optional | Yes | - | |
name | string | Yes | Yes | - | |
outputs | map[string] | Optional | Yes | - | |
previousEnvironment | map[string] | Optional | Yes | - | |
previousExternalId | string | Optional | Yes | - | |
rancherCompose | string | Optional | - | - | |
startOnCreate | boolean | Optional | - | - | |
templates | map[string] | Optional | - | - |
Field | Type | Notes |
---|---|---|
data | map[json] | |
healthState | string | |
id | int | The unique identifier for the stack |
serviceIds | array[service] | |
system | boolean |
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.
/v2-beta/projects/${PROJECT_ID}/stacks/${ID}?action=activateservices
/v2-beta/projects/${PROJECT_ID}/stacks/${ID}?action=addoutputs
/v2-beta/projects/${PROJECT_ID}/stacks/${ID}?action=cancelupgrade
/v2-beta/projects/${PROJECT_ID}/stacks/${ID}?action=deactivateservices
/v2-beta/projects/${PROJECT_ID}/stacks/${ID}?action=error
/v2-beta/projects/${PROJECT_ID}/stacks/${ID}?action=exportconfig
/v2-beta/projects/${PROJECT_ID}/stacks/${ID}?action=finishupgrade
/v2-beta/projects/${PROJECT_ID}/stacks/${ID}?action=rollback
/v2-beta/projects/${PROJECT_ID}/stacks/${ID}?action=upgrade