vcenter ovf export session: create spec
The
create_spec
structure contains export parameters.Representation:
{
"export_flags" : [
"string",
"string"
],
"content_library" : "obj-103",
"target_type" : "DOWNLOAD_TARGET",
"name" : "string",
"content_library_item" : "obj-103",
"description" : "string",
"target_content_type" : "OVF_TARGET"
}
"export_flags" : [
"string",
"string"
],
"content_library" : "obj-103",
"target_type" : "DOWNLOAD_TARGET",
"name" : "string",
"content_library_item" : "obj-103",
"description" : "string",
"target_content_type" : "OVF_TARGET"
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
target_type | string | The download target type. Defines the target types of export session. If vcenter.ovf.export_session.vcenter.ovf.export_session.create-input.content_library is provided, the OVF is exported to a local content library. Value is one of: DOWNLOAD_TARGET: A set of URLs are published where the files can be downloaded from. CONTENT_LIBRARY_TARGET: The OVF package is directly transferred to a content library. |
Optional | ||
target_content_type | string | The download target content type. Default is OVF_TARGET. Defines the target content types of export session. This only applies to DOWNLOAD_TARGET. Value is one of: OVF_TARGET: Export the OVF package as a set of files. OVA_TARGET: Export the OVF package as a single OVA file.Optional. It is only relevant when target_type has value DOWNLOAD_TARGET. Only used if vcenter.ovf.export_session.vcenter.ovf.export_session.create-input.target_type is DOWNLOAD_TARGET. |
export_flags | string[] | List of selected export flags. The supported flags are:
|
name | string | If non-empty, this specifies the name in the OVF descriptor. Optional. Default is to use current name. |
description | string | If non-empty, this specifies the description to put in the OVF descriptor. Optional. Default is to use current description. |
content_library | string | The identifier of the content library. Optional. It is only relevant when target_type has value CONTENT_LIBRARY_TARGET. Only used if vcenter.ovf.export_session.vcenter.ovf.export_session.create-input.target_type is CONTENT_LIBRARY_TARGET.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 . |
content_library_item | string | The identifier of the content library item to update. If omitted, a new item will be created. Optional. Default is to add new item. 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 . |