code: def _upload_blob_azure(
      container_name: str,
      source_file_name: str,
      destination_blob_name: str,
  ):
      """
      Upload blob to Azure storage  container
  
      Example
      -------
      >>>  _upload_blob_azure(container_name='test-pycaret-azure', source_file_name='model-101.pkl', \
                             destination_blob_name='model-101.pkl')
  
      Parameters
      ----------
      container_name : str
          Name of the storage bucket to be created if does not exists already.
  
      source_file_name : str
          A blob/file name to copy to Azure
  
      destination_blob_name : str
          Name of the destination file to be stored on Azure
  
      """
  
      logger = get_logger()
  
      from azure.storage.blob import BlobServiceClient
  
      connect_str = os.getenv("AZURE_STORAGE_CONNECTION_STRING")
  
      if connect_str is None:
          logger.error(
              "Environment variable AZURE_STORAGE_CONNECTION_STRING not set"
          )
          raise ValueError(
              "Environment variable AZURE_STORAGE_CONNECTION_STRING not set"
          )
  
      blob_service_client = BlobServiceClient.from_connection_string(
          connect_str
      )
      # Create a blob client using the local file name as the name for the blob
      blob_client = blob_service_client.get_blob_client(
          container=container_name, blob=destination_blob_name
      )
  
      # Upload the created file
      with open(source_file_name, "rb") as data:
          blob_client.upload_blob(data, overwrite=True)
  
file_path: pycaret/pycaret/internal/persistence.py
imports: import gc
  import os
  from typing import Dict, Optional
  import joblib
  from sklearn.pipeline import Pipeline
  from pycaret.utils._dependencies import _check_soft_dependencies
  from pycaret.utils.generic import MLUsecase, get_logger
label_desc: Use image node_id 8 for calling a global function with example usage: _upload_blob_azure(container_name, source_file_name, destination_blob_name) without return types