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_agent
def get_user_agent ( ) : version = pkg_resources . require ( "azurerm" ) [ 0 ] . version user_agent = "python/{} ({}) requests/{} azurerm/{}" . format ( platform . python_version ( ) , platform . platform ( ) , requests . __version__ , version ) return user_agent
User-Agent Header. Sends library identification to Azure endpoint.