Share via


TestJobOperationsExtensions.CreateAsync Method

Create a test job of the runbook. (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 parameters As TestJobCreateParameters
Dim returnValue As Task(Of TestJobCreateResponse)

returnValue = TestJobOperationsExtensions.CreateAsync(operations, automationAccount, parameters)

Syntax

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

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.ITestJobOperations.
  • automationAccount
    Required. The automation account name.
  • parameters
    Required. The parameters supplied to the create test job operation.

Return Value

The response model for the create test job operation.

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