Share via


RunbookDraftOperationsExtensions.GetAsync Method

Retrieve the runbook draft identified by runbook name. (see https://aka.ms/azureautomationsdk/runbookdraftoperations for more information)

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

Usage

'Usage
Dim operations As IRunbookDraftOperations
Dim automationAccount As String
Dim runbookName As String
Dim returnValue As Task(Of RunbookDraftGetResponse)

returnValue = RunbookDraftOperationsExtensions.GetAsync(operations, automationAccount, runbookName)

Syntax

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

Parameters

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

Return Value

The response model for the get runbook draft 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

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