Compartilhar via


RunbookOperationsExtensions.UpdateAsync Método

Definição

Atualize o runbook identificado pelo nome do runbook. 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)

Parâmetros

operations
IRunbookOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome de um grupo de recursos do Azure.

automationAccountName
String

O nome da conta de automação.

runbookName
String

O nome do runbook.

parameters
RunbookUpdateParameters

Os parâmetros de atualização para runbook.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a