/// <summary> /// Lists the private link resources in a HDInsight cluster. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='clusterName'> /// The name of the cluster. /// </param> public static PrivateLinkResourceListResult ListByCluster(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string clusterName) { return(operations.ListByClusterAsync(resourceGroupName, clusterName).GetAwaiter().GetResult()); }