Compartilhar via


AutomationAccountResource.GetAutomationRunbook Método

Definição

Recupere o runbook identificado pelo nome do runbook.

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

Parâmetros

runbookName
String

O nome do runbook.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

runbookName é nulo.

Aplica-se a