/// <summary> /// Retrieves an event route. /// Status codes: /// 200 (OK): Success. /// 404 (Not Found): There is no event route with the provided id. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// The id for an event route. The id is unique within event routes and case /// sensitive. /// </param> public static EventRoute GetById(this IEventRoutesOperations operations, string id) { return(operations.GetByIdAsync(id).GetAwaiter().GetResult()); }