/// <summary> /// Modifies the Type 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 Type property is to be modified. Must be double /// URL encoded. /// </param> /// <param name='newValue'> /// New Type value. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <ContainerModel> UpdateTypeAsync(this IContainers operations, string id, string newValue, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.UpdateTypeWithHttpMessagesAsync(id, newValue, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }