/// <summary> /// Get a list of all action groups in a subscription. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> public static IEnumerable <ActionGroupResource> ListBySubscriptionId(this IActionGroupsOperations operations) { return(operations.ListBySubscriptionIdAsync().GetAwaiter().GetResult()); }