Condividi tramite


RunbookDraftOperationsExtensions.GetContentAsync Metodo

Definizione

Recuperare il contenuto della bozza del runbook identificato dal nome del runbook. http://aka.ms/azureautomationsdk/runbookdraftoperations

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

Parametri

operations
IRunbookDraftOperations

Gruppo di operazioni per questo metodo di estensione.

resourceGroupName
String

Nome di un gruppo di risorse di Azure.

automationAccountName
String

Nome dell'account di automazione.

runbookName
String

Nome del runbook.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Si applica a