code: def choose_location(
      self,
      cores: int,  # pylint: disable=unused-argument
      local_ssd_data_disk: bool,  # pylint: disable=unused-argument
      data_disk_size_gb: int,  # pylint: disable=unused-argument
      preemptible: bool,  # pylint: disable=unused-argument
      regions: List[str],
      machine_type: str,
  ) -> str:
      if len(set(regions).intersection(self.supported_regions)) == 0:
          raise RegionsNotSupportedError(
              regions, self.supported_regions
          )
      return random.choice(regions)
  
file_path: hail/batch/batch/cloud/azure/driver/regions.py
imports: import random
  from typing import List
  from ....driver.exceptions import RegionsNotSupportedError
  from ....driver.location import CloudLocationMonitor
label_desc: Use image node_id 3 for calling the RegionMonitor obj's underlying member method code with example usage: obj.choose_location(cores, local_ssd_data_disk, data_disk_size_gb, preemptible, regions, machine_type) and returns: random