code: def create(
      product_versions: ProductVersions,
      machine_type: str,
      preemptible: bool,
      local_ssd_data_disk: bool,
      data_disk_size_gb: int,
      boot_disk_size_gb: int,
      job_private: bool,
      location: str,
  ) -> "AzureSlimInstanceConfig":
      if local_ssd_data_disk:
          data_disk_resource = None
      else:
          data_disk_resource = AzureStaticSizedDiskResource.create(
              product_versions, "P", data_disk_size_gb, location
          )
  
      resources: List[AzureResource] = filter_none(
          [
              AzureVMResource.create(
                  product_versions, machine_type, preemptible, location
              ),
              AzureStaticSizedDiskResource.create(
                  product_versions, "E", boot_disk_size_gb, location
              ),
              data_disk_resource,
              AzureDynamicSizedDiskResource.create(
                  product_versions, "P", location
              ),
              AzureIPFeeResource.create(product_versions, 1024),
              AzureServiceFeeResource.create(product_versions),
          ]
      )
  
      return AzureSlimInstanceConfig(
          machine_type=machine_type,
          preemptible=preemptible,
          local_ssd_data_disk=local_ssd_data_disk,
          data_disk_size_gb=data_disk_size_gb,
          boot_disk_size_gb=boot_disk_size_gb,
          job_private=job_private,
          resources=resources,
      )
  
file_path: hail/batch/batch/cloud/azure/instance_config.py
imports: from typing import List
  from hailtop.utils import filter_none
  from ...driver.billing_manager import ProductVersions
  from ...instance_config import InstanceConfig
  from .resource_utils import azure_machine_type_to_worker_type_and_cores
  from .resources import AzureDynamicSizedDiskResource, AzureIPFeeResource, AzureResource, AzureServiceFeeResource, AzureStaticSizedDiskResource, AzureVMResource, azure_resource_from_dict
label_desc: Use image node_id 1 for calling the AzureSlimInstanceConfig obj's underlying member method code with example usage: obj.create(product_versions, machine_type, preemptible, local_ssd_data_disk, data_disk_size_gb, boot_disk_size_gb, job_private, location) and returns: AzureSlimInstanceConfig