6.111. 인스턴스 유형
| 이름 | 요약 |
|---|---|
|
| 새 인스턴스 유형을 만듭니다. |
|
| 시스템의 기존 인스턴스 유형을 모두 나열합니다. |
6.111.1. POST추가 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
새 인스턴스 유형을 만듭니다.
여기에는 이름 특성만 필요하며 가상 머신의 모든 하드웨어 구성을 포함할 수 있습니다.
POST /ovirt-engine/api/instancetypes
다음과 같은 요청 본문이 있습니다.
<instance_type>
<name>myinstancetype</name>
</template>
다음과 같은 요청 본문을 사용하여 모든 하드웨어 구성으로 인스턴스 유형을 생성합니다.
<instance_type>
<name>myinstancetype</name>
<console>
<enabled>true</enabled>
</console>
<cpu>
<topology>
<cores>2</cores>
<sockets>2</sockets>
<threads>1</threads>
</topology>
</cpu>
<custom_cpu_model>AMD Opteron_G2</custom_cpu_model>
<custom_emulated_machine>q35</custom_emulated_machine>
<display>
<monitors>1</monitors>
<single_qxl_pci>true</single_qxl_pci>
<smartcard_enabled>true</smartcard_enabled>
<type>spice</type>
</display>
<high_availability>
<enabled>true</enabled>
<priority>1</priority>
</high_availability>
<io>
<threads>2</threads>
</io>
<memory>4294967296</memory>
<memory_policy>
<ballooning>true</ballooning>
<guaranteed>268435456</guaranteed>
</memory_policy>
<migration>
<auto_converge>inherit</auto_converge>
<compressed>inherit</compressed>
<policy id="00000000-0000-0000-0000-000000000000"/>
</migration>
<migration_downtime>2</migration_downtime>
<os>
<boot>
<devices>
<device>hd</device>
</devices>
</boot>
</os>
<rng_device>
<rate>
<bytes>200</bytes>
<period>2</period>
</rate>
<source>urandom</source>
</rng_device>
<soundcard_enabled>true</soundcard_enabled>
<usb>
<enabled>true</enabled>
<type>native</type>
</usb>
<virtio_scsi>
<enabled>true</enabled>
</virtio_scsi>
</instance_type>
| 이름 | 유형 | direction | 요약 |
|---|---|---|---|
|
| in/Out |