/// <summary> /// Creates an instance of a scan /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='dataSourceName'> /// </param> /// <param name='scanName'> /// </param> /// <param name='body'> /// </param> public static Scan CreateOrUpdate(this IScans operations, string dataSourceName, string scanName, Scan body) { return(operations.CreateOrUpdateAsync(dataSourceName, scanName, body).GetAwaiter().GetResult()); }