Exemple #1
0
 /// <summary>
 /// Updates a VirtualWAN tags.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name of the VirtualWan.
 /// </param>
 /// <param name='virtualWANName'>
 /// The name of the VirtualWAN being updated.
 /// </param>
 /// <param name='wANParameters'>
 /// Parameters supplied to Update VirtualWAN tags.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <VirtualWAN> BeginUpdateTagsAsync(this IVirtualWansOperations operations, string resourceGroupName, string virtualWANName, TagsObject wANParameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginUpdateTagsWithHttpMessagesAsync(resourceGroupName, virtualWANName, wANParameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Exemple #2
0
 /// <summary>
 /// Updates a VirtualWAN tags.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name of the VirtualWan.
 /// </param>
 /// <param name='virtualWANName'>
 /// The name of the VirtualWAN being updated.
 /// </param>
 /// <param name='tags'>
 /// Resource tags.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <VirtualWANInner> BeginUpdateTagsAsync(this IVirtualWansOperations operations, string resourceGroupName, string virtualWANName, IDictionary <string, string> tags = default(IDictionary <string, string>), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginUpdateTagsWithHttpMessagesAsync(resourceGroupName, virtualWANName, tags, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }