Example #1
0
 /// <summary>
 /// The DNS name that you want to use. You must include
 /// .trafficmanager.net in the name.  (see
 /// http://msdn.microsoft.com/en-us/library/dn510368.aspx for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.TrafficManager.IProfileOperations.
 /// </param>
 /// <param name='dnsName'>
 /// Required. DNS name that you want to use
 /// </param>
 /// <returns>
 /// The response to the request for a listing of namespaces.
 /// </returns>
 public static Task <DnsPrefixAvailabilityCheckResponse> CheckDnsPrefixAvailabilityAsync(this IProfileOperations operations, string dnsName)
 {
     return(operations.CheckDnsPrefixAvailabilityAsync(dnsName, CancellationToken.None));
 }