def get_dynamic_property(vim, mobj, type, property_name):
 obj_content = get_object_properties(vim, None, mobj, type, [property_name])
 property_value = None
 if obj_content:
  dynamic_property = obj_content[0].propSet
  if dynamic_property:
   property_value = dynamic_property[0].val
 return property_value

def get_dynamic_property ( vim , mobj , type , property_name ) : obj_content = get_object_properties ( vim , None , mobj , type , [ property_name ] ) property_value = None if obj_content : dynamic_property = obj_content [ 0 ] . propSet if dynamic_property : property_value = dynamic_property [ 0 ] . val return property_value
gets a particular property of the managed object .