def METHOD_NAME(cmd,
                         client,
                         run_id,
                         registry_name,
                         resource_group_name):
    deserializer = Deserializer(
        {k: v for k, v in get_acr_task_models(cmd).__dict__.items() if isinstance(v, type)})
    def deserialize_run(response):
        return deserializer('Run', response)
    return LROPoller(
        client=client,
        initial_response=client.get(
            resource_group_name, registry_name, run_id, cls=lambda x, y, z: x),
        deserialization_callback=deserialize_run,
        polling_method=RunPolling(
            cmd=cmd,
            registry_name=registry_name,
            run_id=run_id
        ))