Compartilhar via


RunbookOperationsExtensions.GetContentAsync Método

Definição

Recupere o conteúdo do runbook identificado pelo nome do runbook. 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)

Parâmetros

operations
IRunbookOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome de um grupo de recursos do Azure.

automationAccountName
String

O nome da conta de automação.

runbookName
String

O nome do runbook.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a