JobOperationsExtensions.GetRunbookContent 方法 (IJobOperations, String, Guid)

 

检索 runbook 内容由作业 id 标识的作业。 (请参阅 https://aka.ms/azureautomationsdk/joboperations 有关详细信息)

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

语法

public static JobGetRunbookContentResponse GetRunbookContent(
    this IJobOperations operations,
    string automationAccount,
    Guid jobId
)
public:
[ExtensionAttribute]
static JobGetRunbookContentResponse^ GetRunbookContent(
    IJobOperations^ operations,
    String^ automationAccount,
    Guid jobId
)
static member GetRunbookContent : 
        operations:IJobOperations *
        automationAccount:string *
        jobId:Guid -> JobGetRunbookContentResponse
<ExtensionAttribute>
Public Shared Function GetRunbookContent (
    operations As IJobOperations,
    automationAccount As String,
    jobId As Guid
) As JobGetRunbookContentResponse

参数

  • automationAccount
    Type: System.String

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

返回值

Type: Microsoft.WindowsAzure.Management.Automation.Models.JobGetRunbookContentResponse

作业操作的 runbook get-content 该响应模型。

请参阅

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

返回页首