code: def worker_type_and_cores(self, machine_type: str) -> Tuple[str, int]:
      return azure_machine_type_to_worker_type_and_cores(machine_type)
  
file_path: hail/batch/batch/cloud/azure/driver/resource_manager.py
imports: import logging
  from typing import List, Optional, Tuple
  import aiohttp
  from hailtop.aiocloud import aioazure
  from hailtop.utils.time import parse_timestamp_msecs
  from ....driver.instance import Instance
  from ....driver.resource_manager import CloudResourceManager, UnknownVMState, VMDoesNotExist, VMState, VMStateCreating, VMStateRunning, VMStateTerminated
  from ....file_store import FileStore
  from ....instance_config import InstanceConfig, QuantifiedResource
  from ..instance_config import AzureSlimInstanceConfig
  from ..resource_utils import azure_local_ssd_size, azure_machine_type_to_worker_type_and_cores, azure_worker_memory_per_core_mib, azure_worker_properties_to_machine_type
  from .billing_manager import AzureBillingManager
  from .create_instance import create_vm_config
label_desc: Use image node_id 3 for calling the AzureResourceManager obj's underlying member method code with example usage: obj.worker_type_and_cores(machine_type) and returns: azure_machine_type_to_worker_type_and_cores