- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- Pass Virtual Image to /api/instances
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 08:01 AM
04-02-2025 08:01 AM
Pass Virtual Image to /api/instances
Similar to how the UI allows the selection of any virtual image, we would like to allow the user to select a virtual image versus creating templates for every image. Is this possible? I could not locate the parameter in the API documents.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2025 11:25 AM
04-11-2025 11:25 AM
Re: Pass Virtual Image to /api/instances
@cbunge - Any idea if the same functionality exists in the TF provider? I looked and it doesn’t appear to have a template reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 04:21 AM
04-03-2025 04:21 AM
Re: Pass Virtual Image to /api/instances
Using the CLI of instances add --curl --scrub
, it gives the sample output of:
-H "Authorization: Bearer ************" \
-H "Content-Type: application/json" \
-d '{
"zoneId": 1,
"instance": {
"name": "testvm",
"cloud": "vCenter",
"site": {
"id": 7
},
"type": "vmware",
"instanceType": {
"code": "vmware"
},
"layout": {
"id": 1369,
"code": "vmware-1.0-single"
},
"plan": {
"id": 892,
"code": "vm-1024",
"name": "1 CPU, 1GB Memory"
}
},
"config": {
"resourcePoolId": "pool-3806",
"template": 16628,
"vmwareFolderId": "group-v136",
"nestedVirtualization": "off",
"createUser": true
},
"volumes": [
{
"id": -1,
"rootVolume": true,
"name": "root",
"size": 10,
"sizeId": null,
"storageType": 1,
"datastoreId": "auto"
}
],
"networkInterfaces": [
{
"network": {
"id": "network-29629"
},
"networkInterfaceTypeId": 10,
"ipMode": "dhcp"
}
],
"layoutSize": 1
}'
Specifically the Config: Template: ID value