6.176. QoS
이름 | 요약 |
---|---|
| 데이터 센터에서 지정된 QoS를 가져옵니다. |
| 데이터 센터에서 지정된 QoS를 제거합니다. |
| dataCenter에서 지정된 QoS를 업데이트합니다. |
6.176.1. GET가져오기
데이터 센터에서 지정된 QoS를 가져옵니다.
GET /ovirt-engine/api/datacenters/123/qoss/123
다음과 같은 응답을 받을 수 있습니다.
<qos href="/ovirt-engine/api/datacenters/123/qoss/123" id="123"> <name>123</name> <description>123</description> <max_iops>1</max_iops> <max_throughput>1</max_throughput> <type>storage</type> <data_center href="/ovirt-engine/api/datacenters/123" id="123"/> </qos>
이름 | 유형 | 방향 | 요약 |
---|---|---|---|
| in | 따라야 할 내부 링크를 나타냅니다. | |
| Out | QoS 오브젝트 쿼리. |
6.176.1.1. 팔로우
따라야 할 내부 링크를 나타냅니다. 이러한 링크에서 참조하는 오브젝트는 현재 요청의 일부로 가져옵니다. 자세한 내용은 여기를 참조하십시오.
6.176.2. DELETE제거
데이터 센터에서 지정된 QoS를 제거합니다.
DELETE /ovirt-engine/api/datacenters/123/qoss/123
이름 | 유형 | 방향 | 요약 |
---|---|---|---|
| in | 제거가 비동기적으로 수행되어야 하는지 여부를 나타냅니다. |
6.176.3. PUT업데이트
dataCenter에서 지정된 QoS를 업데이트합니다.
PUT /ovirt-engine/api/datacenters/123/qoss/123
예를 들어 curl은 다음과 같습니다.
curl -u admin@internal:123456 -X PUT -H "content-type: application/xml" -d \ "<qos><name>321</name><description>321</description><max_iops>10</max_iops></qos>" \ https://engine/ovirt-engine/api/datacenters/123/qoss/123
다음과 같은 응답을 받게 됩니다.
<qos href="/ovirt-engine/api/datacenters/123/qoss/123" id="123"> <name>321</name> <description>321</description> <max_iops>10</max_iops> <max_throughput>1</max_throughput> <type>storage</type> <data_center href="/ovirt-engine/api/datacenters/123" id="123"/> </qos>
이름 | 유형 | 방향 | 요약 |
---|---|---|---|
| in | 업데이트를 비동기적으로 수행해야 하는지 여부를 나타냅니다. | |
| in/Out | 업데이트된 QoS 오브젝트입니다. |