public static Map<Resource.Type, String> getKeyPropertyIds(Resource.Type resourceType) {
    return KEY_PROPERTY_IDS.get(resourceType.getInternalType());
  }
Extract the set of property ids from a component PropertyInfo map.

@param componentPropertyInfoMap  the map

@return the set of property ids
ambari-server/src/main/java/org/apache/ambari/server/controller/utilities/PropertyHelper.java