Vcenter folder name via REST


#1

Hi,

Hopefully a really easy one for you. I can’t find a way of referencing the Vcenter folder in my REST call.

Looking at exisitng VM’s there doesn’t appear to be a field for vcenter folder.

Thanks,


#2

I realize that this is not REST but the data is kept in VMs virtual columns:

You can get the folder name by referencing the virtual column vm.v_owning_blue_folder
rhel_0001 - Virtual Column: v_owning_blue_folder = “foo”

You can get the folder path by referencing the virtual column vm.v_owning_blue_folder_path
rhel_0001 - Virtual Column: v_owning_blue_folder_path = “Datacenters/PHX-SALAB/vm/CloudForms/foo”


#3

Thanks!
I managed to find it if anyone else is interested:

It’s

“placement_folder_name”:[1000000000094,“Customer Support”],