次の方法で共有


AutomationAccountResource.GetAutomationRunbookAsync メソッド

定義

Runbook 名で識別される Runbook を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/Runbooks/{runbookName}
  • 操作IdRunbook_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationRunbookResource>> GetAutomationRunbookAsync (string runbookName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAutomationRunbookAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationRunbookResource>>
override this.GetAutomationRunbookAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationRunbookResource>>
Public Overridable Function GetAutomationRunbookAsync (runbookName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationRunbookResource))

パラメーター

runbookName
String

Runbook 名。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

runbookName は空の文字列であり、空でないと予想されていました。

runbookName が null です。

適用対象