code: def get_user_agent():
      '''User-Agent Header. Sends library identification to Azure endpoint.
      '''
      version = pkg_resources.require("azurerm")[0].version
      user_agent = "python/{} ({}) requests/{} azurerm/{}".format(
          platform.python_version(),
          platform.platform(),
          requests.__version__,
          version)
      return user_agenf get_user_agent():
      '''User-Agent Header. Sends library identification to Azure endpoint.
      '''
      version = pkg_resources.require("azurerm")[0].version
      user_agent = "python/{} ({}) requests/{} azurerm/{}".format(
          platform.python_version(),
          platform.platform(),
          requests.__version__,
          version)
      return user_agent
docs: User-Agent Header. Sends library identification to Azure endpoint.