/// <summary>
 /// Gets the details of the Private Endpoint Connection specified by its
 /// identifier.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the API Management service.
 /// </param>
 /// <param name='privateEndpointConnectionName'>
 /// Name of the private endpoint connection.
 /// </param>
 public static PrivateEndpointConnection GetByName(this IPrivateEndpointConnectionOperations operations, string resourceGroupName, string serviceName, string privateEndpointConnectionName)
 {
     return(operations.GetByNameAsync(resourceGroupName, serviceName, privateEndpointConnectionName).GetAwaiter().GetResult());
 }