Dela via


RunbookOperationsExtensions.GetContentAsync Metod

Definition

Hämta innehållet i runbooken som identifieras med runbook-namnet. http://aka.ms/azureautomationsdk/runbookoperations

public static System.Threading.Tasks.Task<System.IO.Stream> GetContentAsync (this Microsoft.Azure.Management.Automation.IRunbookOperations operations, string resourceGroupName, string automationAccountName, string runbookName, System.Threading.CancellationToken cancellationToken = default);
static member GetContentAsync : Microsoft.Azure.Management.Automation.IRunbookOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
<Extension()>
Public Function GetContentAsync (operations As IRunbookOperations, resourceGroupName As String, automationAccountName As String, runbookName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Stream)

Parametrar

operations
IRunbookOperations

Åtgärdsgruppen för den här tilläggsmetoden.

resourceGroupName
String

Namnet på en Azure-resursgrupp.

automationAccountName
String

Namnet på Automation-kontot.

runbookName
String

Runbook-namnet.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för