Share via


RunbookOperationsExtensions.UpdateAsync Method

Definition

Update the runbook identified by runbook name. http://aka.ms/azureautomationsdk/runbookoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Runbook> UpdateAsync (this Microsoft.Azure.Management.Automation.IRunbookOperations operations, string resourceGroupName, string automationAccountName, string runbookName, Microsoft.Azure.Management.Automation.Models.RunbookUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Automation.IRunbookOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.RunbookUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Runbook>
<Extension()>
Public Function UpdateAsync (operations As IRunbookOperations, resourceGroupName As String, automationAccountName As String, runbookName As String, parameters As RunbookUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Runbook)

Parameters

operations
IRunbookOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

runbookName
String

The runbook name.

parameters
RunbookUpdateParameters

The update parameters for runbook.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to