Share via


TestJobOperationsExtensions.SuspendAsync Method

Suspend the test job. (see https://aka.ms/azureautomationsdk/testjoboperations for more information)

Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Usage

'Usage
Dim operations As ITestJobOperations
Dim automationAccount As String
Dim runbookName As String
Dim returnValue As Task(Of AzureOperationResponse)

returnValue = TestJobOperationsExtensions.SuspendAsync(operations, automationAccount, runbookName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function SuspendAsync ( _
    operations As ITestJobOperations, _
    automationAccount As String, _
    runbookName As String _
) As Task(Of AzureOperationResponse)
[ExtensionAttribute] 
public static Task<AzureOperationResponse> SuspendAsync (
    ITestJobOperations operations,
    string automationAccount,
    string runbookName
)
[ExtensionAttribute] 
public:
static Task<AzureOperationResponse^>^ SuspendAsync (
    ITestJobOperations^ operations, 
    String^ automationAccount, 
    String^ runbookName
)
/** @attribute ExtensionAttribute() */ 
public static Task<AzureOperationResponse> SuspendAsync (
    ITestJobOperations operations, 
    String automationAccount, 
    String runbookName
)
ExtensionAttribute 
public static function SuspendAsync (
    operations : ITestJobOperations, 
    automationAccount : String, 
    runbookName : String
) : Task<AzureOperationResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.ITestJobOperations.
  • automationAccount
    Required. The automation account name.
  • runbookName
    Required. The runbook name.

Return Value

A standard service response including an HTTP status code and request ID.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

TestJobOperationsExtensions Class
TestJobOperationsExtensions Members
Microsoft.WindowsAzure.Management.Automation Namespace