How to extract virtualMachineName from array


#1

Hi,

How can I extract the virtualMachineName from this array:

object_walker#B7C6E3A3:[6] destination.options[:create_options] = {:parameters=>{“adminUserName”=>“dec”, “adminPassword”=>“XXXXXXX”, “userImageName”=>“imageuserName”, “operatingSystemType”=>“linux”, “virtualMachineSize”=>“standard_d2_v2”, “virtualMachineName”=>“vmid1500377119”}, :resource_group=>“XXXXXX”, :mode=>“Incremental”} (type: Hash)

Kind regards,

Arjan