Get Custom Profiles

Get Custom Profiles

Get all custom profiles

Request
URI
GET
https://{api_host}/suite-api/api/resources/profiles
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

The Collection of all custom profiles

Returns custom-profiles of type(s) application/json
"{\n  \"profiles\" : [ {\n    \"id\" : \"0d5c176b-f6a6-4f4a-b78c-d856c9d4363b\",\n    \"name\" : \"Sample Custom Profile\",\n    \"description\" : \"Description of Custom Profile\",\n    \"objectType\" : {\n      \"adapterKind\" : \"VMWARE\",\n      \"resourceKind\" : \"VirtualMachine\"\n    },\n    \"custom-profile-metrics\" : [ {\n      \"metric\" : \"cpu\",\n      \"value\" : 117.49,\n      \"unit\" : \"mhz\"\n    }, {\n      \"metric\" : \"mem-alloc\",\n      \"value\" : 9999.0,\n      \"unit\" : \"kb\"\n    } ]\n  }, {\n    \"id\" : \"17a0a3bc-3249-4892-8e9e-1e75ad95de4e\",\n    \"name\" : \"Sample Custom Profile\",\n    \"description\" : \"Description of Custom Profile\",\n    \"objectType\" : {\n      \"adapterKind\" : \"VMWARE\",\n      \"resourceKind\" : \"VirtualMachine\"\n    },\n    \"custom-profile-metrics\" : [ {\n      \"metric\" : \"cpu\",\n      \"value\" : 44.44,\n      \"unit\" : \"mhz\"\n    }, {\n      \"metric\" : \"mem-alloc\",\n      \"value\" : 88.88,\n      \"unit\" : \"kb\"\n    } ]\n  } ]\n}"
array of object
profiles
Optional

Collection of profile metrics


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/suite-api/api/resources/profiles