/// <summary>
 /// Gets the private link resources that need to be created for a workspace.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group in which workspace is located.
 /// </param>
 /// <param name='workspaceName'>
 /// Name of Azure Machine Learning workspace.
 /// </param>
 public static PrivateLinkResourceListResult ListByWorkspace(this IPrivateLinkResourcesOperations operations, string resourceGroupName, string workspaceName)
 {
     return(operations.ListByWorkspaceAsync(resourceGroupName, workspaceName).GetAwaiter().GetResult());
 }