Virtual Desktops
Create software stack
Changed onCreates a new software stack from an AMI for virtual desktop deployment (admin access required)
post/api/dcv/virtual_desktops/software_stacks
Request
- The document declares no server URL.
- AuthsocaAuth (a scheme the document does not define) and socaToken (a scheme the document does not define)
Headers
X-EDH-USERstring required
Example:admin.user
SOCA username for authentication (must be admin)
X-EDH-TOKENstring required
Example:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
SOCA authentication token
Request body multipart/form-data
Example request
{
"ami_id": "ami-12345678",
"stack_name": "Ubuntu Desktop 20.04",
"base_os": "ubuntu2004",
"root_size": "50",
"virtual_desktop_profile_id": "1",
"launch_tenancy": "default",
"launch_host": "h-1234567890abcdef0",
"description": "Ubuntu 20.04 with desktop environment and development tools"
}Response
Software stack created successfully
Example response
{
"success": true,
"message": "ami-12345678 registered successfully in SOCA as Ubuntu Desktop 20.04"
}Changes
- info
the endpoint scheme security
socaAuth AND socaTokenwas added to the API - info
the endpoint scheme security
edhAuth AND edhTokenwas removed from the API - info
added the new optional request property
- info
- info
the endpoint scheme security
edhAuth AND edhTokenwas added to the API - info
the endpoint scheme security
socaAuth AND socaTokenwas removed from the API
- info