이 콘텐츠는 선택한 언어로 제공되지 않습니다.
12.4. Methods
12.4.1. Creating a Storage Domain 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Creation of a new storage domain requires the
name, type, host and storage elements. Identify the host element with the id attribute or name element.
You can enable the wipe after delete option by default on the storage domain by specifying
<wipe_after_delete> in the POST request. This option can be edited after the domain is created, but doing so will not change the wipe after delete property of disks that already exist.
Example 12.3. Creating a storage domain
The API user attaches the storage domain to a data center after creation.
12.4.2. Updating a Storage Domain 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Only the
name and wipe after delete elements are updatable post-creation. Changing the wipe after delete element will not change the wipe after delete property of disks that already exist.
Example 12.4. Updating a storage domain
12.4.3. Removing a Storage Domain 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Removal of a storage domain requires a
DELETE request.
Example 12.5. Removing a storage domain
DELETE /ovirt-engine/api/storagedomains/fabe0451-701f-4235-8f7e-e20e458819ed HTTP/1.1 HTTP/1.1 204 No Content
DELETE /ovirt-engine/api/storagedomains/fabe0451-701f-4235-8f7e-e20e458819ed HTTP/1.1
HTTP/1.1 204 No Content