/// <summary> /// Returns the list of containers which can be migrated in the specified /// share. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Resource group name. /// </param> /// <param name='farmId'> /// Farm Id. /// </param> /// <param name='shareName'> /// Share name. /// </param> /// <param name='intent'> /// The container migration intent. /// </param> /// <param name='maxCount'> /// The maximum number of containers. /// </param> /// <param name='startIndex'> /// The starting index the resource provider uses. /// </param> public static IList <Container> List(this IContainersOperations operations, string resourceGroupName, string farmId, string shareName, string intent, int?maxCount = default(int?), int?startIndex = default(int?)) { return(operations.ListAsync(resourceGroupName, farmId, shareName, intent, maxCount, startIndex).GetAwaiter().GetResult()); }