/// <summary> /// Checks the availability of a Traffic Manager Relative DNS name. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='name'> /// The name of the resource. /// </param> /// <param name='type'> /// The type of the resource. /// </param> public static TrafficManagerNameAvailability CheckTrafficManagerRelativeDnsNameAvailability(this IProfilesOperations operations, string name = default(string), string type = default(string)) { return(operations.CheckTrafficManagerRelativeDnsNameAvailabilityAsync(name, type).GetAwaiter().GetResult()); }