/// <summary>
 /// Create or update a Traffic Manager endpoint.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.TrafficManager.IProfileOperations.
 /// </param>
 /// <param name='parameters'>
 /// Required. The Traffic Manager name parameters supplied to the
 /// CheckTrafficManagerNameAvailability operation.
 /// </param>
 /// <returns>
 /// The response to a 'CheckTrafficManagerNameAvailability' operation.
 /// </returns>
 public static Task <CheckTrafficManagerRelativeDnsNameAvailabilityResponse> CheckTrafficManagerRelativeDnsNameAvailabilityAsync(this IProfileOperations operations, CheckTrafficManagerRelativeDnsNameAvailabilityParameters parameters)
 {
     return(operations.CheckTrafficManagerRelativeDnsNameAvailabilityAsync(parameters, CancellationToken.None));
 }