IRunbookOperations.ContentAsync Method (String, String, CancellationToken)
Retrieve the content of runbook identified by runbook name. (see https://aka.ms/azureautomationsdk/runbookoperations for more information)
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
Syntax
Task<RunbookContentResponse> ContentAsync(
string automationAccount,
string runbookName,
CancellationToken cancellationToken
)
Task<RunbookContentResponse^>^ ContentAsync(
String^ automationAccount,
String^ runbookName,
CancellationToken cancellationToken
)
abstract ContentAsync :
automationAccount:string *
runbookName:string *
cancellationToken:CancellationToken -> Task<RunbookContentResponse>
Function ContentAsync (
automationAccount As String,
runbookName As String,
cancellationToken As CancellationToken
) As Task(Of RunbookContentResponse)
Parameters
automationAccount
Type: System.StringThe automation account name.
runbookName
Type: System.StringThe runbook name.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<RunbookContentResponse>
The response model for the runbook content operation.
See Also
IRunbookOperations Interface
Microsoft.WindowsAzure.Management.Automation Namespace
Return to top