6.278.2. 获取 GET
获取虚拟机池。
GET /ovirt-engine/api/vmpools/123
您将获得如下 XML 响应:
<vm_pool id="123">
<actions>...</actions>
<name>MyVmPool</name>
<description>MyVmPool description</description>
<link href="/ovirt-engine/api/vmpools/123/permissions" rel="permissions"/>
<max_user_vms>1</max_user_vms>
<prestarted_vms>0</prestarted_vms>
<size>100</size>
<stateful>false</stateful>
<type>automatic</type>
<use_latest_template_version>false</use_latest_template_version>
<cluster id="123"/>
<template id="123"/>
<vm id="123">...</vm>
...
</vm_pool>
| 名称 | 类型 | 方向 | 概述 |
|---|---|---|---|
|
| in | 指明是否应根据用户的权限过滤结果。 | |
|
| in | 指明应遵循哪些内联链接。 | |
|
| out | 检索到的虚拟机池. |
6.278.2.1. follow 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
指明应遵循哪些内联链接。这些链接引用的对象将在当前请求中获取。详情请查看此处。