RunbookOperationsExtensions.GetAsync 方法 (IRunbookOperations, String, String)

 

检索 runbook 的 runbook 名称标识。 (请参阅 https://aka.ms/azureautomationsdk/runbookoperations 有关详细信息)

命名空间:   Microsoft.WindowsAzure.Management.Automation
程序集:  Microsoft.WindowsAzure.Management.Automation(Microsoft.WindowsAzure.Management.Automation.dll 中)

语法

public static Task<RunbookGetResponse> GetAsync(
    this IRunbookOperations operations,
    string automationAccount,
    string runbookName
)
public:
[ExtensionAttribute]
static Task<RunbookGetResponse^>^ GetAsync(
    IRunbookOperations^ operations,
    String^ automationAccount,
    String^ runbookName
)
static member GetAsync : 
        operations:IRunbookOperations *
        automationAccount:string *
        runbookName:string -> Task<RunbookGetResponse>
<ExtensionAttribute>
Public Shared Function GetAsync (
    operations As IRunbookOperations,
    automationAccount As String,
    runbookName As String
) As Task(Of RunbookGetResponse)

参数

  • automationAccount
    Type: System.String

    必需。 自动管理帐户名称。

返回值

Type: System.Threading.Tasks.Task<RunbookGetResponse>

获取 runbook 操作该响应模型。

请参阅

RunbookOperationsExtensions 类
Microsoft.WindowsAzure.Management.Automation 命名空间

返回页首