Share via


RunbookOperationsExtensions.CreateAsync Method

Create the runbook identified by runbook name. (see https://aka.ms/azureautomationsdk/runbookoperations for more information)

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

Usage

'Usage
Dim operations As IRunbookOperations
Dim automationAccount As String
Dim parameters As RunbookCreateParameters
Dim returnValue As Task(Of RunbookCreateResponse)

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

Syntax

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

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.IRunbookOperations.
  • automationAccount
    Required. The automation account name.
  • parameters
    Required. The create parameters for runbook.

Return Value

The response model for the runbook create response.

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

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