The workflow uses this API call to get deployment details:
/deployment/api/deployments/<deployment-id>/resources
The response is then parsed and the workflow looks for "Cloud.vSphere.Machine".
vRealize Orchestrator version is 8.10.1.20718255
Edit: I cannot use "skip" because the same workflow is used for all deployments. So for those where there are no additional disks, putting a skip will return no items. Is there any way I can specifically request for "Cloud.vSphere.Machine"? Can the response skip particular type of object? "type":"Cloud.vSphere.Disk"
In the response (JSON), you have a property "content" which is the information you need.
But in the response you also have "last", if is true, you have all the content. If it is false, the content is truncated.
Another property is "size" which indicate the number of elements in "content". First try to add "?size=200" to the end of the Request URL. If you have more than 200 items, you will need to create some kind of recursive method adding 1 to the property "number".
In the response (JSON), you have a property "content" which is the information you need.
But in the response you also have "last", if is true, you have all the content. If it is false, the content is truncated.
Another property is "size" which indicate the number of elements in "content". First try to add "?size=200" to the end of the Request URL. If you have more than 200 items, you will need to create some kind of recursive method adding 1 to the property "number".