1.8.8 Assigning a system profile
This section describes the format of requests to be used when assigning resources (clusters, hypervisors, IP switches, and FC switches) to the system profile, and the contents to be specified in the request body.
Procedure
-
Issue a request in the following format:
POST http://host:port/Analytics/version/objects/SystemThresholdProfiles/id/actions/updateTargetResource
The objects to be specified as members of parameters in the request body are as follows:
Member
Whether to specify
Description
instanceID
Optional
Specify the ID of the monitoring target to which the system profile is to be assigned as a list. You must include the IDs of monitoring targets that are already assigned.
Example specification when applying the system profile only to the monitoring target for instanceID=50:
"parameters" : [ { "instanceID" : 50 } ]
Example specification when adding the monitoring target for instanceID=51 to the system profile that is already assigned to the monitoring target for instanceID=50 (link and specify all IDs that are to be assigned):
"parameters" : [ { "instanceID" : 50 } , { "instanceID" : 51 } ]
Example specification when canceling assignment of all monitoring targets (use an empty value for parameters):
"parameters" : [ ]
The IDs of the monitoring targets that can be specified as members of parameters can be acquired from the API functions indicated in the following reference:
Resource type of the profile
Reference
Clutser 2.15.1 Obtaining Cluster List ESX, Hyper-V or Hypervisor
2.16.1 Obtaining Hypervisor List IP Switch
2.20.1 Obtaining IP Switch List FC Switch
2.21.1 Obtaining FC Switch List