code: def get_max_instances_of_storage_bus(self, chipset, bus):
          
          if not isinstance(chipset, ChipsetType):
              raise TypeError("chipset can only be an instance of type ChipsetType")
          if not isinstance(bus, StorageBus):
              raise TypeError("bus can only be an instance of type StorageBus")
          max_instances = self._call("getMaxInstancesOfStorageBus",
                       in_p=[chipset, bus])
          return max_instances
docs: Returns the maximum number of storage bus instances which
          can be configured for each VM. This corresponds to the number of
          storage controllers one can have. Value may depend on chipset type
          used.
  
          in chipset of type :class:`ChipsetType`
              The chipset type to get the value for.
  
          in bus of type :class:`StorageBus`
              The storage bus type to get the value for.
  
          return max_instances of type int
              The maximum number of instances for the given storage bus.