/// <summary>
 /// Update a domain.
 /// </summary>
 /// <remarks>
 /// Asynchronously updates a domain with the specified parameters.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group within the user's subscription.
 /// </param>
 /// <param name='domainName'>
 /// Name of the domain.
 /// </param>
 /// <param name='domainUpdateParameters'>
 /// Domain update information.
 /// </param>
 public static Domain BeginUpdate(this IDomainsOperations operations, string resourceGroupName, string domainName, DomainUpdateParameters domainUpdateParameters)
 {
     return(operations.BeginUpdateAsync(resourceGroupName, domainName, domainUpdateParameters).GetAwaiter().GetResult());
 }
Exemple #2
0
 /// <summary>
 /// Update a domain
 /// </summary>
 /// <remarks>
 /// Asynchronously updates a domain with the specified parameters.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group within the user's subscription.
 /// </param>
 /// <param name='domainName'>
 /// Name of the domain
 /// </param>
 /// <param name='tags'>
 /// Tags of the domains resource
 /// </param>
 public static Domain BeginUpdate(this IDomainsOperations operations, string resourceGroupName, string domainName, IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     return(operations.BeginUpdateAsync(resourceGroupName, domainName, tags).GetAwaiter().GetResult());
 }