TestJobOperationsExtensions.StopAsync 方法 (ITestJobOperations, String, String)
停止测试作业。 (请参阅 https://aka.ms/azureautomationsdk/testjoboperations 有关详细信息)
命名空间: Microsoft.WindowsAzure.Management.Automation
程序集: Microsoft.WindowsAzure.Management.Automation(Microsoft.WindowsAzure.Management.Automation.dll 中)
语法
public static Task<AzureOperationResponse> StopAsync(
this ITestJobOperations operations,
string automationAccount,
string runbookName
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ StopAsync(
ITestJobOperations^ operations,
String^ automationAccount,
String^ runbookName
)
static member StopAsync :
operations:ITestJobOperations *
automationAccount:string *
runbookName:string -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function StopAsync (
operations As ITestJobOperations,
automationAccount As String,
runbookName As String
) As Task(Of AzureOperationResponse)
参数
operations
Type: Microsoft.WindowsAzure.Management.Automation.ITestJobOperations对 Microsoft.WindowsAzure.Management.Automation.ITestJobOperations 引用。
automationAccount
Type: System.String必需。 自动管理帐户名称。
runbookName
Type: System.String必需。 Runbook 名称中。
返回值
Type: System.Threading.Tasks.Task<AzureOperationResponse>
标准服务响应,包括 HTTP 状态代码和请求 ID。
请参阅
TestJobOperationsExtensions 类
Microsoft.WindowsAzure.Management.Automation 命名空间
返回页首