Compartilhar via


LabServicesScheduleResource.UpdateAsync Método

Definição

Operação para atualizar um agendamento de laboratório.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
  • IdSchedules_Update de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LabServices.LabServicesScheduleResource>> UpdateAsync (Azure.ResourceManager.LabServices.Models.LabServicesSchedulePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.LabServices.Models.LabServicesSchedulePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LabServices.LabServicesScheduleResource>>
override this.UpdateAsync : Azure.ResourceManager.LabServices.Models.LabServicesSchedulePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LabServices.LabServicesScheduleResource>>
Public Overridable Function UpdateAsync (patch As LabServicesSchedulePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LabServicesScheduleResource))

Parâmetros

patch
LabServicesSchedulePatch

O corpo da solicitação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a