共用方式為


AutomationRunbookResource.GetContent(CancellationToken) Method

Definition

Retrieve the content of runbook identified by runbook name.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to