/// <summary>
 /// Gets all interface endpoints in a subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static IPage <InterfaceEndpoint> ListBySubscription(this IInterfaceEndpointsOperations operations)
 {
     return(operations.ListBySubscriptionAsync().GetAwaiter().GetResult());
 }