REST API - list
com.vmware.vcenter.ovf.import_flag
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:
- 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.