VMware Cloud Community
weilin07
Enthusiast
Enthusiast

How to get the vm component disk id while updating a composite blueprint using vRA REST

Hi, when I use vRA REST API to update a composite blueprint, as the following shows, there is a disk id attribute that I need to provide. Where can I get this id? thanks in advance.

Note: I can get the vm template using https://vrahost/iaas-proxy-provider/api/source-machines/{source-machinesId}/?platformTypeId=Infrastructure.CatalogItem.Machine.Virtual.vSphere. but there is no such Integer type disk id.

pastedImage_0.png

Tags (3)
Reply
0 Kudos
1 Reply
maxgrechnev
Contributor
Contributor

Hello weilin07, I occasionally found out that disk id is just a timestamp of the disk creation time. When you create a blueprint in web UI and add new VM disk, disk id is set to a current number of milliseconds from the epoch on vRA appliance server.

Reply
0 Kudos