vcenter ovf import flag: 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:
HTTP request
GET https://{server}/rest/com/vmware/vcenter/ovf/import-flag
?rp=obj-103
?rp=obj-103
Request Query Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
rp | string | The identifier of resource pool target for retrieving the import flag(s). |
Response:
HTTP Status Code: 200
Representations:
{
"value": [
{
"description": {
"args": [
"string",
"string"
],
"default_message": "string",
"id": "string"
},
"option": "string"
},
{
"description": {
"args": [
"string",
"string"
],
"default_message": "string",
"id": "string"
},
"option": "string"
}
]
}
"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>
<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>
Response Type:
Name | Type | Description |
---|---|---|
bold = required | ||
value | info[] | A array of supported import flags. |
value[].option | string | The name of the import flag that is supported by the deployment platform. |
value[].description | localizable_message | Localizable description of the import flag. |
value[].description.id | string | Unique identifier of the localizable string or message template. This identifier is typically used to retrieve a locale-specific string or message template from a message catalog. |
value[].description.default_message | string | The value of this localizable string or message template in the en_US (English) locale. If vapi.std.localizable_message.id refers to a message template, the default message will contain the substituted arguments. This value can be used by clients that do not need to display strings and messages in the native language of the user. It could also be used as a fallback if a client is unable to access the appropriate message catalog. |
value[].description.args | string[] | Arguments to be substituted into a message template. |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
404 | not_found | If the resource pool associated with rp does not exist. |