共用方式為


LabServicesScheduleResource.UpdateAsync Method

Definition

Operation to update a lab schedule.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
  • Operation Id: Schedules_Update
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))

Parameters

patch
LabServicesSchedulePatch

The request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to