TestJobOperationsExtensions.GetAsync 方法 (ITestJobOperations, String, String)

 

检索指定的 runbook 的测试作业。 (请参阅 https://aka.ms/azureautomationsdk/testjoboperations 有关详细信息)

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

语法

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

参数

  • automationAccount
    Type: System.String

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

返回值

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

Get 的响应模型进行测试的作业操作。

请参阅

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

返回页首