Share via


IRunbookDraftOperations.BeginUpdateAsync Method

Updates the runbook draft with runbookStream as its content. (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 parameters As RunbookDraftUpdateParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of LongRunningOperationResultResponse)

returnValue = instance.BeginUpdateAsync(automationAccount, parameters, cancellationToken)

Syntax

'Declaration
Function BeginUpdateAsync ( _
    automationAccount As String, _
    parameters As RunbookDraftUpdateParameters, _
    cancellationToken As CancellationToken _
) As Task(Of LongRunningOperationResultResponse)
Task<LongRunningOperationResultResponse> BeginUpdateAsync (
    string automationAccount,
    RunbookDraftUpdateParameters parameters,
    CancellationToken cancellationToken
)
Task<LongRunningOperationResultResponse^>^ BeginUpdateAsync (
    String^ automationAccount, 
    RunbookDraftUpdateParameters^ parameters, 
    CancellationToken cancellationToken
)
Task<LongRunningOperationResultResponse> BeginUpdateAsync (
    String automationAccount, 
    RunbookDraftUpdateParameters parameters, 
    CancellationToken cancellationToken
)
function BeginUpdateAsync (
    automationAccount : String, 
    parameters : RunbookDraftUpdateParameters, 
    cancellationToken : CancellationToken
) : Task<LongRunningOperationResultResponse>

Parameters

  • automationAccount
    The automation account name.
  • parameters
    The runbook draft update parameters.
  • cancellationToken
    Cancellation token.

Return Value

A standard service response for long running operations.

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