/// <summary> /// Deletes the diagnostic settings for the specified resource. /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.Insights.IServiceDiagnosticSettingsOperations. /// </param> /// <param name='resourceUri'> /// Required. The resource identifier of the configuration. /// </param> /// <returns> /// Generic empty response. We only pass it to ensure json error /// handling /// </returns> public static Task <EmptyResponse> DeleteAsync(this IServiceDiagnosticSettingsOperations operations, string resourceUri) { return(operations.DeleteAsync(resourceUri, CancellationToken.None)); }