Apache CloudStack 4.19.0.0 Root Admin API Reference

addGuestOsMapping

Adds a guest OS name to hypervisor OS name mapping

Request parameters

Parameter NameDescriptionRequired
hypervisorHypervisor type. One of : XenServer, KVM, VMWaretrue
hypervisorversionHypervisor version to create the mapping. Use 'default' for default versions. Please check hypervisor capabilities for correct versiontrue
osnameforhypervisorOS name specific to the hypervisortrue
forcedForces add user defined guest os mapping, overrides any existing user defined mappingfalse
osdisplaynameDisplay Name of Guest OS standard type. Either Display Name or UUID must be passedfalse
osmappingcheckenabledWhen set to true, checks for the correct guest os mapping name in the provided hypervisor (supports VMware and XenServer only. At least one hypervisor host with the version specified must be available. Default version will not work.)false
ostypeidUUID of Guest OS type. Either the UUID or Display Name must be passedfalse

Response Tags

Response NameDescription
idthe ID of the Guest OS mapping
hypervisorthe hypervisor
hypervisorversionversion of the hypervisor for mapping
isuserdefinedis the mapping user defined
osdisplaynamestandard display name for the Guest OS
osnameforhypervisorhypervisor specific name for the Guest OS
ostypeidthe ID of the Guest OS type