Пример #1
0
 /// <summary>
 /// Updates the tags for an availability set.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='avset'>
 /// The name of the storage availability set.
 /// </param>
 /// <param name='tags'>
 /// A set of tags. A description about the set of tags.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task UpdateAsync(this IAvailabilitySets operations, string resourceGroupName, string avset, IDictionary <string, string> tags, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, avset, tags, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Пример #2
0
 /// <summary>
 /// Updates the tags for an availability set.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='avset'>
 /// The name of the storage availability set.
 /// </param>
 /// <param name='tags'>
 /// A set of tags. A description about the set of tags.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task UpdateAsync(this IAvailabilitySets operations, string resourceGroupName, string avset, System.Collections.Generic.IDictionary <string, string> tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     await operations.UpdateWithHttpMessagesAsync(resourceGroupName, avset, tags, null, cancellationToken).ConfigureAwait(false);
 }