Ovf_LibraryItem_CreateTarget

Ovf_LibraryItem_CreateTarget
Ovf_LibraryItem_CreateTarget

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.

JSON Example
{
    "library_id": "string",
    "library_item_id": "string"
}
string
library_id
Required

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.

string
library_item_id
Optional

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.