1. Types
2. vcenter
3. ovf
4. library item

## vcenter ovf library item: create target

The `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.

### Representations:

- JSON
- XML

{
"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>

#### Attributes:

Name | Type | Description
--- | --- | ---
Optional
library_id | string | 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. Optional. If unset, the `library_item_id` field must be specified.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: `com.vmware.content.Library`. When operations return a value of this structure as a result, the field will be an identifier for the resource type: `com.vmware.content.Library`.
library_item_id | string | Identifier of the library item that should be should be updated. Optional. If unset, a new library item will be created. The `library_id` field must be specified if this field is unset.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: `com.vmware.content.library.Item`. When operations return a value of this structure as a result, the field will be an identifier for the resource type: `com.vmware.content.library.Item`.