Compartir a través de


LabVirtualMachineImageResource.UpdateAsync Método

Definición

Novedades un recurso de imagen.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/images/{imageName}
  • IdImages_Update de operaciones
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))

Parámetros

patch
LabVirtualMachineImagePatch

Cuerpo de la solicitud.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a