/// <summary>
 /// Returns all of the resource types that can be linked to a Private Endpoint
 /// in this subscription in this region.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='location'>
 /// The location of the domain name.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 public static IPage <AvailablePrivateEndpointType> ListByResourceGroup(this IAvailablePrivateEndpointTypesOperations operations, string location, string resourceGroupName)
 {
     return(operations.ListByResourceGroupAsync(location, resourceGroupName).GetAwaiter().GetResult());
 }