/// <summary> /// Modifies the Name property for the Container with the Id provided to the /// new value supplied. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='id'> /// Id of the Container whose Name property is to be modified. Must be double /// URL encoded. /// </param> /// <param name='newValue'> /// New Name value /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <ContainerModel> UpdateNameAsync(this IContainers operations, string id, string newValue, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.UpdateNameWithHttpMessagesAsync(id, newValue, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }