OvfLibraryItemCreateTarget

The LibraryItem.CreateTarget 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 LibraryItem.create.


Properties

Required Property Name Type Description
required library_id string

Identifier of the library in which a new library item should be created. This field is not used if the LibraryItem.CreateTarget.library-item-id field is specified. This field is currently required. In the future, if unset, the LibraryItem.CreateTarget.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.

optional library_item_id string

Identifier of the library item that should be should be updated. If unset, a new library item will be created. The LibraryItem.CreateTarget.library-id field must be specified if this field is set. 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.

JSON Example

{
    "library_id": "string"
}
Feedback

Was this page helpful?