Share via


IRunbookDraftOperations.ContentAsync Method

Retrieve the content of 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 instance As IRunbookDraftOperations
Dim automationAccount As String
Dim runbookName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of RunbookContentResponse)

returnValue = instance.ContentAsync(automationAccount, runbookName, cancellationToken)

Syntax

'Declaration
Function ContentAsync ( _
    automationAccount As String, _
    runbookName As String, _
    cancellationToken As CancellationToken _
) As Task(Of RunbookContentResponse)
Task<RunbookContentResponse> ContentAsync (
    string automationAccount,
    string runbookName,
    CancellationToken cancellationToken
)
Task<RunbookContentResponse^>^ ContentAsync (
    String^ automationAccount, 
    String^ runbookName, 
    CancellationToken cancellationToken
)
Task<RunbookContentResponse> ContentAsync (
    String automationAccount, 
    String runbookName, 
    CancellationToken cancellationToken
)
function ContentAsync (
    automationAccount : String, 
    runbookName : String, 
    cancellationToken : CancellationToken
) : Task<RunbookContentResponse>

Parameters

  • automationAccount
    The automation account name.
  • runbookName
    The runbook name.
  • cancellationToken
    Cancellation token.

Return Value

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

IRunbookDraftOperations Interface
IRunbookDraftOperations Members
Microsoft.WindowsAzure.Management.Automation Namespace