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