corestack_ environment_ resize
Resize a staging environment.
When to use it
Change the size of a CoreStack site's staging environment, now or tonight. Sizes and prices: corestack_uat_sizes_list and corestack_billing_catalogue_get; price it first with corestack_billing_quote_preview.
Ask for it
Using the Corefinity MCP server, call corestack_environment_resize with site_id 4211, uat_size xsmall. (Resize a staging environment.) Tell me what it returned.Inputs
applystring
now (the default) or tonight, in the maintenance window, with everything else queued for the row. window: the row's next maintenance window (tonight is kept as its alias). Defaults to now.
nowwindowtonightquote_idstring
A quote from corestack_billing_quote_preview (optional): the write refuses with stale if the price moved.
site_idintegerRequired
The staging environment's row. At least 1.
uat_sizestringRequired
A staging size key from corestack_uat_sizes_list. Up to 16 characters.
Example call
{
"name": "corestack_environment_resize",
"arguments": {
"site_id": 4211,
"uat_size": "xsmall"
}
}If it is refused
| Reason | What to do |
|---|---|
included_size | The size is the one already included in the package; nothing to buy. |
contract_missing | The billing contract changed while the change was being made; read the options again and call again. (A site or cluster with no billing contract is changed all the same, without a quote: it is not billed in the Control Panel.) |
stale | The quote no longer matches this change or has expired; preview a new one with corestack_billing_quote_preview and call again with its quote_id. |
no_payment_method | The company has no payment method; the person must add one in the Control Panel. |
change_pending | A change is already pending for this row; apply or cancel it first (corestack_pending_changes_list). |
feature_off | An input needs a feature that is switched off (for example apply: "tonight" while the maintenance window queue is switched off); leave that input out. |
billing_forbidden | The person has no billing role in the company; ask a company owner or billing member. |
search_too_small | Search needs at least 8 GB; turn search off first or choose Medium (8 GB) or larger. |
forbidden | The Control Panel refuses this person the action and names no reason; stop. |
demo_keep_required | The site or cluster is a free demo that is not kept yet, and a bigger staging environment costs money: it starts once the demo is kept. Ask the person to keep it (corestack_demo_keep, or open keep_url); change names this change and what it would cost a month once kept. |
managed_elsewhere | Another control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done. |
invalid_arguments | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |
The same task elsewhere
Was this helpful?