class_docstr: Environment class for Azure notebook environments.
  
  AzureNBEnvironment represents functionality to detect whether it is
  executed in a Azure notebook environment based on the `.nbvm` file.
  Additionally, it can display corresponding visualizations.
code: def get_nbvm_config(self):
      # Use regex to find items of the form key=value where value is a
      # part of a URL.
      # The keys of interest are "instance" and domainsuffix"
      envre = re.compile(r"""^([^\s=]+)=(?:[\s"']*)(.+?)(?:[\s"']*)$""")
      result = {}
      with open(AzureNBEnvironment.nbvm_file_path) as nbvm_variables:
          for line in nbvm_variables:
              match = envre.match(line)
              if match is not None:
                  result[match.group(1)] = match.group(2)
      return result
  
file_path: responsible-ai-toolbox/rai_core_flask/rai_core_flask/environments/azure_nb_environment.py
imports: import os
  import re
  from flask_cors import CORS
  from rai_core_flask.environments.base_environment import BaseEnvironment
label_desc: Use image node_id 2 for calling the AzureNBEnvironment obj's underlying member method code with example usage: obj.get_nbvm_config() and returns: result