DevTestLabUserResource.Update(DevTestLabUserPatch, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Default Api Version: 2018-09-15
- Resource: DevTestLabUserResource
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.