Partilhar via


AutomationAccountResource.GetAutomationScheduleAsync Método

Definição

Recupere o agendamento identificado pelo nome do agendamento.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules/{scheduleName}
  • Operação IdSchedule_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationScheduleResource>> GetAutomationScheduleAsync (string scheduleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAutomationScheduleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationScheduleResource>>
override this.GetAutomationScheduleAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationScheduleResource>>
Public Overridable Function GetAutomationScheduleAsync (scheduleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationScheduleResource))

Parâmetros

scheduleName
String

O nome do agendamento.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

scheduleName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

scheduleName é nulo.

Aplica-se a