Modify Custom Profile
Modify an existing custom profile definition
Request
URI
PUT
https://{api_host}/suite-api/api/resources/profiles
COPY
Request Body
The custom profile definition
custom-profile
of type(s)
application/json
Required
Show optional properties
{
"name": "string",
"objectType": {
"adapterKind": "string",
"resourceKind": "string"
},
"custom-profile-metrics": [
{
"metric": "string",
"value": "number",
"unit": "string"
}
]
}
"{\n \"id\" : \"277c541e-5c03-4b2c-9b94-9f67ce5b686d\",\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\" : 999.999,\n \"unit\" : \"mhz\"\n }, {\n \"metric\" : \"mem-alloc\",\n \"value\" : 777.777,\n \"unit\" : \"kb\"\n } ]\n}"
string As uuid
As uuid
id
Optional
The identifier of custom profile
string
name
Required
The name of custom profile
string
description
Optional
The description of custom profile
object
objectType
Required
Consumer of custom profile
array of
object
custom-profile-metrics
Required
Collection of profile metrics
Responses
200
The updated custom profile
Returns
custom-profile
of type(s)
application/json
"No Custom Example is Available"
string As uuid
As uuid
id
Optional
The identifier of custom profile
string
name
Required
The name of custom profile
string
description
Optional
The description of custom profile
object
objectType
Required
Consumer of custom profile
array of
object
custom-profile-metrics
Required
Collection of profile metrics
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"custom-profile-metrics":["object"],"name:"string","objectType:"object"}' https://{api_host}/suite-api/api/resources/profiles
Resources Operations
GET
Get Resources
PUT
Update Resource
GET
Get Custom Profiles
PUT
Modify Custom Profile
POST
Create Custom Profile
PUT
Stop Monitoring Resources
Deprecated
PUT
Start Monitoring Resources
Deprecated
PUT
Mark Resources As Being Maintained
DELETE
Unmark Resources As Being Maintained
GET
Get Custom Groups
PUT
Modify Custom Group
POST
Create Custom Group
GET
Get Custom Datacenters
PUT
Update Custom Datacenter
POST
Create Custom Datacenter
DELETE
Delete Custom Datacenters
GET
Get Stats Of Resources
POST
Add Stats For Resources
POST
Get Stats For Resources
POST
Query Latest Stats Of Resources
POST
Get Stats And DT For Resources
POST
Add Stats For Resources Using Push Adapter Kind
POST
Get Matching Resources
GET
Get Resource Properties List
POST
Add Resources Properties
POST
Query Latest Properties Of Resources
POST
Add Resources Properties Using Adapter Kind
GET
Get Group Types
POST
Add Group Type
POST
Get Resources Relationships
POST
Create Resource Using Adapter Instance
POST
Create Resource Using Adapter Kind
GET
Get Top N Stats Of Resources
GET
Get Latest Stats Of Resources
GET
Get Stat Keys Of Resources
GET
Get Custom Profile
DELETE
Delete Custom Profile
GET
Get Custom Group
DELETE
Delete Custom Group
GET
Get Custom Group Members
GET
Get Custom Datacenter
DELETE
Delete Group Type
DELETE
Delete Resources