Cosmic Admin API Reference

addGuestOsMapping

Adds a guest OS name to hypervisor OS name mapping

Request parameters

Parameter NameDescriptionRequired
hypervisorHypervisor type. One of : XenServer, KVMtrue
hypervisorversionHypervisor version to create the mapping for. Use 'default' for default versionstrue
osnameforhypervisorOS name specific to the hypervisortrue
osdisplaynameDisplay Name of Guest OS standard type. Either Display Name or UUID must be passedfalse
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