共用方式為


DevTestLabUserResource.Update(DevTestLabUserPatch, CancellationToken) 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 Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabUserResource> Update (Azure.ResourceManager.DevTestLabs.Models.DevTestLabUserPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.DevTestLabs.Models.DevTestLabUserPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabUserResource>
override this.Update : Azure.ResourceManager.DevTestLabs.Models.DevTestLabUserPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabUserResource>
Public Overridable Function Update (patch As DevTestLabUserPatch, Optional cancellationToken As CancellationToken = Nothing) As 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