create_apprun
Generate and deploy a new AppRun application on Sakura Cloud by specifying the name, Docker image, plan ID, environment variables, and zone.
Instructions
Create a new AppRun application
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | Description of the AppRun application | |
dockerImage | Yes | Docker image to use for the AppRun application | |
environment | No | Environment variables for the AppRun application | |
name | Yes | Name of the AppRun application | |
planId | Yes | Plan ID for the AppRun application | |
zone | No | The zone to use (e.g., "tk1v", "is1a", "tk1a"). Defaults to "tk1v" if not specified. |
Input Schema (JSON Schema)
{
"properties": {
"description": {
"description": "Description of the AppRun application",
"type": "string"
},
"dockerImage": {
"description": "Docker image to use for the AppRun application",
"type": "string"
},
"environment": {
"description": "Environment variables for the AppRun application",
"items": {
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"description": "Name of the AppRun application",
"type": "string"
},
"planId": {
"description": "Plan ID for the AppRun application",
"type": "string"
},
"zone": {
"description": "The zone to use (e.g., \"tk1v\", \"is1a\", \"tk1a\"). Defaults to \"tk1v\" if not specified.",
"type": "string"
}
},
"required": [
"name",
"dockerImage",
"planId"
],
"type": "object"
}