def METHOD_NAME():
    subscription_id = os.environ['SUBSCRIPTION_ID']
    resource_group = os.environ['RESOURCE_GROUP']
    acr_url = os.environ['DOCKER_PREFIX']
    hail_oauth_scope = os.environ['HAIL_AZURE_OAUTH_SCOPE']
    assert acr_url.endswith('azurecr.io'), acr_url
    return AzureWorkerAPI(subscription_id, resource_group, acr_url, hail_oauth_scope)