/// <summary>
 /// Lists managed clusters in the specified subscription and resource group.
 /// </summary>
 /// <remarks>
 /// Lists managed clusters in the specified subscription and resource group.
 /// The operation returns properties of each managed cluster.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 public static IPage <ManagedCluster> ListByResourceGroup(this IManagedClustersOperations operations, string resourceGroupName)
 {
     return(operations.ListByResourceGroupAsync(resourceGroupName).GetAwaiter().GetResult());
 }