LabVirtualMachineImageResource.UpdateAsync 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.
Updates an image resource.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/images/{imageName}
- Operation Id: Images_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LabServices.LabVirtualMachineImageResource>> UpdateAsync (Azure.ResourceManager.LabServices.Models.LabVirtualMachineImagePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.LabServices.Models.LabVirtualMachineImagePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LabServices.LabVirtualMachineImageResource>>
override this.UpdateAsync : Azure.ResourceManager.LabServices.Models.LabVirtualMachineImagePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LabServices.LabVirtualMachineImageResource>>
Public Overridable Function UpdateAsync (patch As LabVirtualMachineImagePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LabVirtualMachineImageResource))
Parameters
The request body.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.