/// <summary> /// List scans in data source /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='dataSourceName'> /// </param> /// <param name='skipToken'> /// </param> public static ScanList ListByDataSource(this IScans operations, string dataSourceName, string skipToken = default(string)) { return(operations.ListByDataSourceAsync(dataSourceName, skipToken).GetAwaiter().GetResult()); }