REST API - list

appliance infraprofile configs: list

List all the profiles which are registered.

Request:

HTTP request

GET https://{server}/api/appliance/infraprofile/configs

Response:

HTTP Status Code: 200

Response Body Structure:

[
    {
        "name""obj-103",
        "info""string"
    },
    {
        "name""obj-103",
        "info""string"
    }
]

Headers:

None

Type:

Name Type Description
bold = required
- profile_info[] List of profiles with description are registered.
-[].name string 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.

-[].info string Description of the profile.

Errors:

HTTP Status Code Type Description
500 error If there is unknown internal error. The accompanying error message will give more details about the failure.
503 service_unavailable If the service is not available.
401 unauthenticated If the caller is not authenticated.