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\" : 1744387455423,\n \"endTime\" : 1744473855423,\n \"resourceIds\" : [ \"ce95912e-a0e4-40dc-899b-1447018a99e0\" ]\n}"
Start time for history. If not specified, the day prior to the endTime is used.
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.
Get WLP History.
"{\n \"rebalanceTasks\" : [ {\n \"id\" : \"b55f1e4d-e295-4bb0-be49-60ff19a806c7\",\n \"name\" : \"Datacenter-0\",\n \"adapterKind\" : \"VMWARE\",\n \"resourceKind\" : \"Datacenter\",\n \"taskId\" : \"5f178278-4696-4edf-a8a8-b8eeba81fd9e\",\n \"taskName\" : \"Optimize Container\",\n \"eventSource\" : \"WLP\",\n \"state\" : \"PARTIAL_SUCCESS\",\n \"automated\" : false,\n \"vmMotions\" : [ {\n \"id\" : \"ab125236-345d-436f-8c0b-173e32ea2bee\",\n \"name\" : \"VM_for_Workload-0\",\n \"startTime\" : 1707678626459,\n \"endTime\" : 1707678766439,\n \"state\" : \"COMPLETED_SUCCESSFULLY\",\n \"sourceTargets\" : [ {\n \"sourceId\" : \"f3267f7b-f90d-47f9-90dd-ee25a384e7da\",\n \"sourceName\" : \"Cluster-0\",\n \"targetId\" : \"4c127662-ae1d-4e6f-895c-d043f931449a\",\n \"targetName\" : \"Cluster-1\",\n \"resourceKind\" : \"Cluster\"\n }, {\n \"sourceId\" : \"e6a0ed02-ae16-42bf-9866-b372ee4564cb\",\n \"sourceName\" : \"Host-0\",\n \"targetId\" : \"c03cb989-6eb7-4a5b-aac7-74e55fc7b088\",\n \"targetName\" : \"Host-1\",\n \"resourceKind\" : \"Host\"\n }, {\n \"sourceName\" : \"Datastore-0\",\n \"targetName\" : \"Datastore-1\",\n \"resourceKind\" : \"Datastore\"\n } ]\n }, {\n \"id\" : \"4bd7911e-f790-42b1-b69e-663e4996ea56\",\n \"name\" : \"VM_for_Workload-1\",\n \"startTime\" : 1707678626459,\n \"endTime\" : 1707678766439,\n \"state\" : \"FAILED\",\n \"sourceTargets\" : [ {\n \"sourceId\" : \"bf00cc04-e64a-4b99-851e-71ee1c418c92\",\n \"sourceName\" : \"Cluster-0\",\n \"targetId\" : \"2ff2e1a5-6bde-4437-a188-3d2b03ec321f\",\n \"targetName\" : \"Cluster-1\",\n \"resourceKind\" : \"Cluster\"\n }, {\n \"sourceId\" : \"c40860ef-4931-453f-a28d-ab97f6e28806\",\n \"sourceName\" : \"Host-0\",\n \"targetId\" : \"c1660a92-038f-4474-8b9a-561d58c99440\",\n \"targetName\" : \"Host-1\",\n \"resourceKind\" : \"Host\"\n }, {\n \"sourceName\" : \"Datastore-0\",\n \"targetName\" : \"Datastore-1\",\n \"resourceKind\" : \"Datastore\"\n } ]\n } ]\n } ]\n}"
Represents page information for a paged result
Collection of links
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