共用方式為


AutomationJobScheduleCollection.GetAsync(Guid, CancellationToken) Method

Definition

Retrieve the job schedule identified by job schedule name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobSchedules/{jobScheduleId}
  • Operation Id: JobSchedule_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationJobScheduleResource>> GetAsync (Guid jobScheduleId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationJobScheduleResource>>
override this.GetAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationJobScheduleResource>>
Public Overridable Function GetAsync (jobScheduleId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationJobScheduleResource))

Parameters

jobScheduleId
Guid

The job schedule name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to