def require_context(ctxt):
    if not ctxt.is_admin and not is_user_context(ctxt):
        raise exception.Forbidden()
Get usages for a worker pool of a hostingEnvironment (App Service
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/context.py/require_context--crossover with--dataset/ETHPy150Open Azure/azure-sdk-for-python/azure-mgmt-web/azure/mgmt/web/operations/hosting_environments_operations.py/HostingEnvironmentsOperations.get_hosting_environment_web_worker_usages