deploy_virtual_machine
Create and configure a virtual machine using specified service offering, template, and zone IDs on the CloudStack MCP Server. Optionally, assign a name, networks, security groups, SSH key pairs, and user data.
Instructions
Deploy a new virtual machine
Input Schema
Name | Required | Description | Default |
---|---|---|---|
displayname | No | VM display name | |
keypair | No | SSH key pair name | |
name | No | VM name | |
networkids | No | Network IDs (comma-separated) | |
securitygroupids | No | Security group IDs (comma-separated) | |
serviceofferingid | Yes | Service offering ID | |
templateid | Yes | Template ID | |
userdata | No | User data (base64 encoded) | |
zoneid | Yes | Zone ID |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"displayname": {
"description": "VM display name",
"type": "string"
},
"keypair": {
"description": "SSH key pair name",
"type": "string"
},
"name": {
"description": "VM name",
"type": "string"
},
"networkids": {
"description": "Network IDs (comma-separated)",
"type": "string"
},
"securitygroupids": {
"description": "Security group IDs (comma-separated)",
"type": "string"
},
"serviceofferingid": {
"description": "Service offering ID",
"type": "string"
},
"templateid": {
"description": "Template ID",
"type": "string"
},
"userdata": {
"description": "User data (base64 encoded)",
"type": "string"
},
"zoneid": {
"description": "Zone ID",
"type": "string"
}
},
"required": [
"serviceofferingid",
"templateid",
"zoneid"
],
"type": "object"
}