IRunbookDraftOperations.UpdateAsync Method (String, RunbookDraftUpdateParameters, CancellationToken)
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)
Syntax
Task<LongRunningOperationResultResponse> UpdateAsync(
string automationAccount,
RunbookDraftUpdateParameters parameters,
CancellationToken cancellationToken
)
Task<LongRunningOperationResultResponse^>^ UpdateAsync(
String^ automationAccount,
RunbookDraftUpdateParameters^ parameters,
CancellationToken cancellationToken
)
abstract UpdateAsync :
automationAccount:string *
parameters:RunbookDraftUpdateParameters *
cancellationToken:CancellationToken -> Task<LongRunningOperationResultResponse>
Function UpdateAsync (
automationAccount As String,
parameters As RunbookDraftUpdateParameters,
cancellationToken As CancellationToken
) As Task(Of LongRunningOperationResultResponse)
Parameters
automationAccount
Type: System.StringThe automation account name.
parameters
Type: Microsoft.WindowsAzure.Management.Automation.Models.RunbookDraftUpdateParametersThe runbook draft update parameters.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<LongRunningOperationResultResponse>
A standard service response for long running operations.
See Also
IRunbookDraftOperations Interface
Microsoft.WindowsAzure.Management.Automation Namespace
Return to top