List Import Flag
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.
if you do not have all of the privileges described as follows: - Operation execution requires System.Read. - The resource ResourcePool referenced by the parameter rp requires System.Read.
Request
URLURL
Query Parameters
Query Parameters
The identifier of resource pool target for retrieving the import flag(s). The parameter must be an identifier for the resource type: ResourcePool.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
array
of
OvfImportFlagInfo
of type application/json
A list of supported import flags.
[
{
"description": {
"args": [
"string"
],
"default_message": "string",
"id": "string",
"localized": "string",
"params": {
"key": {
"d": 0,
"dt": "string",
"format": "SHORT_DATE",
"i": 0,
"l": {
"id": "string",
"params": "StdLocalizationParam Object"
},
"precision": 0,
"s": "string"
}
}
},
"option": "string"
}
]
The name of the import flag that is supported by the deployment platform.
Errors
com.vmware.vapi.std.errors.not_found : If the resource pool associated with rp does not exist.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: get
x-vmw-doc-deprecated-path: /rest/com/vmware/vcenter/ovf/import-flag
x-vmw-doc-operation: list