AutomationJobResource.GetRunbookContentAsync Method

Definition

Retrieve the runbook content of the job identified by job name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/runbookContent
  • Operation Id: Job_GetRunbookContent
public virtual System.Threading.Tasks.Task<Azure.Response<string>> GetRunbookContentAsync (string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRunbookContentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<string>>
override this.GetRunbookContentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<string>>
Public Overridable Function GetRunbookContentAsync (Optional clientRequestId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of String))

Parameters

clientRequestId
String

Identifies this specific client request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to