code: def bootstrap_azure(config):
      config = _configure_key_pair(config)
      config = _configure_resource_group(config)
      return config
  
file_path: ray/python/ray/autoscaler/_private/_azure/config.py
imports: import json
  import logging
  import random
  from hashlib import sha256
  from pathlib import Path
  from typing import Any, Callable
  from azure.common.credentials import get_cli_profile
  from azure.identity import AzureCliCredential
  from azure.mgmt.resource import ResourceManagementClient
  from azure.mgmt.resource.resources.models import DeploymentMode
label_desc: Use image node_id 2 for calling a global function with example usage: bootstrap_azure(config) and returns: config