com.vmware.vcenter.ovf.import_flag

The import_flag service provides operations for retrieving information about the import flags supported by the deployment platform. Import flags can be specified in a com.vmware.vcenter.ovf.library_item.resource_pool_deployment_spec to customize an OVF deployment.

list

GET /com/vmware/vcenter/ovf/import-flag
POST /com/vmware/vcenter/ovf/import-flag/id:{rp}?~action=list
POST /com/vmware/vcenter/ovf/import-flag?~action=list

Returns information about the import flags supported by the deployment platform.

The supported flags are:

LAX
Lax mode parsing of the OVF descriptor.

Future server versions might support additional flags.

Request:
Representations:
{
    "rp""obj-103"
}
<?xml version="1.0" ?>
<ns0:List-Input xmlns:ns0="http://vmware.com/vcenter/ovf/import_flag" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <rp>obj-103</rp>
</ns0:List-Input>
GET /com/vmware/vcenter/ovf/import-flag
?rp=obj-103

Parameters:
Name Type Required Description
rp
 *
ID Yes The identifier of resource pool target for retrieving the import flag(s). Id of type ResourcePool.

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/import_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 import flags.

Errors:
Type Description HTTP Status Code
not_found If the resource pool associated with rp does not exist. 404

Copyright © 2014. All Rights Reserved.