This is an automated email from the ASF dual-hosted git repository.
weizhouapache pushed a commit to branch 4.22
in repository https://gitbox.apache.org/repos/asf/cloudstack-documentation.git
The following commit(s) were added to refs/heads/4.22 by this push:
new 25a15e18 Clarification on the templateid parameter for
importUnmanagedInstances API (#676)
25a15e18 is described below
commit 25a15e184fee166408a572373c8439f5a9096da3
Author: Nicolas Vazquez <[email protected]>
AuthorDate: Tue Sep 1 09:14:12 2026 -0300
Clarification on the templateid parameter for importUnmanagedInstances API
(#676)
* Clarification on the templateid parameter for importUnmanagedInstances API
* Address review comment
---
source/adminguide/virtual_machines/importing_unmanaging_vms.rst | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/source/adminguide/virtual_machines/importing_unmanaging_vms.rst
b/source/adminguide/virtual_machines/importing_unmanaging_vms.rst
index 7c3444b9..7e9bbd23 100644
--- a/source/adminguide/virtual_machines/importing_unmanaging_vms.rst
+++ b/source/adminguide/virtual_machines/importing_unmanaging_vms.rst
@@ -139,7 +139,7 @@ importUnmanagedInstance API
- **account** (An optional account name for the Instance. Must be used with
domainid parameter)
- **domainid** (An optional domain ID for the Instance. Must be used with
account parameter)
- **projectid**
- - **templateid**
+ - **templateid** (A template ID for the Instance. Must be set in case of
importing a KVM unmanaged instance. It is optional for other hypervisors)
- **serviceofferingid**
- **nicnetworklist** (Map for NIC ID and corresponding Network UUID)
- **nicipaddresslist** (Map for NIC ID and corresponding IP address)
@@ -150,6 +150,9 @@ importUnmanagedInstance API
.. note:: The `forced` parameter is false by default and thus prevents
importing an Instance which has a NIC containing a MAC address that has been
previously assigned by CloudStack to another existing VM. If it is set to true,
importing a VM with such already-used MAC addresses of the NICS will be
allowed, however, the original MAC address will be replaced with a newly
generated MAC address.
+.. note::
+ The `templateid` parameter is only required for importing unmanaged KVM
instances. For the rest of the import operations, it is an optional parameter.
+
**Response**:
.. parsed-literal::