Share via


AutomationRunbookResource.GetContentRunbookDraftAsync Method

Definition

Retrieve the content of runbook draft identified by runbook name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/content
  • Operation Id: RunbookDraft_GetContent
public virtual System.Threading.Tasks.Task<Azure.Response<string>> GetContentRunbookDraftAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetContentRunbookDraftAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<string>>
override this.GetContentRunbookDraftAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<string>>
Public Overridable Function GetContentRunbookDraftAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of String))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to