List Configs
Released in v7.0.0List all the profiles which are registered.
Request
URLURL
https://{api_host}/api/appliance/infraprofile/configs
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Example: b00db39f948d13ea1e59b4d6fce56389
Response
Response
Response BodyResponse Body
200 OK returns
array
of
InfraprofileConfigsProfileInfo
of type application/json
List of profiles with description are registered.
{
"info": "string",
"name": "string"
}
string
info
Required
Description of the profile.
string
name
Required
Name of the profile which is also a profile identifier. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.infraprofile.profile. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.infraprofile.profile.
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/appliance/infraprofile/configs
Errors
404
com.vmware.vapi.std.errors.error : If there is unknown internal error. The accompanying error message will give more details about the failure.