/// <summary> /// Gets a private link resource by a specified group name for a container /// registry. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group to which the container registry belongs. /// </param> /// <param name='registryName'> /// The name of the container registry. /// </param> /// <param name='groupName'> /// The name of the private link resource. /// </param> public static PrivateLinkResource GetPrivateLinkResource(this IRegistriesOperations operations, string resourceGroupName, string registryName, string groupName) { return(operations.GetPrivateLinkResourceAsync(resourceGroupName, registryName, groupName).GetAwaiter().GetResult()); }