create_target
structure specifies the target library item when capturing a virtual machine or virtual appliance as an OVF package in a library item in a content library. The target can be an existing library item, which will be updated, creating a new version, or it can be a newly created library item in a specified library. See create.
{
"library_id": "obj-103", "library_item_id": "obj-103" }
<?xml version="1.0" ?>
<ns0:CreateTarget xmlns:ns0="http://vmware.com/vcenter/ovf/library_item" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <library_id>obj-103</library_id> <library_item_id>obj-103</library_item_id> </ns0:CreateTarget> |
Name | Type | Required | Description |
---|---|---|---|
library_id | ID | No. If unset, the library_item_id field must be specified. |
Identifier of the library in which a new library item should be created. This field is not used if the library_item_id field is specified. Id of type com.vmware.content.Library. |
library_item_id | ID | No. If unset, a new library item will be created. The library_id field must be specified if this field is unset. |
Identifier of the library item that should be should be updated. Id of type com.vmware.content.library.Item. |
Copyright © 2014. All Rights Reserved.