app_plan_preview
Preview an App Plan's App, Environment, Services and Capacity impact without saving it.
Preview an App Plan’s App, Environment, Services and Capacity impact without saving it.
| Access | Read only |
| Same as | blossom app_plan:preview |
Arguments
| Argument | Type | Description |
|---|---|---|
data |
object | Required. |
data.app_name |
string | An existing App gets a new Environment. |
data.environment_name |
string | — |
data.clone_url |
string | — |
data.repository_type |
string | private needs a connected Git provider. One of: public, private. |
data.subfolder |
string | Repository folder to deploy. |
data.quickstart |
string | Key from catalog_list with kind quickstart. |
data.services |
object list | — |
data.services[].name |
string | — |
data.services[].image |
string | Override the Environment image. |
data.services[].entrypoint |
string | — |
data.services[].command |
string | Start command or Procfile process. |
data.services[].port |
integer | — |
data.services[].publicly_exposed |
boolean | — |
data.services[].paths |
string list | — |
data.services[].resources |
object | — |
data.env_vars |
object | — |
data.database_instance_id |
string | — |
data.cache_instance_id |
string | — |
data.location_id |
string | Uses the default Location if omitted. |
location |
string | Location id; defaults to the Account’s default Location. |
Example
{"data":{"clone_url":"https://github.com/acme/shop","services":[{"name":"web","command":"web","port":3000,"publicly_exposed":true}]}}