code: private RetrieveResult containerViewByType(final ManagedObjectReference container,
                                                 final String morefType,
                                                 final RetrieveOptions retrieveOptions,
                                                 final String... morefProperties
      ) throws RuntimeFaultFaultMsg, InvalidPropertyFaultMsg {
          PropertyFilterSpec[] propertyFilterSpecs = propertyFilterSpecs(container, morefType, morefProperties);
  
          return containerViewByType(retrieveOptions, propertyFilterSpecs);
      }
docs: Returns the raw RetrieveResult object for the provided container filtered on properties list
  
  @param container       - container to look in
  @param morefType       - type to filter for
  @param morefProperties - properties to include
  @return com.vmware.vim25.RetrieveResult for this query
  @throws RuntimeFaultFaultMsg
  @throws InvalidPropertyFaultMsg