/// <summary> /// Gets all the users registered on a Data Box Edge/Data Box Gateway device. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='deviceName'> /// The device name. /// </param> /// <param name='resourceGroupName'> /// The resource group name. /// </param> /// <param name='filter'> /// Specify $filter='Type eq <type>' to filter on user type property /// </param> public static IPage <User> ListByDataBoxEdgeDevice(this IUsersOperations operations, string deviceName, string resourceGroupName, string filter = default(string)) { return(operations.ListByDataBoxEdgeDeviceAsync(deviceName, resourceGroupName, filter).GetAwaiter().GetResult()); }