6.133. InstanceTypes


Expand
표 6.405. 메서드 요약
이름요약

add

새 인스턴스 유형을 생성합니다.

list

시스템의 기존 인스턴스 유형을 모두 나열합니다.

6.133.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>
Expand
표 6.406. 매개변수 요약
이름유형방향요약

instance_type

InstanceType

in/Out

 

6.133.2. GET나열

시스템의 기존 인스턴스 유형을 모두 나열합니다.

반환된 인스턴스 유형 목록의 순서는 보장되지 않습니다.

Expand
표 6.407. 매개변수 요약
이름유형방향요약

case_sensitive

부울

in

검색 매개 변수를 사용하여 수행된 검색이 대소문자를 고려하여 수행해야 하는지 여부를 나타냅니다.

팔로우

문자열

in

따라야 할 내부 링크를 나타냅니다.

instance_type

InstanceType[]

Out

 

max

정수

in

반환할 최대 인스턴스 유형 수를 설정합니다.

search

문자열

in

반환된 템플릿을 제한하는 데 사용되는 쿼리 문자열입니다.

6.133.2.1. case_sensitive

검색 매개 변수를 사용하여 수행된 검색이 대소문자를 고려하여 수행해야 하는지 여부를 나타냅니다. 기본값은 true 입니다. 즉, 해당 케이스가 고려됩니다. 대소문자를 무시하고자 하는 경우 false 로 설정합니다.

6.133.2.2. 팔로우

따라야 할 내부 링크를 나타냅니다. 이러한 링크에서 참조하는 오브젝트는 현재 요청의 일부로 가져옵니다. 자세한 내용은 여기를 참조하십시오.

6.133.2.3. max

반환할 최대 인스턴스 유형 수를 설정합니다. 지정하지 않으면 모든 인스턴스 유형이 반환됩니다.

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동