Red Hat Training

A Red Hat training course is available for Red Hat Virtualization

6.130.2. POST가져오기

Glance 이미지 스토리지 도메인에서 가상 머신을 가져옵니다.

예를 들어 식별자 456 인 이미지를 식별자가 있는 스토리지 도메인에서 가져오려면 다음과 같이 요청을 보냅니다.

POST /ovirt-engine/api/openstackimageproviders/123/images/456/import

다음과 같은 요청 본문이 있습니다.

<action>
  <storage_domain>
    <name>images0</name>
  </storage_domain>
  <cluster>
    <name>images0</name>
  </cluster>
</action>

표 6.399. 매개변수 요약

이름유형direction요약

async

부울

in

가져오기가 비동기적으로 수행되어야 하는지 여부를 나타냅니다.Indicates if the import should be performed asynchronously.

cluster

Cluster

in

이 매개변수는 import_as_template 을 사용하는 경우 필수이며 Glance 이미지를 템플릿으로 가져오는 데 사용해야 하는 클러스터를 나타냅니다.

disk

디스크

in

 

import_as_template

부울

in

이미지를 템플릿으로 가져올지 여부를 나타냅니다.

storage_domain

StorageDomain

in

 

template

템플릿

in