Пример #1
0
 /// <summary>
 /// Creates a new profile for a domain name, owned by the specified
 /// subscription.  (see
 /// http://msdn.microsoft.com/en-us/library/hh758254.aspx for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.TrafficManager.IProfileOperations.
 /// </param>
 /// <param name='name'>
 /// Required. The name of the profile.
 /// </param>
 /// <param name='domainName'>
 /// Required. The name of the domain that the profile is being created
 /// for.
 /// </param>
 /// <returns>
 /// A standard service response including an HTTP status code and
 /// request ID.
 /// </returns>
 public static Task <AzureOperationResponse> CreateAsync(this IProfileOperations operations, string name, string domainName)
 {
     return(operations.CreateAsync(name, domainName, CancellationToken.None));
 }