Dela via


RunbookOperationsExtensions.UpdateAsync Metod

Definition

Uppdatera runbooken som identifieras med runbook-namnet. 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)

Parametrar

operations
IRunbookOperations

Åtgärdsgruppen för den här tilläggsmetoden.

resourceGroupName
String

Namnet på en Azure-resursgrupp.

automationAccountName
String

Namnet på automationskontot.

runbookName
String

Runbook-namnet.

parameters
RunbookUpdateParameters

Uppdateringsparametrarna för runbook.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för