Udostępnij za pośrednictwem


RunbookDraftOperationsExtensions.UpdateAsync Method

Definition

Updates the runbook draft with runbookStream as its content. (see http://aka.ms/azureautomationsdk/runbookdraftoperations for more information)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.LongRunningOperationResultResponse> UpdateAsync (this Microsoft.WindowsAzure.Management.Automation.IRunbookDraftOperations operations, string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.RunbookDraftUpdateParameters parameters);
static member UpdateAsync : Microsoft.WindowsAzure.Management.Automation.IRunbookDraftOperations * string * Microsoft.WindowsAzure.Management.Automation.Models.RunbookDraftUpdateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.LongRunningOperationResultResponse>
<Extension()>
Public Function UpdateAsync (operations As IRunbookDraftOperations, automationAccount As String, parameters As RunbookDraftUpdateParameters) As Task(Of LongRunningOperationResultResponse)

Parameters

operations
IRunbookDraftOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.IRunbookDraftOperations.

automationAccount
String

Required. The automation account name.

parameters
RunbookDraftUpdateParameters

Required. The runbook draft update parameters.

Returns

A standard service response for long running operations.

Applies to