/// <summary>
 /// Gets the file server metrics.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='deviceName'>
 /// The name of the device.
 /// </param>
 /// <param name='fileServerName'>
 /// The name of the file server name.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name
 /// </param>
 /// <param name='managerName'>
 /// The manager name
 /// </param>
 /// <param name='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 public static IEnumerable <Metrics> ListMetrics(this IFileServersOperations operations, string deviceName, string fileServerName, string resourceGroupName, string managerName, ODataQuery <MetricFilter> odataQuery = default(ODataQuery <MetricFilter>))
 {
     return(operations.ListMetricsAsync(deviceName, fileServerName, resourceGroupName, managerName, odataQuery).GetAwaiter().GetResult());
 }