AutomationRunbookResource.GetRunbookDraft(CancellationToken) Method

Definition

Retrieve the runbook draft identified by runbook name.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to