/// <summary> /// List the log profiles. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.Insights.ILogProfilesOperations. /// </param> /// <returns> /// A standard service response including an HTTP status code and /// request ID. /// </returns> public static Task <LogProfileListResponse> ListAsync(this ILogProfilesOperations operations) { return(operations.ListAsync(CancellationToken.None)); }
/// <summary> /// List the log profiles. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> public static IEnumerable <LogProfileResource> List(this ILogProfilesOperations operations) { return(operations.ListAsync().GetAwaiter().GetResult()); }