/// <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>
 public static IPage <AvailablePrivateEndpointType> List(this IAvailablePrivateEndpointTypesOperations operations, string location)
 {
     return(operations.ListAsync(location).GetAwaiter().GetResult());
 }