Share via


DevTestLabUserResource.UpdateAsync Method

Definition

Allows modifying tags of user profiles. All other properties will be ignored.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{name}
  • Operation Id: Users_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabUserResource>> UpdateAsync (Azure.ResourceManager.DevTestLabs.Models.DevTestLabUserPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DevTestLabs.Models.DevTestLabUserPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabUserResource>>
override this.UpdateAsync : Azure.ResourceManager.DevTestLabs.Models.DevTestLabUserPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabUserResource>>
Public Overridable Function UpdateAsync (patch As DevTestLabUserPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DevTestLabUserResource))

Parameters

patch
DevTestLabUserPatch

Profile of a lab user.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to