Get Wlp History
Get WLP History.
Page number from which data needs to be displayed (0-based)
Expected number of entries per page
wlpHistoryQuery
"{\n \"startTime\" : 1753253588531,\n \"endTime\" : 1753339988531,\n \"resourceIds\" : [ \"917658c3-c05b-4751-95bf-9fd8a45da020\" ]\n}"
End time for history. If not specified, the current time is used.
Currently only one Resource Id can be provided. Support for multiple ids is not available.
The id can belong to a Datacenter, CustomDatacenter or a CloudZone for which Workload Rebalance has been performed.
If not specified, all such resources are taken into consideration.
Start time for history. If not specified, the day prior to the endTime is used.
Get WLP History.
"{\n \"rebalanceTasks\" : [ {\n \"id\" : \"41afe1c2-720d-4e1a-a0e2-c6dbce4593ad\",\n \"name\" : \"Datacenter-0\",\n \"adapterKind\" : \"VMWARE\",\n \"resourceKind\" : \"Datacenter\",\n \"taskId\" : \"028ed79b-cd30-4842-84c9-ca3fd34942b6\",\n \"taskName\" : \"Optimize Container\",\n \"eventSource\" : \"WLP\",\n \"state\" : \"PARTIAL_SUCCESS\",\n \"automated\" : false,\n \"vmMotions\" : [ {\n \"id\" : \"f664011b-f972-4f7c-9f8d-7dced0eeead0\",\n \"name\" : \"VM_for_Workload-0\",\n \"startTime\" : 1707678626459,\n \"endTime\" : 1707678766439,\n \"state\" : \"COMPLETED_SUCCESSFULLY\",\n \"sourceTargets\" : [ {\n \"sourceId\" : \"25ad1c35-80df-4d3e-9363-9a361df3a6a1\",\n \"sourceName\" : \"Cluster-0\",\n \"targetId\" : \"af20580f-18e2-4831-ad05-f7c6da5c27db\",\n \"targetName\" : \"Cluster-1\",\n \"resourceKind\" : \"Cluster\"\n }, {\n \"sourceId\" : \"25ad1c35-80df-4d3e-9363-9a361df3a6a1\",\n \"sourceName\" : \"Host-0\",\n \"targetId\" : \"af20580f-18e2-4831-ad05-f7c6da5c27db\",\n \"targetName\" : \"Host-1\",\n \"resourceKind\" : \"Host\"\n }, {\n \"sourceName\" : \"Datastore-0\",\n \"targetName\" : \"Datastore-1\",\n \"resourceKind\" : \"Datastore\"\n } ]\n }, {\n \"id\" : \"f664011b-f972-4f7c-9f8d-7dced0eeead0\",\n \"name\" : \"VM_for_Workload-1\",\n \"startTime\" : 1707678626459,\n \"endTime\" : 1707678766439,\n \"state\" : \"FAILED\",\n \"sourceTargets\" : [ {\n \"sourceId\" : \"25ad1c35-80df-4d3e-9363-9a361df3a6a1\",\n \"sourceName\" : \"Cluster-0\",\n \"targetId\" : \"af20580f-18e2-4831-ad05-f7c6da5c27db\",\n \"targetName\" : \"Cluster-1\",\n \"resourceKind\" : \"Cluster\"\n }, {\n \"sourceId\" : \"25ad1c35-80df-4d3e-9363-9a361df3a6a1\",\n \"sourceName\" : \"Host-0\",\n \"targetId\" : \"af20580f-18e2-4831-ad05-f7c6da5c27db\",\n \"targetName\" : \"Host-1\",\n \"resourceKind\" : \"Host\"\n }, {\n \"sourceName\" : \"Datastore-0\",\n \"targetName\" : \"Datastore-1\",\n \"resourceKind\" : \"Datastore\"\n } ]\n } ]\n } ]\n}"
Collection of links
Represents page information for a paged result
List of WLP rebalance tasks.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/suite-api/api/optimization/workloadplacement/history/query