Share via


LabVirtualMachineImageResource.Update Method

Definition

Updates an image resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/images/{imageName}
  • Operation Id: Images_Update
public virtual Azure.Response<Azure.ResourceManager.LabServices.LabVirtualMachineImageResource> Update (Azure.ResourceManager.LabServices.Models.LabVirtualMachineImagePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.LabServices.Models.LabVirtualMachineImagePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.LabServices.LabVirtualMachineImageResource>
override this.Update : Azure.ResourceManager.LabServices.Models.LabVirtualMachineImagePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.LabServices.LabVirtualMachineImageResource>
Public Overridable Function Update (patch As LabVirtualMachineImagePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of LabVirtualMachineImageResource)

Parameters

patch
LabVirtualMachineImagePatch

The request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to