Share via


LabServicesScheduleResource.Update 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 Azure.Response<Azure.ResourceManager.LabServices.LabServicesScheduleResource> Update (Azure.ResourceManager.LabServices.Models.LabServicesSchedulePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.LabServices.Models.LabServicesSchedulePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.LabServices.LabServicesScheduleResource>
override this.Update : Azure.ResourceManager.LabServices.Models.LabServicesSchedulePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.LabServices.LabServicesScheduleResource>
Public Overridable Function Update (patch As LabServicesSchedulePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of LabServicesScheduleResource)

Parameters

patch
LabServicesSchedulePatch

The request body.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to