com.vmware.vcenter.ovf.export_flag

The export_flag service provides operations for retrieving information about the export flags supported by the server. Export flags can be specified in a com.vmware.vcenter.ovf.library_item.create_spec to customize an OVF export.

list

GET /com/vmware/vcenter/ovf/export-flag
POST /com/vmware/vcenter/ovf/export-flag?~action=list

Returns information about the supported export flags by the server.

The supported flags are:

PRESERVE_MAC
Include MAC addresses for network adapters.
EXTRA_CONFIG
Include extra configuration in OVF export.

Future server versions might support additional flags.

Request:
Representations:
GET /com/vmware/vcenter/ovf/export-flag

Parameters:
None

Response:
Representations:
{
    "value"[
        {
            "description"{
                "args"[
                    "string",
                    "string"
                ],
                "default_message""string",
                "id""string"
            },
            "option""string"
        },
        {
            "description"{
                "args"[
                    "string",
                    "string"
                ],
                "default_message""string",
                "id""string"
            },
            "option""string"
        }
    ]
}
<?xml version="1.0" ?>
<ns0:List-Result xmlns:ns0="http://vmware.com/vcenter/ovf/export_flag" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <value-array>
    <array-item>
      <description>
        <default_message>string</default_message>
        <id>string</id>
        <args-array>
          <array-item>string</array-item>
          <array-item>string</array-item>
        </args-array>
      </description>
      <option>string</option>
    </array-item>
    <array-item>
      <description>
        <default_message>string</default_message>
        <id>string</id>
        <args-array>
          <array-item>string</array-item>
          <array-item>string</array-item>
        </args-array>
      </description>
      <option>string</option>
    </array-item>
  </value-array>
</ns0:List-Result>

Parameters:
Name Type Required Description
result List<info> Yes A array of supported export flags.

Errors:
None

Copyright © 2014. All Rights Reserved.