Udostępnij za pośrednictwem


DevTestLabVmResource.GetApplicableSchedulesAsync(CancellationToken) Method

Definition

Lists the applicable start/stop schedules, if any.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/listApplicableSchedules
  • Operation Id: VirtualMachines_ListApplicableSchedules
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.Models.DevTestLabApplicableSchedule>> GetApplicableSchedulesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetApplicableSchedulesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.Models.DevTestLabApplicableSchedule>>
override this.GetApplicableSchedulesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevTestLabs.Models.DevTestLabApplicableSchedule>>
Public Overridable Function GetApplicableSchedulesAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DevTestLabApplicableSchedule))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to